Date: Sun, 29 Apr 2007 20:52:08 -0400 From: Chris Slothouber <chris@hier7.com> To: ray@stilltech.net Cc: freebsd-questions@freebsd.org Subject: Re: allow ftp access, not shell access Message-ID: <46353DB8.20105@hier7.com> In-Reply-To: <200704291104.18905.ray@stilltech.net> References: <200704291104.18905.ray@stilltech.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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@hier7.com) -=- 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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46353DB8.20105>