Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

πŸ€– Artificial Intelligence
☁️ Cloud and Infrastructure
πŸ’Ύ Data and Databases
πŸ’Ό Professional Skills
🎯 Programming and Development
πŸ”’ Security and Networking
πŸ“š Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
Β© 2026 CheatGridβ„’. All rights reserved.
Privacy PolicyTerms of UseAboutContact

System Administration Cheat Sheet

System Administration Cheat Sheet

Back to Operating Systems and CLI
Updated 2026-05-25
Next Topic: System Monitoring Cheat Sheet

System administration encompasses the management of users, permissions, services, logs, and other critical aspects of a computer system, primarily in Linux and Unix-like environments. It's the backbone of maintaining secure, reliable, and efficient infrastructure, spanning from simple user account management to complex automated workflows and monitoring strategies. Understanding the distinction between routine operational tasks and strategic security hardening is essential β€” both are required for production environments, but one focuses on day-to-day functionality while the other prevents catastrophic failure. Whether you're managing a single server or a cluster of thousands, mastering these foundational commands and concepts ensures systems remain available, secure, and performant.

What This Cheat Sheet Covers

This topic spans 36 focused tables and 310 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: User Account ManagementTable 2: Group ManagementTable 3: File PermissionsTable 4: Access Control Lists (ACLs)Table 5: Process ManagementTable 6: Process SignalsTable 7: systemd Service ManagementTable 8: systemd Unit File CreationTable 9: System Logs and MonitoringTable 10: Log Management and RotationTable 11: System Monitoring and PerformanceTable 12: Network ConfigurationTable 13: Hostname and DNS ConfigurationTable 14: Time SynchronizationTable 15: Disk and Filesystem ManagementTable 16: LVM (Logical Volume Management)Table 17: Swap Space ManagementTable 18: Package Management (Debian/Ubuntu)Table 19: Package Management (RHEL/CentOS/Fedora)Table 20: Scheduled Tasks (Cron)Table 21: systemd TimersTable 22: Firewall Management (iptables / nftables / ufw)Table 23: nftablesTable 24: SELinux and AppArmorTable 25: SSH Configuration and Key ManagementTable 26: SSH Tunneling and Port ForwardingTable 27: Sudo and Privilege EscalationTable 28: PAM (Pluggable Authentication Modules)Table 29: Resource LimitsTable 30: Kernel Parameters (sysctl)Table 31: Audit Logging (auditd)Table 32: Backup StrategiesTable 33: Environment VariablesTable 34: Boot Process and TargetsTable 35: Network NamespacesTable 36: Hardware Information

Table 1: User Account Management

Users and their attributes are the foundation of Linux access control. Knowing how to create, modify, and audit accounts β€” and enforce password policies β€” is the most frequently performed sysadmin task and the first line of defense against unauthorized access.

CommandExampleDescription
useradd
sudo useradd -m -s /bin/bash jdoe
β€’ Creates a new user account
β€’ -m creates home directory, -s sets the shell.
usermod
sudo usermod -aG sudo jdoe
β€’ Modifies an existing user
β€’ -aG appends user to additional groups without removing from others.
userdel
sudo userdel -r jdoe
β€’ Deletes a user account
β€’ -r removes home directory and mail spool.
passwd
sudo passwd jdoe
β€’ Changes or sets a user's password
β€’ prompts interactively for new password.
chage
sudo chage -M 90 jdoe
β€’ Manages password aging and expiration policies
β€’ -M sets maximum days before password must be changed.
chpasswd
echo "jdoe:newpass" | sudo chpasswd
β€’ Bulk password changes from stdin
β€’ useful in scripts to set many passwords at once.

More in Operating Systems and CLI

  • Starship and Oh My Posh Cross-Shell Prompts Cheat Sheet
  • System Monitoring Cheat Sheet
  • AWS CLI Cheat Sheet
  • iptables Legacy Linux Firewall Reference Cheat Sheet
  • macOS Usage Cheat Sheet
  • tar gzip zip Archive and Compression Tools Cheat Sheet
View all 51 topics in Operating Systems and CLI