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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-29-2003, 05:03 PM
|
#1
|
|
Member
Registered: Aug 2003
Posts: 104
Rep:
|
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
|
|
|
|
08-29-2003, 05:07 PM
|
#2
|
|
Member
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87
Rep:
|
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  ).
|
|
|
|
08-29-2003, 05:20 PM
|
#3
|
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
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
|
|
|
|
08-29-2003, 05:34 PM
|
#4
|
|
Member
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87
Rep:
|
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.
|
|
|
|
08-29-2003, 05:40 PM
|
#5
|
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
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.
|
|
|
|
08-29-2003, 05:44 PM
|
#6
|
|
Member
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87
Rep:
|
I was just kidding! Thus the liberal sprinkling of smilies.
Sorry for the misunderstanding. 
|
|
|
|
08-29-2003, 05:45 PM
|
#7
|
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
Ok, no hard feelings 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:36 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|