You are not logged in.

#1 2010-10-25 21:15:53

jwhendy
Member
Registered: 2010-04-01
Posts: 621

[SOLVED] Files in /etc with a dash after them (e.g. /etc/group-)

Hi,


What are the files in /etc with a dash after them? For example, I have:

/etc/group
/etc/group-
/etc/gshadow
/etc/gshadow-
/etc/shadow
/etc/shadow-

What are the dashed versions for? Do I need to keep them?

Last edited by jwhendy (2010-10-25 21:47:13)

Offline

#2 2010-10-25 21:37:28

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [SOLVED] Files in /etc with a dash after them (e.g. /etc/group-)

AFAIK, they are a backup of the previous copy of the file (eg, passwd- is what passwd was before the last change). They are kept because they are such important files. You can delete them, but backups are a "good thing"™.

Offline

#3 2010-10-25 21:46:39

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: [SOLVED] Files in /etc with a dash after them (e.g. /etc/group-)

@fukawi2: wonderful to know. I see no harm so I'll keep 'em. Was just curious smile Thanks for helping out.

Offline

Board footer

Powered by FluxBB