Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 04-27-2005, 06:50 AM   #1
LQ Newbie
Registered: Apr 2005
Location: Ireland
Distribution: Mandrake
Posts: 1

Rep: Reputation: 0
Question How to login as root only?

I have installed Mandrake Linux using defaults suggested by the installer. Now I have one user 'denis', which is logged in automatically at startup.

There were also two partitions created on my hard drive: '/' and '/home'. I would like to resize '/home' - create two partitions instead of one. According to Help this operation requires all users to be logged out except 'root'. However, if I log out 'denis' then I am presented with a log on window, which only has one user in it - 'denis'. So, how do I log in as 'root' without firstly logging in as 'denis'?

Thank you.
Old 04-27-2005, 06:59 AM   #2
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Rep: Reputation: 30
There's a squillion ways to skin a cat..but the direct answer to your question is:

There's a tab called Login Manager under the System Administration in the KDE Control Centre.

Click the Convenience tab, and turn off Auto Login. You will then be able to login as root.

EDIT: As the next post indicates, you will also have to unhide root...sorry..forgot about that.

Last edited by lacerto; 04-27-2005 at 07:24 AM.
Old 04-27-2005, 07:02 AM   #3
Registered: Mar 2005
Distribution: Mandriva 2006 Free
Posts: 141

Rep: Reputation: 15
You'll have to enable root at the login screen. I'm not in Mandrake right now, but I think it's something like Star->System->KDE->Login Manager , and you will be presented with a screen that shows all the users on the system. Next to "root" uncheck the "hide user" button and restart KDE and you will be presented with "denis" and "root" at login.
Old 04-27-2005, 08:47 AM   #4
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
way a squillion and two is:
choose "logout", then "end session"
CTRL-ALT-F2(opens terminal, CTRL-ALT-F7 would get you back to gui at this point)
login as root at prompt
then type command "startx" (restarts display manager now that you are logged in as root)

If you were doing something such as installing nvidea driver, you could add {type command "service dm stop" (shuts down xserver or display manager)}
after logging in as root and you then have xserver shut down and logged in as root ready to install nvidia driver,

Just another way of doing same thing without unhiding root graphical login.


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
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 08:01 AM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 10:54 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration