From owner-freebsd-security Fri Oct 12 10:45:38 2001 Delivered-To: freebsd-security@freebsd.org Received: from mail.wlcg.com (mail.wlcg.com [198.92.199.5]) by hub.freebsd.org (Postfix) with ESMTP id E80C437B407 for ; Fri, 12 Oct 2001 10:45:32 -0700 (PDT) Received: (from root@localhost) by mail.wlcg.com (8.11.6/8.11.6) id f9CHjW748143; Fri, 12 Oct 2001 13:45:32 -0400 (EDT) (envelope-from rsimmons@wlcg.com) Received: from localhost (rsimmons@localhost) by mail.wlcg.com (8.11.6/8.11.6) with ESMTP id f9CHjVL48136; Fri, 12 Oct 2001 13:45:31 -0400 (EDT) (envelope-from rsimmons@wlcg.com) X-Authentication-Warning: mail.wlcg.com: rsimmons owned process doing -bs Date: Fri, 12 Oct 2001 13:45:28 -0400 (EDT) From: Rob Simmons To: Dave Cc: Subject: Re: Only an ftp account In-Reply-To: Message-ID: <20011012134241.W29795-100000@mail.wlcg.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 pw useradd -n -w no -s /sbin/nologin You may also want to add that user to /etc/ftpchroot which will chroot them to their home directory. You should also make sure that /sbin/nologin is in /etc/shells. Robert Simmons Systems Administrator http://www.wlcg.com/ On Fri, 12 Oct 2001, Dave wrote: > > How would I be able to give an account to someone where they can only > login and use FTP? Shell interpeters, sendmail, and virtually all the > other parts of the system should not be at their disposal. > > How does one accomplish the creation of such a 'ftp-locked' account? > > I've heard some discussion about jails, but man jail(1) and jail(2) only > talk about freezing a process, so I think this might not be the solution I > need. > > Thanks. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7xyw6v8Bofna59hYRA5mGAJ4seMzzFMWmdFWJzKxEp3iRGfuGJwCfZD5W Hz1ZXRcXbLAqlaP6i7rLSMo= =fz7N -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message