Skip to content

Tag: security

All the articles with the tag "security".

The sudoers Mistake Everyone Makes Once

The sudoers Mistake Everyone Makes Once

One syntax error in /etc/sudoers locks everyone out of root. Use visudo, read the syntax properly, avoid the common mistakes, and know what NOPASSWD gives.

Why Your TLS Certificate Isn't Trusted

Why Your TLS Certificate Isn't Trusted

· Updated:

Incomplete chains, bundles in the wrong order, and self-signed certs all read as untrusted. Diagnose with openssl s_client, then rebuild the chain properly.

SSH Agent Forwarding: How It Works

SSH Agent Forwarding: How It Works

Understand SSH agent forwarding security risks. When it's safe (almost never), and better alternatives like ProxyJump for jump hosts.

Stop Putting Passwords in Docker ENV

Stop Putting Passwords in Docker ENV

· Updated:

ENV bakes secrets into image layers that docker history shows to anyone. Use BuildKit secret mounts, runtime variables, or a real secrets manager.

The umask You've Been Ignoring

The umask You've Been Ignoring

Understand Linux umask: what it is, how 022 and 027 work, calculating file permissions, and why it matters for shared directories and security.