On Wed, Sep 14, 2005 at 06:04:11PM +0200, Christian Perrier wrote:
> Quoting Marc Haber ([EMAIL PROTECTED]):
> > found #317012 1:4.0.3-39
> > thanks
> > 
> > On Sun, Jul 10, 2005 at 03:49:26PM -0400, Christian Perrier wrote:
> > >    * Upstream bugs not fixed in upstream releases or CVS:
> > >      - 443_chage_exit_values
> > >        chage: change the exit value to 3 when chage fails because the 
> > > system is
> > >        not shadow enabled.
> > >        Closes: #317012
> > 
> > That doesn't seem to work reliably, see #328090.
> 
> [EMAIL PROTECTED]:~# shadowconfig off
> Shadow passwords are now off.
> [EMAIL PROTECTED]:~# chage spongebob
> chage: the shadow password file is not present
> [EMAIL PROTECTED]:~# echo $?
> 3
> 
> What else could be done?

Maybe it would be an idea to debug with the bug reporter of #328090
why his chage is returning 1 after saying "can't open shadow password
file", which is a differently worded error message from the one you
have cited. Maybe there is another code path in chage which still
returns 1?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to