su - user -c "cd $VARIABLE;find . -name sri" doesn't work.

2007-12-25 3:47:00

Hi Gurus,

su - user -c "cd $VARIABLE;find . -name sri" doesn't
work.

I read the previous messages in the forum but
could not get it to work. The script is finding files
in user_home instead in a specified path where I want
to run. Making this work is of great improtance to
me.The script which will invoke the above command is
run in cron as root. I read shell wrappers could be
used but I am not sure. If so please point me to link
where I can delve into it.

Thank you,
Sree.



__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail

Comments

Got something to say?

You must be logged in to post a comment.