Wiki
Home

sudo

Use Vim as visudo Editor

EDITOR=vim sudo -E visudo

NOPASSWD

username    ALL = NOPASSWD: ALL
%sudo       ALL = (ALL) NOPASSWD: ALL
%groupname  ALL = NOPASSWD: /usr/sbin/IRGENDEINSKRIPT
usersername ALL = NOPASSWD: /usr/sbin/IRGENDEINSKRIPT

List all your permissions:

sudo -l