Security on Linux
Security on Linux🔗
Encryption🔗
- LUKS (Linux Unified Key Setup): Wikipedia
- VeraCrypt: Website | Wikipedia | RedHat | RedHat Article
- CIT disk encryption guide for personal devices
Opening and mounting an encrypted device
1 2 |
|
Unmounting and closing
1 2 |
|
Sandboxing🔗
Authentication🔗
PAM (Pluggable Authentication Module)🔗
PAM (Pluggable Authentication Modules): centralised authentication mechanism
Tags: #linux/PAM
- Arch Wiki: PAM
- RedHat article: PAM
- Enhance Linux user security with PAM: enforce password requirements
- # Anatomy of a Linux Pluggable Authentication Modules (PAM) configuration file @RedHat
- Setting up multi-factor authentication on Linux systems (using google-authenticator) @RedHat
General & config🔗
- can break security/system if configured incorrectly (allow any password or none at all)
- a library for programs like SSH to authenticate users
- configuration files in
/etc/pam.d
- in our puppet modules the configuration is not written directly, but through the Debian program
pam-auth-update
which is part of thelibpam-runtime
package
This is a handy tool for testing (on linux)
1 |
|
You can use it by defining /etc/pam.d/pam_test
1 2 3 4 5 6 7 |
|
and then running
1 |
|
from the pam_test
directory.
Modules🔗
1 2 3 4 5 6 7 8 9 10 |
|