Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2001 11:37:12 -0800 (PST)
From:      bob bobing <this_is_my_act@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   RE: managing passwd in a jailed env.
Message-ID:  <20011220193712.54990.qmail@web12403.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Well i have the answer. just ran across the pw
command, and looked it up. guess what i found. 

pw -V etcdir

daoh!

pw -V /usr/jail1/etc adduser bubba

daoh, daoh!!

pw -V /usr/jail1/etc usermod bubba -h 0
New password for user bubba:

dd if=/dev/daoh of=/dev/stdout bs=1048576 count=1

so to some up, pw does everything i need to manage
users in a jail, from outside of the jail.

i knew there was something out there to do this with.

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

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




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