How to hash passwords on Linux - Linux Security

Passwords should never be stored as plain text. Whether we are talking about a web application or an operating system, they should always be in hash form (on Linux, for example, hashed passwords are stored in the /etc/shadow file).
This is a companion discussion topic for the original entry at