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
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: [email protected] Kent, CT11 9PW
signature.asc
Description: OpenPGP digital signature
