From c8475a8f8e2fb7f5cd42461625cbafc08de43c16 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 22 Mar 2018 15:36:01 +0100 Subject: [PATCH] HACKING: small umask tweak for the rootpw (#8541) --- doc/HACKING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/HACKING b/doc/HACKING index 51ff60d175..92001be94e 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -68,7 +68,7 @@ for systemd (this example is for Fedora): $ meson build # configure the build $ ninja -C build # build it locally, see if everything compiles fine $ ninja -C build test # run some simple regression tests - $ echo root123 > mkosi.rootpw # set root password used by mkosi + $ (umask 077; echo 123 > mkosi.rootpw) # set root password used by mkosi $ sudo mkosi # build a test image $ sudo systemd-nspawn -bi image.raw # boot up the test image $ git add -p # interactively put together your patch