Can't log in as toor since package update

Matthew Seaman m.seaman at
Fri Sep 9 20:47:13 UTC 2011

On 09/09/2011 16:27, Paul Keusemann wrote:
> I am still curious about what has changed in the last couple of weeks
> though.

What do these commands produce:

   % pw user show -n root
   % pw user show -n toor

--- the default results look like this:

root:*:0:0::0:0:Charlie &:/root:/bin/csh
toor:*:0:0::0:0:Bourne-again Superuser:/root:

(be particularly suspicious if the toor line doesn't end in your choice
of shell -- a blank value gets you the default shell, which is /bin/sh)

Does running

   # pwd_mkdb -p /etc/master.passwd

improve things?

Otherwise, did you run mergemaster at all during the last few weeks?

Did you run mergemaster without sufficient care and attention when it
asked you if it should replace your /etc/master.passwd with the default
version from /usr/src?

Or perhaps you attempted to merge old and new versions of master.passwd
without conspicuous success?

If you have managed to make mincemeat out of /etc/master.passwd, fear
not.  There should be a backup of the old version of file in /var/backups



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
JID: matthew at               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list