[SLL] ftponly... with scp or sftp

Francois Caen frcaen at gmail.com
Tue May 17 08:20:33 PDT 2005


On 5/17/05, John Aldrich <JAldrich at covista.com> wrote:
> Well, you could always set the shell to /bin/false for anyone you didn't
> want to get a shell. That and chroot come to mind as good ways to prevent
> people from leaving their directories.

I tried setting the shell to /bin/nologin. The user could not scp/sftp
afterwards :-(

Francois




More information about the linux-list mailing list