[Wolves] Re: Restricting Users

david at codepoets.co.uk david at codepoets.co.uk
Sun Dec 12 13:17:17 GMT 2004


>>
> Ok i'll do a bit of explaining. This is so i can sftp to my machine
> and if someone gets my pwd and username they cant do damage.
> AFAIK for the directory issue i would have to chroot sftp sessions.
> Which im looking for a how-to at the momment as i'd want it chrooted
> to a non-root user. The man page for chroot is still a bit cryptic to
> me so im looking for a how-to at the momment.
>
> The command restriction in this situation is primarily for ssh also,
> is it possible to allow sftp sessions but not ssh ones??
>
>


man chroot

It's normally a non trivial undertaking however

David.





More information about the Wolves mailing list