>> Delete Reply from No. 24251 article
No. RE: root로의 su는 로컬에서만 되도록 제한하고
싶은데...

등록 2001-03-19 00:17:00 By localhost     조회 2
이름 yann    

		/etc/pam.d/su 파일에 다음을 추가하시고...
 auth    sufficient   /lib/security/pam_rootok.so debug
auth    required     /lib/security/pam_wheel.so group=wheel
 wheel 그룹에 su를 사용하고자 하는 아이디를 첨가하면 되죠..
 ]# usermod -G10 yann(원하는 아이디)
 아니면 직접 /etc/group를 편집하면 되죠..
 wheel:x:10:root, yann
 답변 되어기를...--yann
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved