1

Deny to edit a specific file in sudoers

view story
linux-howto

http://www.unix.com – How do I deny a user to edit a specific file in directory but the user will have a capability to use sudo and execute any command? I will just deny him/her to edit sayy 5files in different directories in linux? example. He cannot edit /etc/modprobe.d/blacklist.conf and /etc/sshd.config? Then the rest he can use sudo command. thanks (HowTos)