리눅스보안 - 필수 보안 조치법 리눅스보안 - 필수 보안 조치법 1. SetUID 가 설정된 파일 찾기 find / -perm -u+s -ls 2. SetGID 가 설정된 파일 찾기 find / -perm -g+s -ls 3. Sticky Bit 설정된것 찾기 find / -perm -o+t -ls 4. SetUID와 SetGID가 모든 설정된 것 찾기 find / -perm -u+s,-g+s -ls > bothsg 5. SetUID 또는 SetGID가 모든 설정된 것 찾기 find / -perm /u+s,g+s -ls 2> /dev/null > orsg find / -type f -user root -group root -perm /u+s,g+s -ls 2> /dev/null > orsg 1. SUID 점검하기.(root 소유의 Se.. 더보기 이전 1 ··· 248 249 250 251 252 253 254 ··· 595 다음