[NCLUG] OpenSSH password prompting

listz at hate.cx listz at hate.cx
Sat Mar 29 19:44:44 MST 2003


i'm trying to setup user accounts on my systems to have their passwords expire
in n days. the primary method for login to these systems is openssh. the system
works fine when i set sp_max, sp_warn and sp_inact in the shadow file and
openssh will tell you n days until your password expires, however once the
password expires and sp_inact has been exceeded the account is just locked out.
i'm trying to figure out how to setup the system to simply make the user change
their password once it has been expired before moving forward with giving them a
shell. did i explain that well enough to make sense? does anyone have any
thoughts on how to accomplish this? i've tried it with and without UseLogin to
no avail. a beer to the anyone who has a solution ;)

<EOF>
::[ RFC 2795 ]::
 "Democracy means simply the bludgeoning of the
 people by the people for the people."
 -Oscar Wilde
statik at hate.cx / security engineer \ "My God, it's full of stars..."
PGP fingerprint: D656 01EB 79FC 9285 F110  2AB1 D8BC B3BA BEA2 E0C5




More information about the NCLUG mailing list