Linux
일반 사용자의 권한 회수
마니씨
2010. 1. 11. 11:16
# chmod 700 /sbin/poweroff
# chmod 700 /sbin/halt
# chmod 700 /sbin/shutdown
# chmod 700 /sbin/reboot
# chmod 700 /sbin/init
이렇게 하면 일반 사용자는 poweroff , halt , shutdown , reboot, init 명령을 내릴수 없다.
# chmod 700 /sbin/halt
# chmod 700 /sbin/shutdown
# chmod 700 /sbin/reboot
# chmod 700 /sbin/init
이렇게 하면 일반 사용자는 poweroff , halt , shutdown , reboot, init 명령을 내릴수 없다.