[tac_plus] -P and man page

Michael Norrving michael.norrving at su.se
Mon Apr 22 14:59:07 UTC 2013


The man page of tac_plus states for –P

"-P     Parse the configuration file, echo it to standard output while parsing, and then exit.  tac_plus will exit non-zero when a parser error occurs."

This does not seem to be the case. It echoes it to stderr. I am pasting some strace to show this.

3589  execve("/usr/sbin/tac_plus", ["/usr/sbin/tac_plus", "-P", "-C", "/local/tacacs/conf/approved/tac_"...], [/* 21 vars */]) = 0
.
.
.
3589  read(4, "#\n# $Id: tac_plus.conf 12 2013-0"..., 4096) = 4096
3589  write(2, "#", 1)                  = 1
3589  write(2, "\n", 1)                 = 1
3589  write(2, "#", 1)                  = 1
3589  write(2, " ", 1)                  = 1
.
.
.

Just thought you might be interested in this. Thanks for a great application! :)


Regards,

Michael Norrving
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/tac_plus/attachments/20130422/2a52fd8e/attachment.html>


More information about the tac_plus mailing list