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

Re: Forcing password change for a user



How about using 'chage'.  I think you probably need to play with the -M
and -d switches.  BTW chage is in the passwd package.

HTH
Rich 

Arcady Genkin wrote:
> 
> George Bonser <grep@shorelink.com> writes:
> 
> Sorry to bug you again, but I am still looking for the password change
> solution...
> 
> The .bash_profile solution works, but then if the user changes his default
> shell from bash to smth else, I won't be able to force password change
> anymore... Is there any file that gets called every time a user logs
> in? Irrespective of which shell he is using? I could put there a call
> for such a script, which would check for existance of .newuser file
> etc...
> 
> Thanks!
> --
> Arcady Genkin
> "I opened up my wallet, and it's full of blood..." - GsYDE
> 
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: