Subject: Re: Making pwd_mkdb statically linked
To: Marc Baudoin <>
From: Julian Assange <>
List: netbsd-users
Date: 01/16/1999 20:05:32
Marc Baudoin <> writes:

> should have mistyped something.  So he booted on a floppy,
> mounted /, edited /etc/master.passwd to remove the password and
> he was stuck trying to rebuild /etc/spwd.db and /etc/pwd.db
> because pwd_mkdb is a dynamically linked binary (living in
> /usr/sbin).  It's easy to copy to a fake /usr/libexec and
> run ldconfig but it's pretty cumbersome.  Wouldn't be easier to
> have pwd_mkdb statically linked in /sbin?

No need. Just mount /usr by hand from single user.