LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 08-29-2003, 05:03 PM   #1
Robin01
Member
 
Registered: Aug 2003
Posts: 104

Rep: Reputation: 15
how do i login as the root user


Hello everybody,

everytime the pc is booted it logs in as the user i created initially/.. from the terminal how do i login as the root user...

also.. when i installed redhat 9 i dont remember it asking me for a user name but i do remember it asking me for a root password...

anyideas
 
Old 08-29-2003, 05:07 PM   #2
Odd_Bloke
Member
 
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87

Rep: Reputation: 15
Don't login as root ever. Things go horribly wrong.

Type 'su -' at the console to get to the root account temporarily. But ensure you close it after you're finished, don't use it to run any programs it doesn't need to (thankfully gtk-gnutella warned me ).
 
Old 08-29-2003, 05:20 PM   #3
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
Hi,

Strange that you cannot recall it asking for a root password. Any way, to temporarily login as root from a terminal then you can do the following:

Code:
[user@server dir]$ su
Password:
then enter the password that you set (or think you could of set )

or you can do this from the terminal (not recommended as you could end up trashing your system by logging in as root, you just have too much power.

Code:
[user@server dir]$ logout
after doing this you will be presented with a login prompt.

Hope that helps
 
Old 08-29-2003, 05:34 PM   #4
Odd_Bloke
Member
 
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87

Rep: Reputation: 15
Oh, sure, explain what you mean. Like that'll help newbies.

You can also get to a super-user file manager (at least on KDE on Red Hat 9) by going to Menu>System Tools>More System Tools>File Manager - Super User Mode. Dunno if that'll help.
 
Old 08-29-2003, 05:40 PM   #5
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
Quote:
Originally posted by Odd_Bloke
[B]Oh, sure, explain what you mean. Like that'll help newbies.
I am guessing he knows how to use the terminal to some degree, and he is asking how to login into root from the terminal, so i answered his question.

I dont wish to get into an argument with you or anybody else, but i will defend my position.

I merely assisted him in what he asked.
 
Old 08-29-2003, 05:44 PM   #6
Odd_Bloke
Member
 
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87

Rep: Reputation: 15
I was just kidding! Thus the liberal sprinkling of smilies.

Sorry for the misunderstanding.
 
Old 08-29-2003, 05:45 PM   #7
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
Cool

Ok, no hard feelings
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Root login but no user login on samba Cybercool Linux - Newbie 3 07-13-2011 05:36 AM
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 08:01 AM
Cant login apart from the root user. xconspirisist Linux - Software 6 01-17-2005 12:52 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM


All times are GMT -5. The time now is 02:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration