(RADIATOR) group regex
Nihal
nihal at ez2000.net
Tue Jun 5 01:17:52 CDT 2001
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20010604/a178d267/attachment.html>
More information about the radiator
mailing list