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

locking/unlocking accounts with pam?



How does one lock/unlock accounts with pam? Specifically, using the passwd
program.

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.

Aside from hacking up some ugly perl scripts to do this, are there any
plans to add locking/unlocking to the pam passwd program? Or am I missing
something?

-Dan



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