Results 1 to 3 of 3
I was looking around the files in /etc/ to see what they were and what they said, then I noticed there was two files called passwd, which confused me a ...
- 06-18-2010 #1Just Joined!
- Join Date
- May 2010
- Location
- uk
- Posts
- 20
[SOLVED] /etc/passwd and /etc/passwd-
I was looking around the files in /etc/ to see what they were and what they said, then I noticed there was two files called passwd, which confused me a lot for a second then I noticed one of them was actually passwd-.
I compared them and they only differed by one line:
< games
:36:35:added by portage for gemrb:/usr/games:/bin/bash, which was in passwd but not passwd-.
Should these files both exist? If yes, why, what does having both do? If no, then its safe to say I can just delete passwd-?
Thanks muchly for your help.
- 06-18-2010 #2
Files whose names end in ~ are backups of old versions. Most Linux editors follow this convention. If there is a second edit, this backup file gets overwritten.
If you change a system configuration yourself, it's a good idea to save the original under a separate name so as to keep it permanently."I'm just a little old lady; don't try to dazzle me with jargon!"
- 06-18-2010 #3Just Joined!
- Join Date
- May 2010
- Location
- uk
- Posts
- 20
Ah, that's very useful.
Thank you hazel.


