← All paths
Linux host administration
Users and permissions, least-privilege sudo, defusing a SUID bug, log rotation, and service hardening.
Accounts and group membership, the first thing to get right on a new host.
Owner, group, and mode on a secrets file. The daily bread of Linux.
A team folder that works, using setgid so new files inherit the group.
Grant exactly one command through sudo, not full root.
A world-writable SUID binary is a root shell. Defuse it without breaking the tool.
Unbounded logs fill the disk. Rotate, compress, and cap them.
Run a daemon as a service account inside systemd's sandbox.
Turn off the routing and redirects a plain host should never do.