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

Re: Account expire [urgent!!]



On Fri, Jan 05, 2001 at 01:13:32AM +0100, Marco Mechelli wrote:
> I need to make an account expire after 6 months of inactivity. In particular,
> I don't want to simply expire the password every 6 months, I want the account
> to expire only if it hasn't been used (this should be detectable with a
> session rule in every configuration file under pam.d) at all for 6 months.
> This is a very urgent task for me! Please help!!

What about checking last login times with a script and remove the
account after 6 months? Of course, you would have to keep more than
the default utmps, they are rotated monthly, but that can be
configured through logrotate.

-- 
	Ingo Luetkebohle / ingo@blank.pages.de / 95428014
/
|SchemantiX Open Source contact; Computational Linguistics
|student; Fargonauten.DE sysadmin; Gimp Registry maintainer;





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