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 03-22-2005, 11:36 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 10

Rep: Reputation: 0
Log in terminal as Root

When i open the terminal window, it is my localhost account.

How can i use the terminal window as root?

Help is much appreciated.
Old 03-22-2005, 11:38 AM   #2
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
then your root password. Log out as soon as you have finnished with
Old 03-22-2005, 11:41 AM   #3
LQ Newbie
Registered: Mar 2005
Posts: 10

Original Poster
Rep: Reputation: 0
thank jolly joice
Old 03-22-2005, 11:45 AM   #4
Registered: Feb 2005
Location: California, USA
Distribution: Novell SuSE
Posts: 39

Rep: Reputation: 15
Using the "su" command will give you root permissions,
but may not set up the proper root environment for you
(for example, on some systems, it will not change the $PATH
to include the /sbin and /usr/sbin directories).

On suse: use the "sux" command. It gives you the proper
environment, plus it gives root access to the gui.
"sux" stands for su with X.

If you are using the konsole application in kde, then click and
hold on the new tab icon (bottom left of the window). You will
see a pop-up menu. Choose "Root Console".

If you are using xterm, or one of its siblings, use the command,
/bin/su -

The dash tells su to use the root environment. And including
"/bin/" before the su command is just plain good practice. It will
prevent the super user from stumbling upon a program that some
(bad guy) used to replace the legitimate su command.

Hope this helps.


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 05:18 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-05-2004 12:01 AM
terminal log? iLLuSionZ Linux - General 8 11-24-2003 09:06 PM
how to log off x-window from terminal ? johnyy Linux - Software 1 10-25-2003 09:04 PM
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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:24 AM.

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