#슈퍼유져(root)의 권한을 획득하는 명령어
chown root.wheel /bin/su
#현재의 프로세서 상태를 확인 하는 명령어
chown root.wheel /bin/ps
#현재 서버의 넷트워크 상태를 확인 하는 명령어
chown root.wheel /bin/netstat
#현재 서버의 사용 시간과 로드를 확인 하는 명령어
chown root.wheel /usr/bin/uptime
#외부 도메인 주소의 아이피/MX 등을 조회 할 수 있는 툴
chown root.wheel /usr/bin/nslookup
chown root.wheel /usr/bin/dig
#현재 하드 디스크의 용량을 확인 할 수 있는 프로그램
chown root.wheel /bin/df
#실시간 프로세서 분석 도구
chown root.wheel /usr/bin/top
# 텔넷 클라이언트(옵션)
chown root.wheel /usr/bin/telnet
#f FTP 클라이언트(옵션)
chown root.wheel /usr/bin/ftp
# SSH 클라이언트(옵션)
chown root.wheel /usr/bin/ssh
# 텍스트용 웹 브라우져(옵션)
chown root.wheel /usr/bin/lynx
# 후이즈
chown root.wheel /usr/bin/whois
# 핑거 서비스
chown root.wheel /usr/bin/finger
#텍스트 기반 다운로드 도구
chown root.wheel /usr/bin/wget
#NC FTP 클라이언트
chown root.wheel /usr/bin/ncftp
윗 부분들을 복사해서 실행하면 특정 그룹으로 권한을 줄 수 있다.
그리고
옵션 이라고 해 둔 부분들은 그런대로 사용자에게 허가 해도 되는 부분이다.
chmod 4750 /bin/su
chmod 750 /bin/ps
chmod 750 /bin/netstat
chmod 750 /usr/bin/uptime
chmod 750 /usr/bin/nslookup
chmod 750 /usr/bin/dig
chmod 750 /bin/df
chmod 750 /usr/bin/top
chmod 750 /usr/bin/telnet
chmod 750 /usr/bin/ftp
chmod 750 /usr/bin/ssh
chmod 750 /usr/bin/lynx
chmod 750 /usr/bin/whois
chmod 750 /usr/bin/finger
chmod 750 /usr/bin/wget
chmod 750 /usr/bin/ncftp
위의 명령어로 그룹만 실행 할 수 있는 권한을 준다.
Posted by 가야태자
Trackback URL : http://dulihana.cafe24.com/blog/trackback/77
Beer and xanax. Xanax. Xanax cocktail.
Buy xanax. Xanax.
Alprazolam.
이곳은 가야태자의 일상생활, 사진, 리눅스, 자유, 개발언어, 데이타베이스 등에 대해서 이야기 하는 공간입니다.
- 가야태자
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 |