Skip site navigation (1)Skip section navigation (2)
Date:      26 Oct 2002 11:08:58 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Setting permissions for a user
Message-ID:  <444rb9b5kl.fsf@be-well.ilk.org>
In-Reply-To: <Pine.GSO.4.44L-027.0210260058190.21991-100000@unix13.andrew.cmu.edu>
References:  <Pine.GSO.4.44L-027.0210260058190.21991-100000@unix13.andrew.cmu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Adam Bender <abender@andrew.cmu.edu> writes:

> I would like to create an account to be used for FTP.  Since the password
> will be known by a couple people / could be sniffed since it's not sftp, I
> would obviously like to limit the powers of this user as much as possible.
> Specifically, I would like it to be able to create and read files in it's
> own directory, and that's it.  No execution capabilities, unable to read
> files not in its directory, etc.  What's the best way to do this?

Chroot it within ftp (read the ftpd man page, natch) and give the
account an invalid shell.

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?444rb9b5kl.fsf>