What is the difference between etc and passwd?

Difference between /etc/passwd and /etc/shadow File formats are same i.e. fields separated by colons & new row for each user. All fields are different except the first one. /etc/passwd file aims at user account details while /etc/shadow aims at user’s password details. passwd file is world readable.
For More Information Please Refer:

You May Also Like to Read: