From owner-freebsd-security Fri Oct 12 10:45: 3 2001 Delivered-To: freebsd-security@freebsd.org Received: from db.nexgen.com (db.nexgen.com [66.92.98.149]) by hub.freebsd.org (Postfix) with SMTP id 6CAB537B403 for ; Fri, 12 Oct 2001 10:44:58 -0700 (PDT) Received: (qmail 45812 invoked from network); 12 Oct 2001 17:45:00 -0000 Received: from localhost.nexgen.com (HELO alexus) (root@127.0.0.1) by localhost.nexgen.com with SMTP; 12 Oct 2001 17:45:00 -0000 Message-ID: <000b01c15345$9ace6170$0d00a8c0@alexus> From: "alexus" To: "Dave" , References: Subject: Re: Only an ftp account Date: Fri, 12 Oct 2001 13:44:55 -0400 Organization: NexGen MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 just change shell to /sbin/nologin and this user won't be able login on shell while he/she'll be able to use ftp ----- Original Message ----- From: "Dave" To: Sent: Friday, October 12, 2001 1:38 PM Subject: Only an ftp account > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message