Re: allow ftp access, not shell access



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

Hi Ray,

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.

Hope this helps. Thanks!

- --
Chris Slothouber (chris@xxxxxxxxx) -=- Mercenary Sysadmin
BIZ: http://www.hier7.com -=- building.better.ideas
PGP: 7A83 F021 5AC3 4BD7 6738 21D8 B348 0B16 79C0 C27F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGNT24s0gLFnnAwn8RAkfeAKCAgWU965msH0hONOsTgDvvB60XWgCguH5f
rXc5v0NptiAof5ECx4HBkQc=
=Pq1O
-----END PGP SIGNATURE-----
_______________________________________________
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: 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)
  • allow ftp access, not shell access
    ... I want to allow ftp access to other users, without giving them shell access. ... how do I configure the adduser command to accomplish this, ...
    (freebsd-questions)
  • Re: telnet times out
    ... You need GnuPG to verify this message ... The telnet service on this machine ... Right now I have only ftp access to this machine, ... Use ssh/scp only for admin tasks, ...
    (comp.os.linux.misc)
  • Re: Adding /bin/false to /etc/shells
    ... L.W. van Braam van Vloten wrote: ... I can prevent the shell access by specifying /bin/false as ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ... fn:W Paul Mills ...
    (Debian-User)
  • Re: permission denied - can files be locked in linux?
    ... but I don't have shell access. ... > Do you have ftp access at least, so we can have a look at ... >> think PHP can lock files, but I didn't know it affected the filesystem... ...
    (alt.os.linux)