|
News,
Internal,
Projects,
Home Software, Support, Documentation |
저는 FreeBSD를 사용하지만 ssh를 리눅스에서 돌리고 있습니다. 다음은 리눅스에서 사용하는 방법입니다만 FreeBSD(/etc/pam.conf)에서도 적용이 가능하다고 봅니다. /etc/pam.d/ssh 에 다음을 추가합니다. auth required /lib/security/pam_listfile.so item=user sense=allow file=/etc/ssh/sshusers onerr=succeed 그러면 /etc/ssh/sshusers에 등록된 사용자 만이 ssh에 접속이 가능합니다. /etc/ssh/sshusers의 예) $ cat /etc/ssh/sshusers abc ccc 위 처럼 등록이 되어 있다면 abc와 ccc사용자 만이 ssh 접속이 가능합니다. 그리고 proftp는 mysql과 연동이 가능하다고 들었습니다. 지금은 정확히 말씀은 드릴수가 없지만 다음 사이트에서 자료를 참고 해보세요. http://proftpd.oops.org/ -- Please look and take part in KFUG FAQ: <http://www.kr.freebsd.org/FAQ-kr/> To Unsubscribe: send mail to majordomo@xxxxxxxxxxxxxx with "unsubscribe questions" in the BODY of the message
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2003/06/30 23:00:54 $ |
|