[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sanitizing /etc/pwd.db for anoncvs
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Sanitizing /etc/pwd.db for anoncvs
- From: eric <eric-list-openbsd-misc_(_at_)_catastrophe_(_dot_)_net>
- Date: Sat, 26 Feb 2005 00:25:06 -0600
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
- Organization: Catastrophe.Net <http://www.catastrophe.net/>
I've been setting up a new anoncvs server following the instructions
included in <http://www.openbsd.org/anoncvs.shar> and arrived at an
interesting problem.
"
Fill etc space for the account
cp /etc/{group,hosts,passwd,protocols} etc/
cp /etc/{pwd.db,resolv.conf,services,ttys} etc/
modify these files to suit your idea of system security
"
I'd like to drop in the most limited files required there, but can't
seem to find a way to manipulate pwd.db with vipw(8). Is there a way to do
this? I don't have a system hand that I can wipe out mostly everything out
of the passwd files.
Another question: is /etc/spwd.db needed in the chroot() as well?
Thanks
- Eric
Visit your host, monkey.org