Re: additional usermod flag, '-a'
Tomasz Kłoczko <[email protected]> Thu, 7 Jul 2005 16:58:19 +0200 (CEST)
| Newsgroups | gmane.linux.pld.shadow.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 7 Jul 2005, Thorsten Kukuk wrote:
>
> On Thu, Jul 07, Peter Vrabec wrote:
>
>> @@ -737,8 +738,11 @@
>> user_inactive = spwd->sp_inact;
>> }
>>
>> - while ((arg = getopt (argc, argv, "A:u:og:G:d:s:c:mf:e:l:p:LU")) != EOF) {
>> + while ((arg = getopt (argc, argv, "aA:u:og:G:d:s:c:mf:e:l:p:LU")) != EOF) {
>
> For what is the uppercase "A:" good?
It was .. for handle old auth method.
http://cvs.pld.org.pl/shadow/src/usermod.c?r1=1.27&r2=1.28
Thanks for catch (fix commited).
Propably the same bug is also in useradd :> (I'll check this).
Hmm .. it will be also good keep in sort order optstring in all places
(also for fix).
Thank you.
kloczek
--
-----------------------------------------------------------
*Ludzie nie majÂą problemĂłw, tylko sobie sami je stwarzajÂą*
-----------------------------------------------------------
Tomasz KÂłoczko, sys adm @zie.pg.gda.pl|*e-mail: [email protected]*