Interesting. I actually wouldn't want to go into involving scripts but this gets me curious - what would be the way to run a script on the first login? This is something freeradius related, isn't it? Thanks. On 1/23/07, Alan DeKok <aland@deployingradius.com> wrote:
liran tal wrote:
Is it possible to set the expiration attribute to be of an offset type?
No. Because something has to remember when the offset started.
Say I set an offset of +30 days, and the user logins for the first time only 6 months from now. So once he login'ed once then the counter will start counting 30 days from his first login and then expire the account.
Run a script on the first login that updates the DB with the proper expiration.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html