Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2005 21:53:55 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        =?ISO-8859-15?Q?K=F6vesd=E1n_G=E1bor?= <gabor.kovesdan@t-hosting.hu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Users unknown in jail, what to do?
Message-ID:  <43B5AC73.4090607@infracaninophile.co.uk>
In-Reply-To: <43B5A859.1020605@t-hosting.hu>
References:  <43B5A859.1020605@t-hosting.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7330A92ECF5C653AEB48E106
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: quoted-printable

K=F6vesd=E1n G=E1bor wrote:
> mtree: line 6: unknown user root
> *** Error code 1
>=20
> 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 t=
he
getpwent() etc. routines use.  Also look at

    # cap_mkdb login.conf

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


--------------enig7330A92ECF5C653AEB48E106
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDtax48Mjk52CukIwRA3avAJ9lj9YaUggV552oKXyk/fxfajZ7MwCgjopl
qqbstnz+zYvrFyLgH6x8wxA=
=j9Bo
-----END PGP SIGNATURE-----

--------------enig7330A92ECF5C653AEB48E106--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43B5AC73.4090607>