[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No Password for Root



Hi Art,

Have you tried to edit /etc/passwd by hand (or with emacs :-), cut your
encrypted user password (I assume you have an account on your computer :-)
and paste it between the first two colons in the line corresponding to the
root account?

Good luck,

Marian

-----Original Message-----
From: Art Lemasters <dream@luvmusl.net>
To: debian-user@lists.debian.org <debian-user@lists.debian.org>
Date: Saturday, January 23, 1999 5:49 PM
Subject: Re: No Password for Root


>On Sat, Jan 23, 1999 at 04:00:09PM -0700, Bob Nielsen wrote:
>> On Sat, 23 Jan 1999, Art Lemasters wrote:
>>
>> > On Sat, Jan 23, 1999 at 01:39:11PM -0700, Bob Nielsen wrote:
>> > > Art,
>> > >
>> > > What does 'grep root /etc/passwd' show?
>> >
>> >      It shows
>> >
>> > root::0:0:root:/root:/bin/bash
>>
>> Well, that would mean that root has no password and has /bin/bash as its
>> shell.
>>
>> ls -al /etc/passwd should show
>>
>> -rw-r--r--   1 root     root         1441 Nov 10 09:51 /etc/passwd
>>
>> If root doesn't have write permission, that would prevent it from being
>> updated when you run passwd.
>
>     ...which is what it shows.  And passwd -S showed
>root P 01/23/99 0 99999 7 -1



Reply to: