[tac_plus] Command Authorization

heasley heas at shrubbery.net
Tue Dec 24 15:48:23 UTC 2013


Tue, Dec 24, 2013 at 12:24:45PM +0800, Derek Chan:
> Hi,
> 
> I would like to allow my user to enter a command "admin" without any
> parameter. Can we configure this by the following:
> 
> cmd = admin {
>     permit ^$
>     deny .*
> }

That should work.  it really depends upon what the device sends to the daemon
as the command string.  if you can't figure that out, use the debugging knobs
to see the text being sent.


More information about the tac_plus mailing list