# 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 명령을 내릴수 없다.
'Linux' 카테고리의 다른 글
| 사용자별 용량 제한 (0) | 2010.01.11 |
|---|---|
| service config (0) | 2010.01.11 |
| mail 설정. (0) | 2009.12.11 |
| FTP 서비스 시작하기 (0) | 2009.12.10 |
| rpm 관리 (0) | 2009.12.07 |