sFTP nologin
Jeff Wirth
jeff.wirth at gmail.com
Mon Mar 28 08:10:28 PST 2005
> On Fri, 25 Mar 2005 19:53:12 -0500, Grant Peel <gpeel at thenetnow.com> wrote:
> So, If I simply change the isers shell in /etc/passwd to the
> /usr/local/sbin.scponly shell it should work? If so, it doesn't!
>
> After installing the port (scponly) does one have to run the chroot scrippts
> and all that they talk about on the site? or should simply adding it to
> /etc/shells and changing the users shell do the trick?
>
If you want 'chroot' functionality read the Makefile. The default
build behavior is 'undefined' for chroot.
Once you have scponly built to your needs, all you need is to add
'scponly' ('scponlyc') to /etc/shells and change your users shell
accordingly. (see manpage for more info)
-jw
More information about the freebsd-questions
mailing list