Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2001 13:45:28 -0400 (EDT)
From:      Rob Simmons <rsimmons@wlcg.com>
To:        Dave <mudman@r181172.resnet.ucsb.edu>
Cc:        <freebsd-security@freebsd.org>
Subject:   Re: Only an ftp account
Message-ID:  <20011012134241.W29795-100000@mail.wlcg.com>
In-Reply-To: <Pine.BSF.4.33.0110121033050.58438-100000@R181172.resnet.ucsb.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

pw useradd -n <name> -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




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