Description of Problem: can't change root or standard user passwd w/ kdepasswd. Version-Release number of selected component (if applicable): kdeutils-2.2-2 How Reproducible: 100% Steps to Reproduce: 1. launch kdepasswd (as root) 2. enter original passwd 3. enter identical passwords in <Password> and <Verify> fields: Sorry, passwords do not match <OK> 4. just to see what happens, enter original passwd in both fields: Conversation with 'passwd' failed. <OK> Information: Your password has been changed. <OK> --- when the same steps are performed as a standard user, the utility doesn't appear to accept the original passwd: Error: Conversion with 'passwd' failed. <OK> Then it prompts you for the new passwd.... Sorry: Conversion with 'passwd' failed. <OK> Information: Your password has been changed. <OK> But the password is not changed in either instance. Additionally, the following message is displayed on the terminal that is used to launch the utility: passwd: Only root can specify a username Additional Information: what is the purpose of the --user option? The binary executes the same way with or without it. Is the root user supposed to be able to use kdepasswd to change standard users' passwords w/ this option? If so, this is broken as well: kdepasswd & kdepasswd --user => both appear to launch the passwd utility for the user that launched them. kdepasswd veloce & kdepasswd --user veloce => both fail w/ the same error even when executed as root: message: "Unexpected argument 'veloce'. (veloce is a standard user on my system.)
problem also exists on i386.
This is because of a change in passwd - older versions used to allow user bero to run "passwd bero", newer versions complain that only root can specify a user name, even if the user name is the user's own name. :/ Adapting kdepasswd code...
I've fixed this in CVS, and thrown a new package at dist-7.2-scratch (won't fix dist-8.0 for now - 8.0 will have KDE 3.x anyway). It'll automatically be fixed when we release the update to KDE 2.2.2 on November 12.