>> Delete Reply from No. 49089 article
No. RE: ssh를 특정 사용자만 가능하게 하는방법좀
알려주세요~

등록 2002-05-15 15:08:00 By localhost     조회 1
이름 난나야^^    

		man sshd 에 이렇게 나와있군요
 AllowGroups
             This keyword can be followed by a list of group names, separated
             by spaces.  If specified, login is allowed only for users whose
             primary group or supplementary group list matches one of the pat?
             terns.  `*' and `'?  can be used as wildcards in the patterns.
             Only group names are valid; a numerical group ID isn't recog?
             nized.  By default login is allowed regardless of the group list.
 AllowUsers
             This keyword can be followed by a list of user names, separated
             by spaces.  If specified, login is allowed only for users names
             that match one of the patterns.  `*' and `'?  can be used as
             wildcards in the patterns.  Only user names are valid; a numeri?
             cal user ID isn't recognized.  By default login is allowed
             regardless of the user name.
 옵션이 틀린건 아닌지 다시 점검해 보세요
AllowGroups 입니다.
그리고 옵션을 바꾼 다음에는
/etc/rc.d/init.d/sshd restart  잊지 마시길...
  : 이곳 게시판을 검색해 보니...
:
: sshd_config 파일에
:
: AllowGroup okGroup
:
: 이런식으로 적어 주라고 어떤분이 글을 쓰셨던데요...
:
: 제가 위처럼 해보니... 그룹이고 모고 없이 다들 못 들어가더군요...
:
: 그리고 위에처럼 할때 위치는 상관없는거 맞져...?
:
:
: 특정 유저나 그룹만 ssh로 로그인 가능케 하는 방법좀 알려주세요...--이 곳에 서명을 적어
: 주십시오.
아자~ 아자~ 삽질맨~~~
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

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