1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-12-01 05:16:00 +00:00

Revert #2334165 workaround

The security fix has been removed for now; we're removing this
workaround so we'll notice if it gets broken again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-08-28 08:50:17 -07:00
parent ffe307d2c2
commit d1d6b0340a

View File

@ -55,11 +55,6 @@ sub run {
assert_script_run("echo 'testman:weakpassword' | chpasswd"); assert_script_run("echo 'testman:weakpassword' | chpasswd");
# let it write to the serial port # let it write to the serial port
assert_script_run "chmod 666 /dev/${serialdev}"; assert_script_run "chmod 666 /dev/${serialdev}";
if (script_run "grep testman /etc/subuid") {
# workaround https://bugzilla.redhat.com/show_bug.cgi?id=2334165#c2
assert_script_run("usermod --add-subuids 100000-165535 testman");
assert_script_run("usermod --add-subgids 100000-165535 testman");
}
# login as the non-root user # login as the non-root user
select_console "tty4-console"; select_console "tty4-console";
console_login(user => "testman", password => "weakpassword"); console_login(user => "testman", password => "weakpassword");