LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /etc/group/ /etc/shadow empty (https://www.linuxquestions.org/questions/linux-general-1/etc-group-etc-shadow-empty-903148/)

ankitm 09-15-2011 06:38 AM

/etc/group/ /etc/shadow empty
 
Hi ,
Please explain that in any scenario can /etc/group and
/etc/shadow be empty ??

Sayan Acharjee 09-15-2011 06:47 AM

Quote:

Originally Posted by ankitm (Post 4472352)
Hi ,
Please explain that in any scenario can /etc/group and
/etc/shadow be empty ??

Nope, both of these files should have contents unless something is wrong. Nobody will be able to login then.

wpeckham 09-15-2011 01:24 PM

Empty /etc/shadow
 
Sure! Easy! Broken system!

ankitm 09-19-2011 03:12 AM

Thanks Sayan ..

Could you please tell me which faliure can effect these files ..

DavidMcCann 09-19-2011 12:08 PM

For both to be missing, I presume it would be the result of trying to install Linux with a broken installer that failed to create users or to save passwords. I've seen that happen once myself, with a bad download or badly-burned disk.


All times are GMT -5. The time now is 06:55 AM.