Question: what is the difference between the files /etc/passwd and /etc/shadow?
Answer: Its same for both files and is username. /etc/passwd file aims at user account details while /etc/shadow aims at user's password details. ... shadow file can only be read by root account. User's encrypted password can only be stored in /etc/shadow file.