Linux Administration Guide Last updated: February 7, 2025 Written by: baeldung AdministrationSeries Baeldung Pro – Linux – NPI EA (cat = Baeldung on Linux) Learn through the super-clean Baeldung Pro experience: >> Membership and Baeldung Pro. No ads, dark-mode and 6 months free of IntelliJ Idea Ultimate to start with. User Management How to Change the Default Home Directory of a User How to Give Sudo Privileges to a User in Linux Checking a User's Sudo Access List All Superusers in Linux How to Disable User Logins on Linux Disabling Guest Sessions in Linux How to Set a Non-expiring Password on Linux Adding User and Password Using Ansible Fix for ‘Username Is Not in the Sudoers File. This Incident Will Be Reported' (popular) How to Check for User Group Privileges Package Management List Installed Packages in Linux How to Check Whether a Package Is Installed Through a Package Manager Checking a Library Version in Linux Listing the Contents of an RPM Package Without Using the Package File Properly Remove an RPM Package Checking RPM Dependencies From the Command Line How to Install a Specific Version of a Package Using DNF Resolving Unmet Dependencies on Linux Kernel Obtain Kernel Config from Currently Running Linux System How to Update the Kernel to the Latest Version Getting the Kernel Command-Line Parameters Enabling User Namespaces in the Linux Kernel Security Managing Password Complexity in Linux Why Is the <em>sudo</em> Password Different From <em>su root</em> Password? Copying SSH Keys To Another Machine How to Add Public Key to known_hosts File How to Allow Only SSH Access Using iptables SSH Tunneling and Proxying Encrypting and Decrypting Directory in Linux Verifying if a Disk Is Encrypted in Linux How to Add, Remove, and Update CA Certificates in Linux (popular) Boot Process Guide to the Boot Process of a Linux System How to Improve Boot Speed of Linux Differences Between vmlinux, vmlinuz, vmlinux.bin, zimage, and bzimage Getting the Kernel Command-Line Parameters Adding Other Operating Systems to the GRUB Bootloader (popular) How to Set Default Entry for the Grub Menu How to Remove the Timeout From GRUB Menu Kernel Module Loading at Boot and modprobe Automation Monitoring The Logging Mechanism in Linux How to Monitor All Login Attempts in Linux Log the Memory Consumption on Linux Monitoring Network Usage in Linux Monitor Internet Bandwidth Usage on Linux How to Monitor Disk IO in a Linux System Monitoring Linux File Access With auditd Monitor Device Events in Linux File systems How to Automount Partitions at Linux Startup How to Resize and Move Partitions in Linux Mount Permissions and Remounting a Filesystem as Writable Mount Device With Specific User Rights How to Increase Swap Space in Linux Swap Partition vs Swap File Understanding Bind Mounts How to Transfer a File From Windows to Linux (popular) How to Resize VirtualBox Virtual Hard Disk General Configuration Configuration Files in Linux Difference Between .bashrc, .bash-profile, and .profile Colorizing Terminal and Shell in Linux How to Set the Core Dump File Path Huge Page Settings and Disabling Huge Pages in Linux Limits on the Number of Linux File Descriptors Change Keyboard Layout in the Linux Console (popular) How to Change the Timezone on Linux Changing Monitor Brightness on Linux Linux Display Managers (LightDM, SLiM, XDM, GDM, SDDM, KDM, Ly): Install and Uninstall Guide (popular) The /etc/resolv.conf File (popular) Manual Network Configuration in Linux and How to Set a Static IP Address Rotating Logs With Logrotate in Linux Run a Script on Startup in Linux Adding a Path to the Linux PATH Variable System and Service Management Creating User's Services With systemd The Difference Between Systemctl and Service Command in Linux Enabling or Disabling Services in Linux How to List All Linux Services Starting at Boot Start Systemd Service After Specific Service Passing Multiple Parameters to a systemd Service How to Unmask systemd Services How to Clear <em>systemd</em> Journal Logs How to Clean Up a Linux System Hardware Management Find Out System Hardware Info From the Linux Command Line Get the Number of Processors/Cores in Linux How to View CPU Speed on Linux Controlling Fan Speed in Linux (popular) How to List All Physically Installed Network Cards in Linux How to Check the Health of SSD in Linux (popular) How to Find the Drivers Associated With a Device on Linux Linux Power-Saving Tools How to Check Whether a USB Device Is Present on a Linux Machine