tmt
tmt copied to clipboard
Use sudoers.d file instead of changing /etc/sudoers when building unprivileged test containers
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.