Subject: Re: Making pwd_mkdb statically linked
To: Marc Baudoin <firstname.lastname@example.org>
From: Julian Assange <email@example.com>
Date: 01/16/1999 20:05:32
Marc Baudoin <firstname.lastname@example.org> 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 ld.so 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.