[sudo-users] consultatio about edition for files

federico montaldo fmontaldo3 at gmail.com
Mon May 12 09:01:11 MDT 2014

Hi group,

I want to know if sudo got a way to edit some files only for a regular
user. I put the following lines in sudo.

Cmnd_Alias ADMBKUP = /opt/bin/dsmc, /etc/rc.adsmserv, /bin/vi
/opt/tivoli/tsm/client/oracle/bin64/*.opt, /bin/vi
/opt/tivoli/tsm/client/ba/bin/* ,/opt/local/bin/tsmsched , /bin/vi
/opt/tivoli/tsm/client/ba/bin/dsm.sys, /bin/vi /opt/tivoli/tsm/*,
/bin/cat /etc/inittab, /bin/cat /opt/tivoli/tsm/*,
/opt/tivoli/tsm/client/ba/bin/dsmc, /usr/bin/nohup
/opt/tivoli/tsm/client/oracle/bin64/tdpoconf, /tsmlogs/*

%mllano ALL = NOPASSWD : /bin/vi /opt/tivoli

There is a way to grant a user the permitions as root to edit onely some files?.

Thanks and regards

More information about the sudo-users mailing list