Re: allow ftp access, not shell access




On Sunday 29 April 2007 6:57 pm, you wrote:
On 2007-04-29 20:52, Chris Slothouber wrote:
On 2007-04-29 13:04, Ray wrote:
Hello,
I want to allow ftp access to other users, without giving them shell
access. how do I configure the adduser command to accomplish this, or is
this there some other way?
I have tried some things from google / man pages, but I'm not getting
it. user ftp home directory will be adjusted in the ftpchroot file.

You can set the user's shell to /sbin/nologin. Also make sure this is
listed in /etc/shells if you're using FreeBSD's ftpd or lukemftpd.

Also see `man ftpchroot` for info on securing this.
Thanks,
I had caught that one but is there anything else I should do for the sake of
security?
Ray

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: vsftpd problem on debian sarge
    ... All those users should be granted only ftp access to my system, ... And I would like to have a different home directoy for ... > their home directory to chroot them to. ... > any other access to the system by gving them /sbin/false as login shell ...
    (comp.os.linux.misc)
  • Re: hiding system directories
    ... I need help in securing my debian server: i want group "users" not to have ... access (via shell) to system directories. ...
    (comp.os.linux.security)
  • Re: allow ftp access, not shell access
    ... I want to allow ftp access to other users, ... how do I configure the adduser command to accomplish this, ... user ftp home directory will be adjusted in the ftpchroot file. ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (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)