Subject: Re: ftp yes, shell no
To: None <firstname.lastname@example.org>
From: Joel Rees <email@example.com>
Date: 07/29/2004 23:29:57
>> Hello everyone on the whole wide world,
>> My Aim is to enable ftp access, but deny shell access.
>> If I set the shell to /sbin/nologin the ftp login is also denied with
>> words "the user may not use ftp".
>> How shall I manage this ?
> I had quite the same problem "shell no, cvs yes", I managed it via the
> ssh :
> in the user's HOME I have :
> command="cvs server" ssh-dss AAAAB3Nza....
> command="cvs server" ssh-rsa AAAAB...
> to restrict the possible commands via ssh.
Is the user able to see that? Maybe even write something on top of that?
> Another possibility is to get a restricted shell like this one :