From owner-freebsd-questions Sun Nov 4 15:48: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.mediadesign.nl (md2.mediadesign.nl [212.19.205.67]) by hub.freebsd.org (Postfix) with SMTP id E022637B405 for ; Sun, 4 Nov 2001 15:48:02 -0800 (PST) Received: (qmail 22074 invoked by uid 1002); 4 Nov 2001 23:48:01 -0000 From: "Alson van der Meulen" Date: Mon, 5 Nov 2001 00:48:01 +0100 To: FreeBSD Questions Subject: Re: FTP doesn't work unless user is assigned shell access Message-ID: <20011105004801.E9057@md2.mediadesign.nl> Mail-Followup-To: FreeBSD Questions References: <5268b54f08.54f085268b@mbox.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5268b54f08.54f085268b@mbox.com.au> User-Agent: Mutt/1.3.22i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 05, 2001 at 10:38:54AM +1100, BSD Freak wrote: > Hiya all, > > Just in the process of beefing up security around here, so I decided > that FTP users don't need shell access. So I edited the password > databse and set their shell to /nonexistent and the /sbin/nologin > > After that they are refused FTP access...... Is there anyway I can stop > users from having shell access jyst because they have an FTP account? You could copy /sbin/nologin to /sbin/nologin.ftp, add /sbin/nologin.ftp to /etc/shells, and give the users /sbin/nologin.ftp as shell. -- ,-------------------------------------------. > Name: Alson van der Meulen < > Personal: alson@flutnet.org < > School: alson@gymnasiumleiden.nl < `-------------------------------------------' Say, What does "Superblock Error" mean, anyhow? --------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message