Project

General

Profile

Actions

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

Updated by Jeremias Keihsler over 3 years ago · 1 revisions