diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-12-07 17:18:52 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-12-17 20:02:32 +0100 |
commit | cf1e172d58b0c0fb3e09ba9b5e6c60093b5b896c (patch) | |
tree | 5c18a7fd9a5a26e7ca16b2b7d17698e8955ddae4 /man/fido2-crypttab.sh | |
parent | 1abaa197814f21fa452eee2f9cf32cfc770908f4 (diff) | |
download | systemd-cf1e172d58b0c0fb3e09ba9b5e6c60093b5b896c.tar.gz |
man: document new features
Diffstat (limited to 'man/fido2-crypttab.sh')
-rw-r--r-- | man/fido2-crypttab.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/man/fido2-crypttab.sh b/man/fido2-crypttab.sh new file mode 100644 index 0000000000..49e536cae8 --- /dev/null +++ b/man/fido2-crypttab.sh @@ -0,0 +1,10 @@ +# Enroll the security token in the LUKS2 volume. Replace /dev/sdXn by the +# partition to use (e.g. /dev/sda1). +sudo systemd-cryptenroll --fido2-device=auto /dev/sdXn + +# Test: Let's run systemd-cryptsetup to test if this worked. +sudo /usr/lib/systemd/systemd-cryptsetup attach mytest /dev/sdXn - fido2-device=auto + +# If that worked, let's now add the same line persistently to /etc/crypttab, +# for the future. +sudo bash -c 'echo "mytest /dev/sdXn - fido2-device=auto" >> /etc/crypttab' |