Re: /etc/default/passwd and SSHFrom: Terry Jordan (firstname.lastname@example.org)
- Previous message: Nicholas Berry: "/etc/default/passwd and SSH"
- In reply to: Nicholas Berry: "/etc/default/passwd and SSH"
- Next in thread: Ivanov, Vladimir: "RE: /etc/default/passwd and SSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Terry Jordan <email@example.com> To: "Nicholas Berry" <firstname.lastname@example.org>, <email@example.com> Date: Fri, 25 Jan 2002 10:35:04 -0500
Heres a bit of a hack idea you could try:
Keep a seperate database of the usernames of users using SSH whom you'd to
enforce this upon, then create a cron job that runs every month (if thats the
allotment you'd like to use) that appends a passwd command to that users
login script (ex. .bash_profile). This will at minimum force your users to
enter a new password upon logging in. Ive got a similiar setup myself but in
addition if the user tries to use the same password, it keeps running that
passwd command at every login until the user enters a password that is
different from the original. My scripts are available upon request.
(this is done with perl and mysql btw)
Hope this helps