On Tue, 2009-12-15 at 11:33 +0100, Peter Stuge wrote:
> Daniel Glaser wrote:
> > > so maybe it makes sense to simply have useradd call chroot()
> > > according to an option early on in main()?
> > 
> > This will definitely not work on cross targets?
> 
> Why not? useradd doesn't fork, it does all file IO on it's own, so I
> think it could work.

Well how exactly do you expect chroot to succeed when the host is x86
and the ${ROOT} is arm?

A.


Reply via email to