Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2003 18:00:58 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Mike Tancsa <mike@sentex.net>
Cc:        Alex Huth <ahuth@lanworks.de>, freebsd-security@FreeBSD.ORG
Subject:   Re: Passwords in Jails
Message-ID:  <20030205160058.GB373@straylight.oblivion.bg>
In-Reply-To: <5.2.0.9.0.20030205075601.061cefe0@192.168.0.12>
References:  <200302050843.30377.ahuth@lanworks.de> <5.2.0.9.0.20030205075601.061cefe0@192.168.0.12>

next in thread | previous in thread | raw e-mail | index | archive | help

--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 05, 2003 at 07:57:17AM -0500, Mike Tancsa wrote:
> At 08:43 AM 2/5/2003 +0100, Alex Huth wrote:
> >Where can I solve this problem or is there a possibility to manage
> >passwords/public keys of a jail from the basesystem?
>=20
> Yes, just manipulate the master.passwd file directly from outside your=20
> jail,

Of course, this had better be done using 'vipw -d /path/to/jail/etc/' :)

> or cp your public key to the appropriate authorized_keys2 file, as=20
> you have access to the entire file system from the base system.

This has always worked for me.

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence would be seven words long if it were six words shorter.

--3lcZGd9BuhuYXNfi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+QTU67Ri2jRYZRVMRAlwEAJ96ijLCeicZXm3Z1sDHPRPccSjAaQCfWH67
P6r3NTjEF7qcx9R74Yr4lws=
=nKEO
-----END PGP SIGNATURE-----

--3lcZGd9BuhuYXNfi--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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