projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed11904
)
tests: allow root to login with empty password to test images
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 25 Apr 2016 18:03:27 +0000
(14:03 -0400)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 9 May 2016 00:27:33 +0000
(20:27 -0400)
test/test-functions
patch
|
blob
|
history
diff --git
a/test/test-functions
b/test/test-functions
index
9e9f295
..
be954d0
100644
(file)
--- a/
test/test-functions
+++ b/
test/test-functions
@@
-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() {