실행명령 권한 설정 변경

chmod 100 /usr/bin/chage                      chmod 100 /usr/libexec/openssh/ssh-keysign

chmod 100 /usr/bin/rcp                          chmod 100 /usr/bin/write

chmod 100 /usr/bin/gpasswd                  chmod 100 /usr/sbin/sendmail

chmod 100 /usr/bin/rlogin                       chmod 100 /usr/bin/at

chmod 100 /usr/bin/wall                         chmod 100 /usr/sbin/traceroute

chmod 100 /usr/bin/rsh                          chmod 100 /bin/mount

chmod 100 /usr/bin/chsh                        chmod 100 /bin/ping

chmod 100 /usr/bin/sudo                        chmod 100 /usr/bin/crontab

chmod 100 /usr/bin/newgrp                     chmod 100 /usr/bin/passwd

find / -perm -4000

명령어를 이용하여 root 권한 실행 파일 중 일반사용자가 필요없는 실행 명령은 모두 변경

rpm -import /usr/share/rhn/RPM-GPG-KEY

yum -y update

Fedora 또는 CentOS 만 실행됨.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.