Solved su Not Taking in visudoers

I've entered a user for sudoers:

Code:
alex    ALL=(ALL) NOPASSWD: ALL

Unfortunately it replies with Sorry upon trying su.

Is this the right syntax? Any insight appreciated.
 
Yes, but su != sudo. They are two distinct programs and su does not know about/read sudoers.

If you did something wrong in sudoers, you would get a message like this with sudo instead of Sorry:
alex is not in the sudoers file. This incident will be reported.
 
Back
Top