[tac_plus] Please help with tac_plus

Philip Prindeville philipp_subx at redfish-solutions.com
Mon May 16 19:16:28 UTC 2022



> On May 16, 2022, at 12:42 PM, heasley <heas at shrubbery.net> wrote:
> 
> Mon, May 16, 2022 at 05:27:09PM +0000, Elliot Johnson:
>> Hello,
>> 
>> We are trying to run tac_plus version F4.0.4.26 on a CentOS 7 box.
>> 
>> We have a config with a group section like this:
>> 
>> group = netadmin {
>>    default service = permit
>>    acl             = hgl
>>    service         = exec {
>>                        priv-lvl = 15
>>                      }
>> }
>> 
>> When we start the tac_plus process, we get this reported by systemd:
>> 
>> May 16 18:23:06 g000063 tac_plus[19305]: /etc/rc.d/init.d/tac_plus: line 22: [: =: unary operator expected
>> 
>> Line 22 is "default service = permit"
>> 
>> What is the syntax we should use for this config entry? All the online guides only suggest what we have already put.
> 
> Your syntax looks correct.  I expect that you either have unprintable
> characters on line 22 or there is an error on a preceding line that is
> trickling down to line 22.
> 


Is it the config file it's complaining about, or the init.d script?  Can you include "cat -n /etc/rc.d/init.d/tac_plus"?




More information about the tac_plus mailing list