]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
HACKING: small umask tweak for the rootpw (#8541)
authorLennart Poettering <lennart@poettering.net>
Thu, 22 Mar 2018 14:36:01 +0000 (15:36 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Mar 2018 14:36:01 +0000 (15:36 +0100)
doc/HACKING

index 51ff60d1755acca73b02748d75e53c1ccb28b13a..92001be94e3819a382e5bc2c8f75b7ba89291743 100644 (file)
@@ -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