Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2003 11:25:21 -0600
From:      John <strgout@unixjunkie.com>
To:        freebsd-security@freebsd.org
Subject:   Re: Passwords in Jails
Message-ID:  <20030205172521.GA58302@mail.unixjunkie.com>
In-Reply-To: <20030205160058.GB373@straylight.oblivion.bg>
References:  <200302050843.30377.ahuth@lanworks.de> <5.2.0.9.0.20030205075601.061cefe0@192.168.0.12> <20030205160058.GB373@straylight.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
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).

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?
> > 
> > Yes, just manipulate the master.passwd file directly from outside your 
> > 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 
> > you have access to the entire file system from the base system.
> 
> This has always worked for me.

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?20030205172521.GA58302>