From owner-freebsd-questions@FreeBSD.ORG Fri Sep 9 20:47:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1A0D1065670 for ; Fri, 9 Sep 2011 20:47:13 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 0C7228FC0C for ; Fri, 9 Sep 2011 20:47:12 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p89Kl8E5006628 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 9 Sep 2011 21:47:08 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p89Kl8E5006628 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1315601229; bh=U4Jm//mGzKnsyktLgRBW6CgJFujc321pzmmOXthHN0o=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4E6A7B43.5080806@infracaninophile.co.uk>|Date:=20F ri,=2009=20Sep=202011=2021:46:59=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:6.0.2)=20Gecko/2 0110902=20Thunderbird/6.0.2|MIME-Version:=201.0|To:=20Paul=20Keuse mann=20|CC:=20freebsd-questions@freebsd.org|Subj ect:=20Re:=20Can't=20log=20in=20as=20toor=20since=20package=20upda te|References:=20<4E6A0C1F.7090505@visi.com>=20<4E6A305A.1040105@v isi.com>|In-Reply-To:=20<4E6A305A.1040105@visi.com>|X-Enigmail-Ver sion:=201.3.1|OpenPGP:=20id=3D60AE908C|Content-Type:=20multipart/s igned=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pg p-signature"=3B=0D=0A=20boundary=3D"------------enig9C729E74A7A3D8 6F352885D0"; b=hsieA1Z+TiKn40qGYRP3uv6IojHheKX55Gy2bhlfkPkHVunEbNPP5FoSX9jtmCBE2 O4WJTB1Krv/RExTBbot6Z6SPUzeRANqRF5ZTtAr9OXt4GABcsSLsmXx6yb4n0oyCu5 mXxB824ecgPnZJqGHO6/nIeFx496kTpFhWo89QbE= Message-ID: <4E6A7B43.5080806@infracaninophile.co.uk> Date: Fri, 09 Sep 2011 21:46:59 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Paul Keusemann References: <4E6A0C1F.7090505@visi.com> <4E6A305A.1040105@visi.com> In-Reply-To: <4E6A305A.1040105@visi.com> X-Enigmail-Version: 1.3.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9C729E74A7A3D86F352885D0" X-Virus-Scanned: clamav-milter 0.97.2 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Can't log in as toor since package update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 20:47:13 -0000 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--