LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 05-31-2001, 08:55 PM   #1
hiwatt25
LQ Newbie
 
Registered: Mar 2001
Location: Seattle
Posts: 4

Rep: Reputation: 0
Wink


Hello-

I am stoked. I finally got Red Hat 7.0 to dual boot with Windows ME. LILO loads and everything. The problem now is that I need to use Xconfigurator. Here's the deal. I open a virtual console (from gnome) and type Xconfiguration then I am told that I have to be in root to run Xconfiguration. No Problem so I hit CD /root and I am told that I do not have permission. So my question is, how the heck to I log in to /root? During setup I set a password for root but I don't get prompted for it when I try to log in to root. I also created two accounts one for my wife and one for me that have different passwords than the root. I am totally lost and I am counting on trickykid to help me out. He/she has been the biggest help. I hope you read this. Thanks
 
Old 05-31-2001, 09:12 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
at the console type su (for super user)
it will then prompt for the root password
 
Old 06-01-2001, 02:33 AM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
I thought I was the only one who did that. Back in 96 I got my first Slakware CD set. It took me two days to figure out that there was a difference between "/root" folder, "root" user, and "/" for the root directory tree.
 
Old 06-01-2001, 03:22 AM   #4
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Rep: Reputation: 15
Hi, watt25 :-)

Let me try and make tings clear for you. Just like you created a user account for you and your wife, there is also a user account called “root”. “root” is like the administrator account in windowsNT. It is also revered to as “super user” (su), because it has the highest authority. The “root” user can remove and view any file or directory regardless of its shares or attributes. So you can basically see that the “root” is a very powerful user (almost godlike). This is why it is recommended that you log on as a normal user, like you or your wife, and only use the root when you absolutely have to.

To change to the root user without logging out and the logging in as “root”, type “su” at the command prompt. Type the password for “root”, and now you are logged in as root and can do anything the “root” can do. When you are finished type “exit” to return to a normal user again.

You may have noticed that Linux created a home directory for every user you created under “/home/”. There is also home directory for “root”, but it is not under “/home/” but instead it is under “/root”. Only the root user can access this directory, witch is why you received a “no permission” error when trying to access it as a normal user.

One more thing about a root. The top most directory on a Linux (or dos for that matter) system is called the root directory. So the “/” directory is your root directory under Linux. Under dos your root directory would be C:\ for your C: drive.
Please note that the directory “/root” is only a directory called “root” witch is in your root “/” directory. :-)
 
Old 06-01-2001, 06:22 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Quote:
Originally posted by hiwatt25
I am totally lost and I am counting on trickykid to help me out. He/she has been the biggest help. I hope you read this. Thanks
Sorry I didn't make it in time.
But the others are right.
When you begin with the login prompt when you first boot up, you can login as root, by typing root of course then the password. But the safest way is to su (or use sudo and can learn more about it here http://www.courtesan.com/sudo/ ) into root for those types of privileges, then logout when your done so while your logged in as root, you can't do damage by accident to your OS.

Drew
 
Old 06-01-2001, 09:08 AM   #6
hiwatt25
LQ Newbie
 
Registered: Mar 2001
Location: Seattle
Posts: 4

Original Poster
Rep: Reputation: 0
Smile Thanks to all

Super cool-

Just wanted to thank everyone for breaking things down some for me. Things are working just fine now! Next stop, mounting drives! Thanks again

Joe
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost Root password Oakstaff Linux - Newbie 6 11-29-2006 04:03 AM
Lost root password zillah Solaris / OpenSolaris 10 05-24-2005 05:28 PM
Lost root password Nectalathiel SUSE / openSUSE 2 12-26-2004 01:28 PM
Lost Root User Michael2003 Mandriva 4 12-13-2003 08:20 AM
root has lost its rights DoubleM Linux - General 3 03-19-2003 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration