Date-exerpired users

Taymour Gabr taymourgabr at
Fri Apr 19 16:43:10 CEST 2019

Dear All,

For a hotel scenario, I'm trying to enable/disable users based on
their arrival and departure date. So far, I've accomplished this, by
simply adding a 'exp' column to radcheck and radreply. which includes
the expiry date. And at 00:00 every day, I run a cron job, that checks
for any users that have departed and removes them.

This works, but seems very dirty to me. Is there no cleaner approach I
could use?

More information about the Freeradius-Users mailing list