*BSD News Article 69303


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.cps.udayton.edu!news.engr.udayton.edu!blackbird.afit.af.mil!zombie.ncsc.mil!news.mathworks.com!tank.news.pipex.net!pipex!usenet1.news.uk.psi.net!uknet!peer.news.xara.net!xara.net!brandcomms.com!usenet
From: Craig Stratton <craigs@brandcomms.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem with CHPASS?
Date: 24 May 1996 08:11:31 GMT
Lines: 24
Message-ID: <4o3qvj$bej@ns2.brandcomms.com>
NNTP-Posting-Host: apollo108.brandcomms.com

Brook Schofield <Brook@tassie.net.au> writes:
> I am running a FreeBSD 2.1 system and have been having problem with 
> using "chpass" with the "-p" option to change a users password.
> 
> for example:
> 
> chpass -p $1$thotuh$htnhut brook
> 
> so that it would change my password to what-ever! The output from the 
> command is:
> 
> chpass: rebuilding the database...
> chpass: done
> 
> but the password isn't being changed!!!
> 
> If there is anyone that knows why this is happening... or an easy way to 
> update the master.password file easily... or especially in Perl.
> 
> Many Thanks,
> 	Brook

Try using the 'passwd user' command.
Regards, Craig.