Re: vsftpd problem on debian sarge



hultsfret <no_one_reads_it@xxxxxxx> wrote:
> Ok here comes my problem. I want to give ftp access to more than one
> user. All those users should be granted only ftp access to my system,
> so no shell. And I would like to have a different home directoy for
> every user, so I can chroot him there.

That's not a problem - that's the normal situation.

> The easiest way to do so was to create standard users, so
> authentification could work with /etc/passwd and they would all have
> their home directory to chroot them to. Using redhat I could then deny
> any other access to the system by gving them /sbin/false as login shell
> in /etc/passwd.

> Under debian sarge, the last option doesn't work.

It works FINE. Make sure /etc/shells contains /bin/false, or whatever
other condition whatever is your ftp server requires (such as pam
config requirements).

Peter
.



Relevant Pages

  • Re: allow ftp access, not shell access
    ... I want to allow ftp access to other users, ... user ftp home directory will be adjusted in the ftpchroot file. ... You can set the user's shell to /sbin/nologin. ... Also see `man ftpchroot` for info on securing this. ...
    (freebsd-questions)
  • Re: Disallow shell access but not sftp?
    ... > shell but still allow them to make a secure login ... > this person to have ftp access but not, ... > that sftp must allow ...
    (RedHat)
  • Re: [PHP] Need a new shared host with php
    ... Just need good ftp access, cgi-bin, shell, etc. ... I'm looking at Host Monster, ...
    (php.general)
  • how to disable shell access to users
    ... I was wondering if anyone might be able to tell how to disable shell ... access to users but allow ftp access? ... In BSD this is just a matter of ...
    (SunManagers)