| Summary: | updating /etc/shadow file with new file locks root password | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Andrew S <andybiker> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | mageia, pf, pterjan, rverschelde, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | rpmdrake | CVE: | |
| Status comment: | |||
| Attachments: | be verbose about ignored .rpmnew files | ||
|
Description
Andrew S
2013-12-16 01:33:58 CET
You should have kept your own file! Maybe rpmdrake should have a list of know files where a warning should be displayed CC:
(none) =>
mageia, pterjan, thierry.vignaud Could we not create them as %ghost files instead? i.e. install the real files into /usr/share/setup/defaultetc/ and copy them over to /etc if the files are missing? That way they won't get updated thereafter but would still be "owned" by the package. WDYT? It's impossible to get back in once the /etc/shadow has been changed. Even rebooting the computer in safe mode took me to a maintenance screen, but my root password was no good, so it is imposible to fix without a live disk. FYI: You can typically get in via init=/bin/bash on the kernel command line. The initrd should be responsible for mounting /usr if it's separate and thus this should give you enough to set the root and any user passwords again.
Manuel Hiebel
2013-12-30 02:46:44 CET
See Also:
(none) =>
https://bugs.mageia.org/show_bug.cgi?id=12064 *** Bug 12064 has been marked as a duplicate of this bug. *** See Also:
https://bugs.mageia.org/show_bug.cgi?id=12064 =>
(none) This should not happen as this file is in the list of files to ignore... Source RPM:
(none) =>
rpmdrake Created attachment 4682 [details] be verbose about ignored .rpmnew files And indeed with that patch, rpmdrake show it's ignoring those files: Searching .rpmnew and .rpmsave files... >> ignoring /etc/sysconfig/harddisks >> ignoring /etc/adjtime >> ignoring /etc/crypttab >> ignoring /etc/modules >> ignoring /etc/sysconfig/autofsck >> ignoring /etc/sysconfig/init >> ignoring /etc/ld.so.conf >> ignoring /etc/fstab >> ignoring /etc/group >> ignoring /etc/gshadow >> ignoring /etc/hosts >> ignoring /etc/passwd >> ignoring /etc/resolv.conf >> ignoring /etc/shadow >> ignoring /etc/shells >> ignoring /etc/sudoers >> ignoring /etc/sysconfig/saslauthd >> ignoring /etc/sysconfig/harddrake2/previous_hw >> ignoring /etc/sysconfig/alsa >> ignoring /etc/security/fileshare.conf >> ignoring /etc/sysconfig/installkernel done. |