Log in as Root User (simple way?)

Soldato
Joined
5 Mar 2007
Posts
2,851
Location
Macclesfield
Hello,

I’m trying to root my old HTC Desire using the Unrevoked Linux file.

I’m having problems logging into Linux as a “root” user, I managed this last night by typing in a few lines into a terminal (I got these lines from a website). However, for the life of me I cannot find the website today and cannot find a way to log on as a root user?

I’m running Linux 10.04 from a Live CD.

I’ve had a look at loads of guides and nothing is as straight forward as the method I stumbled across yesterday:

Open a terminal,

Enter a few lines

Linux automatically switched to a root account.

Any help appreciated as this is driving me insane!
 
Thanks for the response, but that doesn’t mean a lot to me.

I assume I type that in the terminal, but I then need to run an executable program, which as I understand will be done outside of the terminal and this not with Root privileges?

Sorry I’m completely new to Linux.

The way I used last night, that I can’t find for the life of me now was very easy!
 
I’m sue that will work, but I’ve no idea how I achieve it?

Let’s assume the executable is called “prog” in the “D” drive in a folder called “HTC”, what would I need to type in the Terminal?

Sorry to ask simple questions, but I really need this spelling out to me!
 
So if you have a script, i.e. "program.pl", you need to run the script via:

hostname> sudo su
[this changes you to the root i.e. "administrator"]
hostname# cd /directory/where/script/is
[cd = change directory, to the directory]
hostname# chmod +x program.pl
[+x means eXecutable, basically]
hostname# ./program.pl
[./ runs the program]

NOW....
If what you have installed is a service, i.e. you can type:
hostname#ps3mediaserver

And it will run. Most of these have a "-d" option, which means daemonize; (run in background). So when you log out, it carries on running.
 
Back
Top Bottom