mirror of
https://github.com/systemd/systemd
synced 2024-10-14 12:04:49 +00:00
tests: allow root to login with empty password to test images
This commit is contained in:
parent
ed1190498f
commit
e14b866bc1
|
@ -416,6 +416,9 @@ install_pam() {
|
|||
|
||||
[[ "$LOOKS_LIKE_DEBIAN" ]] &&
|
||||
cp /etc/pam.d/systemd-user $initdir/etc/pam.d/
|
||||
|
||||
# set empty root password for easy debugging
|
||||
sed -i 's/^root:x:/root::/' $initdir/etc/passwd
|
||||
}
|
||||
|
||||
install_keymaps() {
|
||||
|
|
Loading…
Reference in a new issue