|
We currently using radiator to validate based on
the users Unix group.
and have several entries in the users file like
this -
DEFAULT Auth-Type = System, Group =
shell
Service-Type = Login-User, Login-IP-Host = 123.123.123.123, Login-Service = Telnet DEFAULT Auth-Type = System, Group = aux-dial,
Simultaneous-Use = 1
Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Netmask = 255.255.255.255, Framed-Routing = None, Framed-MTU = 1500, Framed-Compression = Van-Jacobson-TCP-IP, what has come up is that there are groups named
similarly that we want to react the
same without having to put an entry for each in the
users file.
Instead of putting:
DEFAULT Auth-Type = System, Group =
shell
Service-Type = Login-User, Login-IP-Host = 123.123.123.123, Login-Service = Telnet DEFAULT Auth-Type = System, Group =
shell-other
Service-Type = Login-User, Login-IP-Host = 123.123.123.123, Login-Service = Telnet would it be possible to do something like
this?
DEFAULT Auth-Type = System, Group =
/^shell/
Service-Type = Login-User, Login-IP-Host = 123.123.123.123, Login-Service = Telnet so that it would match all groups that start with the word
shell? Or whatever other
standard perl regex we came up with?
Thanks for the help,
Nihal |
- Re: (RADIATOR) group regex Nihal
- Re: (RADIATOR) group regex Hugh Irvine
- Re: (RADIATOR) group regex Anton Krall
- (RADIATOR) group regex Mike McCauley
