Aktionen
Howto sudo » Historie » Revision 1
Revision 1/2
| Weiter »
Jeremias Keihsler, 13.01.2017 09:54
sudo¶
is a 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 · 1 Revisionen