Securing RHEL

To enable basic security for REHL distributions, you can use our included file.

This file is located under /scripts/secure-rhel.sh

Warning

The script will disable root login, create a minimally privilaged user, and IP table rules. Proceed with caution.

Once file is run, the user and updated root password will be displayed as well as saved to /root/auth.txt

The script can be executed, as root, using below

1   cp /usr/libexec/webmin/geohelm/scripts/secure-rhel.txt /root/secure-rhel.sh
2   cp /root
3   chmod +x secure-rhel.sh
4   ./secure-rhel.sh

Be sure to note new passwords.