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. > I think, there is not a real workaround for post-installes that > need to run on the target plattform, according to my experience. If useradd is the only problem I think it's easy enough to solve. > The cleanest way would be an execute stack Again, if useradd is the only problem, I think that is huge overkill. It would be a very cool solution though. :) How does e.g. T2SDE solve this problem? //Peter
