How to secure a CentOS system

Comment out unwanted users and user groups vi /etc/passwd vi /etc/group Add immutable attributes to the following files to prevent unauthorized users from gaining permissions chattr +i /etc/passwd chattr +i /etc/shadow chattr +i /etc/group...