Date: Sat, 17 Aug 2002 17:06:02 +0300 From: Odhiambo Washington <wash@wananchi.com> To: freebsd-isp@freebsd.org Cc: yazzy@yazzy.org Subject: Re: ssh chroot Message-ID: <20020817140602.GE82081@ns2.wananchi.com> In-Reply-To: <56221.80.232.16.66.1029201402.squirrel@mail.yazzy.org> References: <56221.80.232.16.66.1029201402.squirrel@mail.yazzy.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Marcin Jessa <yazzy@yazzy.org> [20020813 07:45]: wrote: > Hi. > > Is there any way to implement a ssh chroot() functionality on a server? > I am not really interested in running jail. > I have found something called scponly - > http://www.sublimation.org/scponly/ but that is not what I need. I need > users to be actually able to ssh to my box , not only scp to/from it > without being able to browse and edit their files. > Thanks in advance. > > > -- Hi YazzY, Long time ;-) The closest I did with what you are asking was to give those dudes an rbash shell. cd /usr/local/bin && ln bash rbash Add /usr/local/bin/rbash to /etc/shells. Ciao -Wash -- Odhiambo Washington <wash@wananchi.com> "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) Think of it! With VLSI we can pack 100 ENIACs in 1 sq. cm.! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020817140602.GE82081>