Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Oct 1999 12:49:48 -0600 (CST)
From:      Ryan Thompson <freebsd@sasknow.com>
To:        freebsd-questions@freebsd.org
Subject:   ~/bin, ~/etc for chroot'd users
Message-ID:  <Pine.BSF.4.10.9910031223580.30238-100000@sasknow.com>

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

Thanks for any input!

- Ryan



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?Pine.BSF.4.10.9910031223580.30238-100000>