Bug 9840 - Password broken after update
Summary: Password broken after update
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: 3
Hardware: i586 Linux
Priority: Normal major
Target Milestone: Mageia 3
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
: 9821 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-23 19:40 CEST by Peter Schwanemann
Modified: 2013-04-23 22:03 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Peter Schwanemann 2013-04-23 19:40:06 CEST
Description of problem:
I intalled Mageia3RC1 one hour ago (using KDE predefined setting in the installer), started Mageia, logged into KDE and updated all packages.

Directly afterwards, all my passwords where broken. Reinstall does not solve the problem. I can only log in into secure mode, but resetting the passwords of root or my user does not work.


Version-Release number of selected component (if applicable):
Mageia3RC1


How reproducible:
I did not try to reinstall yet, but actually hope I don't have to ;). However I will of course do it, if nobody else is facing this problem.


Reproducible: 

Steps to Reproduce:
Peter Schwanemann 2013-04-23 19:40:41 CEST

Target Milestone: --- => Mageia 3

Comment 1 Sander Lepik 2013-04-23 20:07:15 CEST
Is it possible that you accepted to overwrite /etc/shadow and similar files with .rpmnew files? If yes then this bug is a duplicate of bug #9821.

CC: (none) => sander.lepik

Comment 2 Peter Schwanemann 2013-04-23 20:25:34 CEST
Oh my :( ... seems like that.

With help of http://www.cyberciti.biz/tips/recovering-deleted-etcshadow-password-file.html i was able to fix the issue:

I started failsafe mode and run:

pwconv -- to recreate /etc/shadow
passwd -- to set a new root password
password drehatlas -- to set a new password for my user
sync -- to make sure everything is written to the files
reboot



that's it :) - it works again!

Thanks for you help Sander Lepik

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 3 Thomas Backlund 2013-04-23 20:41:29 CEST
You should run "grpconv" too, to recreate /etc/gshadow as you probably overwrote that too.

CC: (none) => tmb

Comment 4 Peter Schwanemann 2013-04-23 20:45:06 CEST
Thanks for the note Thomas Backlund. I am not sure whether I overwrote that file as well, but I better rewrote it as well :).
Comment 5 Thierry Vignaud 2013-04-23 22:03:49 CEST
*** Bug 9821 has been marked as a duplicate of this bug. ***

CC: (none) => ujl


Note You need to log in before you can comment on or make changes to this bug.