[sudo-users] Sudo logs question.

Michael Potter pottmi at gmail.com
Mon Nov 27 16:26:51 EST 2006


Loris,

Try these rules:
Defaults logfile=/etc/some/path/logfile.default
Defaults:user1 logfile=/etc/some/path/logfile.user1
Defaults:user2 logfile=/etc/some/path/logfile.user2

and if you do that, maybe you want to turn off syslog like this:
Defaults !syslog

-- 
Michael Potter

On 11/27/06, Loris.Serena at pfpc.ie <Loris.Serena at pfpc.ie> wrote:
>
> Guys,
>
> I'd like to achieve the following:
>
> a. send the sudo logs for one specific user to one file;
> b. send the sudo logs for all other users to another file.
>
> Is this doable?
> If so, how do I go about this?
>
> Thanks in advance
>
> Loris
> ____________________________________________________________
> 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