0
Thanks

A few words of thanks would be greatly appreciated.

Difference between etc/passwd and the etc/shadow




What's the difference between etc/passwd and the etc/shadow file?
  • In the line:
    • root:my_password:0:0:root:/root:/bin/bash
  • The field match:
    • login:pwd:iduser:idgroup:homedirectory:shell
  • /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.
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Related

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 (ccm.net).

0 Comments