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 zabbix
zabbix ALL = NOPASSWD:/usr/local/bin/get_smart_value.sh
trusted_user ALL=/bin/bash
h2. check configuration
visudo -c
Von Jeremias Keihsler vor fast 8 Jahren aktualisiert · 2 Revisionen