• 2024.10 e9e19af507

    nick released this 2024-10-14 18:09:15 -04:00 | 1 commits to master since this release

    Release Notes for Initial RHELSecureSetup Release

    Overview

    This script automates the setup of RHEL-based Linux systems, streamlining essential configuration tasks such as system updates, timezone and hostname setup, user account creation, SSH security hardening, and optional Docker CE installation.

    Key Features

    • System Update: Automatically updates and upgrades installed packages.
    • Timezone Setup: Configures the timezone to America/New_York.
    • Hostname Configuration: Prompts for a new hostname and applies it.
    • User Account Creation: Creates a limited user account with sudo privileges.
    • SSH Configuration:
      • Disables root login and password authentication.
      • Ensures SSH is configured for IPv4.
    • Docker Installation: Offers an option to install Docker CE and adds the user to the Docker group.
    • Hosts File Update: Updates /etc/hosts with the new hostname and IP address.

    Usage Instructions

    1. Run the script as root.
    2. Follow the prompts to set the hostname, create a user, and optionally install Docker.
    3. Copy your public SSH key as instructed.
    4. The script restarts SSH and cleans up unused packages.

    Note: This script is intended for RHEL-based distributions using dnf or yum. Please ensure compatibility before running.

    Downloads