From owner-freebsd-security Wed Feb 5 9:39:40 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 A011D37B401 for ; Wed, 5 Feb 2003 09:39:38 -0800 (PST) Received: from straylight.ringlet.net (sbnd.online.bg [217.75.129.196]) by mx1.FreeBSD.org (Postfix) with SMTP id D423F43E4A for ; Wed, 5 Feb 2003 09:39:27 -0800 (PST) (envelope-from roam@ringlet.net) Received: (qmail 17851 invoked by uid 1000); 5 Feb 2003 17:04:44 -0000 Date: Wed, 5 Feb 2003 19:04:44 +0200 From: Peter Pentchev To: John Cc: freebsd-security@freebsd.org Subject: Re: Passwords in Jails Message-ID: <20030205170444.GA17546@straylight.oblivion.bg> Mail-Followup-To: John , freebsd-security@freebsd.org References: <200302050843.30377.ahuth@lanworks.de> <5.2.0.9.0.20030205075601.061cefe0@192.168.0.12> <20030205160058.GB373@straylight.oblivion.bg> <20030205172521.GA58302@mail.unixjunkie.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <20030205172521.GA58302@mail.unixjunkie.com> 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 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 05, 2003 at 11:25:21AM -0600, John wrote: > On Wed, Feb 05, 2003 at 06:00:58PM +0200, Peter Pentchev wrote: > > 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 you= r=20 > > > jail, >=20 > Just as a side note pw is a great util for managing jails. > You can add/del/mod and all that jazz, just add -V /path/to/jail/etc > You can also set passwords via pw (-h). Sure, pw(8) will also work; my point was that this should NOT be done via direct editing of the master.passwd file... well, at least, not if you expect the system to notice the changes. 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 I am not the subject of this sentence. --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+QUQs7Ri2jRYZRVMRAoKFAJ4h7KRbAye6We1rtImylmg6aDHYjgCfcW7W IYdijiF/ir/tES+ZzRh4Ogw= =Ini1 -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message