sudo_controls/update_sudo.conf
Patrick Van der Veken 7726d1579c Various updates
manage_sudo.sh: moved essential configuration items of the script into a
separate configuration file (global/local), fix in wait_for_children
(VRF 1.2.0) [Patrick Van der Veken]
update_sudo.pl: VRF 1.1.0: replace uname/hostname syscalls, now support
for FQDN via $use_fqdn, other fixes [Patrick Van der Veken]
Other fixes and cleanups
2015-08-18 07:59:22 +02:00

30 lines
1006 B
Plaintext

#******************************************************************************
# update_sudo.pl configuration file
#******************************************************************************
#
# Lines starting with '#' (hash) are comment lines
#
# Format: option=<value>
#
# Do not use double or single quotes around the option values
#
# use short hostnames or FQDN (0=short names; 1=FQDN) [default: 0]
use_fqdn=1
# target directory for sudo fragment files
fragments_dir=/etc/sudo_controls/sudoers.d
# path to the visudo tool
visudo_bin=/usr/sbin/visudo
# file name of the immutable 'self' sudo fragment (w/o path)
immutable_self_file=sudo_update
# sudo rule for the immutable 'self' fragment (to run the sudo_update.pl script)
immutable_self_cmd=%sudoadmin ALL=(root) NOPASSWD:/etc/sudo_controls/holding/update_sudo.pl
#******************************************************************************
# End of FILE
#******************************************************************************