[sudo-users] HOWTO put many editors easily

Edilmar Alves - Lista edilista at fes.br
Wed Nov 17 16:58:01 EST 2004


If I have to allow users to edit the file /etc/resolv.conf, I do this:
Cmnd_Alias      RESOLV = /usr/bin/gedit /etc/resolv.conf, /usr/bin/vim 
/etc/resolv.conf

Is there some way to create something like this:
Cmnd_Alias      RESOLV = /usr/bin/gedit OR /usr/bin/vim OR ... OR ... 
/etc/resolv.conf
to specifically put many editors, 3 or more?




More information about the sudo-users mailing list