Moved util-linux-login

This commit is contained in:
Tastatur 2023-12-29 21:33:58 +01:00
parent 14b41af28b
commit 4cf5061c25
2 changed files with 9 additions and 3 deletions

View file

@ -98,7 +98,7 @@ fs.protected_regular=2
vm.max_map_count=1048576 vm.max_map_count=1048576
``` ```
This list is still incomplete. This list is most likely still incomplete but should be good enough for now.
## Blacklisting modules ## Blacklisting modules
@ -149,6 +149,12 @@ jitterentropy_rng
There are a few changes that can be made to improve login protection. There are a few changes that can be made to improve login protection.
First install PAM through `util-linux-login`:
```
# apk add util-linux-login
```
Delays can be a deterent against bruteforcing login attempts. Simply add this line to it's corresponding section in `/etc/pam.d/login`: Delays can be a deterent against bruteforcing login attempts. Simply add this line to it's corresponding section in `/etc/pam.d/login`:
``` ```

View file

@ -63,10 +63,10 @@ If you are running a system with multiple users or if you want an extra layer of
#### Setting up fscrypt #### Setting up fscrypt
First install the `fscrypt`, `e2fsprogs-extra` and `util-linux-login` packages: First install the `fscrypt` and `e2fsprogs-extra` packages:
``` ```
# apk add fscrypt e2fsprogs-extra util-linux-login # apk add fscrypt e2fsprogs-extra
``` ```
Then make sure our filesystem has the `encrypt` feature enabled and setup `fscrypt` on the home directory: Then make sure our filesystem has the `encrypt` feature enabled and setup `fscrypt` on the home directory: