]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - doc/HACKING
HACKING: small umask tweak for the rootpw (#8541)
[thirdparty/systemd.git] / 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