Quote:
Originally Posted by Curiosity42
I do not know what is wrong either, I have to try to get it working with sudo. I would have preferred to do it with setfacl, but bad luck. I hope I will not have similar problems with sudo.
|
You haven't exactly answered my question but OK, you have to force a decision I guess. Wrt Sudo be aware you have to be precise. 'man sudoers' explains the difference between
Code:
securityoperator1 hostname = vi /etc/*
and
Code:
%securityoperator hostname = NOEXEC: /usr/bin/vi /etc/modprobe.d/dist.conf
*BTW do make a backup beforehand and if this is not some one-off maybe ponder usage of config management (like Puppet?) or at least versioning (centrally). HTH and G/L.