LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /etc/passwd- & /etc/shadow- & /etc/group- (https://www.linuxquestions.org/questions/linux-newbie-8/etc-passwd-and-etc-shadow-and-etc-group-853424/)

Mr. Alex 12-31-2010 05:10 AM

/etc/passwd- & /etc/shadow- & /etc/group-
 
What are those files with dashes in the end? Google doesn't seem to handle this kinda spelling.

druuna 12-31-2010 05:19 AM

Hi,

Those are backups of the original.

Try the following command: diff /etc/passwd /etc/passwd- and you'll see that the dashed version still holds the oldest entry that was altered/removed.

Hope this helps.


All times are GMT -5. The time now is 03:23 AM.