Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2001 00:48:01 +0100
From:      "Alson van der Meulen" <alson@flutnet.org>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: FTP doesn't work unless user is assigned shell access
Message-ID:  <20011105004801.E9057@md2.mediadesign.nl>
In-Reply-To: <5268b54f08.54f085268b@mbox.com.au>
References:  <5268b54f08.54f085268b@mbox.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011105004801.E9057>