http://bugzilla.novell.com/show_bug.cgi?id=583338 http://bugzilla.novell.com/show_bug.cgi?id=583338#c0 Summary: users module *hoses* /etc/passwd and /etc/shadow under certain circumstances Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: jsrain@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100204 SUSE/3.5.8-0.1.1 Firefox/3.5.8 I needed to add my user to a group. I used yast2 users. After completion, everything appeared OK... except 'su -' and 'sudo' no longer worked. For anybody. ssh -l root localhost did not work su - did not work sudo bash did not work Nothing worked. I rebooted into single-user mode and that did work. A brief investigation showed me that all of the passwords in /etc/passwd had been removed. /etc/shadow did not contain passwords, either. No passwords. Comparing the {shadow,passwd} files to their {shadow,passwd}.YaST2save counterparts revealed part of the problem - /etc/passwd did have the passwords in it. I had temporarily disabled shadow passwords with 'pwunconv' at some point. However, I've also added users, changed passwords, and so on using the console 'useradd', 'groupmod' (the standard pwdutils suite) without error for *months*, years even. One use of yast2 users and my passwords would have been lost (except for the backup files. yay backups!). Please fix yast2 users to NOT hose password entries. Does it not just call out to the standard pwdutils utilities? If not, it should. There is a reason why they exist! Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.