LINUX環境構築/CentOS4.0/一般ユーザのreboot不許可

Last-modified: 2006-12-07 (木) 14:24:48
which reboot
/sbin/reboot
ls -l /sbin/reboot

すると、大抵、以下のもののリンクになっている

/sbin/halt
/sbin/consolehelper

これらのパーミッションで、xを変更する

chmod go-x /sbin/halt

これでよいのか?!
consolehelperの方は、他の設定でも使用するため、xのパーミッションを変更しないこと