Switching users in a bash script?

Dan Nicholson dbn.lists at gmail.com
Sun Aug 27 09:38:08 PDT 2006

On 8/26/06, veritosproject at gmail.com <veritosproject at gmail.com> wrote:
> 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"


More information about the lfs-support mailing list