fscrypt doesn't work just yet

This commit is contained in:
Tastatur 2023-12-28 16:31:21 +01:00
parent b229be1615
commit ba28c9714e

View file

@ -55,7 +55,7 @@ And editing `/etc/passwd` to change the login shell from `/bin/ash` to `/sbin/no
root:x:0:0:root:/root:/sbin/nologin
```
### Encrypting the home directory
### Encrypting the home directory (Not yet working, DO NOT FOLLOW)
If you are running a system with multiple users or if you want an extra layer of protection then it's possible to encrypt every user's home directory.
@ -109,7 +109,7 @@ If you have already set up a system with a user but want to add another do this:
# setup-user -g (wheel,)plugdev,_seatd,nix,_power -f "<Full Name>" <username>
# passwd <username>
[Change shell in /etc/passwd]
# fscrypt encrypt /home/<username> --user=<username>
# fscrypt encrypt /home/<username> --user=<username> # Doesn't work yet
[Create a new login protector]
[Enter 1 so that it unlocks the directory when the user logs in]
```