NetBSD-Users archive

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

Re: chroot



On Mon, 30 Apr 2012, paigosa%hushmail.com@localhost wrote:

> How does one add a user to a chroot?  I copied /etc/master.passwd and
> /etc/group to the chroot and when I try to add a user I get an error:

> useradd: No "dot" initialisation files found

useradd wants access to the /etc/skel/ directory which contains the 
"dot" files. (So copy that too.)

Or, if just one user, then just add it manually with vipw.


Home | Main Index | Thread Index | Old Index