2 Jan
2015
2 Jan
'15
8:58 a.m.
On Jan 2, 2015, at 6:46 AM, Matej Žerovnik <matej@zunaj.si> wrote:
I want to set up default Max-Daily-Session limit for all users to 1h and also have the ability to set up per-user Max-Daily-Session. How can I achieve that?
Set a global default, and over-ride it with a per-user setting.
I know I can set per-user limit in radcheck mysql table, but how can I set the default limit that will not overwrite per-user setting?
$ man users Which tells you about the operators. You can do: authorize { … sql update control { Max-Daily-Session = 3600 # for ALL users } … } The ‘=‘ says “set it, but don’t over-ride it if it already exists” Alan DeKok.