Ad Widget

Collapse

How can use oracle script with user-parameter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bab
    Senior Member
    • Aug 2020
    • 176

    #1

    How can use oracle script with user-parameter

    I Have wrote a script the need run with oracle permission . Although it has all permissions but it shows follow output :

    /net/storage/data/monitor/db-zabbix/OracleDBStat: line 6: /home/oracle/db-env: Permission denied

    Also I have added follow line in sudoers

    %zabbix ALL=(oracle) NOPASSWD: /net/storage/data/monitor/db-zabbix/OracleDBStat


Working...