Skip to main content

/etc/passwd

Each line represents a user account:
The x means the password hash is stored in /etc/shadow. If writable, you can add a root user directly.

/etc/shadow

Stores the actual password hashes. Only readable by root.

SSH Keys

sudo

PAM (Pluggable Authentication Modules)

PAM controls how authentication happens at the system level.
Misconfigured PAM modules can lead to authentication bypass. Always check PAM configs during post-exploitation enumeration.