What's the difference between etc/passwd and the etc/shadow file?
- In the line:
- The field match:
- /etc/passwd is readable by everyone but the passwords are stored in /etc/shadow, are only readable only under root account. They are encoded with MD5 for better security.
This document, titled « Difference between etc/passwd and the etc/shadow », is available under the Creative Commons
license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM