which reboot /sbin/reboot
ls -l /sbin/reboot
すると、大抵、以下のもののリンクになっている
/sbin/halt /sbin/consolehelper
これらのパーミッションで、xを変更する
chmod go-x /sbin/halt
これでよいのか?!
consolehelperの方は、他の設定でも使用するため、xのパーミッションを変更しないこと
which reboot /sbin/reboot
ls -l /sbin/reboot
すると、大抵、以下のもののリンクになっている
/sbin/halt /sbin/consolehelper
これらのパーミッションで、xを変更する
chmod go-x /sbin/halt
これでよいのか?!
consolehelperの方は、他の設定でも使用するため、xのパーミッションを変更しないこと