When i'm thinking about passwd file and shadow file I can't get the difference. Can you tell the difference between these two files please... Thank you.
When i'm thinking about passwd file and shadow file I can't get the difference. Can you tell the difference between these two files please... Thank you.
well the /etc/passwd file is the file where the user information is stored,when a new user is created information regarding the user like username,user ID , group ID,location of home directory,login shell etc is stored in the passwd file.
WHere as in /etc/shadow file information like encrypted form of password of a user,the day the password expires,whether or not the passwd has to be changed,minimum and maximum time between password changes and so on are stored.
basically speaking the passwd file stores general user info and shadow file stores user passwd info![]()
Thank you very much...
For detailed understanding of /etc/passwd and /etc/shadow file you may find the following articles useful.
http://www.thegeekscope.com/linux-pa...ile-explained/
http://www.thegeekscope.com/linux-sh...ile-explained/
Bookmarks