mirror of
https://github.com/systemd/systemd.git
synced 2025-01-21 22:04:01 +03:00
docs/CREDENTIALS: Don't write authorized_keys with executable bits
No reason to make this file executable.
This commit is contained in:
parent
bb59b92256
commit
47374e0601
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user