I'm sure everyone takes shortcuts to build EMC. I made a couple of shell 
scripts that 
I put in my home directory called go2 and go3.

go2

#!/bin/bash
cd emc2-2.2.x/src
./configure --enable-run-in-place --enable-build-documentation
echo Starting Make
make > 1make.txt
sudo make setuid
cd ..
cd ..

My question is how can I pass my password to the "sudo make setuid" line?

The make > 1make.txt sends the normal output to the file so all I see it 
warnings 
and errors which makes it easier for me to see them after the run...

Thanks
John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to