do not disable password for user

This commit is contained in:
Trevor Cooper 2021-10-27 09:03:34 -07:00
parent 2288b7338a
commit 039580a680

View File

@ -106,7 +106,7 @@ sub run {
console_type_wait("3\n"); # set username
console_type_wait("$username\n");
# from Rawhide-20190503.n.0 (F31) onwards, 'use password' is default
if (get_release_number() < 31) {
if (get_release_number() < 31 && lc(get_var('DISTRI')) ne "rocky") {
# typing "4\n" on abrt screen causes system to reboot, so be careful
run_with_error_check(sub {console_type_wait("4\n")}, $error); # use password
}