Which file stores system and user-account passwords?
Linux stores account password hashes in /etc/shadow, which is protected from ordinary users. /etc/passwd contains account information rather than the password hashes.
/etc/shadow
/etc/passwd
Community Discussion