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/