tmt icon indicating copy to clipboard operation
tmt copied to clipboard

Use sudoers.d file instead of changing /etc/sudoers when building unprivileged test containers

Open happz opened this issue 10 months ago • 0 comments

See https://github.com/teemtee/tmt/pull/3617#discussion_r2009065304:

echo "fedora ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/fedora
chmod 0440 /etc/sudoers.d/fedora

would be better than changing /etc/sudoers.

happz avatar Apr 17 '25 12:04 happz