Results 1 to 6 of 6
I see three passwd files in /etc/ . Normally only one is supposed to be there called passwd but what the other two for , they look similar ....
- 06-22-2009 #1
passwd , passwd-, passwd.OLD
I see three passwd files in /etc/ . Normally only one is supposed to be there called passwd
but what the other two for , they look similar .
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-22-2009 #2
it would help if we knew what the other 2 were called.
New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 06-22-2009 #3
sorry i forget to mention there names althoug it there in the headint if you see. They are shadow- and shadow.OLD
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-22-2009 #4Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Anytime you see a file with the .old suffix, it means it's not in use anymore but is there to fallback on should there be a problem. Is it definitely a hyphen after passwd/shadow? If it's a tilde (shadow~) that means the file has been edited by hand.
If you have not edited these files yourself and your system isn't an upgrade from an earlier release I'd recommend using a rootkit scanner to ensure you haven't been compromised.
- 06-22-2009 #5
i found a link between the two files passwd and passwd- . When one uses the command
The contents of the files are interchanged with each other and may be the last file .OLD is simply a backup , don't know for what purpose???Code:pwconv and pwunconv
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 07-15-2009 #6
They are both backups.
The one with the tilde is created automatically when you make a manual change with an editor, such as emacs. The .OLD file was probably made when you installed or configured something that modified the original file.


Reply With Quote
