[sudo-users] iolog_dir
Tony Fondo
tony_fondo at nwrdc.fsu.edu
Fri Jun 15 10:12:28 EDT 2012
I think for the literal you need a ' , as in {'hostname'}
Thank You,
Tony
Tony V. Fondo
Technology Specialist
Northwest Regional Data Center
Office(850) 245-3529
Cell (850) 284-0644
This electronic communication, including any attached documents, may
contain confidential and/or legally privileged information that is
intended only for use by the recipient(s) named above. If you have
received this communication in error, please notify the sender
immediately and delete the communication and any attachments.
-----Original Message-----
From: sudo-users-bounces at courtesan.com
[mailto:sudo-users-bounces at courtesan.com] On Behalf Of Albee, Leo
Sent: Friday, June 15, 2012 9:40 AM
To: sudo-users at sudo.ws
Subject: [sudo-users] iolog_dir
iolog_dir="/var/log/sudo-io/%{hostname}_%{user}"
When I define the above default directive in my sudoers it does almost
exactly what I want it to do, which is create 1 top level directory per
user. It also seems to create a directory with the escape sequences (see
below), Is this normal ? I would prefer it not do this.
drwx------ 2 root staff 256 Jun 15 09:16
%{hostname}_%{user}
drwx------ 5 root staff 256 Jun 15 09:20 .
drwxr-xr-x 7 bin bin 4096 Jun 14 11:14 ..
drwx------ 3 root staff 256 Jun 15 09:16
<NODENAME_albee
drwx------ 3 root users 256 Jun 15 09:20
<NODENAME>_cacti
____________________________________________________________
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