LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to login as root?? mandrake 10.0 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-login-as-root-mandrake-10-0-a-219084/)

m0rbid 08-18-2004 12:24 AM

how to login as root?? mandrake 10.0
 
I've been trying to gain root access and whenever i type login from console it says "No utmp entry. You must exec "login" from the lowest level "sh"" i have no clue what this means plz help!!

oh and i'm using mandrake 10.0

Charalambos 08-18-2004 12:27 AM

One or more of the system login record files /etc/utmp, /etc/wtmp, and /etc/utmpx have been corrupted. They can be emptied without affecting the system. Perform these steps:

1. Log in as root and enter single user mode.

2. Delete the contents of these files by executing the these commands:

> /etc/utmp
> /etc/wtmp
> /etc/utmpx

3. Shut down the system and reboot the system.

jomen 08-18-2004 03:14 AM

If you want to login as root, you type

root

on a console - it then asks you for the password...


...unless you where already logged in on that console - which seems to be the case here:

if you are logged in as user xxx and want to get root, you type:

su

and then you are asked for the password...

nuka_t 08-18-2004 03:26 AM

if you want to use the root account, youll have to go through kde control center, then user accounts, then advanced then uncheck root from "hide this account from the boot menu"


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