I stand corrected. Here is the procedure for setting up sftp-only with
/usr/bin/false as the shell:
Create your user with the appropriate shell:
useradd -m -s /usr/bin/false -d /home/anonsftp anonsftp
(Note that you might want to set up your own login class for it instead, or
add other details)
On Wed, Sep 28, 2011 at 7:10 AM, David Walker wrote:
> Hi Stefan.
>
> On 28/09/2011, Stefan Johnson wrote:
> > Please disregard my last... gmail sent the email before I was finished
> > composing it.
>
> I figured as much.
>
> > Using false for your shell is okay for ftp. It is not for ssh/sftp.
Hi Stefan.
On 28/09/2011, Stefan Johnson wrote:
> Please disregard my last... gmail sent the email before I was finished
> composing it.
I figured as much.
> Using false for your shell is okay for ftp. It is not for ssh/sftp.
I kind of expect that SSH (the shell) either passes commands direct
Please disregard my last... gmail sent the email before I was finished
composing it.
On Tue, Sep 27, 2011 at 10:43 AM, David Walker wrote:
> Hi.
>
> I have some accounts that don't require home directories or shells.
> In the past I used ftpd for web uploading and would do the
> shell==false thin
On Tue, Sep 27, 2011 at 10:43 AM, David Walker wrote:
> Hi.
>
> I have some accounts that don't require home directories or shells.
> In the past I used ftpd for web uploading and would do the
> shell==false thing and chroot them and set the login directory via the
> passwd file.
> Bye bye ftpd, h
Hi.
I have some accounts that don't require home directories or shells.
In the past I used ftpd for web uploading and would do the
shell==false thing and chroot them and set the login directory via the
passwd file.
Bye bye ftpd, hello sshd.
So I'm looking at this again, using the sshd's internal
6 matches
Mail list logo