action #120019
closed[opensuse] Test enhancement: sudo: test shipped default configuration
100%
Description
openSUSE Tumbleweed snapshot 20221103 just had a severe fallout as the sudo default configuration was changed to no longer ask for the root password, but rather for the user password. This though expects the user to be authorized by some means, usually via the wheel group or explicitly added to the sudoers file
Users that never amended their sudoers config were basically locked out from using 'sudo' simply based on a packaging change - see http://bugzilla.opensuse.org/show_bug.cgi?id=1205094
We should extend the sudo tests to ensure we test the default config as well.
The current sudo test as first step configures sudoers to get to a known state, and tests based on this only.
The rest of openQA never tripped over the changed sudo config as even assert_script_sudo internally uses su -c, and not actually sudo
Updated by maritawerner over 2 years ago
@JERiveraMoya, please advice, is that for the yast team or for the core team?
Updated by favogt over 2 years ago
- Assignee set to favogt
- % Done changed from 0 to 80
Updated by szarate over 2 years ago
- Category set to Bugs in existing tests
maritawerner wrote:
@JERiveraMoya, please advice, is that for the yast team or for the core team?
Its core's but Fabian already provided a PR
Updated by szarate over 2 years ago
- Subject changed from Test enhancement: sudo: test shipped default configuration to [opensuse] Test enhancement: sudo: test shipped default configuration
Updated by favogt about 2 years ago
- Status changed from New to Resolved
- % Done changed from 80 to 100
PR (and a fix by @mloviska) got merged.