check_ucs_update erstellt
This commit is contained in:
parent
534af414e7
commit
e5216addaf
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
if univention-upgrade --enable-app-updates --check > /dev/null
|
||||
if sudo univention-upgrade --enable-app-updates --check > /dev/null
|
||||
then
|
||||
echo "updates vorhanden"
|
||||
exit 1
|
2
checks/univention-update/os_update.cfg
Normal file
2
checks/univention-update/os_update.cfg
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
command[check_os_update]=/usr/lib/nagios/plugins/check_ucs_update
|
13
checks/univention-update/univention_sudoers
Normal file
13
checks/univention-update/univention_sudoers
Normal file
@ -0,0 +1,13 @@
|
||||
# Warning: This file is auto-generated and might be overwritten by
|
||||
# univention-config-registry.
|
||||
# Please edit the following file(s) instead:
|
||||
# Warnung: Diese Datei wurde automatisch generiert und kann durch
|
||||
# univention-config-registry ueberschrieben werden.
|
||||
# Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en):
|
||||
#
|
||||
# /etc/univention/templates/files/etc/sudoers.d/univention
|
||||
#
|
||||
|
||||
# Allow members of group "Domain Admins" to execute any command
|
||||
%Domain\ Admins ALL=(ALL:ALL) ALL
|
||||
|
Loading…
Reference in New Issue
Block a user