Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Add new scripts OMS(Yum/Zypper)Updates.sh to sudoers.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgable committed Jun 23, 2016
1 parent 1312bd0 commit 973fb50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions installer/conf/sudoers
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ omsagent ALL=(ALL) NOPASSWD: /opt/microsoft/omsconfig/Scripts/OMSSyslog-ng.post.
omsagent ALL=(ALL) NOPASSWD: /opt/microsoft/omsconfig/Scripts/OMSServiceStat.sh
omsagent ALL=(ALL) NOPASSWD: /opt/microsoft/omsconfig/Scripts/OMSServiceStatAll.sh

# AvailableUpdates
omsagent ALL=(ALL) NOPASSWD: /opt/microsoft/omsconfig/Scripts/OMSYumUpdates.sh
omsagent ALL=(ALL) NOPASSWD: /opt/microsoft/omsconfig/Scripts/OMSZypperUpdates.sh

#restart omsagent daemon
omsagent ALL=(ALL) NOPASSWD: /opt/microsoft/omsagent/bin/service_control

Expand Down

0 comments on commit 973fb50

Please sign in to comment.