From 94a9748f3f5bf089454af17a6823670376f5ca4b Mon Sep 17 00:00:00 2001 From: Matej Marusak Date: Thu, 7 Jan 2021 13:58:42 +0100 Subject: [PATCH] test: Set root password to 'foobar' in test Vm --- tests/browser.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/browser.sh b/tests/browser.sh index 04b3bd3..25dd32e 100755 --- a/tests/browser.sh +++ b/tests/browser.sh @@ -23,6 +23,9 @@ if ! id admin 2>/dev/null; then echo admin:foobar | chpasswd fi +# set root's password +echo root:foobar | chpasswd + # avoid sudo lecture during tests su -c 'echo foobar | sudo --stdin whoami' - admin