Aktionen
sudo¶
is an alias for substitute user do
, it allows user to run programs with root-privileges.
usage¶
example: run yum update
sudo yum update
example: show available commands
sudo -l
config /etc/sudoers.d¶
make a separate file for each user
visudo -f /etc/sudoers.d/zabbix
zabbix ALL = NOPASSWD:/usr/local/bin/get_smart_value.sh
trusted_user ALL=/bin/bash
check configuration¶
visudo -c
Von Jeremias Keihsler vor etwa 3 Jahren aktualisiert · 1 Revisionen