On 8/4/06, George Boudreau <[EMAIL PROTECTED]> wrote:
I was also looking to mimic the book's use of the user account, enter the account once and build the temporary tools and leave. The idea of switching in and out of a command shell a few hundred times is irksome but I will live with it.
Here's a thought that spawned in my mind from gsbuild. You could implement a target that switches user to run make again for only the unprivileged parts. Something like this: temp-tools: chapter02 chapter03 chapter04 su - $(LUSER) "make chapter05" Then you could just lower privelages once and the build would return after that to the privileged user. There'd probably be some more thinking about how make would have to be invoked, but that's the idea. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
