Re: 1.9.13 SUDO Error with LogSubcmds?

"Todd C. Miller via sudo-users" <[email protected]> Mon, 20 Feb 2023 07:26:06 -0700
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
On Mon, 20 Feb 2023 14:09:08 +0000, "Dolan, Sean via sudo-users" wrote:

> I am using 1.9.13 on RedHat 7.9, SELINUX is enabled.   For testing purposes, 
> I want to simply allow a user to do a "sudo su -"  to become root.  I want to
>  see the "log_subcmds" directive in action.    When I have the "log_subcmds" 
> in the sudoers, the following errors occur:   (If I comment it out, everythin
> g works fine and I can sudo su - )

If you disable intercept_verify that should work around the
problem.  For example:

    Defaults !intercept_verify

The problem is that sudo is being too strict with how it verifies
the execve arguments.

 - todd
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users