03-19-2007
6,
0
Join Date: Mar 2007
Last Activity: 2 April 2007, 9:35 AM EDT
Posts: 6
Thanks Given: 0
Thanked 0 Times in 0 Posts
how to use su in a script
hi guys!
I trying to use su in script
su
cp somed /etc/init.d/
I get the prompt but the the cp is not executed having root acces so it fails...
any idea?
thanks
george