Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-10-2004, 04:34 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 25

Rep: Reputation: 15
Logging in to Root

Hi I have no idea how I can login to root i've been trying forever...can someone please help me with this...

I am using Mandrake 10
Old 07-10-2004, 05:05 PM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you are going to login into root at the console/terminal you do it as follows,

<press enter> and then enter roots password.

or to take full control of the system as root, you'd do the following

su -
<press enter> and then enter roots password.

If you want to login graphically, which ideally you shouldn't do, use the desktop manager such as KDM or GDM. If you are using MdkKDM you won't be able to login as root and you may have to change it in your system settings to KDM or GDM.

I recommend you buy a basic Linux or Unix book, because your question is quite basic and there are a lot of online articles about Unix/Linux commands.
Old 07-10-2004, 05:07 PM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Usually Mandrake hides the root login from you unless you specifically enable it. This is because it's generally not a good idea to run as root, particularly with the GUI. If you need to become root open a command prompt and type "su -" then enter the root password. You will then have root priviliges for anything you run from that terminal. Also, the GUI will usually prompt for the root password when you try to do something priviliged (or at least that's how I recall it being with Mandrake, tho I haven't used it since the 7.2 days).

Reddazz beat me to it -- silly slow fingers

Last edited by btmiller; 07-10-2004 at 05:08 PM.
Old 07-10-2004, 05:11 PM   #4
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Well, the first question is whether or not you have permission to log in as root. Assuming you're talking about your own machine, then the process is really no different than logging in with your regular user account: you just enter "root" as the username, and whatever password you set up. That's it. As a word of warning though, keep in mind that root has all privileges to do anything without restriction, so be careful about what commands you run otherwise it's very easy to end up hosing your system. My advice would be to only run as root when absolutely necessary (such as when you're installing new packages).

On the other hand, if you are referring to logging in as root on someone else's system without their permission, then you're talking about illegal/criminal activity, which absolutely will not be tolerated here.

I'm pretty certain you're talking about your own machine, but I feel obligated to throw that out anyway. -- J.W.

Edit: And that's good advice from reddazz and btmiller too - I completely spaced on su

Last edited by J.W.; 07-10-2004 at 05:17 PM.


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
logging in as root M O L8ingN2dust Ubuntu 24 01-16-2006 05:49 PM
Logging in as Root The Oate Mandriva 15 08-02-2004 03:44 PM
Logging in as a root??? FastSwimmer Mandriva 4 03-01-2004 05:05 AM
Logging in as root... The_fuzzy_cow Mandriva 3 11-27-2003 11:47 PM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 03:55 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:53 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
Open Source Consulting | Domain Registration