Hi, dear!
Welcome to our community!
Please use this way to determine whether the system is hardened.
Log in to the operating system as the root user and check whether the login is successful.
If the login is successful, security hardening has not been performed.
If the login fails, security hardening has been performed.
Thanks!