http://www.courtesan.com/sudo/ $ tar zxf sudo-1.6.3p7.tar.gz $ cd sudo-1.6.3p7 $ ./configure $ make $ su # make install /usr/local/bin/sudo /usr/local/sbin/visudo visudo のサンプル
# sudoers file. # # This file MUST be edited with the 'visudo' command as root. # # See the sudoers man page for the details on how to write a sudoers file. # # Host alias specification # User alias specification # Cmnd alias specification # User privilege specification root ALL=(ALL) ALL who ALL=/usr/sbin/useradd,/usr/local/bin/vi /etc/group,/bin/chgrp,/usr/bin/passwd |