|
News,
Internal,
Projects,
Home Software, Support, Documentation |
restricted shell 이란것이 있습니다. 이곳 메일링 아카이브에도 있더군요.. On Wed, Jan 14, 2004 at 10:41:13PM +0900, dukeeys wrote: > This is a multi-part message in MIME format. > > > -------------------------------------------------------------------------------- > 안녕하세요 최준호님 > > Ssh 를 오픈해야 할일이 생겨서 (한번도 오픈해 본적이 없는지라…) > > 권한을 어떻게 줘야 하나 초 난감입니다. > > 유져 계정을 ssh 로 접속하는 경우에도 ftp 처럼 chroot 가 가능한가요? > > 가능하다면 좀 알려주시구요 불가능하다면 권한설정 스크립트 좀 알려주세요 > > > > 아래는 일단 제가 작성한 목록입니다 > > #!/bin/sh > > chmod 700 /usr/bin/finger > > chmod 700 /usr/bin/ftp > > chmod 700 /usr/bin/gcc > > chmod 700 /usr/bin/suidperl > > chmod 700 /usr/bin/whereis > > chmod 700 /usr/bin/cc > > chmod 700 /usr/bin/chfn > > chmod 700 /usr/bin/c++ > > chmod 700 /usr/bin/make > > chmod 755 /usr/bin/man > > chmod 700 /usr/bin/rlog > > chmod 700 /usr/bin/rlogin > > chmod 700 /usr/bin/talk > > chmod 700 /usr/bin/which > > chmod 700 /usr/bin/who > > chmod 700 /usr/bin/write > > chmod 700 /usr/bin/wall > > chmod 700 /usr/bin/w > > chmod 750 /sbin/ifconfig > > chmod 750 /bin/ps > > chmod 750 /bin/df > > chmod 700 /etc/fstab > > chmod 700 /etc/hosts > > chmod 700 /etc/hosts.allow > > chmod -R 700 /var/log/ > > chgrp wheel /sbin/ifconfig > > chgrp wheel /bin/ps > > chgrp wheel /bin/df > > chgrp wheel /usr/bin/w > > chgrp wheel /usr/bin/who > > chgrp wheel /usr/bin/finger > > chgrp wheel /usr/bin/last > > chgrp wheel /usr/bin/top > > chmod 4750 /sbin/dump _______________________________________________ 한국 FreeBSD 사용자 그룹(KFUG) questions 메일링 리스트 questions at kr.FreeBSD.org http://www.kr.FreeBSD.org/mailman/listinfo/questions
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2004/01/15 18:20:25 $ |
|