Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2012 23:44:15 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Claude Buisson <clbuisson@orange.fr>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: problem with chpass after recent libutil change
Message-ID:  <20120613214415.GP60433@ithaqua.etoilebsd.net>
In-Reply-To: <4FD8C682.1050705@orange.fr>
References:  <4FD8C682.1050705@orange.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wed, Jun 13, 2012 at 06:57:38PM +0200, Claude Buisson wrote:
> Hi,
> 
> I have some 8-STABLE and 9-STABLE systems which have been upgraded from sources
> csuped on June 3, and I found that I could no more change the shell for toor:
> 
> #chpass -s /bin/csh toor
> chpass: entry inconsistent
> chpass: pw_copy: Invalid argument
> 
> and seemingly ONLY for toor.
> 
> reverting lib/lib/libutil/pw_util.c from r236451 (on 9.X) or r236452 (on 8.X)
> to the previous version seems to be workaround.
> 
> Claude Buisson

Can you try with the following patch?

http://people.freebsd.org/~bapt/add-special-case-for-toor.diff

Regards,
Bapt

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk/ZCa8ACgkQ8kTtMUmk6ExzbgCgrT/89wzBRBW6D2dfmbwXm4q1
mPgAnA499553e2u9s0Ndak8TliAo/8Vt
=vsAL
-----END PGP SIGNATURE-----

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