Users unknown in jail, what to do?
Matthew Seaman
m.seaman at infracaninophile.co.uk
Fri Dec 30 13:54:13 PST 2005
Kövesdán Gábor wrote:
> mtree: line 6: unknown user root
> *** Error code 1
>
> I copied passwd, master.passwd, group, nsswitch.conf files, too, but I
> get the same. Could somebody tell me how can I solve this?
Try:
# pwd_mkdb /etc/master.passwd
in your jail. That creates (amongst other things) the hashed .db files the
getpwent() etc. routines use. Also look at
# cap_mkdb login.conf
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051230/cbc0d7fb/signature.bin
More information about the freebsd-questions
mailing list