Results 1 to 3 of 3
Hi
This is my script.sh file
cd /usr/X11R6/lib
mv -f libXm.so.2 libXm.so.2.backup
ln -s libXm.so.3 libXm.so.2
this file executed by only root user
but i want oracle user execute this ...
- 02-15-2008 #1Just Joined!
- Join Date
- Nov 2007
- Posts
- 31
script execute problem
Hi
This is my script.sh file
cd /usr/X11R6/lib
mv -f libXm.so.2 libXm.so.2.backup
ln -s libXm.so.3 libXm.so.2
this file executed by only root user
but i want oracle user execute this script.sh file...how ?please help me
note : -rwxrwxrwx 1 root root script.sh
- 02-15-2008 #2
Try the changing the ownership to Oracle. But I still doubt the if the Oracle user could do that. Because the to change files/links in /usr/X11R6 path, the ownership of the path also matters.
---------------------------------
Registered Linux User #440311
HI2ARUN _AT_ GMAIL _DOT_ COM
---------------------------------
- 02-15-2008 #3Just Joined!
- Join Date
- Nov 2007
- Posts
- 31
Hi
thanks for reply
i try it from oracle user,ownership oracle,chmod 777
but
mv: cannot remove `libXm.so.2.backup': Permission denied
ln: creating symbolic link `libXm.so.2' to `libXm.so.3': File exists
what i do ?please ....
i am excepting ,don't give root password for oracle user,
but scripts is working fine that is all.....any idea about hot code the password?


Reply With Quote