user
1
Hello,
i have a parse error in /etc/sudoers near line -1, but only as user
my config:
Defaults always_set_home
Defaults env_reset
root ALL=(ALL) ALL
nrpe ALL=NOPASSWD:/usr/lib/nagios/plugins/check_configs
nrpe ALL=NOPASSWD:/usr/bin/dsmc query filespace
I don’t know why?
Try:
Defaults:<username> always_set_home
Defaults:<username> env_reset
user
3
my new config, but the error is still the same
#Defaults always_set_home
#Defaults env_reset
Defaults:pkorte always_set_home
Defaults:pkorte env_reset
root ALL = (ALL) ALL
nrpe ALL = NOPASSWD: /usr/lib/nagios/plugins/check_configs
nrpe ALL = NOPASSWD: /usr/bin/dsmc query filespace
user
4