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

Re: locking/unlocking accounts with pam?



goemon@sasami.anime.net said:
> The old pre-pam passwd used to have a lock/unlock option '-l' and
> '-u'. What this did to the shadow password is it inserted a '!' in
> front of the encrypted password to lock it, and removed the '!' to
> unlock it.

> It seems this option has disappeared in the pam version of passwd.

if you are using the Redhat 5.0 - there is another script called usermod - 
this allows you to do just what you need.




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