Skip site navigation (1)Skip section navigation (2)
From:      "Alexey V. Neyman" <avn@any.ru>
To:        Franck LEVESQUE <flevesque@babel.fr>
Cc:        <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: no more 'root' account on my machine...
Message-ID:  <Pine.BSF.4.33.0106061707320.94242-100000@srv2.any>
In-Reply-To: <3B1E0BF6.E0E8225D@babel.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello there!

First, did you edit /etc/passwd or /etc/master.passwd ?
passwd does not hold any passwords and serves only for resolving
name/uid/fullname references, while master.passwd holds actual passwords.
Second, did you run pwd_mkdb(8) after editing that file?

This should be enough IMHO.

Regards,
Alexey.

-------------------------------------+------------------------------
Does the fish swallow the stone?     | Regards, Alexey V. Neyman
Perhaps, but that is not the point.  |    mailto: avn@any.ru
---------------------(Pkunk, SC2)----+------------------------------

On Wed, 6 Jun 2001, Franck LEVESQUE wrote:

>> Hi,
>
>>
>> First of all, sorry for my bad english skills.
>>
>> As the newbie I am on FreeBSD (4.3), I did a very stupid thing while
>> using vipw : I deleted the root account.
>>
>> I tryed to correct my problem using the "fix it" floppy, but changing
>> the /etc/passwd file is not enough.
>> Really I am sorry to bother you with that, but I don't know that much
>> about the master.passwd and the way FreeBSD does to authentify users.
>>
>> Anybody has an idea about the way I shall follow to resolve my problem?
>
>> Thank you indeed.
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-hackers" in the body of the message
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0106061707320.94242-100000>