]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs/CREDENTIALS: Don't write authorized_keys with executable bits
authorColin Walters <walters@verbum.org>
Thu, 14 Dec 2023 00:58:31 +0000 (19:58 -0500)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 14 Dec 2023 07:58:30 +0000 (07:58 +0000)
No reason to make this file executable.

docs/CREDENTIALS.md

index f508c84f4c6a41c597026bcf69f97ec457e2db17..153a42be5474df48b4dfe9b87c689456922ae963 100644 (file)
@@ -455,7 +455,7 @@ qemu-system-x86_64 \
         -device scsi-hd,drive=hd,bootindex=1 \
         -device vhost-vsock-pci,id=vhost-vsock-pci0,guest-cid=42 \
         -smbios type=11,value=io.systemd.credential:vmm.notify_socket=vsock:2:1234 \
-        -smbios type=11,value=io.systemd.credential.binary:tmpfiles.extra=$(echo "f~ /root/.ssh/authorized_keys 700 root root - $(ssh-add -L | base64 -w 0)" | base64 -w 0)
+        -smbios type=11,value=io.systemd.credential.binary:tmpfiles.extra=$(echo "f~ /root/.ssh/authorized_keys 600 root root - $(ssh-add -L | base64 -w 0)" | base64 -w 0)
 ```
 
 A process on the host can listen for the notification, for example: