Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am having an issue with logging in after an upgrade to 12.04. I have been using (unsuccessfully) this guide to reset the password.

In /etc I found two shadow files: shadow and shadow- . The files seem identical. Are there supposed to be two?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

/etc/shadow is the file that will be used by the login system. /etc/shadow- is a backup file that is not used (except for backup purpose). The same applies to /etc/group- and /etc/password-. Older backup files can be found at /var/backups/.

share|improve this answer
1  
Likewise for /etc/gshadow(-) –  andol Apr 29 '12 at 8:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.