From owner-freebsd-security Wed Feb 5 8: 2:20 2003 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CBE737B401 for ; Wed, 5 Feb 2003 08:02:17 -0800 (PST) Received: from straylight.ringlet.net (sbnd.online.bg [217.75.129.196]) by mx1.FreeBSD.org (Postfix) with SMTP id 4C1A643F75 for ; Wed, 5 Feb 2003 08:02:11 -0800 (PST) (envelope-from roam@ringlet.net) Received: (qmail 11921 invoked by uid 1000); 5 Feb 2003 16:00:58 -0000 Date: Wed, 5 Feb 2003 18:00:58 +0200 From: Peter Pentchev To: Mike Tancsa Cc: Alex Huth , freebsd-security@FreeBSD.ORG Subject: Re: Passwords in Jails Message-ID: <20030205160058.GB373@straylight.oblivion.bg> Mail-Followup-To: Mike Tancsa , Alex Huth , freebsd-security@FreeBSD.ORG References: <200302050843.30377.ahuth@lanworks.de> <5.2.0.9.0.20030205075601.061cefe0@192.168.0.12> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3lcZGd9BuhuYXNfi" Content-Disposition: inline In-Reply-To: <5.2.0.9.0.20030205075601.061cefe0@192.168.0.12> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --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