Date: Tue, 04 Oct 2011 17:06:23 +0200 From: rank1seeker@gmail.com To: hackers@freebsd.org Subject: Add user to croosworld DESTDIR Message-ID: <20111004.150623.171.1@DEV>
next in thread | raw e-mail | index | archive | help
When I wana add user into DESTDIR, I chroot into it.=0D=0AHowever, in this = case, DESTDIR has an arch of amd64, while running machine is = i386.=0D=0ASo that isn't an option as all execute attempts would = fail(Exec format error).=0D=0A=0D=0AI've tried with pw's '-V etcdir' flag = and it did created user in amd64 DESTDIR, BUT without home = dir!=0D=0A=0D=0AI've found = this:=0D=0Ahttp://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D2108497+0+archive/2001/freebsd-questions/20011028.freebsd-questions=0D=0A=0D=0AI = did however, managed to writte wrapper function, which created home and = mail layout, as would original FreeBSD installation.=0D=0ABUT, all = $DESTDIR/home/$USER dirs, are owned by 0:0 and I can't find a way to = chown it to DESTDIR user.=0D=0A=0D=0AThat LAST step is all I = need.=0D=0AAnyone has any idea?=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111004.150623.171.1>