문서의 이전 판입니다!
/etc/sudoers 편집은 visudo 명령으로 한다.
사용자를
최신 Ubuntu 버전에서는 /etc/group에서 wheel 그룹에 추가해 두어야 한다.sudo 그룹에 이미 추가 돼 있으며 sudo 그룹만 조정하면 된다.
%sudo ALL=(ALL) NOPASSWD: ALL # 비밀번호 없이 # or %wheel ALL=(ALL) NOPASSWD: ALL # 비밀번호 없이
%users ALL=/sbin/mount /mnt/cdrom, /sbin/umount /mnt/cdrom %users localhost=/sbin/shutdown -h now # 로컬 접속자에 한해서 shutdown -h now 허용