[sudo-users] sudo log format

Vahid Moghaddasi vahid.moghaddasi at gmail.com
Fri Feb 19 15:30:22 EST 2010

On Fri, Feb 19, 2010 at 11: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,

I found the tag in the sudoers file that does this:
Defaults        loglinelen=0
That's it.
Thank you all.

This e-mail address is not monitored so please do not send me anything
important here. Thanks.

More information about the sudo-users mailing list