visudo? I need to provide sudo access to Oracle User
Hi All,
I am new Linux .. Please someone help me .. I need to provide sudo access to Oracle User, run only this particular "SRVCTL" command. Do I need to edit "sudoers" file .if so where do I need to add these two lines in sudoers file. 1. apps/opt/grid/bin/srvctl 2. /apps/opt/oracle/product/11.2.0/db_1/bin/srvctl Sorry if I am confusing, someone please help me Thanks A Lot !! |
Quote:
First, you need to be root to run "visudo". Do NOT just edit the sudoers file manually...while you CAN do it, the permissions and other things you have to set on the file afterwards can be tricky, and render sudo unusable if you get it wrong. Visudo is much easier. Add a line similar to this: Code:
oracle ALL= /apps/opt/grid/bin/srvctl, /apps/opt/oracle/product/11.2.0/db_1/bin/srvctl |
Yaa Its Working
Thanks A Lot |
All times are GMT -5. The time now is 04:24 AM. |