Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 1999 15:28:20 -0500
From:      TrouBle <trouble@hackfurby.com>
To:        James Wyatt <jwyatt@rwsystems.net>
Cc:        slava revutchi <sl@zeus.dnt.md>, Brian Reichert <reichert@numachi.com>, freebsd-isp@FreeBSD.ORG
Subject:   Re: Chroot and ~/bin, ~/etc.  Better way?
Message-ID:  <380399E4.53AECD9A@hackfurby.com>
References:  <Pine.BSF.4.10.9910121435340.87599-100000@bsdie.rwsystems.net>

next in thread | previous in thread | raw e-mail | index | archive | help
first off if the user is chrooted...... then it will not reflect on the
main /etc/master.passwd it will up date the
/virtual/someuser/etc/master.passwd

i should have stated only to be sure and chroot to the account before
you type the command ....


James Wyatt wrote:
> 
> GACK! Do *not do this! It can overwrite your *system* password file!
> 
> You most likely want to do something like:
>         pwd_mkdb -d ~theuser/etc ~theuser/etc/passwd
>


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?380399E4.53AECD9A>