All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Level 2
Level 2
Posts: 58
Joined: Fri Sep 28, 2018 6:27 pm

Re: passwords

Post by royston » Wed May 22, 2019 11:56 am

Reading the above question and replies it occurs to me that adding these lines:

Cmnd_Alias EXEMPT_CMDS = /sbin/poweroff, /sbin/halt, /sbin/reboot, /usr/bin/mintupdate

could be done to /etc/sudoers.d/myfile rather than to /etc/sudoers itself.
Any problem with this?

Post Reply

Return to “Newbie Questions”