What does “visudo: Warning: Cmnd_Alias `NOPASSWD' referenced but not defined,” mean?
-
19-06-2021 - |
Question
I am editing the file sudoer using the visudo command. When I am done saving the file this warning appears.
visudo: Warning: Cmnd_Alias `NOPASSWD' referenced but not defined
I am not able to remotely execute a particular file as a non root user. I think this warning might have something to do with it.
How do I resolve this warning?
EDIT: It is actually NOPASSWD
La solution
Like Paulo Scardine said, it is difficult to tell without looking at sudoers file.
The warning is still there but the reason I was not able to sudo remotely is because I did not put
Defaults !visiblepw
https://bugzilla.redhat.com/show_bug.cgi?id=583911
We need to either turn it off or turn it on but we cannot do without it.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow