getpwnam: root: No such file or directory

Mikhail Goriachev mikhailg at webanoide.org
Sat Jul 19 18:58:51 UTC 2008


Евгений Шаповал wrote:
> hello =)
> 
> When I try to start jail (/etc/rc.d/jail start) I have:
> 
> ====
> /etc/rc.conf: //: Permission denied
> Configuring jails:.
> Starting jails: cannot start jail "test":
> jail: getpwnam: root: No such file or directory

You need to rebuild your master.passwd file:

/usr/sbin/pwd_mkdb -d /jaildir/etc -p /jaildir/etc/master.passwd


Regards,
Mikhail.


-- 
Mikhail Goriachev
Webanoide


More information about the freebsd-jail mailing list