[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sanitizing /etc/pwd.db for anoncvs



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