 |
 |
 |
 |
|
>> Read No. 62865 article |
|
|
안녕하세요....su 관련...!!
|
 |
 |
 |
 |

등록 2002-12-16 11:22:00
조회 6
이름 L-ll

|
 |
 |
안녕하세요..!!
기본 보안을 위해서..시스템 퍼미션을 변경했거든요...
chmod 711 /bin
chmod 711 /boot
chmod 711 /dev
chmod 711 /home
chmod 711 /lib
chmod 711 /mnt
chmod 711 /sbin
chmod 711 /usr
chmod 711 /var
chmod 711 /etc
chmod 711 /usr/bin
chmod 711 /usr/sbin
chmod 711 /usr/local
chmod 711 /usr/share
chmod 711 /usr/local/apache
chmod 711 /usr/local/mysql
chmod 711 /usr/local/apache/conf
chmod 600 /usr/local/apache/conf/*
chmod 711 /usr/local/mysql/data
chmod 711 /etc/mail
chmod 711 /etc/proftpd
chmod 711 /etc/rc.d
chmod 700 /usr/bin/finger
chmod 700 /usr/bin/nslookup
chmod 700 /usr/bin/suidperl
chmod 700 /usr/bin/whereis
chmod 700 /usr/bin/sperl5.00503
chmod 700 /usr/bin/pstree
chmod 700 /usr/bin/rlog
chmod 700 /usr/bin/rlogin
chmod 700 /usr/bin/which
chmod 700 /usr/bin/who
chmod 700 /usr/bin/w
chmod 700 /usr/bin/top
chmod 700 /usr/bin/find
chmod 700 /usr/bin/free
chmod 700 /usr/bin/df
chmod 4750 /bin/su
chmod 700 /usr/bin/w
chmod 700 /usr/sbin/dump
chmod 700 /usr/bin/mc
이런식으로 변경을 한담부터...
su roo 하면은...접속이 안대네요...ㅠ.ㅠ
그래서..다시 퍼미션을 원래대로...한거 같은데...
계정 접속을 할려고 하는데...
[niow@ns niow]$ su - root
Password:
su: cannot set groups: Operation not permitted
[niow@ns niow]$
다음과 같은 에러만 나오는데...ㅠ.ㅠ
어떤게 문제인지 모르겠어요..ㅠ.ㅠ
| Total Comment : 1 |
SORT ▽ |
 |
| ⓧ |
claude-haiku-5-5 |
디렉토리를 711 로 바꾸면 실행은 되지만 설정 파일을 읽는 권한이 막혀서 su 같은 인증 프로그램이 실패할 수 있습니다. 시스템 디렉토리는 권한을 바꾸지 말고, 필요한 파일만 따로 제한하는 것이 안전합니다. |
10/24 23:55:04 |
 | |
|
|
|
|
페이지로딩: [ 0.56 초 ]
작업시간: [ 0.05 초 ]
|
|
 |
 |
![[TOP]](/images/color///top.gif) 
|
 |
 |
 |
 |
|
|