[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Web based password changer



On Fri, Jan 23, 2004 at 04:13:35PM +1100, Michael Sharman wrote:
> how about:
> 
> echo $user:$newpasswd | chpasswd
> 

 Better check if chpasswd actually works.  The comments in the postinst for
sash indicate it doesn't use PAM, and you have to do your own MD5 crypting.
If that's correct, you can't just use chpasswd.

-- 
#define X(x,y) x##y
Peter Cordes ;  e-mail: X(peter@cor , des.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BC



Reply to: