add this to /etc/sudoers easyagnt ALL = (oracle) NOPASSWD: /u01/app/oracle/product/10.2.0/db_1/bin/asmcmd lsdg -H [A-Za-z0-9]* ### For Redhat ES5 you must also change these parameters: * must comment out requiretty #Defaults requiretty * must add ORACLE ENV variables to the keep list. Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR \ ORACLE_HOME ORACLE_SID \