Afficher un message
Vieux 13/09/2007, 21h34   #3
all mail refused
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: password about to expire notification

On 2007-09-13, vsmith23@gmail.com <vsmith23@gmail.com> wrote:

> Is there a way to query SSH periodically in order to obtain a list of
> users whose password is about to expire in x number of days?


You want to query the OS, not SSH.

Details depend on the OS, but may involve options to the passwd command
and/or numbers in the /etc/shadow file.

Whether password expiry is worth having is another matter -
I think it usually isn't.

--
Elvis Notargiacomo master AT barefaced DOT cheek
http://www.notatla.org.uk/goen/
  Réponse avec citation
 
Page generated in 0,04883 seconds with 9 queries