Regenerating the password databases on new installs
Mayu Inc.
pomomayu at gmail.com
Tue Feb 7 20:25:22 PST 2023
Terribly sorry forgot to include the release version:
6.4.0-RELEASE
The install instructions were pretty much identical to the guide. They're
quite long so if there are any specific parts of the install you'd like to
be included please advise.
Handbook instructions:
Manual Installation with Extended HAMMER2 Disk Layout
https://www.dragonflybsd.org/docs/handbook/Installation/#index7h1
On Tue, Feb 7, 2023 at 2:53 PM Mayu Inc. <pomomayu at gmail.com> wrote:
> We successfully installed new systems on a few different machines using
> the extended layout guide in the handbook to utilize pseudo filesystems. On
> every install we've had to re-generate the password databases or else new
> users are visible in /etc/passwd but unable to login.
>
> The following error occured after creating a new user with the 'adduser'
> utility:
>
> pw: user 'myuser' disappeared during update.
> adduser: ERROR: There was an error adding user (myuser).
>
> Using this work-around before creating any users seems to work:
>
> # cp /etc/passwd /etc/passwd.orig
> # cp /etc/master.passwd /etc/master.passwd.orig
> # pwd_mkdb /etc/master.passwd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20230207/67b84aac/attachment-0002.htm>
More information about the Users
mailing list