To enable basic security for REHL distributions, you can use our included file.
This file is located under /scripts/secure-rhel.sh
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 2 3 4
cp /usr/libexec/webmin/geohelm/scripts/secure-rhel.txt /root/secure-rhel.sh cp /root chmod +x secure-rhel.sh ./secure-rhel.sh
Be sure to note new passwords.