An open API service indexing awesome lists of open source software.

https://github.com/divonisimon97/linux-system-administration-automation

In this project, I automate essential Linux system administration tasks using Bash scripting. It covers user and group management, permission settings, SSH configuration, and scheduled maintenance tasks.
https://github.com/divonisimon97/linux-system-administration-automation

administration automation-scripts bash-script linux

Last synced: 11 months ago
JSON representation

In this project, I automate essential Linux system administration tasks using Bash scripting. It covers user and group management, permission settings, SSH configuration, and scheduled maintenance tasks.

Awesome Lists containing this project

README

          

#

Linux System Administration Automation

Description


In this project, I automate essential Linux system administration tasks using Bash scripting. It covers user and group management, permission settings, SSH configuration, and scheduled maintenance tasks.

Languages and Utilities Used

- Terminal

Environments Used

- Linux (6.11.2)

Program walk-through:


Create a New User:

Creating a MD5-crypt hash




Set a Password for the User:

Creating a MD5-crypt hash




Add User to the Sudo Group (admin privileges) & Confirm User:

Creating a MD5-crypt hash




Create a New Group & Add New User to Group:

Creating a MD5-crypt hash




Setting Directory Permissions (assigning group ownership to "itadmins" - granting read, write, and execute - ensuring new files inherit the group):

Creating a MD5-crypt hash




Enabling, Starting, and Checking Status of SSH Server:

Creating a MD5-crypt hash




Create the Script File

Creating a MD5-crypt hash




Write the Script File

Creating a MD5-crypt hash




Make the Script File Executable

Creating a MD5-crypt hash




Run the Script

Creating a MD5-crypt hash




Scheduled Task to Clean Logs

Creating a MD5-crypt hash




Final Check for Users

Creating a MD5-crypt hash