LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Re: I can't access Linux root (https://www.linuxquestions.org/questions/linux-general-1/re-i-cant-access-linux-root-159294/)

garynkill 03-18-2004 02:29 AM

Re: I can't access Linux root
 
Recently i reinstalled my Linux. But after the installation is finished when it rebooted i was prompted to type in my username and password. After i type in the root as username and the password which i am sure that i remembered correctly, linux just refreshes the screen and prompt me for to login in again. I don't understand why? since i type in the correct password for my root account, why i still could not enter my file system. Need help asap. Thanks

meldar 03-18-2004 03:46 AM

Boot from a livecd or something and mount the root filesystem.

Edit your /etc/passwd file and make sure that root has something like /bin/bash as login-shell.

garynkill 03-18-2004 06:56 AM

I check but it is contain in the line root:x:0:0:/root:/bin/bash

Luuko 03-18-2004 03:25 PM

Looks like the password is shadowed... >_>;

-Luuko

tyler_durden 03-18-2004 11:43 PM

THis most likely means you entered a bad password. Boot to a live cd or rescue disk.

First, read /var/log/messages and see what it says. Could possibly be a pam problem.

Second, reset your password just to be shure.

MS3FGX 03-19-2004 12:12 AM

When you say "refresh" what do you mean? If it gives you just another login prompt, than the password is wrong. But if the screen clears, then has a login prompt, that would mean that you are logging in, but for whatever reason the system is closing your session immediately.

Lleb_KCir 03-19-2004 12:58 AM

i was under the impression that you could not boot into the root, but had to log in under a normal user, then switch to root via su-


All times are GMT -5. The time now is 01:50 AM.