Re: disabling accounts after inactivity

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

 



You could have an accounting script run via .bashrc, say a counter
script gets reset everytime the user logs in.  Or, more simply, have
.bashrc  call a script which looks of the time and date, compares it to the
last entry, and if the requisite time has passed kicks them out - if not,
updates the date to the current provided.

This is about as simple a solution as I can think of...


On 9/7/06, Bill Tangren <bjt@xxxxxxxxxxxxxxxx> wrote:

Is is possible to disable a user account after a period of inactivity
(they have
not logged in during that time), say 30 days? If so, how could one go
about
doing that?

Thanks!

Bill

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




--
Michael S. Christian Jr.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux