Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-15-2005, 03:50 PM   #1
LQ Newbie
Registered: Mar 2005
Posts: 27

Rep: Reputation: 15
How to log in as root in a console

How can I do this, I don't want to restart X , so is there anyway I can open a console (rxvt) and log in as root and execute commands from there?
Old 05-15-2005, 03:59 PM   #2
Registered: Jul 2003
Location: Pennsylvania USA
Distribution: SuSE
Posts: 425

Rep: Reputation: 30
enter "su" and password when it asks for it.
Old 05-15-2005, 04:01 PM   #3
LQ Newbie
Registered: Mar 2005
Posts: 27

Original Poster
Rep: Reputation: 15
Awsome, thank you so much.
Old 05-16-2005, 05:16 AM   #4
Registered: May 2005
Location: West Virginia, US
Distribution: Gentoo
Posts: 56

Rep: Reputation: 21
use "su -" if you want root's environmental variables and such, like PATH


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
Cant only log in as root after user log-in. ADJenkins Linux - General 2 11-17-2004 04:18 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-04-2004 11:01 PM
Can't log in on console as anything but root brettjbuckley Linux - Security 6 05-28-2004 07:04 AM
Cannot log into root from main console - Mandrake 10.0 Em3rald Linux - Newbie 3 03-21-2004 02:56 AM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 12:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:23 PM.

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