[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-sysutils] argp patch for passwd
From: |
Marco Gerards |
Subject: |
Re: [Bug-sysutils] argp patch for passwd |
Date: |
Fri, 04 Jun 2004 20:42:35 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Barry deFreese <address@hidden> writes:
> OK, here is the argp stuff for passwd. I also found a bug. When the
> user is asked to enter the two new passwords, it was checking if
> (same) so when the user was correctly entering the same password twice
> it was erroring. I changed this to if (!same).
Goodie!
> Let me know how this looks.
> + case ARGP_KEY_NO_ARGS:
> + argp_usage(state);
> + break;
What if I run `passwd'. That should change the password for the
current user, right? If I understand the code correctly, this doesn't
happen.
--
Marco