trouble with sudoers -- parse error in Line -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? :frowning:

Try:
Defaults:<username> always_set_home
Defaults:<username> env_reset

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

I fixed it…

https://bugzilla.novell.com/show_bug.cgi?id=414854