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

From: sreenath sarikonda (sreeredhat@yahoo.com)
Date: Tue Aug 03 2004 - 14:53:23 EDT


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
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:12 EDT