Skip to content

Commit

Permalink
Merge pull request #18860 from asdil12/rpi-root-ssh
Browse files Browse the repository at this point in the history
Enable root login for RPi images
  • Loading branch information
Zaoliang committed Mar 12, 2024
2 parents 23467b2 + db71efb commit ca38a25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/jeos/firstrun.pm
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ sub run {
assert_script_run "echo $username:$password | chpasswd";
}

if (check_var('FLAVOR', 'JeOS-for-RaspberryPi')) {
assert_script_run("echo 'PermitRootLogin yes' > /etc/ssh/sshd_config.d/permit-root-login.conf");
}

ensure_serialdev_permissions;

prepare_serial_console;
Expand Down

0 comments on commit ca38a25

Please sign in to comment.