Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Sep 2011 21:46:59 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Paul Keusemann <pkeusem@visi.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can't log in as toor since package update
Message-ID:  <4E6A7B43.5080806@infracaninophile.co.uk>
In-Reply-To: <4E6A305A.1040105@visi.com>
References:  <4E6A0C1F.7090505@visi.com> <4E6A305A.1040105@visi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9C729E74A7A3D86F352885D0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enig9C729E74A7A3D86F352885D0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5qe0wACgkQ8Mjk52CukIyTEgCfVuHsIO5muZ2cvGst2TDxDz/b
cgAAnjXIE8A9TdHrjdbNwg2sIM8zBQNn
=cUpD
-----END PGP SIGNATURE-----

--------------enig9C729E74A7A3D86F352885D0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E6A7B43.5080806>