Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Oct 1999 07:44:40 +0200
From:      Gianmarco Giovannelli <gmarco@scotty.masternet.it>
To:        Ryan Thompson <freebsd@sasknow.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: ~/bin, ~/etc for chroot'd users
Message-ID:  <4.2.0.58.19991004074313.00a22590@194.184.65.4>
In-Reply-To: <Pine.BSF.4.10.9910031223580.30238-100000@sasknow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 03/10/99, Ryan Thompson wrote:
>Hi everybody;
>
>I'm just wondering what the best practice is for the content in the bin/
>and etc/ directories in home directories of users for which chroot is run.
>(Both through ftpd, and just regular login shells).  Users come and go on
>my system with some frequency, and I have a fair number of them.  What is
>the best way to maintain the content in the etc/ directories of users for
>which chroot is run?  (In particular, the pwd.db and groups files, as well
>as *motd (which change from time to time)).
>
>Is there a standardized script that I can use with pwd_mkdb to auto
>install these files into all users' home directories? Or, am I on my own
>to hack something together to suit my tastes?

If you like a different approach you can force them use pdksh (in the ports 
tree) which has a restricted mode.



Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://www.giovannelli.it/~gmarco
http://www2.masternet.it





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?4.2.0.58.19991004074313.00a22590>