Then simply call:
echo build-package-name.txt | su

An easier way, to me, is to be root to start off. Then you can switch
to any user without worrying about passwords.

su apache -c "./build-apache.sh"

Yes, this is what I'm just goning to do...

Btw, how do I call a function in a bash script from another bash script?
Sorry for the off-topic, but I need this for the package users system.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to