[sudo-users] sudo log format

Tony G. tonysk8 at gmx.net
Fri Feb 19 12:52:26 EST 2010

Don't think there is a two lines, seems like your output is being cut and
pasted in that way so you can see the full line.

To verify do: sudo grep "sudo grep /var/log/secure" /var/log/secure  |wc -l

On Fri, Feb 19, 2010 at 8:57 AM, Vahid Moghaddasi <
vahid.moghaddasi at gmail.com> wrote:

> Hi all,
> How can I have sudo log entry be in one line instead of wrapping around to
> next line for each incident?
> The log file currently looks like this:
> Jan 26 15:28:48 2010 : vahid : HOST=solaris11 : TTY=pts/11 ; PWD=/u/vahid
>    ; USER=root ; COMMAND=/bin/su -
> There ate two lines in the above entry.
> Also, is there a reason that two different delimiters (: and ;) are used in
> each line? Is it possible to modify that to have just one kind of delimiter
> e.g. ; only?
> Thanks,
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users


More information about the sudo-users mailing list