daBee Jan 31, 2016 #1 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.
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.
T tobik@ Developer Jan 31, 2016 #2 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. Click to expand...
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. Click to expand...
SirDice Administrator Staff member Administrator Moderator Feb 1, 2016 #3 As tobik said, su(1) and sudo(8) are two different things, one has nothing to do with the other. Only users in the wheel group are allowed to su(1).
As tobik said, su(1) and sudo(8) are two different things, one has nothing to do with the other. Only users in the wheel group are allowed to su(1).