[lug] Re: linux

Eric Kilfoil ekilfoil at viawest.net
Tue Jun 19 11:28:33 MDT 2001


Look for a file named /etc/.pwd.lock or something similar.  Try:

ls -ald /etc/.*

Remove any stale lock files you have.  I've found most linux
implementations tend to leave these stale lock files around quite often.

eric

On Tue, 19 Jun 2001, Glenn Ashton wrote:

>
> I found the solution that Ralf suggests yields an interesting result on a
> box that I am trying to recover the root password on.
>
> (Administrator of said test box leaves town, can't contact him, yada yada)
>
> When enter the following at the Lilo prompt:
>
> linux init=/bin/sh
>
> It does indeed boot and let you in as root.  When I try to use passwd to
> change the root passwd, I get the following:
>
> Canot lock password file: already locked
> Error: Password not changed
> passwd: Authentication token manipulation error
>
> Now Ralf had suggested actually nulling the password in etc/passwd.
>
> My question is, if shadow password are enabled will nulling the "X" in the
> etc/passwd file take care of the problem?
>
> It's SuSe 6.4 and shadow passwords are enabled.
>
> Thanks in advance for any ideas on this.
>
> -Glenn Ashton
>
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>




More information about the LUG mailing list