Hardening is the act of safeguarding a system by minimizing its surface of vulnerability, which is greater as a system performs more functions; in general, a single-function system is more secure than a multifunctional one. Changing default passwords, removing unneeded software, removing unnecessary users or logins, and disabling or removing unnecessary services are all examples of approaches to reduce accessible attack vectors.