LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   group and password files in /etc (https://www.linuxquestions.org/questions/slackware-14/group-and-password-files-in-etc-217016/)

Raphael M 08-13-2004 02:13 AM

group and password files in /etc
 
Hello
I am a little bit confused, so I have to ask...

When I edited my groups-file ( /etc/group ) to add my default user to some other groups, I discovered there are two groupfiles in my /etc.
There is one called "group" and there is another one called "group-"
The "group-" has nothing in it but the standard settings, just like right after a fresh install.
This is also the case with "shadow" and "passwd".
There is one "shadow-" and one "passwd-" beside the regular files, both with plain and untouched settings.
How can this be ?
BTW, I always update my system with Swaret.
Can this be new files that came with Swaret during the last update ? (normaly, it should then be "group-new" or something like that..... )
Can I delete these files safely ?

Cedrik 08-13-2004 04:12 AM

Do not delete these files, frankly I dont know their official use but I know they are updated accordingly if you do some change in the corresponding file without the -

Example : I added groups in /etc/group and the added groups are in /etc/group-

Raphael M 08-14-2004 11:53 AM

OK, thank you :)
I was just wondering about these files. I think i never recognised them before.. :rolleyes:
Could be something like backupfiles, maybe for security reasons ?


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