How to use sudo in Linux (Ubuntu).
visudo (as root user - /etc/sudoers)
ubuntu ALL=NOPASSWD: /usr/bin/pppconfig
Adds in the list of sudoers the user ubuntu, first ALL refers to ALL servers, NOPASSWD means that we do need password in order to use sudo, last bit enables sudo actions only for the referred directory and file.
Another option would be to specify the UNIX group instead of the user
%admin ALL=(ALL) ALL
Adds in the list of sudoers the group admin, first ALL refers to ALL servers, ALL requires Password in order to use sudo, last bit enables sudo all kind of actions.
not helping at all!!!!
johnvaldesmagic 5 months ago
Not helping...
Muramasa007 3 years ago
Bad idea
iHateToRegister 3 years ago