May 19, 2005 #1 jdespres MIS Aug 4, 1999 230 US I need to run a program within a script.... I need to run volrpt as user "acsss"... The script will be run by root... Thanks....
I need to run a program within a script.... I need to run volrpt as user "acsss"... The script will be run by root... Thanks....
May 19, 2005 #2 KenCunningham Technical User Mar 20, 2001 8,475 GB su - acsss -c "/path/to/script" should do it. HTH. Upvote 0 Downvote
May 19, 2005 Thread starter #3 jdespres MIS Aug 4, 1999 230 US Thats what I thought as well..... But the following just laughs at me! su - acsss -c "/export/home/ACSSS/bin/volrpt Upvote 0 Downvote
Thats what I thought as well..... But the following just laughs at me! su - acsss -c "/export/home/ACSSS/bin/volrpt
May 20, 2005 #4 KenCunningham Technical User Mar 20, 2001 8,475 GB Can you post the error message(s)? Upvote 0 Downvote
May 20, 2005 #5 SamBones Programmer Aug 8, 2002 3,186 US I don't think he got an error message. It just laughed at him. Upvote 0 Downvote
May 20, 2005 #6 stefanwagner Programmer Oct 19, 2003 2,373 DE seeking a job as java-programmer in Berlin: http://home.arcor.de/hirnstrom/bewerbung Upvote 0 Downvote