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
  Search this Thread
Old 08-07-2004, 04:33 PM   #1
ChiKitten
LQ Newbie
 
Registered: Aug 2004
Location: Washington State
Distribution: mandrake 9.2
Posts: 3

Rep: Reputation: 0
How do i log into root?


Hey. I am sitting here and about to throw my computer out the window. How do i log into root? I have been trying everything i can think of and i can't for the life of me figure it out......someome help me please x.x
 
Old 08-07-2004, 04:37 PM   #2
ChiKitten
LQ Newbie
 
Registered: Aug 2004
Location: Washington State
Distribution: mandrake 9.2
Posts: 3

Original Poster
Rep: Reputation: 0
I am running Linux, mandrake 9.2....if that helps at all....i already feel dumb asking this...can't somone help the stupid girl???
 
Old 08-07-2004, 04:38 PM   #3
iain.ross
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: SuSE 9.2 Pro, KDE 3.4
Posts: 82

Rep: Reputation: 15
What distribution are you running? In SuSe, i simply log out of kde, and then type root in the username box and enter the root password. Alternatively you could type su in a terminal, then enter the root password. This will give you super user priviledges.
 
Old 08-07-2004, 04:40 PM   #4
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
I'm surprised you didn't already get a response, anyway, here's what you need to do:

FYI: A "$" denotes type the stuff after this in a terminal window, people will use this to show you how to do stuff along the way, just so you don't get confused.

Code:
$ su
After you type su and hit enter, it'll ask you to put in the root password. After that, you have become root. That's all there is to it! To get out of root (since it's a bad idea to run stuff as root if you don't have to) simply do:

Code:
$ exit
And you're sent back to whatever user was on before they su'd to root.
 
Old 08-07-2004, 04:41 PM   #5
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
Quote:
Originally posted by iain.ross
What distribution are you running? In SuSe, i simply log out of kde, and then type root in the username box and enter the root password. Alternatively you could type su in a terminal, then enter the root password. This will give you super user priviledges.
It's generally bad practice to log in as root in a GUI, it's much safer to do it strictly within the terminal.
 
Old 08-07-2004, 04:42 PM   #6
zensufi
Member
 
Registered: Jul 2004
Posts: 63

Rep: Reputation: 15
This depends what you mean... log into root:
  • If you are at a text prompt that asks for your username, type root. If there's a password, you'll be prompted to enter it.
  • If you are in a GUI such as kde, gnome, or a window manager, open up a console (for example, click the konsole button on the task bar on kde). Type "su" (without the quotation marks at the prompt). This stands for superuser and will give you root's priveleges. Again, if there is a root password, you will be prompted to enter it.
  • An alternative method in a GUI is to hold down the ctrl and alt keys and press an f-button (probably f2). This will give you a text prompt where you can log in by typing "root" (again, without the quotation marks, and again, if you have a root password, you will be prompted for it).

Brian
 
Old 08-07-2004, 04:49 PM   #7
iain.ross
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: SuSE 9.2 Pro, KDE 3.4
Posts: 82

Rep: Reputation: 15
Quote:
It's generally bad practice to log in as root in a GUI, it's much safer to do it strictly within the terminal.
I stand corrected. Thanks for the pointer.
 
Old 08-08-2004, 06:35 PM   #8
ChiKitten
LQ Newbie
 
Registered: Aug 2004
Location: Washington State
Distribution: mandrake 9.2
Posts: 3

Original Poster
Rep: Reputation: 0
Talking

Thanks bunches. Now i understand and i know how to get in. You guys rock! *continues what she was going to o now that she knows what to do*
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot log into root! Nox_hand Linux - Security 3 09-21-2005 02:01 AM
How do I log in as the root? nighthawk15 Linux - Newbie 7 03-01-2005 06:21 AM
Cant only log in as root after user log-in. ADJenkins Linux - General 2 11-17-2004 05:18 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-05-2004 12:01 AM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 01:07 PM


All times are GMT -5. The time now is 06:44 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration