#1428
[CentOS] Sudo
# Backup sudoers file and create tmp file
cp -f /etc/sudoers /etc/sudoers.tmp cp -f /etc/sudoers /etc/sudoers.bak
add the following line in the sudoers.tmp (with %)
%GROUP_NAME ALL=(ALL) NOPASSWD: ALL
or
%USER_NAME ALL=(ALL) NOPASSWD: ALL
# Enable new sudoers file (tmp)
visudo -q -c -f /etc/sudoers.tmp && cp -f /etc/sudoers.tmp /etc/sudoers
PHP 5.6 on CentOS/RHEL 7.2 and 6.8 via Yum | Webtatic.com Micropython sur ESP8266, l’électronique toujours plus libre et puissante ! – PAB’s blog
remove user from sudoers group :