Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
meaning of /etc/group-, /etc/passwd-,... files? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
equaeghe
l33t
l33t


Joined: 22 Feb 2005
Posts: 642

PostPosted: Mon Feb 06, 2006 9:53 pm    Post subject: meaning of /etc/group-, /etc/passwd-,... files? [solved] Reply with quote

Hi,

I was wondering what the following type of files are for:

Code:

# ls /etc/*-
/etc/group-  /etc/gshadow-  /etc/passwd-  /etc/shadow-


I have an idea about /etc/group and /etc/passwd; I know the /etc/shadow and /etc/gshadow serve a purpose (though not what).

But what is the purpose of these files with a hyphen-minus added? They differ from the ones without hyphen-minus, and certainly contain important information.

Thanks for any info,

Erik


Last edited by equaeghe on Tue Feb 07, 2006 8:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Mon Feb 06, 2006 10:14 pm    Post subject: Reply with quote

They look like a backup copy of the files before last change.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
equaeghe
l33t
l33t


Joined: 22 Feb 2005
Posts: 642

PostPosted: Tue Feb 07, 2006 8:53 pm    Post subject: Reply with quote

@dgaffuri: Thanks, most likely correct. I mixed up some cat output pre- and post using usermod. That got me confused.

Will mark as solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum