LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what is the purpose of having " /etc/shadow " file (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-purpose-of-having-etc-shadow-file-807980/)

ashishravande 05-15-2010 04:44 AM

what is the purpose of having " /etc/shadow " file
 
we can save the users password in /etc/password file itself.

then why a special file /etc/shadow is created to save the encripted password of users.

catkin 05-15-2010 04:53 AM

Better security. /etc/passwd (not password) needs to be world-readable while /etc/shadow can and should be readable only by root (and maybe by group shadow -- which exists but has no members, at least on my Slackware 13.0 system).

onebuck 05-15-2010 08:21 AM

Hi,

Welcome to LQ!

You can 'man shadow' to get useful information.

:hattip:


All times are GMT -5. The time now is 03:58 PM.