Question: what is the difference between passwd and shadow in linux?
Answer: /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. pwconv command is used to generate shadow file from passwd file if it doesnt exist.