]> granicus.if.org Git - shadow/blob - ChangeLog
* src/su.c: Too much const were added on 2011-08-15. pw in
[shadow] / ChangeLog
1 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
2
3         * src/su.c: Too much const were added on 2011-08-15. pw in
4         save_caller_context() is allocated and freed.
5         * src/su.c: Added missing #endif indication
6         * src/su.c save_caller_context(): password only needed if
7         SU_ACCESS and !USE_PAM.
8
9 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
10
11         * src/usermod.c: date_to_str() is always called with negativ set
12         to "never", remove this argument.
13         * src/usermod.c: Added missing cast for gr_free argument.
14
15 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
16
17         * src/pwconv.c: Fail if not called correctly.
18         * src/pwconv.c: At the end of main, the passwd and shadow files
19         are locked. No need to check before unlocking.
20
21 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
22
23         * src/newusers.c: Initially set the passwd's password to '*'
24         instead of 'x'. Only when it is confirmed that a shadow entry is
25         (will be) added, set the passwd's password to 'x'.
26         * src/newusers.c: An invalid line is an error. A failure needs to
27         be reported.
28
29 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
30
31         * src/gpasswd.c: Remove log_gpasswd_success_gshadow(). Writing in
32         gshadowis the last sub-task.
33
34 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
35
36         * src/chsh.c: No needto remove lines tarting with '#' from
37         /etc/shells. This is already done by getusershell() and these
38         shell would fail the access(X_OK) test.
39
40 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
41
42         * man/generate_mans.mak: Fix the generation of translated man
43         pages. xml2po removed the comment from empty headers and the
44         config was no more inserted.
45
46 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
47
48         * man/chage.1.xml: The LOGIN argument is not optional.
49         * man/login.defs.d/QUOTAS_ENAB.xml: Document the dependency
50         between /etc/limits and QUOTAS_ENAB.
51
52 2011-08-20  Nicolas François  <nicolas.francois@centraliens.net>
53
54         * po/POTFILES.in: Added lib/spawn.c.
55
56 2011-08-20  Jonathan Nieder  <jrnieder@gmail.com>
57
58         * lib/Makefile.am: Added lib/spawn.c and lib/spawn.h.
59         * lib/nscd.c, lib/spawn.c, lib/spawn.h: It is not possible to
60         differentiate between an nscd failure, and a failure to execute
61         due to no nscd with posix_spawn. Use our own run_command routine.
62         * src/userdel.c: Use run_command()
63
64 2011-08-15  Nicolas François  <nicolas.francois@centraliens.net>
65
66         * src/groupmod.c: Ignore return value from snprintf.
67         * src/groupmod.c: Add static qualifier to the cleanup structures.
68         * src/groupmod.c: Check atexit failures.
69
70 2011-08-15  Nicolas François  <nicolas.francois@centraliens.net>
71
72         * src/usermod.c: Do not assign static to NULL.
73         * src/usermod.c (date_to_str): buf needs to be unique (e.g.
74         independent from negativ), and is an out buffer.
75         * src/usermod.c: Ignore return value from snprintf, and force
76         nul-termination of buffer.
77         * src/usermod.c: Improve memory management.
78         * src/usermod.c: An audit bloc was not reachable, moved above on
79         success to move the home directory.
80         * src/usermod.c: Ignore close() return value for the mailbox
81         (opened read only).
82
83 2011-08-15  Nicolas François  <nicolas.francois@centraliens.net>
84
85         * src/su.c: Added const modifiers.
86         * lib/prototypes: Synchronize splint annotations.
87
88 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
89
90         * src/su.c: Add splint annotations.
91         * src/su.c: Set caller_on_console as boolean.
92         * src/su.c: Ignore return value from fputs (usage) / puts (prompt).
93         * src/su.c: Improved memory management.
94
95 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
96
97         * src/chgpasswd.c, src/chpasswd.c, src/newusers.c: Replace cflg by
98         a test on crypt_method.
99
100 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
101
102         * libmisc/chowndir.c: Add splint annotations.
103         * src/chgpasswd.c: Likewise.
104         * src/chpasswd.c: Likewise.
105         * src/newusers.c: Likewise.
106         * libmisc/salt.c, lib/prototypes.h (crypt_make_salt): Likewise.
107
108 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
109
110         * lib/gshadow_.h: Fix typo in comment.
111
112 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
113
114         * lib/prototypes.h, libmisc/getgr_nam_gid.c: getgr_nam_gid()
115         returns an allocated structure.
116
117 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
118
119         * src/su.c: Add annotations to indicate that su_failure() does
120         not return.
121
122 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
123
124         * lib/commonio.c: Display PID as unsigned long.
125
126 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
127
128         * src/useradd.c: Remove unused Zflg.
129
130 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
131
132         * src/chgpasswd.c: Fix typo sp -> sg. sg_namp -> sg_name
133         * src/chgpasswd.c: Always update the group file when SHADOWGRP is
134         not enabled.
135
136 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
137
138         * src/newgrp.c: Fix typo in notreached annotation.
139
140 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
141
142         * src/usermod.c: Add annotations to indicate that fail_exit() does
143         not return.
144         * src/usermod.c: Fix typo in notreached annotation.
145
146 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
147
148         * libmisc/find_new_uid.c: free (used_uids) on return.
149         * libmisc/find_new_gid.c: free (used_gids) on return.
150
151 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
152
153         * lib/commonio.c: Fix NIS commit from 2011-07-14.
154
155 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
156
157         * NEWS, src/chpasswd.c: Create a shadow entry if the password is
158         set to 'x' in passwd and there are no entry in shadow for the
159         user.
160         * NEWS, src/chgpasswd.c: Create a gshadow entry if the password is 
161         set to 'x' in group and there are no entry in gshadow for the 
162         group.
163
164 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
165
166         * src/pwunconv.c: Exit after printing usage when arguments or
167         options are provided.
168         * src/pwunconv.c: Re-indent.
169         * src/pwunconv.c: Open the shadow file read only.
170         * src/grpunconv.c: Exit after printing usage when arguments or
171         options are provided.
172         * src/grpunconv.c: Open the gshadow file read only.
173
174 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
175
176         * src/chgpasswd.c: Fix typo.
177
178 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
179
180         * NEWS, src/login.c: Do not log in utmp / utmpx / wtmp when PAM is
181         enabled. This is already done by pam_lastlog. Note that
182         pam_lastlog can only log the parent PID, not the PID of the
183         process forked by login.
184
185 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
186
187         * src/chpasswd.c: Add annotations to indicate that usage() does
188         not return.
189         * src/chpasswd.c: Reindent.
190         * src/chpasswd.c: Remove dead code. No need to set crypt_method
191         to NULL when it is already NULL. sflg is only set if crypt_method
192         is not NULL.
193
194 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
195
196         * src/lastlog.c: Add annotations to indicate that usage() does not
197         return.
198
199 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
200
201         * src/faillog.c: Add annotations to indicate that usage() does not
202         return.
203         * src/faillog.c: Fix message: this is faillog, not lastlog.
204         * src/faillog.c: Check that there are no extra arguments after
205         parsing the options.
206
207 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
208
209         * src/chgpasswd.c: Add annotations to indicate that usage() does
210         not return.
211         * src/chgpasswd.c: Split usage in smaller parts. Those parts are
212         already translated for chpasswd. Usage is now closer to
213         chpasswd's.
214         * src/chgpasswd.c: Remove dead code. No need to set crypt_method
215         to NULL when it is already NULL. sflg is only set if crypt_method
216         is not NULL.
217
218 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
219
220         * src/expiry.c: Remove dead code.
221         * src/expiry.c: Improve comments.
222
223 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
224
225         * src/grpck.c: Added comments.
226         * src/grpck.c: Avoid implicit conversion of pointer to boolean.
227         * src/grpck.c: Remove dead code. argc cannot be lower than optind.
228         Avoid checking twice in a row for NULL != list[i].
229
230 2011-07-22  Nicolas François  <nicolas.francois@centraliens.net>
231
232         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Fail in case of
233         invalid configuration. 
234         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Updated
235         comments.
236         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Be more strict
237         on the loop stop conditions. Stop if we passed the limit, even if
238         the limit itself was never noticed.
239
240 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
241
242         * man/po/fr.po: Fix some spacing issues due to configuration
243         variants.
244
245 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
246
247         * src/passwd.c: Overflow when computing the number of days based
248         on the scaling. Use of long long needed.
249
250 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
251
252         * NEWS, lib/commonio.h, lib/commonio.c: Additional messages to
253         indicate why locking failed.
254         * NEWS, lib/commonio.c: Fix the sort algorithm in case of NIS. NIS
255         entries were dropped.
256         * lib/commonio.c: NIS entries can start by '+' or '-'.
257
258 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
259
260         * NEWS, src/groupmod.c: When the gshadow file exists but there are
261         no gshadow entries, an entry is created if the password is changed
262         and group requires a shadow entry.
263
264 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
265
266         * src/usermod.c: Fix typo in comment.
267         * src/usermod.c (move_home): It is always an error to use -m if
268         the new home directory already exist (independently from the
269         existence of the old home directory did not exist)
270         * src/usermod.c (process_flags): Report usage if no options are
271         provided. Update the error message.
272         * src/usermod.c (process_flags): Check option compatibility and
273         dependency before options are discarded when no changes are
274         requested.
275         * src/usermod.c (process_flags): Check for oflg is not needed to
276         check if changes are needed.
277         * src/usermod.c: usage() does not return. Add annotations.
278         * src/usermod.c (update_gshadow): is_member was computed twice.
279         * src/usermod.c (update_group, update_gshadow): Reduce complexity
280         and document checks. Some checks were always true/false within
281         their call context.
282         * NEWS, src/usermod.c; man/usermod.8.xml: When the shadow file
283         exists but there are no shadow entries, an entry has to be created
284         if the password is changed and passwd requires a shadow entry, or
285         if aging features are used (-e or -f). Document this and also that
286         -e and -f require a shadow file.
287         * man/usermod.8.xml: Document behavior of an empty EXPIRE_DATE.
288         * man/usermod.8.xml: Document that the mail spool might have to be
289         renamed (as for the homedir)
290         * src/usermod.c (new_pwent): Document that pw_locate will not fail
291         because getpwnam returned successfully.
292         * src/usermod.c (process_flags): Do not display the usage in case
293         of an invalid -f value (similar to -e).
294         * src/usermod.c (process_flags): Indicate that the user name is
295         invalid, instead of just a 'field'.
296
297 2011-07-08  Nicolas François  <nicolas.francois@centraliens.net>
298
299         * src/groupadd.c: Fix typo in comment.
300         * src/userdel.c: Fix typo from 2011-06-04. Report failure on the
301         mailfile instead of user_home.
302         * lib/fields.c: Fixed typo from 2010-02-15. field insteadof cp
303         ought to be checked.
304         * src/vipw.c: Use Prog instead of progname. This is needed since
305         Prog is used in the library.
306         * configure.in: Fix typo. libcrack default is 'no'.
307         * src/groupmod.c: Avoid implicit conversion of pointer to boolean.
308         * src/groupmod.c: osgrp can be set only if pflg || nflg. No need
309         to check for pflg || nflg again
310
311 2011-07-08  Nicolas François  <nicolas.francois@centraliens.net>
312
313         * man/*.xml, man/config.xml.in: Add source and version
314         information. This reduce the amount of warnings during the
315         manpages generation.
316
317 2011-06-25  Nicolas François  <nicolas.francois@centraliens.net>
318
319         * man/passwd.1.xml: Added reference to chpasswd(8).
320         * man/po/ru.po: Add space between option and argument.
321
322 2011-06-16  Francisco Javier Cuadrado  <fcocuadrado@gmail.com>
323
324         * po/es.po: Spanish translation
325
326 2011-06-16  Nicolas François  <nicolas.francois@centraliens.net>
327
328         * libmisc/isexpired.c: Added parenthesis.
329         * libmisc/env.c: Added comments.
330         * libmisc/env.c: Avoid implicit conversion of pointer to boolean.
331
332 2011-06-16  Nicolas François  <nicolas.francois@centraliens.net>
333
334         * src/su.c: environ is provided by <unistd.h>.
335         * src/su.c: Added function prototypes.
336         * src/su.c: Rename shellstr parameter to shellname to avoid
337         collision with static variable.
338         * NEWS, src/su.c: Added support for PAM modules which change
339         PAM_USER.
340
341 2011-06-13  Nicolas François  <nicolas.francois@centraliens.net>
342
343         * src/su.c (prepare_pam_close_session): Extract the creation of a
344         child and listening for signal in the parent from run_shell().
345         prepare_pam_close_session() is now executed before the creation of
346         the pam session and before the UID is changed. This allows to
347         close the session as root.
348         * src/su.c: Also drop the controlling terminal when PAM is not
349         used.
350         * src/su.c: Remove run_shell().
351         * src/su.c: After prepare_pam_close_session() there is no need to
352         close the session in the child. Added pam_setcred to
353         prepare_pam_close_session().
354
355 2011-06-12  Nicolas François  <nicolas.francois@centraliens.net>
356
357         * src/su.c (save_caller_context): Extract from main() the code
358         used to save the caller's context.
359         * src/su.c: Split check_perms() in to a PAM (check_perms_pam) and
360         a non-PAM (check_perms_nopam) version.
361         * src/su.c: Cleanup check_perms_nopam().
362         * src/su.c: Merge environment setting blocks after the creation of
363         the session.
364         * src/su.c: Close the password databases together with syslog.
365         * src/su.c: Extract command line processing from main().
366         * src/su.c: Extract export of environment from main().
367
368 2011-06-10  Nicolas François  <nicolas.francois@centraliens.net>
369
370         * src/su.c: Group some of the environment processing blocks. The
371         definition of shellstr, PATH and IFS is not influenced (getenv,
372         getdef, restricted_shell) by and does not influence (addenv does
373         not change environ) the authentication. And the authentication
374         did not overwrite those definitions. This will ease an extraction
375         from the big main() function.
376         * src/su.c: Move definition of change_environment and shellstr
377         after the switch to the final subsystem. The previous architecture
378         forced to always change the environment (the shell starts with a
379         '*' and was thus restricted, and change_environment could not be
380         reset to false).
381         * src/su.c: No need to change the user's shell in case of
382         subsystem root. Update the comments.
383         * src/su.c: Define shellstr before the environment so that
384         restricted_shell is called only once. This will allow moving the
385         environment definition after the switch to the new user.
386         * src/su.c: Extract the authentication from the main function.
387         * lib/prototypes.h, src/suauth.c, src/su.c (check_su_auth): Do not
388         use the pwent global variable to communicate between APIs of
389         different files. Added boolean parameter su_to_root to
390         check_su_auth().
391         * src/su.c (check_perms): Return the passwd entry of the finally
392         authenticated user. Remove usage of the pwent variable.
393         * src/su.c: The password of the caller is the one from the
394         spwd structure only if the passwd's password is 'x'.
395         * src/su.c: Cleanup local variables.
396
397 2011-06-10  Nicolas François  <nicolas.francois@centraliens.net>
398
399         * src/su.c: Updating pwent after expire() is not useful. Only the
400         password information may have changed and they are not used
401         anymore afterwards.
402         * src/su.c: No need to call expire() if there are no shadow entry.
403         No need to convert a passwd entry into an spwd entry in that case.
404
405 2011-06-12  Thomas Blein  <tblein@tblein.eu>
406
407         * man/po/fr.po: French manpages translation
408
409 2011-06-05  Nicolas François  <nicolas.francois@centraliens.net>
410
411         * NEWS, src/su.c: Do not forward the controlling terminal to
412         commands executed with -c. This prevents tty hijacking which could
413         lead to execution with the caller's privileges. This required to
414         forward signals from the terminal (SIGINT, SIGQUIT, SIGTSTP) to
415         the executed command.
416
417 2011-06-05  Nicolas François  <nicolas.francois@centraliens.net>
418
419         * NEWS, src/userdel.c: Do not remove a group with the same name as
420         the user (usergroup) if this group isn't the user's primary group.
421
422 2011-06-04  Nicolas François  <nicolas.francois@centraliens.net>
423
424         * NEWS, src/userdel.c: Check the existence of the user's mail
425         spool before trying to remove it. If it does not exist, a warning
426         is issued, but no failure.
427
428 2011-06-03  Nicolas François  <nicolas.francois@centraliens.net>
429
430         * src/sulogin.c: Added Prog, needed because of the last xmalloc()
431         change.
432
433 2011-06-03  Nicolas François  <nicolas.francois@centraliens.net>
434
435         * man/zh_CN/, man/zh_CN/Makefile.am: Added directory, and zh_CN
436         Makefile.
437         * man/Makefile.am: Build zh_CN pages.
438         * man/generate_translations.mak: Add config.xml to CLEANFILES.
439         * man/po/zh_CN.po: limits, groups, faillog, expiry should not be
440         translated (command name, file name), also this broke the build
441         system as they are used to derive manpage names.
442
443 2011-06-02  Peter Vrabec  <pvrabec@redhat.com>
444
445         * src/lastlog.c, src/faillog.c: Fix underflows causing wrong entry
446         to be displayed.
447
448 2011-06-02  Nicolas François  <nicolas.francois@centraliens.net>
449
450         * libmisc/xmalloc.c: Harmonize message.
451
452 2011-06-02  Peter Vrabec  <pvrabec@redhat.com>
453
454         * libmisc/find_new_uid.c, libmisc/find_new_gid.c: Add missing
455         memory allocation check.
456
457 2011-06-02  Cal Peake  <cp@absolutedigital.net>
458
459         * NEWS, libmisc/addgrps.c: Fix allocator loop. Continue to
460         getgroups() when getgroups fails (-1) with errno==EINVAL.
461
462 2011-06-01  Simon Brandmair  <sbrandmair@gmx.net>
463
464         * man/newusers.8.xml, man/suauth.5.xml, man/suauth.5.xml,
465           man/logoutd.8.xml, man/chgpasswd.8.xml, man/groups.1.xml,
466           man/faillog.5.xml, man/login.defs.d/MD5_CRYPT_ENAB.xml,
467           man/login.defs.d/DEFAULT_HOME.xml,
468           man/login.defs.d/LOGIN_RETRIES.xml,
469           man/login.defs.d/MD5_CRYPT_ENAB.xml,
470           man/login.defs.d/PORTTIME_CHECKS_ENAB.xml, 
471           man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml:
472           Fix typos
473         * man/po/de.po: German translation of manpages completed
474
475 2011-05-23  Innocent De Marchi  <tangram.peces@gmail.com>
476
477         * po/ca.po: Catalan translation completed
478
479 2011-04-22  Miguel Figueiredo  <elmig@debianpt.org>
480
481         * po/pt.po: Portuguese translation completed
482
483 2011-04-22  Thomas Blein  <tblein@tblein.eu>
484
485         * po/fr.po: French translation completed
486
487 2011-04-16  Holger Wansing  <linux@wansing-online.de>
488
489         * po/de.po: German translation completed
490
491 2011-04-15  Fred Maranhão  <fred.maranhao@gmail.com>
492
493         * po/pt_BR.po: Brazilian Portuguese translation completed
494
495 2011-04-10  Yuri Kozlov  <yuray@komyakino.ru>
496
497         * po/ru.po: Russian translation completed
498
499 2011-04-07  Daniel Nylander  <po@danielnylander.se>
500
501         * po/sv.po: Swedish translation completed
502
503 2011-04-07  Joe Dalton  <joedalton2@yahoo.dk>
504
505         * po/da.po: Danish translation completed
506
507 2011-04-05  Timur Birsh  <taem@linukz.org>
508
509         * po/kk.po: Kazakh translation completed
510
511 2011-04-05  NAKANO Takeo  <nakano@st.seikei.ac.jp>
512
513         * po/ja.po: Japanese translation completed
514
515 2011-03-30  YunQiang Su  <wzssyqa@gmail.com>
516
517         * man/po/zh_CN.po: convert Simplified Chinese translation 
518           of manpages to gettext
519         * po/zh_CN.po: Simplified Chinese translation completed
520
521 2010-02-15  Nicolas François  <nicolas.francois@centraliens.net>
522
523         * man/ru/Makefile.am: Remove double inclusion of $(man_nopam)
524
525 2010-02-15  Nicolas François  <nicolas.francois@centraliens.net>
526
527         * libmisc/user_busy.c, src/userdel.c, src/usermod.c: Warn in
528         user_busy() rather than in src/userdel.c or src/usermod.c to
529         provide more accurate failure cause (user is logged in or user
530         still executes processes).
531
532 2010-02-15  Nicolas François  <nicolas.francois@centraliens.net>
533
534         * lib/groupio.c, lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: Check
535         entry validity before commits to databases.
536         * libmisc/fields.c, libmisc/Makefile.am, lib/fields.c,
537         lib/Makefile.am, po/POTFILES.in: fields.c moved from libmisc to
538         lib.
539         * lib/fields.c: Fail if input pointer is NULL.
540
541 2010-02-13  Nicolas François  <nicolas.francois@centraliens.net>
542
543         * NEWS, src/chfn.c, src/chsh.c: Fix CVE-2011-0721: forbid \n in
544         gecos or shell.
545
546 2011-02-12  Nicolas François  <nicolas.francois@centraliens.net>
547
548         * autogen.sh: Restore original autoreconf (see 2010-08-29's change
549         for autogen.sh)
550         * configure.in, man/po/Makefile.in.in, man/po/Makefile.in:
551         Makefile.in.in replaced by Makefile.in to avoid config.status
552         issues when there are multiple po directories.
553         * man/po/LINGUAS: Adapted to above change.
554         * man/po/POTFILES.in, man/po/XMLFILES: POTFILES.in replaced by
555         XMLFILES.
556         * man/Makefile.am: generate_mans.deps shall be included by make,
557         not automake.
558
559 2010-11-19  Nicolas François  <nicolas.francois@centraliens.net>
560
561         * NEWS, libmisc/console.c: Fix CONSOLE parser. This caused login
562         to hang when CONSOLE was configured with a colon separated list of
563         TTYs.  See http://bugs.gentoo.org/show_bug.cgi?id=324419
564
565 2010-09-05  Nicolas François  <nicolas.francois@centraliens.net>
566
567         Integrate review comments from Julien Cristau
568         * libmisc/copydir.c: Missing parenthesis in comment.
569         * libmisc/chowndir.c: Fixed memory leak on failed realloc().
570         * libmisc/chowndir.c: Make sure the buffer for the path is large
571         enough.
572         * libmisc/remove_tree.c: Remove check for NULL before free().
573
574 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
575
576         * man/po/fr.po: Fix 2 fuzzy strings.
577
578 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
579
580         * NEWS, src/usermod.c: Accept options in any order (username not
581         necessarily at the end)
582
583 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
584
585         * autogen.sh: Expand autoreconf to avoid running autopoint.
586
587 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
588
589         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
590         * po/*.po, man/po/*.po: Updated PO files.
591
592 2010-08-28  Brian M. Carlson  <sandals@crustytoothpaste.ath.cx>
593
594         * man/chsh.1.xml: Fix comma splice.
595
596 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
597
598         * lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
599         selinux_file_context renamed set_selinux_file_context.
600         * lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
601         Added reset_selinux_file_context.
602         * src/useradd.c: Check the return value of
603         set_selinux_file_context and reset_selinux_file_context.
604         * libmisc/copydir.c: Check the return value of
605         reset_selinux_file_context.
606
607 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
608
609         * src/su.c: Fix handling of environment variables when
610         the environment is not changed. In particular, this makes su
611         behave as documented regarding PATH and IFS (i.e. they are reset)
612         when -p is provided.
613
614 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
615
616         * man/su.1.xml: Fix typo.
617
618 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
619
620         * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
621         src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
622         src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
623         src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
624         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/chage.c,
625         src/groupadd.c, src/login.c, src/grpconv.c, src/groups.c,
626         src/grpunconv.c, src/chsh.c: Prog changed to a constant string.
627
628 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
629
630         * libmisc/limits.c: Avoid implicit conversion of integer to
631         boolean.
632         * libmisc/basename.c: Avoid implicit conversion of pointer to
633         boolean.
634         * libmisc/basename.c, lib/prototypes.h (Basename): Return a
635         constant string.
636         * libmisc/basename.c, libmisc/obscure.c, lib/prototypes.h,
637         libmisc/xmalloc.c, libmisc/getdate.h, libmisc/system.c,
638         libmisc/getgr_nam_gid.c, libmisc/failure.c, libmisc/valid.c: Add
639         splint annotations.
640         * libmisc/chowndir.c: Avoid memory leak.
641         * libmisc/chowndir.c: Do not check *printf/*puts return value.
642         * libmisc/chowntty.c: Avoid implicit conversion between integer
643         types.
644         * libmisc/obscure.c: Return a bool when possible instead of int.
645         * libmisc/shell.c: Do not check *printf/*puts return value.
646         * libmisc/shell.c: Do not check execle return value.
647         * libmisc/setupenv.c: Avoid implicit conversion between integer
648         types.
649         * libmisc/xmalloc.c: size should not be zero to avoid returning
650         NULL pointers.
651         * libmisc/hushed.c: Do not check *printf/*puts return value.
652         * libmisc/system.c: Avoid implicit conversion of integer to
653         boolean. safe_system last argument is a boolean.
654         * libmisc/system.c: Check return value of dup2.
655         * libmisc/system.c: Do not check *printf/*puts return value.
656         * libmisc/system.c: Do not check execve return value. 
657         * libmisc/salt.c: Do not check *printf/*puts return value.
658         * libmisc/loginprompt.c: Do not check gethostname return value.
659         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not check
660         gr_rewind/pw_rewind return value.
661         * libmisc/ttytype.c: Limit the number of parsed characters in the
662         sscanf format.
663         * libmisc/ttytype.c: Test if a type was really read.
664         * libmisc/sub.c: Do not check *printf/*puts return value.
665         * libmisc/sub.c: Avoid implicit conversion of integer to boolean.
666         * src/userdel.c: Fix typo in comment.
667         * src/userdel.c: Avoid implicit conversion of boolean to integer.
668         * src/userdel.c: safe_system last argument is a boolean.
669         * src/newusers.c: Avoid implicit conversion of boolean to integer.
670         * src/newusers.c: Avoid implicit conversion of integer to boolean.
671         * src/usermod.c: Add brackets.
672         * src/usermod.c: Avoid implicit conversion of characters or
673         integers to booleans.
674         * src/vipw.c: Avoid implicit conversion of integer to boolean.
675         * src/su.c: Avoid implicit conversion of integer to boolean.
676         * src/su.c: Add brackets.
677         * src/useradd.c: Avoid implicit conversion of characters or
678         integers to booleans.
679
680 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
681
682         * libmisc/obscure.c, lib/prototypes.h (obscure): Return a bool
683         instead of an int.
684         * libmisc/obscure.c, libmisc/tz.c, src/passwd.c, lib/encrypt.c,
685         libmisc/copydir.c, lib/prototypes.h: Add splint annotations.
686         * libmisc/tz.c: Fix some const issues.
687         * libmisc/tz.c: Avoid multi-statements lines.
688         * libmisc/tz.c: Add brackets.
689         * libmisc/copydir.c: Do not check *printf/*puts return value.
690         * libmisc/copydir.c: Fail if we cannot set or reset the SELinux
691         fscreate context.
692         * libmisc/copydir.c: Use xmalloc instead of malloc.
693         * libmisc/copydir.c: Do not check lutimes return value
694         * src/vipw.c: Avoid implicit conversion of integer to boolean.
695         * src/su.c (iswheel): Return a bool instead of an int.
696         * src/passwd.c: Remove insert_crypt_passwd(). Use xstrdup instead.
697         * src/passwd.c: Return constant strings when sufficient.
698         * src/passwd.c: Do not check *printf/*puts return value.
699         * src/passwd.c: Avoid implicit conversion of character to boolean.
700         * src/passwd.c: Do not check sleep return value.
701         * src/sulogin.c: Do not check *printf/*puts return value.
702         * lib/encrypt.c: Do not check fprintf return value.
703
704 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
705
706         * src/passwd.c: Fix a const issue.
707         * src/passwd.c: Avoid multi-statements lines.
708         * src/sulogin.c: Fix a const issue.
709
710 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
711
712         * libmisc/copydir.c, lib/prototypes.h: Caller can choose not to
713         copy the extended attributes (the SELinux context is hence reset)
714         * src/usermod.c: Copy the extended attributes.
715         * src/useradd.c: Only reset the SELinux context.
716
717 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
718
719         * configure.in: Fixed typo.
720
721 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
722
723         * libmisc/console.c, libmisc/motd.c, libmisc/setupenv.c,
724         libmisc/sulog.c, libmisc/hushed.c, libmisc/failure.c,
725         libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/obscure.c,
726         libmisc/pam_pass_non_interractive.c, src/userdel.c, src/login.c,
727         lib/commonio.c, lib/commonio.h, libmisc/setugid.c,
728         libmisc/setupenv.c: Fix some const issues.
729         * libmisc/motd.c: Avoid multi-statements lines.
730         * libmisc/motd.c: Support long MOTD_FILE.
731         * libmisc/list.c, lib/prototypes.h: Revert previous change.
732         dup_list and is_on_list are used with members as defined for the
733         group structure, and thus even if the list is not modified, the
734         list elements cannot be constant strings.
735         * libmisc/system.c: Avoid C++ comments.
736         * src/vipw.c: WITH_TCB cannot be tested inside a gettextized
737         string. Split the Usage string.
738         * lib/commonio.h: Re-indent.
739
740 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
741
742         * libmisc/audit_help.c (audit_logger):pgname is not used. We let
743         audit find out the name of the program.
744         * libmisc/audit_help.c: Re-indent.
745
746 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
747
748         * lib/groupio.c: Avoid implicit conversion from signed to unsigned.
749
750 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
751
752         * lib/commonio.c: Make sure there are no NULL pointer dereference.
753
754 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
755
756         * libmisc/remove_tree.c: Ignore snprintf return value.
757
758 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
759
760         * lib/prototypes.h, libmisc/list.c: dup_list() and is_on_list() do
761         not change the members of the list they receive. Added const
762         qualifiers.
763
764 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
765
766         * src/usermod.c: Re-indent.
767
768 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
769
770         * lib/commonio.c: Avoid multi-statements lines.
771
772 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
773
774         * man/po/fr.po: Fix a typo.
775
776 2010-06-24  Baurzhan Muftakhidinov  <baurthefirst@gmail.com>
777
778         * NEWS, po/kk.po: Updated Kazakh translation.
779
780 2010-04-12  Nicolas François  <nicolas.francois@centraliens.net>
781
782         * man/po/fr.po: Fix some typos. Minor updates: 886t70f187u.
783
784 2010-04-12  Nicolas François  <nicolas.francois@centraliens.net>
785
786         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
787         * po/*.po, man/po/*.po: Updated PO files.
788
789 2010-04-05  Nicolas François  <nicolas.francois@centraliens.net>
790
791         * man/newusers.8.xml, man/useradd.8.xml, man/groupadd.8.xml,
792         man/login.defs.d/UMASK.xml, man/login.defs.d/CREATE_HOME.xml,
793         man/login.defs.d/LOGIN_RETRIES.xml: Fix typos: choosen, overriden,
794         bahavior.
795
796 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
797
798         * man/usermod.8.xml: Document changes of ownerships.
799
800 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
801
802         * man/vipw.8.xml: Fix formatting typo.
803         * man/vipw.8.xml: Document the login.defs parameters only when tcb
804         is enabled.
805
806 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
807
808         * src/useradd.c: spool is a constant string.
809         * src/useradd.c: Set the new copy_tree's paramater 'copy_root' to false 
810
811 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
812
813         * src/usermod.c: move_home() is only called if mflg is set.
814         * src/usermod.c: Fail is -m is provided but the old home directory
815         is not a directory.
816         * src/usermod.c: Use the previous improvement of copy_tree to
817         provide better error diagnosis.
818         * src/usermod.c: When rename() is used, also change the ownership.
819         * src/usermod.c: Do not change the ownership of the root directory
820         twice.
821         * src/usermod.c: When -u is provided, only change the ownership of
822         the home directory if it is a directory.
823         * src/usermod.c: Also change ownerships when -g is used.
824
825 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
826
827         * lib/prototypes.h, libmisc/copydir.c: Add the old UID and GID to
828         copy_tree to detect when ownership shall be changed.
829         * libmisc/copydir.c: Document the behavior when the IDs are set to
830         -1.
831         * lib/prototypes.h, libmisc/copydir.c (copy_tree): Add parameter
832         copy_root.
833         * libmisc/copydir.c: error() and ctx can be static.
834         * libmisc/copydir.c (copy_hardlink): Remove parameter src.
835
836 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
837
838         * libmisc/chowndir.c: Dynamically allocate memory to support
839         path longer than 1024 characters.
840         * libmisc/chowndir.c: Fix typos in documentation.
841         * libmisc/chowndir.c: Support and document the behavior when a old
842         or new ID is set to -1.
843         * libmisc/chowndir.c: Improved error detection when chown fails.
844         * libmisc/chowndir.c: Harmonize error handling strategy when an
845         error occurs: stop changing ownership as soon as an error was
846         detected.
847
848 2010-04-03  Nicolas François  <nicolas.francois@centraliens.net>
849
850         * man/hu/passwd.5: Fix formatting typo.
851         * man/id/login.1: Likewise.
852
853 2010-03-31  Nicolas François  <nicolas.francois@centraliens.net>
854
855         * man/vipw.8.xml: When TCB is enabled, vipw uses login.defs.
856
857 2010-03-31  Nicolas François  <nicolas.francois@centraliens.net>
858
859         * NEWS, libmisc/copydir.c: When a hardlink is detected, the
860         original hardlink should not be removed.
861
862 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
863
864         * po/POTFILES.in, libmisc/Makefile.am, lib/prototypes.h,
865         libmisc/remove_tree.c, libmisc/copydir.c: Split remove_tree()
866         outside of copydir.c to avoid linking against libacl or libattr.
867
868 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
869
870         * src/su.c: shell's name must be -su when a su fakes a login.
871
872 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
873
874         * NEWS, configure.in, libmisc/copydir.c, man/useradd.8.xml,
875         man/usermod.8.xml, src/Makefile.am: Added support for ACLs and
876         Extended Attributes.
877
878 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
879
880         * libmisc/copydir.c: Document the sections closed by #endif
881
882 2010-03-27  Nicolas François  <nicolas.francois@centraliens.net>
883
884         * man/vipw.8.xml: Add section ENVIRONMENT.
885
886 2010-03-26  Nicolas François  <nicolas.francois@centraliens.net>
887
888         * etc/login.defs: Updated description of UMASK to indicate its
889         usage by pam_umask.
890         * man/login.defs.d/UMASK.xml: Likewise.
891
892 2010-03-25  Nicolas François  <nicolas.francois@centraliens.net>
893
894         * man/login.1.xml: login does not check for new mails in PAM
895         enabled versions. This is done by pam_mail.
896
897 2010-03-25  Nicolas François  <nicolas.francois@centraliens.net>
898
899         * NEWS, src/chpasswd.c, man/chpasswd.8.xml, man/login.defs.5.xml:
900         PAM enabled versions: restore the -e option to allow restoring
901         passwords without knowing those passwords. Restore together the -m
902         and -c options.
903
904 2010-03-23  Nicolas François  <nicolas.francois@centraliens.net>
905
906         * src/su.c, src/vipw.c, src/newgrp.c: When the child is
907         interrupted, stop ourself with a SIGSTOP signal.
908
909 2010-03-23  Nicolas François  <nicolas.francois@centraliens.net>
910
911         * src/newgrp.c: Limit the scope of variable pid.
912         * src/login_nopam.c: Limit the scope of variables end, lineno, i,
913         str_len.
914         * src/logoutd.c: Limit the scope of variable c.
915         * src/vipw.c: Re-indent.
916         * src/vipw.c: Close the file after the creation of the backup.
917         * src/useradd.c (set_default): Close input file on failure.
918         * src/useradd.c: Limit the scope of variables spool, file, fd, gr,
919         gid, mode.
920         * src/passwd.c: Limit the scope of variables last and ok.
921         * src/chage.c: Fix typo (non breaking space).
922         * src/login.c: Limit the scope of variables erasechar killchar, c,
923         failed.
924         * src/groups.c: Limit the scope of variable ngroups, pri_grp, i.
925         * src/id.c: Limit the scope of variable i.
926
927 2010-03-22  Nicolas François  <nicolas.francois@centraliens.net>
928
929         * lib/utent.c (getutline): Remove getutline(). This function is
930         no more used.
931         * lib/groupmem.c: Limit the scope of variable i.
932         * lib/shadow.c: Avoid implicit conversion of pointers and integers
933         to booleans.
934         * lib/shadow.c: Added brackets.
935         * libmisc/limits.c: Limit the scope of variable tmpmask.
936         * libmisc/copydir.c: Close opened file on failure.
937         * libmisc/loginprompt.c: Limit the scope of variable envc.
938         * libmisc/find_new_uid.c, libmisc/find_new_gid.c: Limit the scope
939         of variable id.
940
941 2010-03-21  Nicolas François  <nicolas.francois@centraliens.net>
942
943         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Detect some
944         misconfigurations of UID_MIN, UID_MAX, SYS_UID_MIN, SYS_UID_MAX (and
945         the GID equivalents)
946
947 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
948
949         * NEWS, configure.in: Next version will be 4.1.5.
950         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
951         * po/*.po, man/po/*.po: Updated PO files.
952
953 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
954
955         * libmisc/limits.c: Re-indent to make pmccabe happy.
956
957 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
958
959         * man/generate_translations.mak, man/generate_mans.mak: Fix
960         distcheck. All manpages generation code shall be enclosed in
961         ENABLE_REGENERATE_MAN conditions.
962
963 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
964
965         * man/useradd.8.xml: Do not document the features which are not
966         working.
967         * man/useradd.8.xml: Fix typo: -u was meant instead of -o.
968         * man/useradd.8.xml: Document that the default behavior depends on
969         CREATE_HOME.
970
971 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
972
973         * lib/groupio.c: Fix memory management insplit_groups().
974
975 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
976
977         * libmisc/strtoday.c: Empty dates indicate a disabled date, this is
978         not an error.
979
980 2010-03-19  Nicolas François  <nicolas.francois@centraliens.net>
981
982         * src/useradd.c, lib/commonio.c, po/POTFILES.in: Fix typos.
983         * libmisc/limits.c: Removed unused variable.
984
985 2010-03-19  Nicolas François  <nicolas.francois@centraliens.net>
986
987         * lib/commonio.c: Stop sorting entries when we reach the first
988         NIS line.
989
990 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
991
992         * src/chsh.c: Even for root, warn if an invalid shell is
993         specified. Alioth#311305
994
995 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
996
997         * man/limits.5.xml: Document the selection of the limits when
998         multiple lines match the user.
999
1000 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1001
1002         * libmisc/limits.c: Re-indent.
1003         * libmisc/limits.c: Reformat the documentation. Avoid personal
1004         comments.
1005         * man/limits.5.xml: Document the new features.
1006
1007 2010-03-18  Thomas Orgis  <thomas@orgis.org>
1008
1009         * NEWS, libmisc/limits.c: Fix parsing of limits.
1010         * NEWS, libmisc/limits.c: Add support for infinite limits.
1011         * NEWS, libmisc/limits.c: Add support for @group syntax.
1012
1013 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1014
1015         * lib/tcbfuncs.h: Re-indent.
1016         * lib/tcbfuncs.h: Explicitly indicate function taking a void
1017         parameter.
1018
1019 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1020
1021         * src/useradd.c: When exiting because of a failure, warn if an
1022         home directory created, but cannot be removed.
1023
1024 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1025
1026         * libmisc/chowndir.c: Re-indent.
1027         * libmisc/chowndir.c: Avoid assignment in comparisons.
1028         * libmisc/chowndir.c: Added brackets and parenthesis.
1029
1030 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1031
1032         * libmisc/strtoday.c: Add support for numerical dates, assuming
1033         they are already specified in number of days since Epoch. Return
1034         -2 in case of errors to support the specification of -1.
1035         * src/usermod.c, src/useradd.c: Adapt to the new error value of
1036         strtoday().
1037         * src/chage.c:  Remove isnum(). Adapt to the new error value of
1038         strtoday(). Support for numerical dates is moved to strtoday().
1039
1040 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1041
1042         * man/po/fr.po: Harmonize name of parameters.
1043
1044 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1045
1046         * NEWS: Indicate which tools support TCB.
1047
1048 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1049
1050         * src/pwck.c: Unlock the password and shadow files when there is a
1051         failure to prepare the update in memory.
1052
1053 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1054
1055         * src/pwck.c: Only log to SYSLOG when acting on system files.
1056
1057 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1058
1059         * src/pwck.c: Document the sections closed by #endif
1060         * src/pwck.c, man/pwck.8.xml: No alternative shadow file can be
1061         given when USE_TCB is enabled.
1062         * src/pwck.c: Remove the -s option from the usage when USE_TCB is
1063         enabled. The option is still supported, but has no effect, as
1064         documented in the manpage.
1065
1066 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1067
1068         * src/pwck.c: Do not use pwd_file and spw_file. Always use the
1069         dbname() functions.
1070
1071 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1072
1073         * src/pwck.c: Re-indent.
1074
1075 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1076
1077         * src/userdel.c, src/usermod.c, src/vipw.c, src/useradd.c,
1078         src/pwck.c, src/chage.c, lib/shadowio.c: Explicitly use the
1079         SHADOWTCB_FAILURE return code instead of 0 or implicit conversion
1080         to booleans.
1081
1082 2010-03-18  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
1083
1084         * src/pwck.c: Add support for TCB.
1085         * src/pwck.c: Use spw_dbname() instead of spw_file since TCB
1086         changes from a file to another depending on the user. Also use
1087         pw_dbname() for consistency.
1088
1089 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
1090
1091         * src/faillog.c: Re-indent.
1092
1093 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
1094
1095         * lib/tcbfuncs.h: Added type shadowtcb_status.
1096         * lib/tcbfuncs.h, lib/tcbfuncs.c: Return a shadowtcb_status
1097         instead of an int.
1098         * lib/tcbfuncs.c: Do not return in OUT_OF_MEMORY.
1099         * lib/tcbfuncs.c: Only FreeBSD specify that the returned buffer is
1100         NULL in case of failure. The return value of asprintf shall be
1101         checked.
1102         * lib/tcbfuncs.c: Avoid implicit conversion of pointers or
1103         integers to booleans.
1104         * lib/tcbfuncs.c: Avoid assignments in comparisons.
1105         * lib/tcbfuncs.c: Do not free path before its last use.
1106         * lib/tcbfuncs.c: Include shadowio.h, needed for the
1107         spw_setdbname's prototype.
1108         * lib/tcbfuncs.c: Ignore fflush() return value.
1109         * lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.
1110         * lib/tcbfuncs.c: Avoid integer to char conversions.
1111         * lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.
1112         * lib/tcbfuncs.c: Removed dead return.
1113         * lib/tcbfuncs.c: move_dir() and shadowtcb_move() need a non NULL
1114         stored_tcb_user.
1115         * lib/tcbfuncs.c: Avoid implicit int to mode_t conversion.
1116         * lib/tcbfuncs.c: Added brackets and parenthesis.
1117         * lib/tcbfuncs.c: Re-indent.
1118
1119 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
1120
1121         * lib/commonio.c: Avoid implicit conversion of pointers to
1122         booleans.
1123         * lib/commonio.c: Ignore the return value of close when a
1124         failure is reported.
1125
1126 2010-03-16  Nicolas François  <nicolas.francois@centraliens.net>
1127
1128         * man/faillog.8.xml: Document the behavior in display mode of the
1129         -a option.
1130         * NEWS, man/faillog.8.xml, src/faillog.c: Extend the -a option to
1131         the non-display mode. This changes the default behavior of the -l,
1132         -m, -r, -t options when -a is not specified (restrict to existing
1133         users).
1134
1135 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1136
1137         * man/chage.1.xml, man/login.defs.5.xml, man/pwck.8.xml,
1138         man/pwconv.8.xml, man/useradd.8.xml, man/userdel.8.xml,
1139         man/usermod.8.xml, man/vipw.8.xml: Document the usage of the
1140         TCB_AUTH_GROUP, TCB_SYMLINKS, and USE_TCB configuration
1141         parameters.
1142         * man/pwconv.8.xml, man/pwck.8.xml: Document the behavior when
1143         USE_TCB is enabled.
1144
1145 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1146
1147         * po/POTFILES.in, lib/tcbfuncs.c: Add more strings for
1148         translation.
1149         * lib/tcbfuncs.c: Indicate the name of the program in error
1150         messages. Avoid perror.
1151         * src/useradd.c: Re-indent.
1152         * src/useradd.c: Add more strings for translation. Indicate the
1153         name of the program in error messages.
1154         * src/userdel.c: Re-indent.
1155         * src/userdel.c: Add more strings for translation. Indicate the
1156         name of the program in error messages.
1157
1158 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1159
1160         * src/usermod.c: user_newname and user_newid cannot be used to
1161         test if the username or ID is changed. lflg and uflg should be
1162         used instead.
1163
1164 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1165
1166         * src/userdel.c: Avoid perror. Give more verbose warnings.
1167
1168 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1169
1170         * man/Makefile.am: Indicate that man/generate_mans.deps is
1171         generated.
1172
1173 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1174
1175         * lib/commonio.c: Re-indent.
1176         * lib/commonio.c: Document the sections closed by #endif
1177         * lib/commonio.c: Added brackets.
1178         * lib/commonio.c: Avoid implicit conversion of integer to
1179         booleans.
1180
1181 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1182
1183         * src/userdel.c: Re-indent.
1184         * src/userdel.c: Added brackets.
1185         * src/userdel.c: Avoid implicit conversion of pointers to
1186         booleans.
1187
1188 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1189
1190         * lib/shadowio.c: Re-indent.
1191         * lib/shadowio.c: Added brackets and parenthesis.
1192         * lib/shadowio.c: Document the sections closed by #endif
1193         * lib/shadowio.c: Avoid negation of comparisons.
1194         * lib/shadowio.c: Avoid implicit conversion of integer to booleans
1195         and booleans to integers.
1196
1197 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1198
1199         * src/useradd.c: Re-indent.
1200         * src/useradd.c: Added brackets.
1201         * src/useradd.c: Avoid implicit conversion of integers to
1202         booleans.
1203         * src/useradd.c: Harmonize error messages.
1204
1205 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1206
1207         * src/vipw.c: Document the sections closed by #endif
1208         * src/vipw.c: Avoid implicit conversion of pointers or integers to
1209         booleans.
1210         * src/vipw.c: Added brackets and parenthesis.
1211         * src/vipw.c: Limit the definition of some variables and macros to
1212         the WITH_TCB scope.
1213         * src/vipw.c: Avoid assignment in comparisons.
1214         * src/vipw.c: Replace PASSWD_FILE (resp. GROUP_FILE and
1215         SGROUP_FILE) by pw_dbname () (resp. gr_dbname () and sgr_dbname ()).
1216         This is more consistent with the shadow file handling and may be
1217         useful to allow edition of another partition's files.
1218
1219
1220 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1221
1222         * src/usermod.c: Re-indent.
1223         * src/usermod.c: Avoid implicit conversion of pointers to
1224         booleans.
1225         * src/usermod.c: Added parenthesis.
1226
1227 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1228
1229         * src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.
1230
1231 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
1232
1233         * src/userdel.c: Re-indent.
1234         * src/userdel.c: Avoid implicit conversion of pointers to
1235         booleans.
1236         * src/userdel.c: Document the sections closed by #endif
1237
1238 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
1239
1240         * src/pwconv.c: Only check USE_TCB if configured WITH_TCB.
1241
1242 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
1243
1244         * libmisc/copydir.c: Added parenthesis.
1245
1246 2010-02-14  Michael Bunk  <mb@computer-leipzig.com>
1247
1248         * NEWS, lib/gshadow.c: Fix parsing of gshadow entries.
1249
1250 2010-01-30  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
1251
1252         * NEWS: Add support for TCB.
1253         * lib/tcbfuncs.h, lib/tcbfuncs.c, lib/Makefile.am: New library to
1254         support TCB.
1255         * lib/prototypes, libmisc/copydir.c (remove_tree): Add boolean
1256         parameter remove_root.
1257         * configure.in: Add conditional WITH_TCB.
1258         * src/userdel.c, src/usermod.c: Add support for TCB. Update call to
1259         remove_tree().
1260         * src/pwconv.c, src/pwunconv.c: Should not be used with TCB enabled.
1261         * src/vipw.c: Add support for TCB. Update call to remove_tree().
1262         * src/useradd.c: Add support for TCB. Open the shadow file outside
1263         of open_files().
1264         * src/chage.c: Add support for TCB.
1265         * src/Makefile.am: Install passwd sgid shadow when TCB is enabled.
1266         * lib/getdefs.c, man/vipw.8.xml, man/login.defs.5.xml,
1267         man/login.defs/TCB_AUTH_GROUP.xml, man/login.defs/USE_TCB.xml,
1268         man/login.defs/TCB_SYMLINKS.xml, man/generate_mans.mak,
1269         man/generate_mans.deps, man/Makefile.am: New configuration
1270         parameters: TCB_AUTH_GROUP, TCB_SYMLINKS, USE_TCB.
1271         * lib/shadowio.c, lib/commonio.c: Add support for TCB.
1272
1273 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
1274
1275         * libmisc/env.c: Fix sanitize_env() noslash support. This fixes
1276         Alioth#311740.
1277
1278 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
1279
1280         * src/su.c: Do not sanitize the environment. This breaks
1281         --preserve-environment. This sanitation was disabled on Debian
1282         since quite some time with no reported issues, and sanitize_env()
1283         documentation agrees that it should be useless as all modern
1284         Unixes will handle setuid executables properly. This fixes
1285         Alioth#312287.
1286
1287 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
1288
1289         * libmisc/setupenv.c: Fix typo from 2009-11-01.
1290
1291 2010-01-24  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
1292
1293         * configure.in: Add support for TCB in configure.in. Actual TCB
1294         support will follow.
1295
1296 2009-11-05  Nicolas François  <nicolas.francois@centraliens.net>
1297
1298         * NEWS, src/groupmod.c: Fixed groupmod when configured with
1299         --enable-account-tools-setuid.
1300
1301 2009-11-01  Nicolas François  <nicolas.francois@centraliens.net>
1302
1303         * NEWS, man/login.defs.d/ENV_SUPATH.xml, libmisc/setupenv.c:
1304         Harmonize other paths and documentation with previous
1305         change.
1306
1307 2009-11-01  Michel Hermier  <michel.hermier@gmail.com>
1308
1309         * src/su.c: Set the default ENV_SUPATH to
1310         /sbin:/bin:/usr/sbin:/usr/bin (i.e. PATH when no ENV_SUPATH is
1311         specified).
1312
1313 2009-10-15  Thorsten Kukuk  <kukuk@suse.de>
1314
1315         * src/faillog.c, man/faillog.8.xml: Harmonize long option in code
1316         and documentation. Use --lock-secs instead of --lock-time.
1317
1318 2009-10-05  Miroslav Kure  <kurem@upcase.inf.upol.cz>
1319
1320         * po/cs.po: updated to 412t
1321
1322 2009-09-29  Clytie Siddall  <clytie@riverland.net.au>
1323
1324         * po/vi.po: updated to 412t
1325
1326 2009-09-27  Miroslav Kure  <kurem@upcase.inf.upol.cz>
1327
1328         * po/cs.po: updated to 411t1f
1329
1330 2009-09-24  Christian Perrier  <bubulle@debian.org>
1331
1332         * man/po/fr.po: Updated French translation to 835t99f165
1333
1334 2009-09-24  Clytie Siddall  <clytie@riverland.net.au>
1335
1336         * po/vi.po: updated to 348t30f34u
1337
1338 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1339
1340         * lib/commonio.c: Avoid pre-decrement operator (--n). Add some
1341         comments.
1342         * libmisc/cleanup.c: Fix off by one in an assertion.
1343
1344 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1345
1346         * src/su.c: Fix indentation.
1347         * src/su.c: Add more messages for translation.
1348         * src/su.c: Ignore kill() return value when sending the TERM
1349         signal. If it fails, a KILL should be sent anyway.
1350
1351 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1352
1353         * NEWS, src/su.c: When su receives a signal, wait for the child to
1354         terminate (after sending a SIGTERM), and kill it only if it did
1355         not terminate by itself. No delay will be enforced if the child
1356         cooperates. See http://bugs.gentoo.org/282094
1357         * NEWS, man/su.1.xml: Document su's exit values.
1358
1359 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1360
1361         * src/useradd.c: The default value for the CREATE_MAIL_SPOOL
1362         variable (i.e. if CREATE_MAIL_SPOOL= is specified without any
1363         values) is "no", not DCREATE_MAIL_SPOOL ("CREATE_MAIL_SPOOL=").
1364
1365 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1366
1367         * src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead.
1368         For consistency, change HOME, INACT, EXPIRE, SKEL, and
1369         CREATE_MAIL_SPOOL to DHOME, DINACT, DEXPIRE, DSKEL, and
1370         DCREATE_MAIL_SPOOL.
1371
1372 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1373
1374         * src/newusers.c: Prefer #ifdef over #if.
1375
1376 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1377
1378         * configure.in: We do not use SETPGRP_VOID, and already assume
1379         that setpgrp has a void argument. Remove AC_FUNC_SETPGRP to ease
1380         cross compiling.
1381
1382 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
1383
1384         * man/generate_translations.mak, man/generate_mans.mak,
1385         po/Makefile.in.in: Removing and restoring the config.xml file
1386         broke parallel builds. Build the manpages based on *.xml-config
1387         files instead of *.xml files.  The *.xml do not include config.xml
1388         anymore, which permits to run xml2po without needing to remove
1389         config.xml. The config.xml is restored in the *.xml-config files.
1390         * man/groupadd.8.xml: Implementation of the above.
1391         * man/generate_mans.deps: Updated dependencies
1392
1393 2009-09-07  Steve Grubb  <sgrubb@redhat.com>
1394
1395         * libmisc/limits.c: Fix the format to match the unsigned long
1396         variable in argument.
1397         * libmisc/utmp.c: Fix tests. tmptty is a variable stack. ut_host
1398         is an array of the ut structure. None of them can be NULL.
1399
1400 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
1401
1402         * lib/shadowmem.c: Only copy the required fields of the struct
1403         spwd. (start with the primitive types)
1404         * lib/shadowmem.c: Avoid memzero() on a possibly NULL pointer.
1405         * lib/groupmem.c: Only copy the required fields of the struct
1406         group. (start with the primitive types)
1407         * lib/groupmem.c: Avoid memzero() on a possibly NULL pointer.
1408         * lib/groupmem.c: Free gr_mem in addition to its elements.
1409         * lib/sgroupio.c: The struct sgrp has no primitive types to be
1410         copied initially.
1411         * lib/sgroupio.c: Avoid memzero() on a possibly NULL pointer.
1412         * lib/sgroupio.c: Free sg_mem and sg_add in addition to their
1413         elements.
1414         * lib/pwmem.c: Only copy the required fields of the struct
1415         passwd. (start with the primitive types)
1416
1417 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
1418
1419         * lib/sgroupio.h: Harmonize splint annotations of sgr_locate()
1420         prototype with the one used in its definition.
1421
1422 2009-09-07  Steve Grubb  <sgrubb@redhat.com>
1423
1424         * libmisc/copydir.c, lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
1425         Fix some memory leaks.
1426
1427 2009-09-06  Nicolas François  <nicolas.francois@centraliens.net>
1428
1429         * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c,
1430         src/chpasswd.c, src/groupmems.c, src/usermod.c, src/chgpasswd.c,
1431         src/vipw.c, src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c,
1432         src/groupadd.c, src/chage.c, src/faillog.c, src/chsh.c: Use
1433         booleans for tests.
1434         * src/userdel.c, src/gpasswd.c, src/groupmems.c, src/usermod.c,
1435         src/groupmod.c, src/passwd.c: Use a break even after usage().
1436
1437 2009-09-05  Nicolas François  <nicolas.francois@centraliens.net>
1438
1439         * src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd
1440         Usage string. It was changed anyway to add the --help option.
1441
1442 2009-09-05  Mike Frysinger  <vapier@gentoo.org>
1443
1444         * NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c,
1445         src/newusers.c, src/chpasswd.c, src/groupmems.c, src/usermod.c,
1446         src/chgpasswd.c, src/vipw.c, src/su.c, src/useradd.c,
1447         src/groupmod.c, src/passwd.c, src/groupadd.c, src/chage.c,
1448         src/faillog.c, src/chsh.c: If someone uses the -h/--help options,
1449         the usage should not go to stderr nor should the utility exit with
1450         non-zero status. All of the shadow utils do just this
1451         unfortunately, so convert them over to sanity.
1452         * man/groupmems.8.xml, man/gpasswd.1.xml: Added option -h/--help.
1453
1454 2009-09-05  Nicolas François  <nicolas.francois@centraliens.net>
1455
1456         * src/useradd.c: Fixed wrong format string.
1457         * lib/gshadow.c: Removed declaration of unused variable.
1458
1459 2009-08-30  Mike Frysinger  <vapier@gentoo.org>
1460
1461         * man/generate_mans.mak, man/generate_translations.mak: Provide an
1462         useful error message when --enable-man is not enabled and the
1463         translated manpages are not generated.
1464
1465 2009-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1466
1467         * man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They
1468         break the groff formatting.
1469
1470 2009-07-24  Nicolas François  <nicolas.francois@centraliens.net>
1471
1472         * po/fr.po: Fix typos, based on reviews by the Debian French
1473         translation team.
1474
1475 2009-07-24  Nicolas François  <nicolas.francois@centraliens.net>
1476
1477         * NEWS, configure.in: Prepare for the next release 4.1.4.2.
1478         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1479         * po/*.po, man/po/*.po: Updated PO files.
1480
1481 2009-07-23  Nicolas François  <nicolas.francois@centraliens.net>
1482
1483         * configure.in: Fixed definition of the SHELL configuration.
1484
1485 2009-07-23  Nicolas François  <nicolas.francois@centraliens.net>
1486
1487         * etc/login.defs: SYS_GID_MIN /SYS_UID_MIN changed from 100 to
1488         101. GID 100 seems to be used statically.
1489
1490 2009-07-22  Nicolas François  <nicolas.francois@centraliens.net>
1491
1492         * libmisc/shell.c, src/su.c: Execute the scripts with "sh -"
1493         rather than "sh".
1494
1495 2009-07-22  Nicolas François  <nicolas.francois@centraliens.net>
1496
1497         * configure.in, libmisc/shell.c, libmisc/setupenv.c, src/newgrp.c,
1498         src/su.c: Let the system shell be configurable.
1499
1500 2009-07-20  Nicolas François  <nicolas.francois@centraliens.net>
1501
1502         * NEWS, src/su.c, libmisc/shell.c: Added support for shells being a
1503         shell script without a shebang.
1504
1505 2009-07-19  Jean-Louis Dupond  <info@dupondje.be>
1506
1507         * po/nl.po: Fix obvious mistake in Dutch translation.
1508
1509 2009-07-18  Peter Vrabec  <pvrabec@redhat.com>
1510
1511         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not use
1512         getpwent / getgrent for system accounts. Trying the low-IDs with
1513         getpwuid / getgrgid should be more efficient on LDAP configured
1514         systems with many accounts.
1515         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Since
1516         system accounts are allocated from SYS_?ID_MIN to SYS_?ID_MAX in
1517         reverse order, accounts are packed close to SYS_?ID_MAX if
1518         SYS_?ID_MIN is already used but there are still dome gaps.
1519
1520 2009-07-05  Piarres Beobide  <pi+debian@beobide.net>
1521
1522         * po/eu.po: Updated Basque translation.
1523
1524 2009-06-20  Nicolas François  <nicolas.francois@centraliens.net>
1525
1526         * man/fi/Makefile.am: Stop distributing the Finnish translation of
1527         passwd.1 (outdated).
1528
1529 2009-06-20  Nicolas François  <nicolas.francois@centraliens.net>
1530
1531         * man/pwck.8.xml: The shadow file is optional.
1532         * man/pwck.8.xml: Updated description of the checks. Added
1533         description of the shadow checks.
1534         * man/pwck.8.xml: Updated description of the checks.
1535
1536 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1537
1538         * man/po/fr.po: Fixed typo (forunis)
1539
1540 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1541
1542         * lib/fputsx.c: Compare the result of fgets() with the provided
1543         buffer instead of NULL.
1544
1545 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1546
1547         * lib/gshadow.c: Removed limitation on the length of the gshadow
1548         lines.
1549         * lib/gshadow.c: Compare the result of fgetsx() with the provided
1550         buffer instead of NULL.
1551
1552 2009-06-11  Nicolas François  <nicolas.francois@centraliens.net>
1553
1554         * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetgrnam.c,
1555         libmisc/xgetpwuid.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c: Do
1556         not limit the size of the buffer to hold the group or user
1557         structure. It used to be limited to 16k, which caused issues with
1558         groups having many users.
1559
1560 2009-06-11  Nicolas François  <nicolas.francois@centraliens.net>
1561
1562         * src/su.c, man/su.1.xml: The default behavior (without -p or
1563         --login) is to copy most of the environment variables. Revert a
1564         previous change and update the documentation.
1565
1566 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1567
1568         * man/passwd.5.xml, man/shadow.5.xml: Document the passwd- and
1569         shadow- files.
1570
1571 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1572
1573         * NEWS, src/su.c: Preserve the DISPLAY and XAUTHORITY environment
1574         variables, even with --login. This was not the case before in the
1575         PAM version.
1576
1577 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1578
1579         * src/useradd.c, src/groupmod.c, src/groupadd.c, src/faillog.c:
1580         Fix typos. Take this opportunity to split the usage messages into
1581         smaller messages (one per option).
1582         * src/pwck.c: Fix typo.
1583
1584 2009-06-05  Petri Koistinen  <petri.koistinen@iki.fi>
1585
1586         * man/passwd.1.xml: The short option for --mindays is -n, not -m.
1587
1588 2009-06-04  Mike Frysinger  <vapier@gentoo.org>
1589
1590         * .gitignore, man/.gitignore, src/.gitignore: Added .gitignore
1591         files.
1592
1593 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1594
1595         * man/su.1.xml: Use <option> for the login.defs options.
1596         * man/su.1.xml: Improve the documentation of the su behavior
1597         regarding environment variables.
1598         * man/su.1.xml: Document that the login.defs file is used.
1599
1600 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1601
1602         * man/login.1.xml: Document that the login.defs file is used.
1603
1604 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1605
1606         * man/login.defs.d/ENVIRON_FILE.xml: Document the format for
1607         comments.
1608
1609 2009-05-26  Nicolas François  <nicolas.francois@centraliens.net>
1610
1611         * man/gpasswd.1.xml: Ease the translation of the refpurpose.
1612         * man/gpasswd.1.xml: Fix typo, shorten sentences.
1613
1614 2009-05-26  Nicolas François  <nicolas.francois@centraliens.net>
1615
1616         * man/pwck.8.xml, man/grpck.8.xml: Move the SEE ALSO section at
1617         the end.
1618
1619 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1620
1621         * src/vipw.c: Make sure opened files are closed.
1622
1623 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1624
1625         * man/chpasswd.8.xml, man/grpck.8.xml, man/newgrp.1.xml,
1626         man/passwd.1.xml, man/sg.1.xml: Avoid a spurious comma.
1627
1628 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1629
1630         * NEWS: New placeholder for the next release.
1631
1632 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1633
1634         * po/fr.po: Updated French translation.
1635
1636 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1637
1638         * NEWS: Prepare the next release.
1639         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1640         * po/*.po, man/po/*.po: Updated PO files.
1641
1642 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1643
1644         * man/passwd.1.xml: passwd -u does not reset the expiry field.
1645
1646 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1647
1648         * man/po/fr.po: Updated some strings.
1649
1650 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1651
1652         * NEWS, src/newgrp.c: Return the exit status of the child. Thanks
1653         to Lionel Elie Mamane.
1654
1655 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1656
1657         * src/usermod.c: Added warnings for absolute symlinks which could
1658         be broken by rename().
1659
1660 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1661
1662         * NEWS, src/userdel.c: Report errors to remove the user's mailbox.
1663         * NEWS, src/userdel.c: When USERGROUPS_ENAB is enabled, remove the
1664         user's group when the user was the only member. This is still not
1665         complete, as the user could have been specified twice in the
1666         members.
1667         * NEWS, src/userdel.c: Do not fail when -r is used and the home
1668         directory does not exist.
1669
1670 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1671
1672         * libmisc/copydir.c: Added warning for relative symlinks.
1673         * libmisc/copydir.c (remove_tree): There is no need to check if
1674         the root argument exist. opendir() will report this.
1675
1676 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1677
1678         * man/faillog.8.xml: Minor updates.
1679
1680 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1681
1682         * man/faillog.5.xml: Split a long paragraph. Typo fixes.
1683
1684 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1685
1686         * man/gpasswd.1.xml: Minor updates.
1687
1688 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1689
1690         * man/gshadow.5.xml: Updated documentation.
1691
1692 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1693
1694         * man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
1695         Harmonize formatting of login.defs and default/useradd variables.
1696         Use an <option> tag.
1697         * man/usermod.8.xml: Added reference to gshadow(5).
1698         * man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the
1699         USERDEL_CMD example.
1700
1701 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1702
1703         * src/su.c: Use a boolean instead of 0.
1704
1705 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
1706
1707         * man/usermod.8.xml: Fixed typos.
1708
1709 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
1710
1711         * configure.in: Next version will be 4.1.4.1.
1712
1713 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
1714
1715         * man/newusers.8.xml: Added notes regarding the ownership of
1716         files.
1717
1718 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1719
1720         * man/groupmod.8.xml: Split the -g option description into smaller
1721         paragraphs.
1722
1723 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1724
1725         * man/usermod.8.xml: Ownership of the mailbox is also changed with
1726         the -u option.
1727
1728 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1729
1730         * man/useradd.8.xml: When no passwords are provided, the password
1731         is disabled, not the account.
1732
1733 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1734
1735         * man/newusers.8.xml, man/chpasswd.8.xml, man/useradd.8.xml,
1736         man/groupadd.8.xml, man/usermod.8.xml, man/chgpasswd.8.xml,
1737         man/groupmod.8.xml: Added warning: passwords set with these tools
1738         may not respect the password policy.
1739
1740 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1741
1742         * man/groupadd.8.xml: Fixed formatting issue.
1743
1744 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1745
1746         * man/userdel.8.xml: Added warning for files that could remain
1747         owner by the removed user.
1748
1749 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1750
1751         * man/useradd.8.xml: Fix formatting typo.
1752
1753 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1754
1755         * man/groupdel.8.xml: Move the warning on filesystems checks to
1756         the CAVEAT section.
1757
1758 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1759
1760         * man/login.defs.d/GID_MAX.xml: Fixed typo. useradd was specified
1761         twice.
1762
1763 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1764
1765         * man/groupadd.8.xml, man/useradd.8.xml: names may also contain
1766         digits.
1767
1768 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1769
1770         * man/shadow.5.xml: What is important in shadow is not the
1771         encryption, but that the file is not world readable.
1772
1773 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1774
1775         * man/po/fr.po: Updated French translation. Thanks to ABBAS
1776         Belkacem for the login.defs update.
1777
1778 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1779
1780         * man/usermod.8.xml: Split the CAVEAT section in paragraphs.
1781         Updated information on the user_busy check.
1782
1783 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1784
1785         * man/userdel.8.xml: Document tat -f may force teh deletion of a
1786         busy user.
1787
1788 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1789
1790         * NEWS, src/usermod.c: Check if the user is busy when the user's
1791         UID, name or home directory is changed.
1792
1793 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1794
1795         * src/userdel.c, libmisc/user_busy.c, libmisc/Makefile.am,
1796         lib/prototypes.h: Move user_busy() to libmisc/user_busy.c.
1797         * NEWS, libmisc/user_busy.c: On Linux, do not check if an user is
1798         logged in with utmp, but check if the user is running some
1799         processes. If not on Linux, continue to search for an utmp record,
1800         but make sure the process recorded in the utmp entry is still
1801         running.
1802
1803 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1804
1805         * man/usermod.8.xml: Document the -m/--move-home option.
1806
1807 2009-05-17  Nicolas François  <nicolas.francois@centraliens.net>
1808
1809         * src/userdel.c (user_busy): Check if the process registered in
1810         utmp is still running. This avoids rejecting the removal of an
1811         user when UTMP was not updated and indicate that the user is still
1812         logged in.
1813
1814 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1815
1816         * NEWS, libmisc/console.c (console): Remove the leading /dev/ from
1817         the tty before comparing with the lines specified by CONSOLE.
1818         * src/su.c: Do not remove the /dev/ prefix since it is done by
1819         console().
1820
1821 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1822
1823         * man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE
1824         file.
1825
1826 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1827
1828         * NEWS, src/login.c: Fix failure of non PAM enabled versions when
1829         an empty username is entered after a first prompt.
1830
1831 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1832
1833         * src/passwd.c: Added missing end of line at the end of success
1834         messages.
1835
1836 2009-05-16  sacha  <sachall@infonie.fr>
1837
1838         * po/fr.po: Fixed typo in the vipw usage string.
1839
1840 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
1841
1842         * libmisc/shell.c: Removed invalid code that executed the user's
1843         shell as a shell script when the direct execution of the user's
1844         shell failed with ENOEXEC and the user's shell has a shebang. The
1845         interpreter might not be the right one.  Executing the user's
1846         shell with sh -c might be better, but I'm not sure we should try
1847         harder when there is a failure. Note: the removed code was only
1848         included #ifndef __linux__.
1849
1850 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
1851
1852         * man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed
1853         when the group is used by other users, not the user.
1854
1855 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
1856
1857         * src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the
1858         USERDEL_CMD script example from the source code to the
1859         documentation.
1860
1861 2009-05-11  Nicolas François  <nicolas.francois@centraliens.net>
1862
1863         * man/newusers.8.xml: PAM enabled version: describe how passwords
1864         are updated and how newusers behave in case of error.
1865
1866 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1867
1868         * NEWS, configure.in: New release will be 4.1.4.
1869         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1870         * po/*.po, man/po/*.po: Updated PO files.
1871
1872 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1873
1874         * libmisc/copydir.c: Added prototype of readlink_malloc(), and
1875         readlink_malloc() changed to static.
1876
1877 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1878
1879         * src/su.c: Avoid redeclaration of root_pw.
1880
1881 2009-05-10  NAKANO Takeo  <nakano@webmasters.gr.jp>
1882
1883         * po/ja.po: Updated Japanese translation.
1884
1885 2009-05-10  Jean-Luc Coulon (f5ibh)  <jean-luc.coulon@wanadoo.fr>
1886
1887         * po/fr.po: Updated French translation.
1888
1889 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1890
1891         * lib/commonio.c: Avoid PATH_MAX. On glibc, we can use realpath
1892         with a NULL argument.
1893         * src/useradd.c: Replace PATH_MAX by a fixed constant. The buffer
1894         was not meant as a storage for a path.
1895         * src/useradd.c, src/newusers.c, src/chpasswd.c: Better detection
1896         of fgets errors. Lines shall end with a \n, unless we reached the
1897         end of file.
1898         * libmisc/copydir.c: Avoid PATH_MAX. Support file paths with any
1899         length. Added readlink_malloc().
1900
1901 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1902
1903         * src/pwck.c: Warn if an user has an entry in passwd and shadow,
1904         and the password field in passwd is not 'x'.
1905         * src/grpck.c: Warn if a group has an entry in group and gshadow,
1906         and the password field in group is not 'x'.
1907
1908 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1909
1910         * man/login.defs.d/ENCRYPT_METHOD.xml,
1911         man/login.defs.d/MD5_CRYPT_ENAB.xml,
1912         man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Updated note for PAM
1913         enabled versions. These variables are only used for group
1914         passwords in this case.
1915
1916 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1917
1918         * man/chpasswd.8.xml: Sorted options alphabetically.
1919
1920 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1921
1922         * NEWS, src/newusers.c, src/Makefile.am: Added support for
1923         changing the passwords with PAM.
1924         * src/newusers.c: Split the usage string in smaller parts to
1925         allow enabling single parts.
1926         * man/newusers.8.xml: Indicate the options and configuration
1927         variables valid for PAM and non-PAM versions.
1928         * man/newusers.8.xml: Added pointer to /etc/pam.d/chpasswd.
1929
1930 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1931
1932         * src/userdel.c: Remove duplicate definitions of exit codes.
1933
1934 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1935
1936         * libmisc/non_interactive_pam_conv.c,
1937         libmisc/pam_pass_non_interractive.c, libmisc/Makefile.am: Renamed.
1938         * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
1939         non_interactive_password and non_interactive_pam_conv do not need
1940         to be externally visible.
1941         * libmisc/pam_pass_non_interractive.c: Added declaration of
1942         ni_conv.
1943         * libmisc/pam_pass_non_interractive.c: Only compile ifdef USE_PAM.
1944         * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
1945         Added do_pam_passwd_non_interractive().
1946         * src/chpasswd.c: Use do_pam_passwd_non_interractive().
1947
1948 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1949
1950         * libmisc/pam_pass.c: Removed comment regarding pam_misc. This is
1951         checked by configure.in.
1952
1953 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1954
1955         * man/login.defs.5.xml: PAM enabled chpasswd do not use any
1956         configuration variable from login.defs.
1957
1958 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1959
1960         * man/passwd.1.xml: Differentiate the files used for PAM and
1961         non-PAM versions.
1962
1963 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1964
1965         * man/chpasswd.8.xml: Describe how chpasswd behaves in case of error.
1966         * man/chpasswd.8.xml: Describe the PAM enabled chpasswd behavior.
1967         * man/chpasswd.8.xml: Differentiate the files and configurations
1968         used for PAM and non-PAM versions.
1969
1970 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1971
1972         * src/login.c: failcount does not need to be signed.
1973
1974 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1975
1976         * src/Makefile.am: PAM enabled chpasswd now needs to be linked to
1977         the PAM library, even if --enable-account-tools-setuid is not
1978         used.
1979
1980 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1981
1982         * src/chpasswd.c: Added the line number when an error is reported
1983         instead of only the username.
1984         * src/chpasswd.c: PAM enabled chpasswd may change the password
1985         database (for the user where the password update succeeded) even
1986         if there were a failure for one user. Do not indicate that changes
1987         were ignored.
1988
1989 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1990
1991         * src/passwd.c: Exit immediately when unlocking a password would
1992         result in a passwordless account. This avoid printing a success
1993         message after the warning.
1994
1995 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1996
1997         * src/nologin.c: Include <stdlib.h> to get EXIT_FAILURE.
1998
1999 2009-05-04  Nicolas François  <nicolas.francois@centraliens.net>
2000
2001         * NEWS, configure.in: Fix build failure on non-PAM enabled system
2002         when --without-pam is not specified.
2003
2004 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2005
2006         * lib/commonio.c: Ignore the return values of fclose() and
2007         unlink() in case of failure of fopen_set_perms() or
2008         create_backup().
2009         * lib/commonio.c: Should the backup file be unlink'ed in case of
2010         failure of create_backup()?
2011
2012 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2013
2014         * lib/getulong.c: Added splint annotations.
2015
2016 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2017
2018         * src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c,
2019         src/userdel.c, src/chpasswd.c, src/grpck.c, src/gpasswd.c,
2020         src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
2021         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
2022         src/groupadd.c, src/chage.c, src/login.c, src/faillog.c,
2023         src/sulogin.c, src/chsh.c, src/pwconv.c: Added splint annotations.
2024         * src/userdel.c, src/pwconv.c, src/lastlog.c, src/grpck.c,
2025         src/vipw.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/login.c,
2026         src/sulogin.c, src/usermod.c: Use return instead of exit at the
2027         end of main().
2028         * src/gpasswd.c, src/passwd.c, src/faillog.c: Use the exitcodes.h
2029         exit codes.
2030         * src/chpasswd.c: Added missing ||.
2031         * src/nologin.c: Do not include exitcodes.h.
2032         * src/nologin.c: Added brackets.
2033         * src/nologin.c: Avoid assignments in comparisons.
2034
2035 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2036
2037         * libmisc/getgr_nam_gid.c, lib/get_gid.c, lib/get_pid.c,
2038         lib/get_uid.c: Added splint annotations.
2039
2040 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2041
2042         * lib/exitcodes.h: Define E_SUCCESS as EXIT_SUCCESS. Added FIXMEs.
2043         * libmisc/chowntty.c, libmisc/rlogin.c, libmisc/sub.c,
2044         src/newusers.c, libmisc/sulog.c, libmisc/system.c, src/logoutd.c,
2045         src/groups.c, src/id.c, lib/encrypt.c, libmisc/audit_help.c,
2046         libmisc/limits.c: Return EXIT_FAILURE instead of 1, and
2047         EXIT_SUCCESS instead of 0.
2048         * libmisc/audit_help.c: Replace an fprintf() by fputs().
2049         * libmisc/audit_help.c: Remove documentation of the audit_logger
2050         returned values. The function returns void.
2051         * libmisc/system.c: Only return status if waitpid succeeded.
2052         Return -1 otherwise.
2053
2054 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2055
2056         * NEWS, src/chpasswd.c: Added support for changing the passwords
2057         with PAM.
2058         * src/chpasswd.c: Split the usage string in smaller parts to
2059         allow enabling single parts.
2060         * src/chpasswd.c: Do not set a global lock on the password files.
2061         This is done by PAM each time a password is updated.
2062
2063 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2064
2065         * lib/defines.h: Include <utmpx.h> and <utmp.h> to define
2066         USER_NAME_MAX_LENGTH.
2067
2068 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2069
2070         * src/login.c: Change a snprintf() to strncpy(). There are no
2071         format.
2072
2073 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2074
2075         * src/passwd.c: Harmonize status report at the end of passwd.
2076         Prefix the messages with "passwd: ", only indicate a password
2077         change if the password was actually changed, and password
2078         properties changed otherwise.
2079
2080 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2081
2082         * src/chgpasswd.c, src/newusers.c: There is no need to test for 0
2083         after getopt_long. No options have flag != NULL.
2084
2085 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2086
2087         * lib/prototypes.h: Replace #if by #ifdef
2088         * libmisc/Makefile.am, lib/prototypes.h,
2089         libmisc/non_interactive_pam_conv.c: Added
2090         non_interactive_pam_conv() and non_interactive_password.
2091
2092 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2093
2094         * libmisc/utmp.c, src/userdel.c, src/logoutd.c: Replace #if by #ifdef
2095
2096 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2097
2098         * src/vipw.c: Harmonize messages.
2099
2100 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2101
2102         * src/lastlog.c: Replace atoi() by getulong().
2103
2104 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2105
2106         * libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
2107
2108 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2109
2110         * libmisc/rlogin.c: Replace atoi() by getulong().
2111
2112 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2113
2114         * libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2115
2116 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2117
2118         * libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
2119         are no more needed.
2120
2121 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2122
2123         * libmisc/limits.c: Replace strtol() by getlong().
2124         * libmisc/limits.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2125
2126 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2127
2128         * man/groupmod.8.xml, man/usermod.8.xml, man/groupadd.8.xml,
2129         man/useradd.8.xml: Added note to warn about insecurity in using
2130         --password.
2131         * man/groupmod.8.xml: Removed not regarding default if --password
2132         is not used. This was a cut&paste from groupadd.8.xml.
2133         * man/passwd.1.xml: Split some paragraphs.
2134         * man/passwd.1.xml: Recommend other encryption methods than DES.
2135
2136 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2137
2138         * src/login.c: Move update_utmp() after the PID or session ID
2139         changed in order to get more accurate data in UTMP. This also
2140         fixes "exec login" when login in installed setuid.
2141
2142 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2143
2144         * src/login.c: Reuse a string and avoid an untranslated message
2145         "Login incorrect".
2146
2147 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2148
2149         * src/login.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2150         * src/login.c: Avoid name clash between global variables and the
2151         update_utmp() arguments.
2152
2153 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2154
2155         * src/groupadd.c, lib/commonio.c, lib/groupio.c: Added missing
2156         include of <assert.h>
2157
2158 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2159
2160         * lib/prototypes.h: Replace HAVE_UTMPX_H by USE_UTMPX.
2161         * lib/prototypes.h, libmisc/log.c: Added splint annotations.
2162         * libmisc/log.c: Added SYSLOG warning when lseek fails (should not
2163         happen).
2164
2165 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2166
2167         * libmisc/mail.c, libmisc/copydir.c: Added missing include of
2168         <assert.h>
2169
2170 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2171
2172         * libmisc/env.c: Added assertions on the snprintf results.
2173
2174 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2175
2176         * NEWS, configure.in: Added configure option --enable-utmpx,
2177         disabled by default. This defines USE_UTMPX, which should be used
2178         instead of HAVE_UTMPX_H.
2179         * libmisc/utmp.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2180         * libmisc/utmp.c: Removed old comment on HAVE_STRUCT_UTMP_UT_ID
2181         and UTMPX support.
2182
2183 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2184
2185         * man/po/fr.po: Fix typo.
2186
2187 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2188
2189         * src/newgrp.c: Close the databases before changing the UDI and
2190         GID.
2191
2192 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2193
2194         * libmisc/myname.c: Updated splint annotations.
2195
2196 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2197
2198         * lib/commonio.c: Added splint annotations.
2199         * lib/commonio.c: old_context should be local to commonio_close(),
2200         not global.
2201
2202 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2203
2204         * src/passwd.c: Do not freecon strings duplicated with strdup.
2205         Also avoid allocation of memory.
2206         * src/passwd.c: Use SYSLOG instead of syslog.
2207
2208 2009-04-25  Miroslav Kure  <kurem@upcase.inf.upol.cz>
2209
2210         * po/cs.po: Updated to 352T7f8u
2211
2212 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2213
2214         * lib/commonio.h, lib/commonio.c: Added splint annotations.
2215         * lib/commonio.c: Do not assumes eptr is always notnull.
2216
2217 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2218
2219         * NEWS, po/pt.po: Updated Portuguese translation.
2220
2221 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2222
2223         * libmisc/copydir.c: Added splint annotations.
2224         * libmisc/copydir.c: Added assert to help splint.
2225         * libmisc/copydir.c: Free allocated structures in cas of failure.
2226         * libmisc/copydir.c: Avoid implicit conversion of pointers to
2227         booleans.
2228         * libmisc/copydir.c: Use buffers of size PATH_MAX instead of 1024
2229         for filenames.
2230         * libmisc/copydir.c: Use fchmod and fchown to change the mode of
2231         the opened file.
2232         * libmisc/copydir.c: Indicate the mode to open(), even if we chmod
2233         later.
2234
2235 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2236
2237         * lib/prototypes.h: Added prototypes of getulong() and get_pid().
2238         * lib/prototypes.h: Added splint annotations.
2239
2240 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2241
2242         * lib/commonio.c: Use get_pid() instead of strtol.
2243         * lib/commonio.c: Replace an int by a size_t.
2244
2245 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2246
2247         * lib/commonio.h: Added splint annotations.
2248
2249 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2250
2251         * lib/sgroupio.c: Free allocated structures on failure.
2252         * lib/sgroupio.c: Added splint annotations.
2253
2254 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2255
2256         * lib/Makefile.am, lib/get_pid.c, lib/getulong.c: Added get_pid()
2257         and getulong().
2258
2259 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2260
2261         * lib/getlong.c: Do not check for NULL string but empty string.
2262
2263 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2264
2265         * lib/groupio.c: Updated splint annotations.
2266         * lib/groupio.c: Added assert to help splint.
2267
2268 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2269
2270         * src/useradd.c: Check assumptions on snprintf().
2271         * src/useradd.c: Replace peror by an strerror and avoid an
2272         intermediate buffer.
2273         * src/useradd.c: Save errno between the failure and the report by
2274         perror/strerror.
2275         * src/useradd.c: Prefer xmalloc to malloc.
2276
2277 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2278
2279         * src/lastlog.c: Remove function calls from within assert().
2280
2281 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2282
2283         * libmisc/obscure.c: Change some int to size_t.
2284
2285 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2286
2287         * libmisc/console.c: Use a less disturbing construct for splint.
2288
2289 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2290
2291         * libmisc/limits.c: Parse the limits, umask, nice, maxlogin, file
2292         limit with getlog() / getulong(). This also means, in case of
2293         non-PAM enabled systems, that the umask specified on the GECOS
2294         fields should start with a 0 if specified in octal. (it used to be
2295         force to octal). Do the appropriate cast and range checking.
2296
2297 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2298
2299         * libmisc/salt.c: In case gettimeofday() fails, get some entropy
2300         from the PID.
2301
2302 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2303
2304         * libmisc/setupenv.c: Prefer snprintf to sprintf, even if a small
2305         context indicates no issues.
2306         * libmisc/setupenv.c: Avoid implicit conversion of pointers to
2307         booleans.
2308
2309 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2310
2311         * libmisc/loginprompt.c: Prefer snprintf to sprintf, even if a
2312         small context indicates no issues.
2313
2314 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2315
2316         * src/faillog.c: Remove function calls from within assert().
2317
2318 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2319
2320         * libmisc/mail.c: Ignore the return value of puts().
2321         * libmisc/mail.c: Prefer snprintf to sprintf, even if a small
2322         context indicates no issues.
2323
2324 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2325
2326         * lib/commonio.c, lib/commonio.h, lib/groupio.c, lib/groupio.h,
2327         lib/pwio.c, lib/pwio.h, lib/shadowio.c, lib/shadowio.h: Added
2328         splint annotations. The *_locate() and *_next() functions
2329         currently return an observer. As the structure are often modified
2330         by the caller, it could maybe be changed to exposed later. (and
2331         non-const)
2332
2333 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2334
2335         * lib/pwauth.c: Use a boolean for wipe_clear_pass and use_skey.
2336         * lib/pwauth.c: Added splint annotations.
2337         * lib/pwauth.c: Added brackets and parenthesis.
2338         * lib/pwauth.c: Avoid assignments in comparisons.
2339         * lib/pwauth.c: Avoid implicit conversion of pointers or
2340         characters to booleans.
2341
2342 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2343
2344         * src/groupmod.c: Cast ID to ulongs and use ulong formats for IDs.
2345
2346 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2347
2348         * src/newgrp.c: Added splint annotations.
2349         * src/newgrp.c: audit_buf is only used in newgrp. Make it static.
2350         * src/newgrp.c: Ignore the return value of fputs().
2351         * src/newgrp.c: Use exit(EXIT_FAILURE) instead of exit(1).
2352
2353 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2354
2355         * libmisc/pwdcheck.c (passwd_check): The progname is not used.
2356         * libmisc/pwdcheck.c: Ignore the return value of sleep().
2357         * libmisc/pwdcheck.c: Use exit(EXIT_FAILURE) instead of exit(1).
2358
2359 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2360
2361         * libmisc/setupenv.c: Avoid assignments in comparisons.
2362         * libmisc/setupenv.c: Added brackets and parenthesis.
2363         * libmisc/setupenv.c: Ignore the return value of fclose (file
2364         opened read-only)
2365         * libmisc/setupenv.c: Ignore the return value of puts().
2366         * libmisc/setupenv.c: Avoid implicit conversion of pointers to
2367         booleans.
2368
2369 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2370
2371         * libmisc/find_new_gid.c, libmisc/find_new_uid.c,
2372         libmisc/isexpired.c, src/groupadd.c, lib/pwauth.h, lib/groupmem.c,
2373         lib/shadowmem.c, lib/pwmem.c, lib/prototypes.h: Added splint
2374         annotations.
2375
2376 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2377
2378         * libmisc/loginprompt.c: Use exit(EXIT_FAILURE) instead of
2379         exit(1).
2380         * libmisc/loginprompt.c: Avoid implicit conversion of pointers to
2381         booleans.
2382         * libmisc/loginprompt.c: Ignore return value of putc().
2383
2384 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2385
2386         * libmisc/env.c, libmisc/age.c: Added splint annotations.
2387         * libmisc/age.c: Added brackets and parenthesis.
2388         * libmisc/age.c: Ignore the return value of fclose (file opened
2389         read-only)
2390         * libmisc/age.c: Ignore puts() return value.
2391         * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
2392         * libmisc/age.c: Avoid assignments in comparisons.
2393
2394 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2395
2396         * lib/fputsx.c, lib/gshadow.c, lib/commonio.h: Added splint
2397         annotations.
2398
2399 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2400
2401         * lib/get_gid.c: gidstr should not be NULL, but the check was
2402         meant to make sure it is not empty.
2403         * lib/get_uid.c: Likewise.
2404
2405 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2406
2407         * lib/getdef.c: Added splint annotations.
2408         * lib/getdef.c: Ignore fputs() return value.
2409         * lib/getdef.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
2410
2411 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2412
2413         * src/faillog.c: Added splint annotations.
2414         * src/faillog.c: Cast ID to ulongs and use ulong formats for IDs.
2415         * src/faillog.c: Ignore fflush() return value.
2416         * src/faillog.c: Added parenthesis.
2417
2418 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2419
2420         * src/grpck.c: Ignore puts return value.
2421         * src/grpck.c: Avoid variable format string.
2422
2423 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2424
2425         * src/lastlog.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
2426         * src/lastlog.c: Added splint annotations.
2427         * src/lastlog.c: Avoid global pwent.
2428         * src/lastlog.c: Cast ID to ulongs and use ulong formats for IDs.
2429         * src/lastlog.c: Avoid assignment in comparisons.
2430         * src/lastlog.c: Ignore fclose() return value since the file is
2431         only opened for reading.
2432
2433 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2434
2435         * src/newgrp.c: Added assertion to guide splint (and me).
2436
2437 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2438
2439         * libmisc/find_new_gid.c: Use booleans instead of char fo
2440         used_gids.
2441         * libmisc/find_new_gid.c: Use getdef_ulong and cast to git_t to
2442         get GID values.
2443         * libmisc/find_new_gid.c: Use UL as a prefix for ulong values.
2444         * libmisc/find_new_uid.c: Likewise.
2445
2446 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2447
2448         * libmisc/yesno.c: Ignore the return value of puts.
2449
2450 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2451
2452         * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
2453         * libmisc/age.c: The return value of execl() is not used.
2454
2455 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2456
2457         * libmisc/xgetXXbyYY.c, libmisc/myname.c, libmisc/getgr_nam_gid.c,
2458         libmisc/salt.c, libmisc/list.c, libmisc/cleanup.c, src/login.c,
2459         lib/getdef.h, lib/groupio.c, lib/getlong.c, lib/gshadow_.h,
2460         lib/sgroupio.c, lib/shadowio.c, lib/pwio.c, lib/commonio.h,
2461         lib/fputsx.c, lib/prototypes.h: Added splint annotations.
2462         * lib/groupio.c: Avoid implicit conversion of pointers to
2463         booleans.
2464         * lib/groupio.c: Free allocated buffers in case of failure.
2465
2466 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2467
2468         * lib/defines.h: Added splint definitions to replace <locale.h>
2469
2470 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2471
2472         * libmisc/utmp.c, libmisc/age.c, libmisc/shell.c, lib/groupio.c,
2473         lib/groupio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c,
2474         lib/pwio.c, lib/commonio.c, lib/shadowio.h, lib/pwio.h,
2475         lib/commonio.h, lib/prototypes.h: Added splint annotations.
2476
2477 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2478
2479         * libmisc/utmp.c: Only set ut_time and ut_tv if gettimeofday()
2480         succeeds.
2481
2482 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2483
2484         * libmisc/utmp.c: Fix the check for empty host in prepare_utmp()
2485         and prepare_utmpx().
2486
2487 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2488
2489         * libmisc/utmp.c: The ut argument of prepare_utmp() and
2490         prepare_utmpx () might be NULL. ut_id needs to be forged in that
2491         case.
2492
2493 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2494
2495         * libmisc/utmp.c: Removed old documentation of setutmp().
2496
2497 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2498
2499         * libmisc/utmp.c: Use xmalloc() rather than malloc().
2500
2501 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2502
2503         * libmisc/utmp.c: The name returned by ttyame() needs to be copied
2504         locally.
2505
2506 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2507
2508         * src/login.c: Added assert()s for NULL (or ! NULL) username, and
2509         pwd. This helps splint.
2510         * src/login.c: Added splint annotations.
2511
2512 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2513
2514         * src/login.c: After login_prompt(), do not check for unset
2515         username, but for empty username.
2516
2517 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2518
2519         * lib/defines.h: Define USER_NAME_MAX_LENGTH, based on utmp and
2520         default to 32.
2521         * libmisc/chkname.c: Use USER_NAME_MAX_LENGTH.
2522         * src/login.c: Use USER_NAME_MAX_LENGTH instead of the default 32.
2523         username also needs to be bigger than USER_NAME_MAX_LENGTH because
2524         it has to be nul-terminated.
2525
2526 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2527
2528         * src/login.c: Use xmalloc() instead of malloc().
2529
2530 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2531
2532         * src/login.c: Ignore the return value of puts(), fputs(),
2533         strftime().
2534
2535 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2536
2537         * src/login.c: timeout, delay, and retries should be unsigned.
2538         * src/login.c: Ignore the return value of alarm() and sleep().
2539
2540 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2541
2542         * src/login.c: If we cannot get the terminal configuration, do not
2543         change the terminal configuration. setup_tty() is just a best
2544         effort configuration of the terminal.
2545         * src/login.c: Ignore failures when setting the terminal
2546         configuration.
2547         * src/login.c: Fail if the ERASECHAR or KILLCHAR configurations
2548         are not compatible with a cc_t type.
2549
2550 2009-04-22  Paul Szabo  <psz@maths.usyd.edu.au>
2551
2552         * src/login.c: utent might be NULL after get_current_utmp().
2553
2554 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2555
2556         * src/login.c: Removed temp_shell. No more used.
2557         * src/login.c: lastlog is only used #ifndef USE_PAM
2558         * src/login.c: Rename lastlog to ll to avoid name clash with the
2559         lastlog type.
2560
2561 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2562
2563         * src/login.c: Added update_utmp() to group the prepare_utmp and
2564         setutmp (and the utmpx versions).
2565
2566 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2567
2568         * src/login.c: Do not include netdb.h. gethostbyname() is no more
2569         called from within login.c. Also UT_ADDR does not exist anymore.
2570
2571 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2572
2573         * src/login.c: Check if login is run with effective root
2574         privileges. This should be more helpful to users than a failure to
2575         find an utmp entry or failure to access a file.
2576
2577 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2578
2579         * libmisc/utmp.c: Reworked. Get rid of Linux specific stuff. Get rid
2580         of global utent/utxent variables. Only reuse the ut_id and maybe
2581         the ut_host fields from utmp.
2582         * lib/prototypes.h, libmisc/utmp.c: Removed checkutmp(),
2583         setutmp(), setutmpx().
2584         * lib/prototypes.h, libmisc/utmp.c: Added get_current_utmp(),
2585         prepare_utmp(), prepare_utmpx(), setutmp(), setutmpx().
2586         * libmisc/utmp.c (is_my_tty): Only compare the name of the utmp
2587         line with ttyname(). (No stat of the two terminals to compare the
2588         devices).
2589         * libmisc/utmp.c: Use getaddrinfo() to get the address of the
2590         host.
2591         * configure.in: Check for getaddrinfo().
2592         * configure.in: Use AC_CHECK_MEMBERS to check for the existence of
2593         fields in the utmp/utmpx structures.
2594         * configure.in: Reject systems with utmpx support but no ut_id
2595         field in utmp. This could be fixed later if needed.
2596         * src/login.c: Use the new utmp functions. This also simplifies
2597         the failtmp() handling.
2598         * src/login.c: passwd_free() renamed to pw_free() and
2599         shadow_free() renamed to spw_free()
2600
2601 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2602
2603         * NEWS, configure.in: Enable --enable-account-tools-setuid by
2604         default for PAM builds, as it used to be before the introduction
2605         of this option.
2606
2607 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2608
2609         * etc/pam.d/Makefile.am: Distribute all pam.d files, even if
2610         ACCT_TOOLS_SETUID is not enabled.
2611
2612 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2613
2614         * lib/shadowmem.c: Added spw_free().
2615         * lib/shadowio.c: Use spw_free() for shadow_free().
2616         * lib/groupmem.c: Added gr_free().
2617         * lib/groupio.c: Use gr_free() for group_free().
2618         * lib/pwmem.c: Include define.h before prototypes.h
2619         * lib/pwmem.c: Added pw_free().
2620         * lib/pwio.c: Use pw_free() for passwd_free().
2621         * lib/sgroupio.c: Added sgr_free().
2622         * lib/sgroupio.c: Use sgr_free() for gshadow_free().
2623         * lib/prototypes.h: Added gr_free(), pw_free(), sgr_free(),
2624         spw_free().
2625
2626 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2627
2628         * libmisc/shell.c: Add brackets and parenthesis.
2629         * libmisc/shell.c: Avoid assignments in comparisons.
2630         * libmisc/shell.c: Re-indent.
2631
2632 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2633
2634         * lib/defines.h: Added MIN and MAX macros.
2635         * libmisc/salt.c: Removed MIN and MAX macros.
2636
2637 2009-04-20  Sven Joachim  <svenjoac@gmx.de>
2638
2639         * NEWS, src/lastlog.c: Fix regression causing empty reports.
2640         Get the size of the file before printing the entries.
2641
2642 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2643
2644         * src/login.c: Get rid of pwent. pwd is sufficient as long as it
2645         is always coming from xgetpwnam. There is no need to copy pwd to
2646         pwent, this was not a good idea anyway as the strings from pwd
2647         were not duplicated.
2648         * src/login.c: Always free the pwd and spwd structure when we
2649         retrieve a new one. This will clear the password of the previous
2650         user from the memory.
2651         * src/login.c: user_passwd is used to keep point to the password
2652         of the user being authenticated.
2653         * src/login.c: (non PAM) Fail if the user's entry cannot be found
2654         after the user updated her password (if expire() requested an
2655         update).
2656         * src/login.c: If the user does not exist on the system, there is
2657         no need to build a pwd structure (with shell).
2658
2659 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2660
2661         * src/login.c: ttytype already checks for TTYTYPE_FILE and TERM.
2662         Just call ttytype.
2663
2664 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2665
2666         * src/login.c: Open the PAM session before pam_setcred and before
2667         initgroups. This is more consistent with rfc86.0.
2668
2669 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2670
2671         * src/login.c: Added helper functions get_pam_user() and
2672         get_failent_user().
2673
2674 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2675
2676         * src/login.c: Added parameter to check_nologin. This will help
2677         getting rid of the global pwent variable.
2678
2679 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2680
2681         * src/login.c: Added comments.
2682         * src/login.c: Close the user and group files before dropping root
2683         privileges.
2684
2685 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2686
2687         * src/login.c: We do not need to keep the old umask. Discard the
2688         umask() return value.
2689
2690 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2691
2692         * libmisc/hushed.c, lib/prototypes.h, src/login.c: Change the
2693         hushed() prototype to take a username instead of a passwd
2694         structure in argument. The passwd entry is retrieved withing
2695         hushed().
2696
2697 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2698
2699         * libmisc/setugid.c: Updated comments.
2700
2701 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2702
2703         * libmisc/failure.h, libmisc/failure.c, src/login.c: Added
2704         username as first parameter of failtmp to avoid issues with
2705         non-null terminated ut_user, unavailability of ut_user, incomplete
2706         username (that should not happen currently).
2707
2708 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2709
2710         * libmisc/ttytype.c: Add brackets and parenthesis.
2711         * libmisc/ttytype.c: Avoid assignments in comparisons.
2712
2713 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2714
2715         * lib/pwio.c, lib/shadowio.c, lib/groupio.c, lib/sgroupio.c: Fill
2716         the password fields with zeros before they are freed.
2717
2718 2009-04-19  Changwoo Ryu  <cwryu@debian.org>
2719
2720         * po/ko.po: Updated Korean translation.
2721
2722 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
2723
2724         * NEWS, src/login.c: Also check if the authentication token of the
2725         user has to be updated in case the user was already authenticated.
2726
2727 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
2728
2729         * src/login.c: fflg is already restricted to root. Move
2730         pam_acct_mgmt(), in case of fflg, earlier. This is equivalent and
2731         simplifies the code.
2732
2733 2009-04-19  Paul Szabo  <psz@maths.usyd.edu.au>
2734
2735         * libmisc/utmp.c: Always call endutent or endutxent when setutent
2736         or setutxent were used.
2737
2738 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
2739
2740         * src/login.c: Added comment to make sure PAM_RHOST or PAM_TTY do
2741         not get set to unsanitized values.
2742
2743 2009-04-17  Paul Szabo  <psz@maths.usyd.edu.au>
2744
2745         * NEWS, src/login.c: Do not trust the current utmp entry's ut_line
2746         to set PAM_TTY.
2747         * libmisc/utmp.c: Do not trust the current utmp entry's ut_line.
2748         Always set ut_line based on ttyname(0).
2749
2750 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2751
2752         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
2753         * po/*.po, man/po/*.po: Updated PO files.
2754         * configure.in: Updated version number.
2755
2756 2009-04-15  Peter Vrabec  <pvrabec@redhat.com>
2757
2758         * NEWS, src/userdel.c: Fixed SE Linux support. semanage should be
2759         called at the end.
2760         * src/useradd.c: Always call selinux_update_mapping() (i.e.
2761         semanage), not only when -Z is used.
2762
2763 2009-04-15  Peter Vrabec  <pvrabec@redhat.com>
2764
2765         * NEWS, srclib/getlong.c: Fix parsing of octal numbers.
2766
2767 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2768
2769         * NEWS, src/login.c: Fix segfault when no user is provided on the
2770         command line.
2771
2772 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2773
2774         * README, libmisc/system.c: Was contributed by Dan Walsh.
2775
2776 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2777
2778         * NEW, src/vipw.c: SE Linux: Set the default context to the
2779         context of the file being edited. This ensures that the backup
2780         file inherit from the file's context.
2781
2782 2009-04-14  Nicolas François  <nicolas.francois@centraliens.net>
2783
2784         * man/usermod.8.xml: There are no default values for --inactive
2785         and --gid. If the options are no provided, the original values are
2786         not changed.
2787
2788 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2789
2790         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
2791         * po/*.po, man/po/*.po: Updated PO files.
2792
2793 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2794
2795         * src/su.c: If there are no root account, or if the root account
2796         has an UID != 0, default to the first UID 0 account.
2797
2798 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2799
2800         * src/login.c: Restore the echoctl, echoke, onclr flags to the
2801         terminal termio flags. Reset echoprt, noflsh, tostop. This
2802         behavior seems to have change by mistake in earlier releases
2803         (4.0.8, for no obvious reason).
2804
2805 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2806
2807         * src/login.c: Fix the count of failures before login exits in
2808         case of PAM enabled configurations.
2809
2810 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2811
2812         * man/passwd.1.xml: Document that passwd uses PAM to authenticate
2813         and change passwords on PAM-enabled builds.
2814
2815 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2816
2817         * src/newusers.c: Add more information to the mkdir and chown
2818         failure messages.
2819
2820 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2821
2822         * man/po/fr.po: Updated some login.defs entries. Thanks to
2823         Belkacem Abbas.
2824
2825 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2826
2827         * man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml,
2828         man/login.defs.d/CONSOLE_GROUPS.xml: Fix typos.
2829
2830 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2831
2832         * man/es/Makefile.am: Disable the distribution of Spanish
2833         manpages. They are outdated. Please contact
2834         pkg-shadow-devel@lists.alioth.debian.org if you wish to provide
2835         updates.
2836
2837 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2838
2839         * src/usermod.c, src/useraddd.c: Fix the usage string so that it
2840         does not change depending on the configure option. Use a format.
2841
2842 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2843
2844         * src/gpasswd.c: Fix the usage of the unused macro.
2845
2846 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2847
2848         * lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A
2849         shadow entry is now sufficient for agecheck. Remove the first
2850         passwd entry parameter.
2851
2852 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2853
2854         * src/useradd.c, src/usermod.c: Only call selinux_update_mapping()
2855         if Zflg is set.
2856         * src/userdel.c: Rename argv to args to avoid nameclash with the
2857         main() parameters.
2858
2859 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2860
2861         * libmisc/getgr_nam_gid.c: Added support for NULL argument.
2862         * libmisc/chowntty.c: Reuse getgr_nam_gid(), and get rid of atol().
2863
2864 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
2865
2866         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: For system
2867         accounts, return the first unused ID, starting from the max value.
2868         This could be useful later to increase the static IDs range.
2869
2870 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
2871
2872         * NEWS, src/useradd.c, man/useradd.8.xml: add -Z option to map
2873         SELinux user for user's login.
2874         * NEWS, src/usermod.c, man/usermod.8.xml: Likewise.
2875         * libmisc/system.c, libmisc/Makefile.am, lib/prototypes.h: Added
2876         safe_system(). Used to run semanage.
2877         * lib/prototypes.h, libmisc/copydir.c: Make a
2878         selinux_file_context() an extern function.
2879         * libmisc/copydir.c: Reset SELinux to create files with default
2880         contexts at the end of copy_tree().
2881         * NEWS, src/userdel.c: Delete the SELinux user mapping for user's
2882         login.
2883
2884 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
2885
2886         * src/useradd.c (get_defaults): Close the default file after the
2887         default values were read.
2888
2889 2009-04-11  Christian Perrier  <bubulle@debian.org>
2890
2891         * po/sk.po: Slovak translation updated. Thanks to Ivan Masár
2892
2893 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2894
2895         * lib/Makefile.am, lib/prototypes.h: Added sgetspent.c.
2896
2897 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2898
2899         * po/POTFILES.in: Added missing files. Sorted.
2900
2901 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2902
2903         * lib/getdef.c: Use getlong instead of strtol/strtoul.
2904         * libmisc/getlong, lib/getlong.c, libmisc/Makefile.am,
2905         lib/Makefile.am: getlong.c moved from libmisc/ to lib/.
2906
2907 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2908
2909         * lib/shadow.c: Replace strtol() by getlong(). Also detect more
2910         issues in a numerical shadow entry field.
2911
2912 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2913
2914         * lib/sgetspent.c: Only compile ifndef HAVE_SGETSPENT
2915
2916 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2917
2918         * lib/sgetspent.c: Replace strtol() by getlong(). Also detect more
2919         issues in a numerical shadow entry field.
2920
2921 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2922
2923         * src/chage.c: More strtol() replaced by getlong().
2924         * src/chage.c: expdays renamed to expdate. It is a date, even if
2925         expressed in a number of days since Jan 1, 1970.
2926         * src/chage.c: Likewise: lastday renamed to lstchgdate. Also fix
2927         the --lastday documentation.
2928
2929 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2930
2931         * lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
2932         NOT defined.
2933
2934 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2935
2936         * src/passwd.c: Replace getnumber() by getlong(). This permits to
2937         get rid of another strtol().
2938
2939 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2940
2941         * libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed
2942         for strtol and errno, and do not include "defines.h" (not needed).
2943
2944 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2945
2946         * src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c,
2947         libmisc/Makefile.am, lib/prototypes.h: Moved getgr_nam_gid() from
2948         src/useradd.c and src/usermod.c to libmisc/getgr_nam_gid.c.
2949
2950 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2951
2952         * src/useradd.c: Re-indent.
2953         * src/useradd.c: Use getlong instead of get_number.
2954         * src/useradd.c: Get rid of strtol.
2955         * src/useradd.c: Provide better warning in case a default GROUP or
2956         INACTIVE value is not valid in /etc/default/useradd.
2957
2958 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2959
2960         * src/usermod.c: Re-indent.
2961         * src/usermod.c: Specifying a inactivity value < -1 is not valid.
2962
2963 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2964
2965         * configure.in: Prepare the next 4.1.3 release.
2966         * po/*.po, man/po/*.po: Updated PO files.
2967
2968 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2969
2970         * lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to
2971         ifndef USE_PAM.
2972         * lib/prototypes.h: Remove the declaration of add_cons_grps(). The
2973         function does not exist.
2974         * libmisc/setugid.c libmisc/age.c (setup_uid_gid): is_console is
2975         never set ifndef USE_PAM. Change the prototype of setup_uid_gid()
2976         when USE_PAM is not defined. This permits to remove add_groups
2977         from PAM builds.  setup_uid_gid is already subject to
2978         HAVE_INITGROUPS.
2979         * libmisc/pwd2spwd.c (pwd_to_spwd): pwd_to_spwd() is not used in
2980         PAM builds.
2981
2982 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2983
2984         * src/passwd.c: do_update_age is only used ifndef USE_PAM. Make it
2985         more explicit.
2986
2987 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2988
2989         * src/useradd.c: Set errno to 0 before calling strtol.
2990
2991 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2992
2993         * libmisc/isexpired.c: If there are no shadow entry, there is no
2994         need to convert the password entry to a shadow entry. The password
2995         is valid.
2996
2997 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2998
2999         * man/usermod.8.xml: Split some paragraphs into smaller units.
3000
3001 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
3002
3003         * man/shadow.5.xml: Rewrote to mention the meaning of special
3004         values.
3005
3006 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
3007
3008         * libmisc/pwd2spwd.c, src/chpasswd.c, src/newusers.c,
3009         src/passwd.c, src/pwck.c, src/pwconv.c, src/useradd.c,
3010         src/usermod.c: On Jan 01, 1970, do not set the sp_lstchg field to
3011         0 (which means that the password shall be changed during the next
3012         login), but use -1 (password aging disabled).
3013         * src/passwd.c: Do not check sp_min if sp_lstchg is null or -1.
3014
3015 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
3016
3017         * src/chage.c: When no shadow entry exist, the default sp_lstchg
3018         value should be -1 (no aging) rather than 0 (password must be
3019         changed).
3020         * src/chage.c: For password expiration and inactivity, indicate
3021         that the password must be changed when sp_lstchg is null rather
3022         than indicating that expiration and inactivity are not enabled.
3023
3024 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
3025
3026         * libmisc/isexpired.c: Document the isexpired return value.
3027
3028 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
3029
3030         * libmisc/age.c: Return a specific message when sp_lstchg is null.
3031
3032 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
3033
3034         * lib/sgetpwent.c, lib/sgetgrent.c: Use get_uid and get_gid to
3035         validate the UIDs or GIDs instead of atoi/strtol.
3036
3037 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
3038
3039         * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
3040         lib/get_gid.c, lib/get_uid.c, lib/Makefile.am: get_uid.c and
3041         get_gid.c moved from libmisc/ to lib/.
3042
3043 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
3044
3045         * src/grpck.c (check_members): When a member is removed, do not
3046         increase the index.
3047         * src/grpck.c: Fix typo in messages and comments.
3048
3049 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
3050
3051         * lib/commonio.c: Call fsync before closing the backup file. This
3052         ensures that the backup file is flushed to the storage medium.
3053         * src/useradd.c: Likewise for the default file, faillog, lastlog,
3054         and mail spool.
3055         * src/usermod.c: Likewise for the faillog and lastlog file.
3056         * src/vipw.c: Likewise for the backup file.
3057         * libmisc/sulog.c: Likewise for the su log.
3058
3059 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3060
3061         * src/groupmod.c: Embed gshadow related cleanup in #ifdef
3062         SHADOWGRP.
3063
3064 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3065
3066         * src/usermod.c: get_number() replaced by getlong().
3067         * src/usermod.c: When the user is renamed, make sure we do not
3068         override an user with the same name (in passwd or shadow).
3069
3070 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3071
3072         * src/gpasswd.c: log_gpasswd_success_gshadow is in the cleanup
3073         stack only when the shadow group file is present.
3074
3075 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3076
3077         * NEWS, src/userdel.c: Make sure the user exists in the shadow
3078         database before calling spw_remove().
3079         * NEWS, src/userdel.c: When the user's group is removed, make sure
3080         the group is in the gshadow database before calling sgr_remove().
3081         * src/userdel.c: Improve warning's wording.
3082
3083 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3084
3085         * libmisc/cleanup.c: Fix del_cleanup. The arguments were not
3086         desynchronized with the cleanup functions.
3087         * libmisc/cleanup.c: cleanup_function_args is an array of void
3088         pointer, not strings.
3089
3090 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3091
3092         * libmisc/find_new_gid.c: Fix find_new_gid() the current group
3093         database was not taken into account.
3094
3095 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3096
3097         * libmisc/addgrps.c: Fix compilation warnings.
3098
3099 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3100
3101         * man/po/Makefile.in.in: xml2po cannot exclude one entity for
3102         expansion. Make sure config.xml does not exist when the POT file
3103         is created in order to keep the configurations in the POT file
3104         * man/generate_translations.mak: make sure config.xml does not
3105         exist neither when the translated XML is generated. Add the
3106         missing %config; (strip out by xml2po). and make sure config.xml
3107         is present when the translated manpage is generated.
3108         * man/generate_mans.mak: config.xml is needed for the generation
3109         of manpages (already in the .deps for the English manpages, but
3110         needed for the translations).
3111         * man/Makefile.am: Added missing CREATE_HOME.xml.
3112
3113 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3114
3115         * etc/login.defs: Added note for PAM enabled configurations.
3116
3117 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3118
3119         * man/Makefile.am: Compute the dependencies for building the
3120         manpages.
3121         * man/generate_mans.deps: Added Makefile dependency rules.
3122
3123 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3124
3125         * libmisc/addgrps.c: Fix warnings.
3126
3127 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3128
3129         * man/po/fr.po: Added missing space.
3130
3131 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3132
3133         * man/lastlog.8.xml: Document that there might be entries, for
3134         deleted users, that are not displayed.
3135
3136 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3137
3138         * man/chgpasswd.8.xml, man/chpasswd.8.xml: Fix the man page in
3139         case SHA crypt is not supported.
3140
3141 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3142
3143         * man/vipw.8.xml: MAX_MEMBERS_PER_GROUP is not used by vipw and
3144         vigr.
3145
3146 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3147
3148         * man/login.defs.5.xml: Indicate that sg uses the same variables
3149         as newgrp.
3150         * man/login.defs.5.xml: vipw does not use any variable.
3151         * man/login.defs.5.xml: In PAM enabled configurations, login still
3152         uses some login.defs variables.
3153
3154 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3155
3156         * man/usermod.8.xml: use a <replaceable> instead of a
3157         <emphasis remap='I'>.
3158
3159 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3160
3161         * man/newusers.8.xml: Document the behavior of newusers for each
3162         field.
3163         * man/newusers.8.xml: Do not add the note on PAM on non-PAM
3164         enabled configurations.
3165
3166 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
3167
3168         * src/newusers.c: Make sure the SHA related variables are not
3169         compiled when disabled at configuration time.
3170         * src/newusers.c: Added FIXME
3171         * src/chpasswd.c: Make sure the SHA related variables is not
3172         compiled when disabled at configuration time.
3173         * src/chgpasswd.c: Make sure the SHA related variables is not
3174         compiled when disabled at configuration time.
3175         * src/chgpasswd.c: Fix the test for getlong() failure.
3176         * src/useradd.c, man/useradd.8.xml: Added long name for the -l
3177         option: --no-log-init.
3178         * src/faillog.c: Added support for the specification of a range of
3179         users with -u.
3180         * src/faillog.c: Do not call print_one() for users which do not
3181         exist.
3182         * src/faillog.c: Make sure the user's entry is not outside the
3183         faillog file and initialize the faillog structure in that case.
3184         * src/faillog.c: Move print_one() closer to print().
3185         * src/faillog.c: reset(), setmax(), set_locktime() can also change
3186         entries of user which do not exist.
3187         * src/faillog.c: reset(), setmax() and set_locktime() shall not
3188         create entries for users which have no entries if the value has to
3189         be set to 0.
3190         * src/faillog.c: reset(), setmax() and set_locktime(): better
3191         handling of users whose entry is outside the faillog file.
3192         * src/faillog.c: Improved option handling. Options can now be
3193         specified in any order.
3194         * src/faillog.c: Improved warnings when options are not
3195         compatible or when the faillog cannot be open with the right mode.
3196         * src/faillog.c: Only fstat the faillog file once.
3197         * man/faillog.8.xml: Improved documentation.
3198
3199 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
3200
3201         * src/gpasswd.c: Remove the documentation of options from the
3202         main() documentation. It will always be outdated here.
3203
3204 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
3205
3206         * src/lastlog.c: lastlog variable renamed to ll to avoid name
3207         clash with the structure.
3208         * src/lastlog.c: check the offset in print_one() so that it is
3209         used for the display of one entry or a set of entries.
3210         * src/lastlog.c: Do not loop over the whole user database when -u
3211         is used with a single user.
3212         * src/lastlog.c: Check the size of the lastlog file so that we
3213         can identify failures to read.
3214
3215 2009-03-13  Mike Frysinger  <vapier@gentoo.org>
3216
3217         * libmisc/salt.c: Removed l64a prototype. The libc declaration is
3218         non static, but the internal definition is static.
3219
3220 2009-03-09  Nicolas François  <nicolas.francois@centraliens.net>
3221
3222         * src/gpasswd.c: log_gpasswd_success_gshadow only exists ifdef
3223         SHADOWGRP.
3224
3225 2009-03-08  Nicolas François  <nicolas.francois@centraliens.net>
3226
3227         * libmisc/getlong.c: Make sure the getlong argument is not empty.
3228         * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
3229         lib/prototypes.h: Added get_uid() and get_gid() to parse user and
3230         group IDs.
3231         * NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set
3232         to -1.
3233         * NEWS, src/newusers.c, src/usermod.c, src/useradd.c,
3234         src/groupmod.c, src/groupadd.c: Make sure no user or group are
3235         created with an ID set to -1.
3236
3237 2009-03-07  Nicolas François  <nicolas.francois@centraliens.net>
3238
3239         * contrib/adduser-old.c, contrib/adduser.c: Do not use the target
3240         of snprintf in one of the format's parameters.
3241
3242 2009-03-07  Nicolas François  <nicolas.francois@centraliens.net>
3243
3244         * man/groupmems.8.xml: groupmems does not create new user.
3245
3246 2009-03-03  Nicolas François  <nicolas.francois@centraliens.net>
3247
3248         * NEWS, po/LINGUAS, po/kk.po: Added Kazakh translation. Thanks to
3249         Timur Birsh <taem@linukz.org>.
3250
3251 2009-02-22  Nicolas François  <nicolas.francois@centraliens.net>
3252
3253         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Avoid calling
3254         getgrent()/getpwent() after they return NULL. This caused LDAP to
3255         return at the beginning of the group/user entries.
3256
3257 2009-01-27  Nicolas François  <nicolas.francois@centraliens.net>
3258
3259         * man/nologin.8.xml: Fix typo (HYSTORY -> HISTORY).
3260
3261 2009-01-26  Nicolas François  <nicolas.francois@centraliens.net>
3262
3263         * NEWS, src/gpasswd.c: Only report success to audit and syslog
3264         when the changes are committed to the system. Do not log failure
3265         for on-memory changes to audit or syslog. Make sure failures and
3266         inconsistencies will be reported in case of unexpected failures
3267         (e.g. malloc failures). Only specify an audit message if it is not
3268         implicitly implied by the type argument. Removed fail_exit
3269         (replaced by atexit(do_cleanups)). Log failures in case of
3270         permission denied.
3271
3272 2009-01-19  Nicolas François  <nicolas.francois@centraliens.net>
3273
3274         * man/login.defs.d/UMASK.xml: Indicate how UMASK is used and
3275         limitations.
3276         * man/limits.5.xml: Remove space before an end of tag.
3277         * man/useradd.8.xml, man/login.defs.d/CREATE_HOME.xml,
3278         man/login.defs.5.xml: Document the CREATE_HOME variable.
3279         * etc/login.defs: Improve the documentation of UMASK.
3280
3281 2009-01-06  Sebastian Rick Rijkers  <srrijkers@gmail.com>
3282
3283         * NEWS, src/su.c: Preserve COLORTERM in addition to TERM when su
3284         is called with the -l option.
3285
3286 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3287
3288         * libmisc/chkname.c: Use a bool when possible instead of integers.
3289         * libmisc/chkname.c: Add brackets and parenthesis.
3290
3291 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3292
3293         * man/groupadd.8.xml, configure.in, man/config.xml.in: Use the
3294         real group name length limit in the documentation.
3295
3296 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3297
3298         * src/Makefile.am: Only link with the needed library. When
3299         compiled with PAM support, chfn, chsh, login, newgrp, passwd, and
3300         su do not need the libcrypt library.
3301
3302 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3303
3304         * libmisc/cleanup_group.c: Fix compilation when compiled without
3305         shadow group support.
3306
3307 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3308
3309         * src/groupdel.c: Remove the fail_exit () declaration.
3310
3311 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
3312
3313         * src/gpasswd.c: Fix the support for usernames with arbitrary
3314         length.
3315
3316 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
3317
3318         * src/groupadd.c, src/groupdel.c, src/groupmod.c: Re-indent.
3319         * src/groupmod.c: Do not add the command synopsis to the main ()
3320         documentation. This avoids outdated information.
3321         * libmisc/chkname.c: Remove outdated comments.
3322
3323 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
3324
3325         * libmisc/audit_help.c: Added audit_logger_message() to log
3326         messages not related to an account.
3327         * lib/prototypes.h, libmisc/cleanup.c, libmisc/cleanup_group.c,
3328         libmisc/cleanup_user.c, libmisc/Makefile.am: Added stack of
3329         cleanup functions to be executed on exit.
3330         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c: Only
3331         report success to audit and syslog when the changes are committed
3332         to the system. Do not log failure for on-memory changes to audit
3333         or syslog. Make sure failures and inconsistencies will be reported
3334         in case of unexpected failures (e.g. malloc failures). Only
3335         specify an audit message if it is not implicitly implied by the
3336         type argument. Removed fail_exit (replaced by atexit(do_cleanups)).
3337
3338 2008-12-15  Nicolas François  <nicolas.francois@centraliens.net>
3339
3340         * NEWS, src/gpasswd.c: Added support usernames with arbitrary
3341         length.
3342
3343 2008-11-27  Mike Frysinger  <vapier@gentoo.org>
3344
3345         * configure.in: Fix the "$enable_acct_tools_setuid" = "yes" test.
3346
3347 2008-11-27  Mike Frysinger  <vapier@gentoo.org>
3348
3349         * NEWS, configure.in, libmisc/chkname.c: make group max length a
3350         configure option.  The configure behavior encoded is:
3351         <no option> -> default of 16 (like today);
3352         --with-group-name-max-length -> default of 16;
3353         --without-group-name-max-length -> no max length;
3354         --with-group-name-max-length=n > max is set to n.
3355
3356 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3357
3358         * src/su.c: (!USE_PAM) Provide visible information indicating that
3359         su was denied.
3360
3361 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3362
3363         * man/su.1.xml: Fix the su synopsis. username is referenced in the
3364         manpage, not LOGIN.
3365         * man/ja/login.1: Fix the path of the utmp and wtmp files.
3366
3367 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3368
3369         * libmisc/chowntty.c: Improve the logs for fchown and fchmod
3370         failures.
3371         * libmisc/chowntty.c: Only closelog() when failure cause an exit.
3372
3373 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3374
3375         * NEWS, libmisc/chowntty.c: Fix a race condition that could lead to
3376         gaining ownership or changing mode of arbitrary files.
3377         * NEWS, libmisc/chowntty.c, libmisc/utmp.c: is_my_tty() moved from
3378         utmp.c to chowntty.c. checkutmp() now only uses an existing utmp
3379         entry if the pid matches and ut_line matches with the current tty.
3380         This fixes a possible DOS when entries can be forged in the utmp
3381         file.
3382         * libmisc/chowntty.c, src/login.c, lib/prototypes.h: Remove the
3383         tty argument from chown_tty. chown_tty always changes stdin and
3384         does not need this argument anymore.
3385
3386 2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>
3387
3388         * man/gshadow.5.xml, man/shadow.5.xml, man/passwd.5.xml,
3389         man/grpck.8.xml: Sorted SEE ALSO references.
3390         * man/gshadow.5.xml: Added reference to grpck(8) and grpconv(8).
3391         * man/pwck.8.xml: Added reference to grpck(8).
3392         * man/shadow.5.xml: Added reference to pwck(8).
3393         * man/passwd.5.xml: Added reference to pwck(8).
3394         * man/grpck.8.xml: Added reference to pwck(8).
3395
3396 2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>
3397
3398         * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence
3399         header.
3400
3401 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3402
3403         * src/login.c: Always check the return value of the pam_* APIs.
3404
3405 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3406
3407         * src/login.c: Use a dynamic buffer for usernames.
3408         * src/login.c: Copy the name of the user authenticated by PAM to
3409         username. This simplify later logging (avoid USE_PAM
3410         conditional).
3411         * src/login.c: Check that no username is specified with -r.
3412         * src/login.c: Make sure a username is specified with -f.
3413         * src/login.c: Explicitly tag the end of the #ifdef RLOGIN
3414         sections.
3415         * src/login.c: Erase the username later since it it used for the
3416         fake password check (in case of empty password).
3417         * src/login.c, man/login.1.xml: the username is not an optional
3418         parameter of -f. Fix the getopt optstring, remove the parsing of
3419         username in the -f processing block, and remove unnecessary checks
3420         (username cannot be parsed twice anymore), better documentation of
3421         the synopsis.
3422
3423 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3424
3425         * src/login.c: Existence of pam_user was already checked. pwd was
3426         already copied to pwent. Remove duplicated code.
3427
3428 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3429
3430         * src/login.c: check_flags() renamed process_flags(). All flag
3431         processing blocs moved to process_flags().
3432
3433 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3434
3435         * src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.
3436
3437 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3438
3439         * src/login.c: Add missing closing }. This was probably never
3440         noticed because UT_ADDR is never defined.
3441         * src/login.c: Re-indent.
3442
3443 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3444
3445         * src/login.c: Do not mix USE_PAM and !USE_PAM code.
3446
3447 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3448
3449         * src/login.c: Use failent_user to log to audit. username is the
3450         caller, not the user login tries to authenticate.
3451         * src/login.c: Use pwd->pw_name instead of pwd->pw_uid. This might
3452         be more precise (name must be unique, uid might not be).
3453
3454 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3455
3456         * man/passwd.1.xml: passwd cannot change the full name of the
3457         user, the user's login shell; but it can change the account or
3458         password validity period. Thanks to Reuben Thomas.
3459
3460 2008-09-14  Nicolas François  <nicolas.francois@centraliens.net>
3461
3462         * src/useradd.c: Added missing declaration of Mflg.
3463         * src/pwck.c: Only unlock files if they were locked before (e.g.
3464         not in read-only mode).
3465         * src/pwck.c: Quote the username in error messages (harmonization
3466         with other messages).
3467         * libmisc/find_new_gid.c: Fixed typo (s/grp->gr_gid/group_id/).
3468         * libmisc/find_new_gid.c: Likewise.
3469
3470 2008-09-13  Nicolas François  <nicolas.francois@centraliens.net>
3471
3472         * libmisc/setugid.c, src/login_nopam.c, src/suauth.c,
3473         lib/getdef.c: Replace the %m format string by strerror(). This
3474         avoids errno to be reset between the system call error and the
3475         report function.
3476
3477 2008-09-13  Nicolas François  <nicolas.francois@centraliens.net>
3478
3479         * lib/commonio.c: Ignore the return value of umask() when the mask
3480         is set to the old value.
3481
3482 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
3483
3484         * NEWS, etc/login.defs: New CREATE_HOME variable to tell useradd
3485         to create a home directory for new users.
3486         * src/useradd.c, man/useradd.8.xml: New -M/--no-create-home option
3487         and CREATE_HOME usage. System accounts are not impacted by
3488         CREATE_HOME.
3489         * man/useradd.8.xml: Indicate that a new group is created by
3490         default.
3491         * src/useradd.c: Removed TODO item (moved to the TODO file).
3492
3493 2008-09-11  Miroslav Kuře  <kurem@debian.cz>
3494
3495         * po/cs.po: Updated Czech translation.
3496
3497 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
3498
3499         * man/login.defs.d/USERGROUPS_ENAB.xml: Fix typo: new <para> tag
3500         before the previous one is closed. This caused a missng
3501         explanation for USERGROUPS_ENAB.
3502
3503 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
3504
3505         * man/groupadd.8.xml: Remove the list of (short) options from the
3506         SYNOPSIS. Replaced with [options] for consistency with other tools
3507         and maintainability.
3508
3509 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3510
3511         From RedHat's patch shadow-4.1.2-sysAccountDownhill.patch
3512         Thanks to Peter Vrabec.
3513         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Build an
3514         index of used IDs to avoid a database request for each id in the
3515         allowed range (when the highest allowed ID is already used).
3516         This speedups the addition of users or groups when the highest
3517         allowed ID is already used. The additional memory usage of the
3518         tools should be acceptable when UID_MAX/SYS_UID_MAX are set to a
3519         reasonable number.
3520
3521 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3522
3523         * configure.in: Fix the dependency of ACCT_TOOLS_SETUID on
3524         USE_PAM. Build failed with --without-libpam.
3525
3526 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3527
3528         * libmisc/copydir.c, configure.in: Check for the presence of
3529         st_mtim and st_mtimensec, as for st_atim and st_atimensec.
3530         * libmisc/copydir.c: Call utimes() after closing the file.
3531
3532 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3533
3534         * src/gpasswd.c: Document the long options in the usage.
3535
3536 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3537
3538         * NEWS: Added configure --enable-account-tools-setuid (default) /
3539         --disable-account-tools-setuid options. This permits to disable
3540         the PAM authentication of the caller for chage, chgpasswd,
3541         chpasswd, groupadd, groupdel, groupmod, newusers, useradd,
3542         userdel, and usermod.  This authentication is not necessary when
3543         these tools are not installed setuid root.
3544         * configure.in: Added option --enable-account-tools-setuid to
3545         enable/disable the usage of PAM to authenticate the callers of
3546         account management tools: chage, chgpasswd, chpasswd, groupadd,
3547         groupdel, groupmod, useradd, userdel, usermod.
3548         * src/Makefile.am: Do not link the above tools with libpam if
3549         account-tools-setuid is disabled.
3550         * src/userdel.c, src/newusers.c, src/chpasswd.c, src/usermod.c,
3551         src/groupdel.c, src/chgpasswd.c, src/useradd.c, src/groupmod.c,
3552         src/groupadd.c, src/chage.c: Implement ACCT_TOOLS_SETUID
3553         (--enable-account-tools-setuid).
3554         * etc/pam.d/Makefile.am: Install the pam service file for the
3555         above tools only when needed.
3556
3557 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3558
3559         * libmisc/tz.c: tz() is only used when USE_PAM is not defined.
3560         * lib/prototypes.h: Indicate functions whose presence depends on
3561         the USE_PAM flag.
3562
3563 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3564
3565         * src/groupmems.c: Call open_files() and close_files().
3566         * src/groupmems.c: Always call check_perms(), which takes care of
3567         checking if --list is used.
3568
3569 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3570
3571         * libmisc/obscure.c: Compare characters to '\0', not NULL.
3572
3573 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3574
3575         * lib/defines.h: Do not include <config.h>. This complicate
3576         undefining some configuration macros when the file is included
3577         multiple times.
3578         * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
3579         libmisc/xgetgrgid.c, libmisc/xgetgrnam.c, libmisc/xgetspnam.c:
3580         Include <config.h> from teh compiled C file, not the included
3581         getXXbyYY.c.
3582
3583 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3584
3585         * src/userdel.c, src/newusers.c, src/chpasswd.c, src/chfn.c,
3586         src/groupmems.c, src/usermod.c, src/groupdel.c, src/chgpasswd.c,
3587         src/useradd.c, src/groupmod.c, src/groupadd.c, src/chage.c,
3588         src/chsh.c: Simplify the PAM error handling. Do not keep the pamh
3589         handle, but terminate the PAM transaction as soon as possible if
3590         there are no PAM session opened. If the username cannot be
3591         determined, report it as such (not a PAM authentication failure).
3592         * src/useradd.c, src/userdel.c, src/usermod.c: It is no more
3593         needed to initialize retval to PAM_SUCCESS.
3594
3595 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3596
3597         * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
3598         src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
3599         src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
3600         src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
3601         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
3602         src/groupadd.c, src/chage.c, src/login.c, src/grpconv.c,
3603         src/groups.c, src/grpunconv.c, src/chsh.c: Prog is now global (not
3604         static to the file) so that it can be used by the helper functions
3605         of libmisc.
3606         * lib/prototypes.h: Added extern char *Prog.
3607         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Indicate the
3608         program name with the warning.
3609
3610 2008-09-05  Nicolas François  <nicolas.francois@centraliens.net>
3611
3612         * configure.in: Check if AUDIT_ADD_USER, AUDIT_DEL_USER,
3613         AUDIT_ADD_GROUP, and AUDIT_DEL_GROUP are defined in <libaudit.h>.
3614
3615 2008-09-04  Nicolas François  <nicolas.francois@centraliens.net>
3616
3617         * src/useradd.c: Fix comment of lflg: it is also used for faillog.
3618
3619 2008-09-04  Nicolas François  <nicolas.francois@centraliens.net>
3620
3621         * NEWS, src/groupmems.c, man/groupmems.8.xml: Document the long
3622         options.
3623
3624 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3625
3626         * lib/prototypes.h, libmisc/audit_help.c: Define new type
3627         shadow_audit_result for the result argument of audit_logger().
3628         This permits stronger type checking and a better readability of
3629         the results (SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS constants).
3630         * src/groupadd.c, src/groupdel.c, src/useradd.c, src/userdel.c:
3631         Use the SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS results instead
3632         of 0 or 1 in audit_logger().
3633
3634 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3635
3636         * src/userdel.c: Log failures to remove the mailbox to syslog and
3637         audit.
3638         * src/userdel.c: Log successful removal of home directory to audit
3639         only in case of success.
3640         * src/userdel.c: Move the audit log of failure to remove the home
3641         directory before the call to function that may exit.
3642         * src/userdel.c: Document that errors is only used to count errors
3643         during the removal of the home directory.
3644
3645 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3646
3647         * src/useradd.c: Log errors to syslog in grp_update() since
3648         changes have started to be reported to syslog.
3649         * src/userdel.c: Fix some result parameters sent to
3650         audit_logger().
3651
3652 2008-09-02  Nicolas François  <nicolas.francois@centraliens.net>
3653
3654         * NEWS: Following changes from a patch contributed by Steve Grubb
3655         <sgrubb@redhat.com>
3656         * src/groupadd.c: Log to audit with type AUDIT_ADD_GROUP instead
3657         of AUDIT_USER_CHAUTHTOK.
3658         * src/groupdel.c: Log to audit with type AUDIT_DEL_GROUP instead 
3659         of AUDIT_USER_CHAUTHTOK.
3660         * src/useradd.c: Log to audit with type AUDIT_ADD_USER /
3661         AUDIT_ADD_GROUP / AUDIT_USYS_CONFIG instead of
3662         AUDIT_USER_CHAUTHTOK.
3663         * src/useradd.c: Add missing logs to audit.
3664         * src/userdel.c: Log to audit with type AUDIT_DEL_USER /
3665         AUDIT_DEL_GROUP instead of AUDIT_USER_CHAUTHTOK.
3666         * src/userdel.c: Add missing logs to audit.
3667
3668 2008-08-31  Nicolas François  <nicolas.francois@centraliens.net>
3669
3670         * src/groupmems.c: Remove duplicated gr_open().
3671
3672 2008-08-30  Nicolas François  <nicolas.francois@centraliens.net>
3673
3674         * man/useradd.8.xml: Document the /etc/default/useradd variables.
3675         * man/useradd.8.xml: Fix the documentation of the GROUP variable
3676         (and -g/--gid option).
3677         * man/useradd.8.xml: Document that -o is only valid with -u
3678
3679 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3680
3681         * shadow.spec.in: Fix the source (new FTP).
3682
3683 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3684
3685         * src/su.c: Add brackets and parenthesis.
3686         * src/su.c: Avoid implicit conversion of pointers to booleans.
3687
3688 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3689
3690         * libmisc/list.c: Remove historical comment.
3691         * libmisc/list.c: Added assertions for non NULL parameters.
3692
3693 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3694
3695         * src/pwconv.c, src/pwunconv.c: Fail if unexpected parameters are
3696         provided.
3697
3698 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3699
3700         * src/passwd.c: Add brackets and parenthesis.
3701         * src/passwd.c: Avoid implicit conversion of pointers to booleans.
3702         * src/passwd.c: Avoid assignments in comparisons.
3703
3704 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3705
3706         * NEWS, src/groupmems.c, man/groupmems.8.xml: Added support for
3707         shadow groups.
3708         * src/groupmems.c: Use fail_exit() instead of exit().
3709
3710 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3711
3712         * src/groupmems.c: The grp structure returned by gr_locate is a
3713         const. Duplicate this structure before working on it.
3714         * src/groupmems.c: Do not fail and do not display warnings if a
3715         close failure happens with the --list option. (Files are opened
3716         read-only).
3717         * src/groupmems.c: Avoid mixed declarations and code.
3718
3719 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3720
3721         * src/gpasswd.c: Replace the 'valid' variable by is_valid to avoid
3722         clashes with the valid() function.
3723
3724 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3725
3726         * libmisc/obscure.c: Add brackets and parenthesis.
3727         * libmisc/obscure.c: Avoid implicit conversion of pointers / chars to
3728         booleans.
3729         * libmisc/obscure.c: Simplify the list of if.
3730
3731 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3732
3733         * src/passwd.c: Fix a typo in the Usage string.
3734
3735 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3736
3737         * src/grpconv.c, src/groups.c: Name the parameters in the
3738         prototypes of the static functions.
3739         * src/grpconv.c, src/grpunconv.c, src/logoutd.c: Fail if
3740         unexpected parameters are provided.
3741         * src/grpconv.c, src/grpunconv.c: Indicate that argc is not used
3742         in the no SHADOWGRP version.
3743
3744 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3745
3746         * src/chgpasswd.c, src/chpasswd.c: Removed variable ok, which is
3747         no more used.
3748
3749 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3750
3751         * src/chage.c: Fix the format for long integers (from %ul to %lu).
3752
3753 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3754
3755         * libmisc/utmp.c: Mark the line and host arguments of setutmp() as
3756         not used in the __linux__ version.
3757
3758 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3759
3760         * lib/nscd.c: Avoid redefinition of _GNU_SOURCE.
3761
3762 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3763
3764         * configure.in: Indentation fix.
3765         * configure.in, src/login.c: Do not use HAVE_PAM_FAIL_DELAY, but
3766         HAS_PAM_FAIL_DELAY, to avoid a redefinition with Linux PAM.
3767
3768 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3769
3770         * src/groupmems.c: Added functions add_user(), remove_user(), and
3771         purge_members() to ease the support of gshadow.
3772
3773 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3774
3775         * src/expiry.c: Use Basename for Prog.
3776         * src/expiry.c: Added missing OPENLOG.
3777
3778 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3779
3780         * lib/nscd.c: Make sure the file is not empty when configured
3781         without nscd support.
3782
3783 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3784
3785         * configure.in: Remove the USE_NSCD AM_CONDITIONAL (USE_NSCD is
3786         not used in any Makefile.am).
3787         * configure.in: Make sure posix_spawn is present when configured
3788         with nscd support.
3789
3790 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3791
3792         * lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Added brackets and
3793         parenthesis.
3794         * lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Avoid assignments
3795         in comparisons.
3796
3797 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3798
3799         * libmisc/mail.c: Added brackets and parenthesis.
3800         * libmisc/mail.c: Avoid assignments in comparisons.
3801
3802 2008-08-26  Tobias Poschwatta  <tp@fonz.de>
3803
3804         * NEWS: Added support for uclibc.
3805         * configure.in, libmisc/copydir.c: futimes() and lutimes() are not
3806         standard. Check if they are implemented before using them. Do not
3807         set the time of links if lutimes() does not exist, and use
3808         utimes() as a replacement for futimes().
3809         * configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd and
3810         --without-nscd flags to support systems without nscd.
3811         * lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c:
3812         Include <sys/types.h> before <pwd.h> and <grp.h>. It is necessary
3813         for the definition of uid_t and gid_t.
3814         * lib/pwmem.c: do not include <pwd.h>, "pwio.h" is sufficient
3815         here.
3816         * configure.in: Check if the stat structure has a st_atim or
3817         st_atimensec field.
3818         * libmisc/copydir.c: Conditionally use the stat's st_atim and
3819         st_atimensec fields.
3820
3821 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3822
3823         * src/groupmems.c: Handle the options alphabetically.
3824
3825 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3826
3827         * src/groupmems.c: When removing an user, check if deluser is on
3828         the list, not adduser. This fixes a segmentation fault for every
3829         call of groupmems -d.
3830         * libmisc/list.c: Add assertions to help identifying these issues.
3831         * libmisc/list.c: Avoid implicit conversion of pointers to
3832         booleans.
3833
3834 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3835
3836         * NEWS, src/groupmems.c: Use the "groupmems" PAM service name
3837         instead of "groupmod".
3838
3839 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3840
3841         * src/chfn.c: Merge some translated messages.
3842         * src/groupmems.c, src/groupadd.c, src/gpasswd.c, src/chsh.c,
3843         src/chfn.c: Harmonize *_update() failure messages.
3844         * src/groupmems.c: Harmonize gr_close() failure messages.
3845         * src/newgrp.c: Harmonize "unknown GID" messages.
3846         * src/newusers.c: Move the pwd declaration to a inner block scope.
3847
3848 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3849
3850         * src/useradd.c: Harmonize some error messages.
3851         * src/userdel.c: Add log to syslog when the mail file could not be
3852         removed.
3853         * src/userdel.c: Give more context an error message (merge with
3854         perror()).
3855         * src/usermod.c: Harmonize some error messages.
3856
3857 2008-08-25  Nicolas François  <nicolas.francois@centraliens.net>
3858
3859         * src/groupmems.c: Check the return value of gr_update().
3860         * src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
3861         src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupmems.c,
3862         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
3863         src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c,
3864         src/useradd.c, src/userdel.c, src/usermod.c: Harmonize the error
3865         message sent to stderr in case of *_update () failure.
3866         * src/chage.c, src/chsh.c, src/groupadd.c, src/passwd.c: Do not
3867         log to syslog when pw_update() or spw_update() fail.
3868         * src/newusers.c: Do not log specific error message to stderr when
3869         sgr_update() fails.
3870         * src/pwconv.c: Remove duplicated definition of Prog.
3871
3872 2008-08-25  Nicolas François  <nicolas.francois@centraliens.net>
3873
3874         * src/chfn.c, src/chsh.c, src/expiry.c, src/gpasswd.c,
3875         src/newgrp.c, src/passwd.c, src/su.c: Use the same stderr and
3876         syslog warnings when the username cannot be determined.
3877         * src/newgrp.c: Reuse the same stderr message for groups which do
3878         not exist in the system.
3879
3880 2008-08-21  Nicolas François  <nicolas.francois@centraliens.net>
3881
3882         * src/usermod.c: Log errors while *_close to syslog.
3883
3884 2008-08-21  Nicolas François  <nicolas.francois@centraliens.net>
3885
3886         * src/grpconv.c: Use Basename for the definition of Prog. Prog
3887         needs a file visibility.
3888         * src/grpunconv.c: Likewise.
3889
3890 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
3891
3892         * src/chfn.c: Do not exit on pw_unlock failures.
3893         * src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c,
3894         src/vipw.c: Open syslog with the right identification name.
3895         * src/vipw.c: Log unlock errors to syslog.
3896         * src/vipw.c: Log edits to syslog.
3897         * src/chage.c, src/chfn.c, src/chsh.c, src/gpasswd.c,
3898         src/groupadd.c, src/groupdel.c, src/groupmod.c, src/grpconv.c,
3899         src/grpunconv.c, src/passwd.c, src/pwck.c, src/pwunconv.c,
3900         src/useradd.c, src/usermod.c: Harmonize the syslog levels. Failure
3901         to close or unlock are errors. Failure to open files are warnings.
3902
3903 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
3904
3905         * src/newusers.c: Open syslog with the right identification name.
3906         * src/newusers.c: Mark the files as locked only if they are really
3907         locked (i.e. if shadow is not enabled, the files are not locked).
3908
3909 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
3910
3911         * NEWS, src/gpasswd.c: Use getopt_long instead of getopt. Added
3912         support for long options --add (-a), --delete (-d),
3913         --remove-password (-r), --restrict (-R), --administrators (-A),
3914         and --members (-M) 
3915         * man/gpasswd.1.xml: Document the new long options.
3916         * src/gpasswd.c: The sgrp structure is only used if SHADOWGRP is
3917         defined.
3918
3919 2008-08-18  Nicolas François  <nicolas.francois@centraliens.net>
3920
3921         * src/grpck.c: Added function fail_exit(). Check failure to unlock
3922         files. Report errors to stderr and syslog, but continue.
3923         * src/grpconv.c: Check failure to unlock files. Report errors to
3924         stderr and syslog, but continue.
3925
3926 2008-08-18  Nicolas François  <nicolas.francois@centraliens.net>
3927
3928         * src/passwd.c: Check failure to unlock files. Report errors to
3929         stderr and syslog, but continue.
3930
3931 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
3932
3933         * src/chfn.c, src/chgpasswd.c, src/chpasswd.c, src/gpasswd.c,
3934         src/groupadd.c, src/groupdel.c, src/groupmems.c, src/groupmod.c,
3935         src/grpconv.c, src/grpunconv.c, src/newusers.c, src/pwconv.c,
3936         src/pwunconv.c, src/useradd.c, src/userdel.c: Harmonize the name
3937         of the variables keeping the lock status, to match the shadow
3938         library prefixes.
3939
3940 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
3941
3942         * src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c,
3943         src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmems.c,
3944         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
3945         src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
3946         src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c: In
3947         case of a lock failure, indicate to the user that she can try
3948         again later. Do not log to syslog.
3949
3950 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
3951
3952         * NEWS, src/passwd.c: For compatibility with other passwd version,
3953         the --lock an --unlock options do not lock or unlock the user
3954         account anymore.  They only lock or unlock the user's password.
3955         * man/passwd.1.xml: Document above change. Document how an account
3956         can be locked and what a password lock means.
3957
3958 2008-08-15  Nicolas François  <nicolas.francois@centraliens.net>
3959
3960         * man/groupadd.8.xml: Fix the regular expression for group policy.
3961         The final $ character is optional.
3962         * man/groupadd.8.xml: Likewise.
3963         * man/groupadd.8.xml: Indicate the maximum size of usernames.
3964
3965 2008-08-15  Nicolas François  <nicolas.francois@centraliens.net>
3966
3967         * man/po/pl.po: Fix typo in the Polish translation (see
3968         http://bugs.debian.org/491460)
3969
3970 2008-08-13  Nicolas François  <nicolas.francois@centraliens.net>
3971
3972         * man/pl/Makefile.am: Do not build the Polish translation of
3973         login.1 and su.1 (not enough translated). See
3974         http://bugs.debian.org/491460
3975
3976 2008-08-13  Nicolas François  <nicolas.francois@centraliens.net>
3977
3978         * man/shadow.5.xml: Fix typo. The password must be changed before
3979         the maximum number of days, not after.
3980
3981 2008-08-09  Nicolas François  <nicolas.francois@centraliens.net>
3982
3983         * src/groupmems.c: Harmonize the unlock failure messages.
3984
3985 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3986
3987         * src/pwck.c: Added fail_exit().
3988         * src/pwck.c: Report failure to unlock files to stderr and
3989         syslog.
3990         * src/pwck.c: Report failure to sort to stderr, and exit with
3991         E_CANTSORT.
3992         * man/pwck.8.xml: Document return code 6 (E_CANTSORT).
3993
3994 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3995
3996         * src/vipw.c: Report failures to remove files to stderr.
3997         * src/vipw.c: Report failures to unlock files to stderr.
3998
3999 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4000
4001         * NEWS, src/groupmems.c: Added syslog support.
4002         * src/groupmems.c: members() renamed display_members() to
4003         avoid name clash with its members argument.
4004         * src/groupmems.c: Report failure to unlock to syslog.
4005         * src/groupmems.c: Harmonize error messages.
4006         * src/groupmems.c: Report failures to write the new group file to
4007         syslog (gr_close() failure).
4008         * src/groupmems.c: Don't use fail_exit for non-failure exit.
4009
4010 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4011
4012         * src/chsh.c: Added fail_exit().
4013         * src/chsh.c: Use fail_exit() instead of exit(), this avoid
4014         calling closelog() every times.
4015         * src/chsh.c: Ignore the return value or pam_end().
4016         * src/chsh.c: Simplify the PAM error handling.
4017         * src/chsh.c: Report failure to unlock files to stderr and
4018         syslog.
4019
4020 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4021
4022         * src/chpasswd.c: Added fail_exit().
4023         * src/chpasswd.c: Added support for syslog.
4024         * src/chpasswd.c: Report failure to unlock files to stderr and
4025         syslog.
4026         * src/chpasswd.c: Simplify the PAM error handling.
4027         * src/chpasswd.c: Report failure during *_close() to syslog.
4028         * src/chpasswd.c: Ignore the return value or pam_end().
4029
4030 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4031
4032         * src/chgpasswd.c: Added fail_exit().
4033         * src/chgpasswd.c: Added support for syslog.
4034         * src/chgpasswd.c: Report failure to unlock files to stderr and
4035         syslog.
4036         * src/chgpasswd.c: Simplify the PAM error handling.
4037         * src/chgpasswd.c: Report failure during *_close() to syslog.
4038         * src/chgpasswd.c: Ignore the return value or pam_end().
4039
4040 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4041
4042         * src/userdel.c: Report failure to remove entries from group or
4043         gshadow to stderr.
4044         * src/userdel.c: Fail in case of failure during the write of a
4045         user or group database. Report errors to syslog.
4046         * src/userdel.c: Do not unlock non locked files.
4047         * src/userdel.c: Report failure to unlock the passwd or shadow
4048         file to stderr and syslog.
4049
4050 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4051
4052         * src/pwunconv.c: Report failure to unlock the passwd or shadow
4053         file to stderr and syslog.
4054
4055 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4056
4057         * src/usermod.c: Report failure to unlock files to stderr and
4058         syslog.
4059
4060 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4061
4062         * src/newusers.c: Report failure to unlock files to stderr and
4063         syslog.
4064         * src/newusers.c: In case of error when files are open or closed,
4065         indicate the failing file.
4066         * src/newusers.c: Do not try to unlock the files manually since
4067         this is done in fail_exit.
4068
4069 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4070
4071         * src/chage.c: Report failure to unlock the passwd or shadow file
4072         to stderr and syslog.
4073
4074 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4075
4076         * src/pwconv.c: Report failure to unlock the passwd or shadow file
4077         to stderr and syslog.
4078         * src/pwconv.c: Report failure to chmod the backup file.
4079
4080 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4081
4082         * src/grpunconv.c: Report failure to unlock the group or gshadow
4083         files to stderr and syslog.
4084
4085 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4086
4087         * src/chfn.c: Added fail_exit(). Check if the passwd file is
4088         locked. Report failures to unlock to stderr and syslog.
4089         * src/chfn.c: Is case of failure, use fail_exit() rather than
4090         exit().
4091         * src/chfn.c: Ignore the return value of pam_end().
4092
4093 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4094
4095         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h,
4096         lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
4097         Added *_dbname() functions to retrieve the name of the databases.
4098         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h,
4099         lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
4100         *_name() functions renamed *setname().
4101         * src/grpck.c, src/pwck.c: Likewise.
4102         * lib/groupio.h, lib/pwio.h, lib/sgroupio.h, lib/shadowio.h: Added
4103         the name of the arguments to the prototypes.
4104         * src/chage, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
4105         src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c,
4106         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
4107         src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
4108         src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c:
4109         Harmonize the erro & syslog messages in case of failure of the
4110         *_lock(), *_open(), *_close(), *_unlock(), *_remove() functions.
4111         * src/chgpasswd.c, src/chpasswd.c, src/usermod.c: Avoid
4112         capitalized messages.
4113         * src/chpasswd.c, src/useradd.c, src/usermod.c: Harmonize messages
4114         in case of inexistent entries.
4115         * src/usermod.c:  Harmonize messages in case of already existing
4116         entries.
4117         * src/newusers.c, src/useradd.c: Simplify PAM error handling.
4118         * src/useradd.c: Report failures to unlock files (stderr, syslog,
4119         and audit). But do not fail (continue).
4120         * src/useradd.c (open_files): Do not report to syslog & audit
4121         failures to lock or open the databases. This might be harmless,
4122         and the logs were not already informed that a change was
4123         requested.
4124         * src/usermod.c: It's not the account which is unlocked, but its
4125         password.
4126
4127 2008-08-02  Nicolas François  <nicolas.francois@centraliens.net>
4128
4129         * src/groupadd.c: Harmonize error & syslog messages.
4130         * src/groupadd.c: Add logging to syslog & audit on lock/unlock
4131         failures.
4132         * src/groupadd.c: Only call gr_unlock() and sgr_unlock() in the
4133         group or gshadow files were previously locked.
4134         * src/groupadd.c: Make sure failures are reported to syslog/audit
4135         after the change is mentioned.
4136         * src/groupmod.c: Harmonize error & syslog messages.
4137         * src/groupmod.c: Add logging to syslog & audit on lock/unlock
4138         failures.
4139         * src/groupmod.c: Make sure issues are reported to syslog or audit
4140         after the change is mentioned.
4141         * src/groupdel.c: Harmonize error & syslog messages.
4142         * src/groupdel.c: Add logging to syslog & audit on lock/unlock
4143         failures.
4144         * src/groupdel.c: Only call gr_unlock() and sgr_unlock() in the
4145         group or gshadow files were previously locked.
4146         * src/groupdel.c: Simplify the handling of PAM errors.
4147
4148 2008-08-01  Nicolas François  <nicolas.francois@centraliens.net>
4149
4150         * src/gpasswd.c: Harmonize error & syslog messages.
4151         * src/gpasswd.c: Warn and log to syslog and audit when group or
4152         gshadow cannot be unlocked, but do not fail.
4153
4154 2008-08-01  Nicolas François  <nicolas.francois@centraliens.net>
4155
4156         * src/chfn.c, src/chsh.c, src/groupdel.c, src/groupmems.c,
4157         src/groupmod.c, src/grpck.c, src/login.c, src/logoutd.c,
4158         src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c,
4159         src/suauth.c, src/useradd.c, src/userdel.c, src/usermod.c,
4160         src/vipw.c: Complete the switch from the `' quotation style to ''.
4161         Do it also in SYSLOG messages. Quote some parameters. All this
4162         permits to merge some messages.
4163
4164 2008-07-30  Lukáš Kuklínek  <lkukline@redhat.com>
4165
4166         * src/groupmems.c: Only check if the adduser user exists when an
4167         user is specified with -a.
4168
4169 2008-07-30  Nicolas François  <nicolas.francois@centraliens.net>
4170
4171         * src/groupmems.c: Fix the groupmems' usage message. The -D option
4172         is in fact -p.
4173
4174 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4175
4176         * src/groupmems.c: Replace an if test by an else.
4177
4178 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4179
4180         * src/groupmems.c: Ignore the return value of fputs().
4181
4182 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4183
4184         * src/groupmems.c (whoami): Make sure usr and grp are not NULL
4185         before dereferencing them.
4186
4187 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4188
4189         * src/groupmems.c: Use xstrdup() rather than strdup().
4190
4191 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4192
4193         * src/groupmems.c: Add parenthesis.
4194         * src/groupmems.c: Avoid implicit conversion of pointers / chars to
4195         booleans.
4196
4197 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4198
4199         * NEWS, src/groupmems.c: Allow everybody to list the users of a group.
4200         This information is publicly available in /etc/group.
4201         * NEWS, src/groupmems.c: Open /etc/group read only for the -l option.
4202
4203 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4204
4205         * man/groupmems.8.xml: Sort options alphabetically.
4206
4207 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4208
4209         * src/groupmems.c (check_perms): Simplify. Always call pam_end()
4210         at the end of the authentication.
4211
4212 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4213
4214         * src/groupmems.c: Add fail_exit() to remove the group lock file
4215         in case of failure. Replace the calls to exit() by fail_exit().
4216
4217 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4218
4219         * src/groupmems.c: Reduce the number of checks. Isolate the
4220         parameters setting and permissions checking.
4221
4222 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4223
4224         * src/groupmems.c: Add functions process_flags() and check_perms()
4225         from code of main().
4226         * src/groupmems.c: Harmonize the failure message in case of PAM
4227         failure with the other programs.
4228
4229 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4230
4231         * src/groupmems.c: Remove isgroup(), which always returns TRUE.
4232
4233 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4234
4235         * src/groupmems.c: Reuse the functions from libmisc/list.c to deal
4236         with user lists. addtogroup() was broken when realloc() move the
4237         memory area.
4238         * src/groupmems.c: Report failures with the name of the program.
4239
4240 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4241
4242         * src/groupmems.c: EXIT_READ_GROUP changed to EXIT_INVALID_GROUP.
4243         * src/groupmems.c: EXIT_INVALID_USERNAME changed to EXIT_INVALID_USER.
4244
4245 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
4246
4247         * src/groupmems.c: Really use booleans.
4248         * src/groupmems.c: Change isroot() to a macro that returns a
4249         boolean.
4250
4251 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
4252
4253         * lib/defines.h: Make sure the booleans are defined before using
4254         them.
4255
4256 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
4257
4258         * src/groupmems.c: Added Prog global variable to indicate the name
4259         of the program in error messages.
4260
4261 2008-07-22  Lukáš Kuklínek  <lkukline@redhat.com>
4262
4263         * NEWS, src/groupmems.c: Check if the user added to group actually
4264         exist. RedHat bug #455603
4265         * NEWS, src/groupmems.c: Check if the group exists in the group
4266         local database (/etc/group). RedHat bug #456088
4267
4268 2008-07-22  Nicolas François  <nicolas.francois@centraliens.net>
4269
4270         * lib/prototypes.h: Fix getrange prototype.
4271
4272 2008-07-21  Seraphim Mellos  <mellos@ceid.upatras.gr>
4273
4274         * README, NEWS, configure.in, lib/pam_defs.h, src/login.c: Add
4275         support for OpenPAM.
4276
4277 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
4278
4279         * src/chage.c: Ignore the return value of pam_end() before exiting.
4280         * src/chage.c: Ignore return values of strftime(), snprintf(),
4281         puts(), printf(), and fputs().
4282         * src/chage.c: Check the return value of asctime().
4283
4284 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
4285
4286         * lib/gshadow.c: Avoid assignments in comparison.
4287
4288 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
4289
4290         * ChangeLog, NEWS, src/login.c: Re-inject the changes from 4.1.2.1.
4291
4292 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
4293
4294         * src/usermod.c: Do not call usr_update() if it will have no
4295         effects. This avoid checking if the user exists in the local passwd
4296         file if not necessary, and thus allow to add LDAP users to local
4297         groups. (The user is already checked against the system
4298         configuration with getpwnam()). Thanks to Dan Kopecek.
4299
4300 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
4301
4302         * src/usermod.c: Split update_files() into update_lastlog() and
4303         update_faillog(). Report errors (but don't fail) if the file
4304         exist, but open(), lseek(), read(), write(), or close() fails.
4305         * src/usermod.c: Add brackets and parenthesis.
4306         * src/usermod.c: Ignore the return value of pam_end() before
4307         exiting.
4308         * src/usermod.c: Ignore the return value of strftime(),
4309         snprintf(), and puts().
4310         * src/usermod.c: Check the return value of gmtime() and asctime(),
4311         and output the raw time_t on failures.
4312
4313 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
4314
4315         * libmisc/setugid.c: Add brackets.
4316
4317 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
4318
4319         * libmisc/env.c: Avoid implicit conversion of pointers / chars to
4320         booleans.
4321         * libmisc/env.c: Add brackets and parenthesis.
4322         * libmisc/env.c: Ignore the return value of puts() and fputs().
4323         * libmisc/env.c: Avoid multi-statements lines.
4324
4325 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
4326
4327         * libmisc/utmp.c: Avoid implicit conversion of pointers / chars to
4328         booleans.
4329         * libmisc/utmp.c: Add brackets and parenthesis.
4330         * libmisc/utmp.c: Exit with the EXIT_FAILURE status code in case
4331         of failure.
4332         * libmisc/utmp.c: Avoid assignments in comparisons.
4333         * lib/prototypes.h, libmisc/utmp.c: Change setutmp()'s prototype
4334         to return an int because pututline() and pututxline() may fail.
4335
4336 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
4337
4338         * libmisc/audit_help.c: Added one string for translation.
4339         * po/POTFILES.in: Added libmisc/audit_help.c,
4340         libmisc/find_new_gid.c, libmisc/find_new_uid.c, libmisc/getlong.c,
4341         libmisc/getrange.c, libmisc/xgetXXbyYY.c, and libmisc/yesno.c.
4342         Removed libmisc/find_new_ids.c
4343
4344 2008-06-16  Nicolas François  <nicolas.francois@centraliens.net>
4345
4346         * src/useradd.c: If the faillog file exist, warn in case of
4347         failure when open(), lssek(), write() or close() fails when the
4348         new user's faillog entry is reset.
4349         * src/useradd.c: Ditto for the lastlog entry.
4350
4351 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4352
4353         * libmisc/limits.c: Add brackets and parenthesis.
4354         * libmisc/limits.c: Avoid implicit conversion of pointers /
4355         integers to booleans.
4356         * libmisc/limits.c: Ignore the return value of umask(). We will
4357         never return to the original umask.
4358         * libmisc/limits.c: Avoid multi-statements lines.
4359         * libmisc/limits.c: Added default to a switch(). Report invalid
4360         limit strings to syslog.
4361         * libmisc/limits.c: Ignore the return value of fclose().
4362         /etc/limits is open read-only.
4363         * libmisc/limits.c: Ignore the return value of fputs() and
4364         sleep().
4365         * libmisc/limits.c: Check the return value of nice() and
4366         set_filesize_limit(), and report errors to syslog.
4367
4368 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4369
4370         * libmisc/ulimit.c, lib/prototypes.h: Return failures of
4371         set_filesize_limit(). Change the prototype to return an int
4372         instead of void.
4373
4374 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4375
4376         * libmisc/failure.c: Try to close the open file if a failure
4377         occured during lseek(), read() or write().
4378
4379 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4380
4381         * libmisc/log.c: Check return values. If lseek() failed, avoid
4382         reading or writing at an unspecified location. Log to syslog in
4383         case of failure.
4384         * libmisc/log.c: Use the right casts.
4385
4386 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4387
4388         * libmisc/find_new_ids.c, libmisc/find_new_gid.c,
4389         libmisc/find_new_uid.c, libmisc/Makefile.am, lib/prototypes.h:
4390         Split find_new_ids.c into find_new_gid.c and find_new_uid.c to
4391         ease the description of login.defs variables in the different
4392         tools.
4393
4394 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4395
4396         * libmisc/failure.c: Ignore the return value of strftime() and
4397         printf().
4398         * libmisc/failure.c: Fix syslog call. The UID is not available.
4399         User the username specified in the utmp/utmpx entry.
4400
4401 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4402
4403         * lib/defines.h: Avoid implicit conversion of pointers to
4404         booleans.
4405         * lib/defines.h: Ignore return values of setlocale() except the
4406         first call.
4407         * lib/defines.h: Fix a splint observer warning by using an
4408         intermediate variable (old_locale).
4409
4410 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4411
4412         * libmisc/failure.c: Check return values. If lseek() failed, avoid
4413         reading or writing at an unspecified location. Log to syslog in
4414         case of failure when reading a faillog entry or writing in
4415         faillog or btmp.
4416         * libmisc/failure.c: Check if the file exist before opening it.
4417         * libmisc/failure.c: Log failures of open() and close() when
4418         necessary.
4419
4420 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4421
4422         * lib/prototypes.h: Add the getrange() prototype.
4423         * lib/prototypes.h: Fix the valid_field() prototype (does not
4424         return an bool).
4425         * lib/prototypes.h: Fix the valid() prototype (it does return a
4426         bool).
4427
4428 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4429
4430         * lib/getdef.c: Fix the getdef_ulong() prototype.
4431         * lib/getdef.h: Fix the getdef_ulong() prototype.
4432
4433 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4434
4435         * src/lastlog.c: Use getrange to parse the range of users.
4436         * src/lastlog.c: umin and umax do not need to be signed long. Use
4437         an unsigned long which might be needed to parse a GID or UID. Add
4438         the has_umin and has_umax to replace the -1 values.
4439         * src/lastlog.c: Cast dates to time_t.
4440         * src/lastlog.c: Prefix lastlog errors with "lastlog: ".
4441
4442 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4443
4444         * libmisc/getlong.c: Reset errno before calling strtol().
4445         Otherwise, errno could be already set to ERANGE.
4446
4447 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4448
4449         * libmisc/Makefile.am, libmisc/getrange.c: Added function to parse
4450         a range (useful for lastlog).
4451
4452 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4453
4454         * src/chsh.c: <signal.h> is not needed.
4455
4456 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4457
4458         * lib/prototypes.h: Define AUDIT_NO_ID to (unsigned int) -1. This
4459         value should be used when the ID should not be considered.
4460         * lib/prototypes.h: Fix the prototype of do_rlogin() according to
4461         earlier changes.
4462
4463 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4464
4465         * lib/shadow.c: Use SHADOW_SP_FLAG_UNSET for the initial
4466         value of spwd.sp_flag.
4467         * lib/shadow.c: Add brackets.
4468         * lib/shadow.c: Avoid implicit conversion of pointers to
4469         booleans.
4470         * lib/shadow.c: The size argument of fgets is an int, not a
4471         size_t.
4472
4473 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4474
4475         * lib/commonio.c: len should be typed ssize_t as it is the return
4476         of read(), and is compared to 0. Cast to size_t when necessary.
4477
4478 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4479
4480         * libmisc/find_new_ids.c: Use getdef_ulong to retrieve UIDs/GIDs
4481         from login.defs. Type constants to long integers.
4482
4483 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4484
4485         * lib/gshadow.c: Use a bool when possible instead of int integers.
4486         * lib/gshadow.c: Remove __setsgNIS() -never used).
4487         * lib/gshadow.c: Avoid multi-statements lines.
4488         * lib/gshadow.c: Avoid assignments in comparisons.
4489         * lib/gshadow.c: ptr[nelem] is a string. Initialize it to NULL
4490         instead of '\0'.
4491         * lib/gshadow.c: Add brackets and parenthesis.
4492         * lib/gshadow.c: The size argument of strncpy is a size_t and the
4493         size argument of fgets is an int.
4494
4495 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4496
4497         * lib/groupio.c: Add brackets.
4498         * lib/groupio.c: Make sure malloc receives a size_t.
4499         * lib/groupio.c: Avoid multi-statements lines.
4500
4501 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4502
4503         * lib/sgetspent.c: Use SHADOW_SP_FLAG_UNSET for the initial
4504         value of spwd.sp_flag.
4505
4506 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4507
4508         * lib/getdef.h, lib/getdef.c: Add getdef_ulong().
4509         * lib/getdef.c: Added TODOs because of lack of error checking.
4510         * lib/getdef.c: The size argument of fgets is an int, not a
4511         size_t.
4512         * lib/getdef.c: Avoid multi-statements lines.
4513
4514 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4515
4516         * src/id.c: Make sure malloc receives a size_t.
4517         * src/id.c: Use a %lu format and cast group and user IDs to
4518         unsigned long integers.
4519
4520 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4521
4522         * src/sulogin.c: Ignore the return value of signal().
4523
4524 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4525
4526         * src/groups.c: sys_ngroups is only used when HAVE_GETGROUPS is
4527         defined.
4528
4529 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4530
4531         * src/faillog.c: Ignore return value of time() when use with a
4532         non NULL argument.
4533         * src/faillog.c: Use a %lu format and cast number of days to
4534         unsigned long integers.
4535         * src/faillog.c: Cast dates to time_t.
4536
4537 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4538
4539         * src/login.c: Ignore the return value of signal().
4540         * src/login.c: Use a %lu format and cast group and user IDs to
4541         unsigned long integers.
4542         * src/login.c: Ignore return value of setlocale(),
4543         bindtextdomain(), and textdomain().
4544
4545 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4546
4547         * src/chage.c: Add the arguments' names in the functions
4548         prototypes.
4549         * src/chage.c: The ID argument of audit_logger is an unsigned
4550         int. Use AUDIT_NO_ID instead of -1.
4551         * src/chage.c: print_date() received a time_t.
4552         * src/chage.c: Use SHADOW_SP_FLAG_UNSET for the initial
4553         value of spwent.sp_flag.
4554
4555 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4556
4557         * src/groupadd.c: The ID argument of audit_logger is an unsigned
4558         int. Use AUDIT_NO_ID instead of -1.
4559         * src/groupadd.c: Cast the parsed GID/UID to a gid_t/uid_t.
4560
4561 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4562
4563         * src/pwck.c: Use a %lu format and cast group and user IDs to
4564         unsigned long integers.
4565         * src/pwck.c: Cast number of days to a long integer.
4566         * src/pwck.c: Use the SCALE macro instead of (24L * 3600L)
4567         for the values to be set in /etc/shadow.
4568         * src/pwck.c: Use SHADOW_SP_FLAG_UNSET for the initial
4569         value of spent.sp_flag.
4570
4571 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4572
4573         * src/passwd.c: Ignore return value of time() when use with a
4574         non NULL argument.
4575         * src/passwd.c: Cast number of days to a long integer.
4576
4577 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4578
4579         * src/groupmod.c: The ID argument of audit_logger is an unsigned
4580         int. Use AUDIT_NO_ID instead of -1.
4581         * src/groupmod.c:  Use a %lu format and cast group and user IDs to
4582         unsigned long integers.
4583         * src/groupmod.c: Cast the parsed GID/UID to a gid_t/uid_t.
4584
4585 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4586
4587         * src/useradd.c: The ID argument of audit_logger is an unsigned
4588         int. Use AUDIT_NO_ID instead of -1.
4589         * src/useradd.c: Cast the parsed GID/UID to a gid_t/uid_t.
4590         * src/useradd.c: The size argument of fgets is an int, not a
4591         size_t.
4592         * src/useradd.c: Cast number of days to a long integer.
4593         * src/useradd.c: Use SHADOW_SP_FLAG_UNSET for the initial
4594         value of spent.sp_flag.
4595         * src/useradd.c: Use a %lu format and cast group and user IDs to
4596         unsigned long integers.
4597
4598 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4599
4600         * src/su.c: fork() and waitpid() return a pid_t, not an int.
4601         * src/su.c: Add brackets and parenthesis.
4602         * src/su.c: Ignore the return value of signal().
4603
4604 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4605
4606         * src/groupdel.c: The ID argument of audit_logger is an unsigned
4607         int. Use AUDIT_NO_ID instead of -1.
4608
4609 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4610
4611         * src/expiry.c: Ignore the return value of signal().
4612
4613 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4614
4615         * src/newusers.c: Fix the check for GID/UID validity.
4616         * src/newusers.c: Comment why we use both getgrgid() and
4617         gr_locate_gid().
4618         * src/newusers.c: Cast the parsed GID/UID to a gid_t/uid_t.
4619         * src/newusers.c: Cast the number of days to a long integer.
4620         * src/newusers.c: Use SHADOW_SP_FLAG_UNSET for the initial
4621         value of spent.sp_flag.
4622         * src/newusers.c: The size argument of fgets is an int, not a
4623         size_t.
4624
4625 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4626
4627         * src/usermod.c: Cast dates to time_t, and number of days to a
4628         long integer.
4629         * src/usermod.c: Cast UIDs and GIDs to uid_t and gid_t after
4630         checking the ranges.
4631         * src/usermod.c: The ID argument of audit_logger is an unsigned
4632         int.
4633         * src/usermod.c: read() returns a ssize_t.
4634         * src/usermod.c: Cast the return value of malloc and make sure it
4635         receives a size_t.
4636
4637 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4638
4639         * src/logoutd.c: Ignore return value of time() when use with a
4640         non NULL argument.
4641
4642 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4643
4644         * src/pwconv.c: Use SHADOW_SP_FLAG_UNSET for the initial
4645         value of sp.sp_flag.
4646         * src/pwconv.c: Cast number of days to a long integer.
4647
4648 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4649
4650         * src/gpasswd.c: The ID argument of audit_logger is an unsigned
4651         int.
4652         * src/gpasswd.c: Ignore the return value of signal(). The signal
4653         handlers are only changed for the last steps of gpasswd, and there
4654         is no need to restore them.
4655
4656 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4657
4658         * src/userdel.c: The ID argument of audit_logger is an unsigned
4659         int.
4660         * src/userdel.c: fork() and wait() return a pid_t, not an int.
4661
4662 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4663
4664         * src/newgrp.c: Use a %lu format and cast group and user IDs to
4665         unsigned long integers.
4666         * src/newgrp.c: The ID argument of audit_logger is an unsigned
4667         int.
4668         * src/newgrp.c: Ignore the return value of signal() (the signal
4669         handlers are assumed to be the default one and are restored
4670         later).
4671         * src/newgrp.c: Do not checl if a pid_t is < 0, check if equal
4672         to (pid_t)-1.
4673
4674 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4675
4676         * libmisc/isexpired.c: Cast number of days to a long integer.
4677         * libmisc/isexpired.c: Add brackets and parenthesis.
4678
4679 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4680
4681         * libmisc/copydir.c: Do not specify a size of arrays in the
4682         prototypes.
4683         * libmisc/copydir.c: Use a size_t for the length of strings.
4684         * libmisc/copydir.c: Cast the return value of malloc().
4685         * libmisc/copydir.c: The size argument of write() is a size_t.
4686
4687 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4688
4689         * libmisc/pwd2spwd.c: Cast number of days to a long integer.
4690         * libmisc/pwd2spwd.c: Use SHADOW_SP_FLAG_UNSET for the initial
4691         value of sp.sp_flag.
4692
4693 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4694
4695         * lib/defines.h: Include <config.h> since it uses the macro that
4696         might be defined in this header file.
4697         * lib/defines.h: Prefer checking if HAVE_LOCALE_H or ENABLE_NLS
4698         are defined (rather than set to non 0).
4699         * lib/defines.h: The dummy implementations of bindtextdomain() and
4700         textdomain() should return a pointer. Return NULL instead of
4701         /* empty */
4702         * lib/defines.h: Define SHADOW_SP_FLAG_UNSET, to be used for the
4703         initialization of sp_flag field of the shadow structures.
4704         * lib/defines.h: Define LC_ALL, needed even if HAVE_LOCALE_H is
4705         not defined.
4706
4707 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4708
4709         * libmisc/sulog.c: Ignore the return value of umask() when the
4710         mask is restored.
4711         * libmisc/sulog.c: Add brackets.
4712         * libmisc/sulog.c: Ignore return value of time() when use with a
4713         non NULL argument.
4714
4715 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4716
4717         * libmisc/log.c: Avoid assignments in comparisons.
4718         * libmisc/log.c: Add brackets and parenthesis.
4719         * libmisc/log.c: read() returns a ssize_t (note size_t).
4720         * libmisc/log.c: Avoid implicit conversion of pointers to
4721         booleans.
4722         * libmisc/log.c: Ignore return value of time() when use with a
4723         non NULL argument.
4724
4725 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4726
4727         * libmisc/strtoday.c: Avoid implicit conversion of pointers to
4728         booleans.
4729         * libmisc/strtoday.c: Add brackets and parenthesis.
4730
4731 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4732
4733         * libmisc/salt.c: Use a size_t for the size of strings instead of
4734         unsigned int.
4735         * libmisc/salt.c: Add brackets and parenthesis.
4736         * libmisc/salt.c: Avoid assignments in comparisons.
4737
4738 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4739
4740         * libmisc/age.c: fork() and wait() return a pid_t, not an int.
4741         * libmisc/age.c: Avoid implicit conversion of pointers to
4742         booleans.
4743         * libmisc/age.c: Avoid assignments in comparisons.
4744         * libmisc/age.c: Ignore the return value of printf(), puts(),
4745         fputs() and fflush().
4746         * libmisc/age.c: Add brackets and parenthesis.
4747         * libmisc/age.c: Cast the return value of time() to long and
4748         converted to a date.
4749
4750 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4751
4752         * libmisc/rlogin.c: The size argument of read() is a size_t.
4753         Propagate this time to the callers (the get_remote_string() and
4754         do_rlogin() functions).
4755         * libmisc/rlogin.c: Add brackets and parenthesis.
4756         * libmisc/rlogin.c: Avoid multi-statements lines.
4757         * libmisc/rlogin.c: Avoid assignments in comparisons.
4758         * libmisc/rlogin.c: Avoid implicit conversion of pointers to
4759         booleans.
4760
4761 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4762
4763         * libmisc/failure.c: Avoid assignments in comparisons.
4764         * libmisc/failure.c: read() returns a ssize_t.
4765         * libmisc/failure.c: Add brackets and parenthesis.
4766         * libmisc/failure.c: Ignore return value of time() when use with a
4767         non NULL argument.
4768
4769 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4770
4771         * libmisc/chowntty.c: Avoid assignments in comparisons.
4772         * libmisc/chowntty.c: Avoid implicit conversion of pointers to
4773         booleans.
4774         * libmisc/chowntty.c: Add brackets and parenthesis.
4775
4776 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4777
4778         * libmisc/audit_help.c: Add brackets.
4779
4780 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4781
4782         * libmisc/addgrps.c: Avoid implicit conversion of pointers to
4783         booleans.
4784         * libmisc/addgrps.c: Add brackets.
4785
4786 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4787
4788         * libmisc/utmp.c: Avoid implicit conversion of pointers to
4789         booleans.
4790
4791 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4792
4793         * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c,
4794         libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/tz.c,
4795         src/login_nopam.c, src/chpasswd.c, src/chgpasswd.c, lib/port.c:
4796         The size argument of fgets is an int, not a size_t.
4797         * libmisc/loginprompt.c: Ignore the return value from signal()
4798         when the signal handlers are restored.
4799         * src/chpasswd.c: Cast the return value of time() to a long
4800         integer.
4801         * src/chpasswd.c: Use the SCALE macro instead of (24L * 3600L)
4802         for the values to be set in /etc/shadow.
4803
4804 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4805
4806         * src/pwck.c: Use a bool when possible instead of int integers.
4807         * src/pwck.c: Avoid implicit conversion of integers to booleans.
4808
4809 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4810
4811         * src/su.c: Use a bool when possible instead of int integers.
4812         * src/su.c: Add brackets and parenthesis.
4813         * src/su.c: Avoid implicit conversion of pointers / integers
4814         / chars to booleans.
4815         * src/su.c: Ignore the return value of pam_end() before
4816         exiting.
4817         * src/su.c: Avoid assignments in comparisons.
4818         * src/su.c: Avoid multi-statements lines.
4819
4820 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4821
4822         * lib/prototypes.h, libmisc/valid.c: Change the prototype of
4823         valid() to return a bool.
4824         * libmisc/valid.c: Add parenthesis.
4825
4826 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4827
4828         * lib/commonio.c: Add brackets and parenthesis.
4829         * lib/commonio.c: Check the result of fgets().
4830         * lib/commonio.c: Avoid implicit conversion of pointers to
4831         booleans.
4832
4833 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4834
4835         * lib/prototypes.h: Fix the prototypes to match earlier changes.
4836
4837 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4838
4839         * lib/nscd.c: Include defines.h.
4840         * lib/nscd.c: Always warn when the nscd cache cannot be flushed.
4841         * lib/nscd.c: Avoid assignments in comparisons.
4842         * lib/nscd.c: Ignore the return value of fputs() when printing
4843         errors.
4844
4845 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4846
4847         * lib/port.c: Add brackets and parenthesis.
4848         * lib/port.c: Change isttytime() prototype to return a bool.
4849         * lib/port.c: Ignore the return value of fclose () (file open
4850         read-only).
4851         * lib/port.c: Avoid multi-statements lines.
4852
4853 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4854
4855         * src/id.c: Ignore the return value of fputs(), puts(), putchar(),
4856         and printf().
4857         * src/id.c: Ignore return value of setlocale(),
4858         bindtextdomain(), and textdomain().
4859         * src/id.c: Add brackets and parenthesis.
4860         * src/id.c: Avoid implicit conversion of pointers / integers
4861         to booleans.
4862
4863 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4864
4865         * src/chsh.c: Use a bool when possible instead of int integers.
4866         * src/chsh.c: restricted_shell() renamed is_restricted_shell().
4867         check_shell() renamed shell_is_listed().
4868         * src/chsh.c: Ignore return value of setlocale(),
4869         bindtextdomain(), and textdomain().
4870         * src/chsh.c: Avoid implicit conversion of pointers / integers
4871         to booleans.
4872         * src/chsh.c: Ignore the return value of pam_end() before
4873         exiting.
4874
4875 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4876
4877         * src/grpunconv.c: Use a bool when possible instead of int
4878         integers.
4879         * src/grpunconv.c: Add brackets and parenthesis.
4880         * src/grpunconv.c: Ignore return value of setlocale(),
4881         bindtextdomain(), and textdomain().
4882         * src/grpunconv.c: Avoid implicit conversion of pointers / integers
4883         to booleans.
4884
4885 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4886
4887         * src/sulogin.c: Ignore return value of setlocale(),
4888         bindtextdomain(), and textdomain().
4889         * src/sulogin.c: Avoid implicit conversion of pointers / integers
4890         / chars to booleans.
4891         * src/sulogin.c: Avoid assignments in comparisons.
4892         * src/sulogin.c: Ignore the return value of alarm().
4893
4894 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4895
4896         * src/groups.c: Use a bool when possible instead of int integers.
4897         * src/groups.c: Add brackets and parenthesis.
4898         * src/groups.c: Avoid implicit conversion of pointers / integers
4899         to booleans.
4900         * src/groups.c: Avoid assignments in comparisons.
4901         * src/groups.c: Ignore the return value of putchar(), printf()
4902         * src/groups.c: Ignore return value of setlocale(),
4903         bindtextdomain(), and textdomain().
4904
4905 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4906
4907         * src/grpconv.c: Use a bool when possible instead of int integers.
4908         * src/grpconv.c: Add brackets and parenthesis.
4909         * src/grpconv.c: Ignore return value of setlocale(),
4910         bindtextdomain(), and textdomain().
4911         * src/grpconv.c: Avoid implicit conversion of pointers / integers
4912         to booleans.
4913
4914 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4915
4916         * src/faillog.c: Use a bool when possible instead of int integers.
4917         * src/faillog.c: Avoid implicit conversion of pointers / integers
4918         / chars to booleans.
4919         * src/faillog.c: Ignore return value of setlocale(),
4920         bindtextdomain(), and textdomain().
4921         * src/faillog.c: Add brackets and parenthesis.
4922
4923 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4924
4925         * src/login.c: Avoid multi-statements lines.
4926         * src/login.c: Ignore the return value of pam_end() before
4927         exiting.
4928         * src/login.c: Use a bool when possible instead of int integers.
4929         * src/login.c: Add brackets and parenthesis.
4930         * src/login.c: Ignore the return values of fflush(), putchar(), puts().
4931         * src/login.c: Ignore the return value of fclose() for read-only
4932         files.
4933         * src/login.c: Avoid assignments in comparisons.
4934         * src/login.c: Ignore return value of setlocale(),
4935         bindtextdomain(), and textdomain().
4936         * src/login.c: Avoid implicit conversion of pointers / integers
4937         / chars to booleans.
4938
4939 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4940
4941         * src/chage.c: Use a bool when possible instead of int integers.
4942         * src/chage.c: Ignore return value of setlocale(),
4943         bindtextdomain(), and textdomain().
4944
4945 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4946
4947         * src/groupadd.c: Use a bool when possible instead of int
4948         integers.
4949         * src/groupadd.c: Add brackets and parenthesis.
4950         * src/groupadd.c: Avoid implicit conversion of pointers / integers
4951         / chars to booleans.
4952         * src/groupadd.c: Ignore return value of setlocale(),
4953         bindtextdomain(), and textdomain().
4954         * src/groupadd.c: Ignore the return value of pam_end() before
4955         exiting.
4956
4957 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4958
4959         * src/pwck.c: Use a bool when possible instead of int integers.
4960         * src/pwck.c: Ignore return value of setlocale(),
4961         bindtextdomain(), and textdomain().
4962
4963 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4964
4965         * src/passwd.c: Use a bool when possible instead of int integers.
4966         * src/passwd.c: Avoid assignments in comparisons.
4967         * src/passwd.c: Add brackets and parenthesis.
4968         * src/passwd.c: Avoid implicit conversion of pointers / integers /
4969         chars to booleans.
4970         * src/passwd.c: Move the "context_t c" declaration at the
4971         beginning check_selinux_access.
4972         * src/passwd.c: Ignore return value of setlocale(),
4973         bindtextdomain(), and textdomain().
4974
4975 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4976
4977         * src/groupmod.c: Use a bool when possible instead of int
4978         integers.
4979         * src/groupmod.c: Avoid assignments in comparisons.
4980         * src/groupmod.c: Add brackets and parenthesis.
4981         * src/groupmod.c: Avoid implicit conversion of pointers / integers
4982         / chars to booleans.
4983         * src/groupmod.c: Use a %lu format to print GIDs, and cast the GID
4984         to (unsigned long int).
4985         * src/groupmod.c: Ignore return value of setlocale(),
4986         bindtextdomain(), and textdomain().
4987         * src/groupmod.c: Ignore the return value of pam_end() before
4988         exiting.
4989
4990 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4991
4992         * src/su.c: Ignore return value of setlocale(),
4993         bindtextdomain(), and textdomain().
4994
4995 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4996
4997         * src/useradd.c: Use a bool when possible instead of int integers.
4998         * src/useradd.c: Avoid implicit conversion of pointers / integers
4999         / chars to booleans.
5000         * src/useradd.c: Add brackets and parenthesis.
5001         * src/useradd.c: Avoid assignments in comparisons.
5002         * src/useradd.c: Ignore the return value of fclose() for read-only
5003         files.
5004         * src/useradd.c: Ignore the return value of fflush() before
5005         closing the files.
5006         * src/useradd.c: Avoid multi-statements lines.
5007         * src/useradd.c: Ignore return value of setlocale(),
5008         bindtextdomain(), and textdomain().
5009         * src/useradd.c: Ignore the return value of pam_end() before
5010         exiting.
5011
5012 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5013
5014         * src/vipw.c: Use a bool when possible instead of int integers.
5015         * src/vipw.c: Ignore the return value of umask(), when the mask is
5016         set again to the old value.
5017         * src/vipw.c: Avoid implicit conversion of pointers / integers to
5018         booleans.
5019         * src/vipw.c: Add brackets and parenthesis.
5020         * src/vipw.c: Avoid assignments in comparisons.
5021         * src/vipw.c: Ignore return value of setlocale(),
5022         bindtextdomain(), and textdomain().
5023         * src/vipw.c: Add missing termination of the longopts parameter
5024         for getopt_long().
5025
5026 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5027
5028         * src/chgpasswd.c: Use a bool when possible instead of int
5029         integers.
5030         * src/chgpasswd.c: Ignore return value of setlocale(),
5031         bindtextdomain(), and textdomain().
5032         * src/chgpasswd.c: Avoid implicit conversion of integers to
5033         booleans.
5034
5035 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5036
5037         * src/groupdel.c: Use a bool when possible instead of int
5038         integers.
5039         * src/groupdel.c: Avoid implicit conversion of pointers / integers to
5040         booleans.
5041         * src/groupdel.c: Avoid assignments in comparisons.
5042         * src/groupdel.c: Ignore the return value of pam_end() before
5043         exiting.
5044         * src/groupdel.c: Ignore return value of setlocale(),
5045         bindtextdomain(), and textdomain().
5046
5047 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5048
5049         * src/expiry.c: Ignore return value of setlocale(),
5050         bindtextdomain(), and textdomain().
5051         * src/expiry.c: Add brackets and parenthesis.
5052         * src/expiry.c: Avoid assignments in comparisons.
5053         * src/expiry.c: Avoid implicit conversion of pointers to booleans.
5054
5055 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5056
5057         * src/pwunconv.c: Use a bool when possible instead of int
5058         integers.
5059         * src/pwunconv.c: Add brackets and parenthesis.
5060         * src/pwunconv.c: Ignore return value of setlocale(),
5061         bindtextdomain(), and textdomain().
5062         * src/pwunconv.c: Avoid implicit conversion of pointers / integers
5063         / chars to booleans.
5064         * src/pwunconv.c: Avoid assignments in comparisons.
5065
5066 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5067
5068         * src/usermod.c: Use a bool when possible instead of int integers.
5069         * src/usermod.c: Add brackets and parenthesis.
5070         * src/usermod.c: Avoid implicit conversion of pointers / integers
5071         / chars to booleans.
5072         * src/usermod.c: Avoid assignments in comparisons.
5073         * src/usermod.c: Ignore return value of setlocale(),
5074         bindtextdomain(), and textdomain().
5075         * src/usermod.c: Ignore the return value of pam_end() before
5076         exiting.
5077
5078 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5079
5080         * src/groupmems.c: Move the declaration of option_index and
5081         long_options before the blocks of code.
5082         * src/groupmems.c: Ignore return value of setlocale(),
5083         bindtextdomain(), and textdomain().
5084         * src/groupmems.c: Ignore the return value of pam_end() before
5085         exiting.
5086
5087 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5088
5089         * src/chfn.c: Use a bool when possible instead of int integers.
5090         * src/chfn.c: Avoid implicit conversion of integers / chars to
5091         booleans.
5092         * src/chfn.c: Ignore return value of setlocale(),
5093         bindtextdomain(), and textdomain().
5094
5095 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5096
5097         * src/logoutd.c: Use a bool when possible instead of int integers.
5098         * src/logoutd.c: Avoid implicit conversion of pointers / integers
5099         / chars to booleans.
5100         * src/logoutd.c: Ignore return value of setlocale(),
5101         bindtextdomain(), and textdomain().
5102         * src/logoutd.c: Add brackets and parenthesis.
5103
5104 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5105
5106         * src/chpasswd.c: Use a bool when possible instead of int
5107         integers.
5108         * src/chpasswd.c: Avoid implicit conversion of pointers / integers
5109         / chars to booleans.
5110         * src/chpasswd.c: Ignore return value of setlocale(),
5111         bindtextdomain(), and textdomain().
5112
5113 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5114
5115         * src/pwconv.c: Use a bool when possible instead of int integers.
5116         * src/pwconv.c: Add brackets and parenthesis.
5117         * src/pwconv.c: Ignore return value of setlocale(),
5118         bindtextdomain(), and textdomain().
5119         * src/pwconv.c: Avoid implicit conversion of pointers / integers /
5120         chars to booleans.
5121
5122 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5123
5124         * NEWS, src/newusers.c: Implement the -r, --system option.
5125         * src/newusers.c: Use a bool when possible instead of int
5126         integers.
5127         * src/newusers.c: Avoid implicit conversion of pointers / integers
5128         / chars to booleans.
5129         * src/newusers.c: Ignore the return value of pam_end() before
5130         exiting.
5131         * src/newusers.c: Ignore return value of setlocale(),
5132         bindtextdomain(), and textdomain().
5133         * src/newusers.c: Avoid multi-statements lines.
5134         * src/newusers.c: Add brackets and parenthesis.
5135
5136 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5137
5138         * src/gpasswd.c: Use a bool when possible instead of int integers.
5139         * src/gpasswd.c: Avoid implicit conversion of pointers / integers
5140         / chars to booleans.
5141         * src/gpasswd.c: Ignore the return value of putchar() and fflush()
5142         before exiting.
5143         * src/gpasswd.c: check_list() renamed is_valid_user_list(), and
5144         return a bool.
5145         * src/gpasswd.c: Ignore return value of setlocale(),
5146         bindtextdomain(), and textdomain().
5147
5148 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5149
5150         * src/grpck.c: Use a bool when possible instead of int integers.
5151         * src/grpck.c: Ignore return value of setlocale(),
5152         bindtextdomain(), and textdomain().
5153
5154 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5155
5156         * src/lastlog.c: Use a bool when possible instead of int integers.
5157         * src/lastlog.c: Avoid implicit conversion of pointers / integers
5158         / chars to booleans.
5159         * src/lastlog.c: Add brackets and parenthesis.
5160         * src/lastlog.c: Ignore return value of setlocale(),
5161         bindtextdomain(), and textdomain().
5162
5163 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5164
5165         * src/userdel.c: Use a bool for the is_shadow_pwd, is_shadow_grp,
5166         deleted_user_group, was_member, was_admin, and the
5167         options' flags.
5168         * src/userdel.c: Change path_prefix() prototype to return a bool.
5169         * src/userdel.c: Ignore return value of setlocale(),
5170         bindtextdomain(), and textdomain().
5171         * src/userdel.c: Ignore the return value from pam_end() since we
5172         are exiting anyway just afterwards.
5173         * src/userdel.c: Avoid implicit conversion of pointers /
5174         integers / chars to booleans.
5175         * src/userdel.c: Add brackets and parenthesis.
5176         * src/userdel.c: Avoid assignments in comparisons.
5177         * src/userdel.c: Do not ignore the return value of the *_unlock()
5178         functions.
5179
5180 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5181
5182         * src/login_nopam.c: Do not use the YES and NO macros. Use the
5183         booleans true and false instead. Change the prototypes of
5184         list_match(), user_match(), from_match(), and string_match()
5185         accordingly. Also use booleans internally.
5186         * src/login_nopam.c: Add brackets and parenthesis.
5187         * src/login_nopam.c: Avoid implicit conversion of pointers /
5188         integers / chars to booleans.
5189         * src/login_nopam.c: Avoid assignments in comparisons.
5190
5191 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5192
5193         * src/newgrp.c: Use a bool for is_newgrp, notfound, needspasswd,
5194         initflag, and cflag.
5195         * src/newgrp.c: Add brackets and parenthesis.
5196         * src/newgrp.c: Avoid implicit conversion of pointers / integers /
5197         chars to booleans.
5198         * src/newgrp.c: Avoid multi-statements lines.
5199         * src/newgrp.c: Ignore return value of setlocale(),
5200         bindtextdomain(), and textdomain().
5201         * src/newgrp.c: Avoid assignments in comparisons.
5202
5203 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5204
5205         * libmisc/list.c: Change is_on_list() prototype to return a bool.
5206
5207 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5208
5209         * libmisc/find_new_ids.c: Change find_new_uid() and find_new_gid()
5210         prototypes to use a bool for their first argument (sys_user /
5211         sys_group).
5212
5213 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5214
5215         * libmisc/console.c: Change is_listed() prototype to return a bool.
5216         The default parameter should also be a bool.
5217         * libmisc/console.c: Add brackets and parenthesis.
5218         * libmisc/console.c: Avoid assignments in comparisons.
5219         * libmisc/console.c: Change console() prototype to return a bool.
5220
5221 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5222
5223         * lib/sgetspent.c: Add brackets and parenthesis.
5224         * lib/sgetspent.c: Avoid assignments in comparisons.
5225         * lib/sgetspent.c: Avoid implicit conversion of pointers / chars
5226         to booleans.
5227         * lib/sgetspent.c: Avoid multi-statements lines.
5228
5229 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5230
5231         * lib/sgetpwent.c: Avoid implicit conversion of pointers / chars to
5232         booleans.
5233         * lib/sgetpwent.c: Add brackets and parenthesis.
5234         * lib/sgetpwent.c: Return NULL instead of 0.
5235         * lib/sgetpwent.c: Do not check twice if fields[2] and fields[3]
5236         are not empty.
5237         * lib/sgetpwent.c: Avoid assignments in comparisons.
5238
5239 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5240
5241         * libmisc/getdate.y: abbrev is a bool.
5242         * libmisc/getdate.y: Avoid implicit conversion of pointers / chars /
5243         integers to booleans.
5244
5245 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5246
5247         * lib/prototypes.h: Fix prototypes according to earlier changes
5248         (usage of the bool type).
5249         * lib/prototypes.h: Add the arguments' name to the prototypes.
5250
5251 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5252
5253         * lib/groupio.h: Add protection against multiple inclusions.
5254
5255 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5256
5257         * lib/pwio.h: Add protection against multiple inclusions.
5258         * lib/pwio.c: The changed, isopen, locked, and readonly fields
5259         of the db are booleans.
5260
5261 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5262
5263         * lib/shadowio.h, lib/shadowio.c: spw_file_present returns a bool.
5264         * lib/shadowio.h: Add protection against multiple inclusions.
5265         * lib/shadowio.c: The changed, isopen, locked, and readonly fields
5266         of the db are booleans.
5267
5268 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5269
5270         * lib/sgroupio.c: Avoid assignments in comparisons.
5271         * lib/sgroupio.c: Add brackets.
5272         * lib/sgroupio.c: Avoid implicit conversion of pointers / integers
5273         to booleans.
5274         * lib/sgroupio.c: The changed, isopen, locked, and readonly fields
5275         of the db are booleans.
5276         * lib/sgroupio.h, lib/sgroupio.c: sgr_file_present returns a bool.
5277         * lib/sgroupio.h: Add protection against multiple inclusions.
5278
5279 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5280
5281         * lib/gshadow.c: nis_used and nis_bound are booleans.
5282         * lib/gshadow.c: Avoid implicit conversion of pointers / integers
5283         to booleans.
5284         * lib/gshadow.c: Avoid assignments in comparisons.
5285         * lib/gshadow.c: Add brackets.
5286
5287 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5288
5289         * lib/groupio.c: The changed, isopen, locked, and readonly fields
5290         of the db are booleans.
5291         * lib/groupio.h: Add protection against multiple inclusion.
5292
5293 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5294
5295         * lib/sgetgrent.c: Avoid implicit conversion of pointers / chars
5296         to booleans.
5297         * lib/sgetgrent.c: Avoid assignments in comparisons.
5298         * lib/sgetgrent.c: Add brackets.
5299
5300 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5301
5302         * lib/encrypt.c: Avoid implicit conversion of pointers to
5303         booleans.
5304         * lib/encrypt.c: Add parenthesis.
5305
5306 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5307
5308         * lib/port.c: Avoid implicit conversion of pointers / integers /
5309         chars to booleans.
5310         * lib/port.c: Avoid multiple statement on the same line.
5311         * lib/port.c: Add brackets and parenthesis.
5312         * lib/port.c: Avoid assignments in comparisons.
5313         * lib/port.c: Fix typo comparision -> comparison (in comment).
5314
5315 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5316
5317         * lib/fputsx.c: Add brackets.
5318         * lib/fputsx.c: Avoid assignments in comparisons.
5319         * lib/fputsx.c: Avoid implicit conversion of pointers / integers /
5320         chars to booleans.
5321
5322 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5323
5324         * lib/commonio.h: commonio_entry.changed, commonio_db.changed,
5325         commonio_db.isopen, commonio_db.locked, and commonio_db.readonly
5326         are no booleans.
5327         * lib/commonio.h: Include defines.h to get the definition of bool.
5328         * lib/commonio.h: commonio_present returns a bool
5329         * lib/commonio.c: Implement above changes.
5330         * lib/commonio.c: add argument names in prototypes.
5331         * lib/commonio.c: name_is_nis returns a bool.
5332         * lib/commonio.c: nscd_need_reload is a bool.
5333         * lib/commonio.c: Improve types (use size_t / pid_t when needed
5334         instead of int).
5335         * lib/commonio.c: Avoid assignments in comparisons.
5336         * lib/commonio.c: Add brackets and parenthesis.
5337         * lib/commonio.c: Avoid implicit conversion of pointers / integers
5338         to booleans
5339         * lib/commonio.c: The return values of utime is not checked on
5340         purpose.
5341
5342 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5343
5344         * libmisc/isexpired.c: ARGSUSED is no more needed (shadow is
5345         always supported).
5346         * libmisc/isexpired.c: Avoid implicit conversion of pointers to
5347         booleans.
5348         * libmisc/isexpired.c: Add brackets and parenthesis.
5349
5350 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5351
5352         * libmisc/sulog.c (sulog): The success argument is a bool.
5353         * libmisc/sulog.c: The return values of fflush is not checked on
5354         purpose.
5355         * libmisc/sulog.c: Indicate that some return values should be
5356         checked.
5357
5358 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5359
5360         * libmisc/ttytype.c: Avoid implicit conversion of pointers /
5361         integers to booleans.
5362         * libmisc/ttytype.c: Avoid assignments in comparisons.
5363         * libmisc/ttytype.c: Add brackets and parenthesis.
5364         * libmisc/ttytype.c: The return values of fclose is not checked on
5365         purpose.
5366
5367 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5368
5369         * libmisc/mail.c: Avoid implicit conversion of pointers to
5370         booleans.
5371         * libmisc/mail.c: Avoid assignments in comparisons.
5372
5373 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5374
5375         * libmisc/loginprompt.c: Avoid implicit conversion of pointers /
5376         chars to booleans.
5377         * libmisc/loginprompt.c: Add brackets.
5378         * libmisc/loginprompt.c: Avoid assignments in comparisons.
5379         * libmisc/loginprompt.c: The return values of fclose and fflush
5380         are not checked on purpose.
5381
5382 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5383
5384         * libmisc/setupenv.c: Avoid implicit conversion of chars to
5385         booleans.
5386
5387 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5388
5389         * libmisc/copydir.c: selinux_checked, selinux_enabled, and set_orig
5390         are now booleans.
5391
5392 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5393
5394         * libmisc/setugid.c (setup_uid_gid): The is_console argument is now
5395         a bool.
5396         * libmisc/setugid.c: Avoid implicit conversion of integers /
5397         pointers to booleans.
5398         * libmisc/setugid.c: Add brackets.
5399
5400 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5401
5402         * libmisc/pam_pass.c (do_pam_passwd): The silent and
5403         change_expired are no booleans instead of int.
5404         * libmisc/pam_pass.c: The return value of pam_end is not checked
5405         on purpose.
5406
5407 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5408
5409         * libmisc/getlong.c: Avoid implicit conversion of pointers / chars
5410         to booleans.
5411         * libmisc/getlong.c: Add brackets.
5412
5413 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5414
5415         * libmisc/valid.c: Avoid implicit conversion of pointers / chars
5416         to booleans.
5417         * libmisc/valid.c: Add brackets.
5418
5419 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5420
5421         * libmisc/yesno.c: yes_or_no returns a bool instead of int.
5422         * libmisc/yesno.c: Avoid implicit conversion of pointers to
5423         booleans.
5424         * libmisc/yesno.c: The return value of fflush is not checked
5425         on purpose.
5426
5427 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5428
5429         * libmisc/age.c: Avoid implicit conversion of integers to
5430         booleans.
5431
5432 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5433
5434         * libmisc/rlogin.c: Avoid assignments in comparisons.
5435         * libmisc/rlogin.c: Avoid implicit conversion of integers to
5436         booleans.
5437         * libmisc/rlogin.c: Add brackets.
5438
5439 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5440
5441         * libmisc/failure.c (failcheck): The failed argument is a bool.
5442         * libmisc/failure.h: Likewise.
5443         * libmisc/failure.c (too_many_failures): too_many_failures returns
5444         a bool.
5445         * libmisc/failure.c: Add notes about unchecked return values.
5446         * libmisc/failure.c: Avoid assignments in comparisons.
5447         * libmisc/failure.c: Add brackets.
5448
5449 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5450
5451         * libmisc/myname.c: Avoid assignments in comparisons.
5452         * libmisc/myname.c: Avoid implicit conversion of pointers / chars
5453         to booleans.
5454         * libmisc/myname.c: Add brackets.
5455
5456 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5457
5458         * libmisc/utmp.c (checkutmp): Change picky argument's type to
5459         bool.
5460         * libmisc/utmp.c: Use bool when possible (found_utmpx,
5461         found_utmp).
5462         * libmisc/utmp.c: Add note about unchecked return values.
5463
5464 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5465
5466         * libmisc/addgrps.c: Change type of added to bool.
5467         * libmisc/addgrps.c: Avoid implicit conversion of pointers to
5468         booleans.
5469
5470 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5471
5472         * libmisc/hushed.c: hushed returns a bool instead of int.
5473         * libmisc/hushed.c: Avoid assignments in comparisons.
5474         * libmisc/hushed.c (hushed): Change type of found to bool.
5475         * libmisc/hushed.c: Add brackets.
5476         * libmisc/hushed.c: Always check if the user or the shell is in
5477         the file. Do not check the first character of the line first. This
5478         is simpler and match better with the HUSHLOGIN_FILE documentation.
5479
5480 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5481
5482         * lib/getdef.h, lib/getdef.c: getdef_bool returns a bool instead
5483         of int.
5484         * lib/getdef.c: Change typo of def_loaded to bool.
5485         * lib/getdef.c: Add brackets.
5486         * lib/getdef.c: Avoid assignments in comparisons.
5487
5488 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5489
5490         * libmisc/chowntty.c: is_my_tty returns a bool.
5491         * libmisc/chowntty.c: Avoid implicit conversion of integers to
5492         booleans.
5493         * libmisc/chowntty.c: Add brackets.
5494
5495 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5496
5497         * libmisc/chowndir.c: Avoid assignment in comparisons, implicit
5498         comparison of integers to booleans.
5499         * libmisc/chowndir.c: The return value of closedir is not checked
5500         on purpose.
5501         * libmisc/chowndir.c: Add brackets.
5502
5503 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5504
5505         * libmisc/chkname.h, libmisc/chkname.c: check_group_name (resp.
5506         check_user_name) renamed to is_valid_user_name (resp.
5507         is_valid_group_name). is_valid_user_name and is_valid_group_name
5508         return a bool.
5509         * src/grpck.c, src/newusers.c, src/usermod.c, src/useradd.c,
5510         src/groupmod.c, src/pwck.c, src/groupadd.c: Use is_valid_user_name
5511         and is_valid_group_name, following above change.
5512         * libmisc/chkname.c: Avoid implicit conversion of chars to
5513         booleans. Add brackets and parenthesis.
5514
5515 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5516
5517         * libmisc/xmalloc.c: Avoid implicit conversion of integers /
5518         pointers to booleans.
5519         * libmisc/xgetXXbyYY.c: Likewise.
5520
5521 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5522
5523         * configure.in, lib/defines.h: Allow usage of booleans in the
5524         source.
5525
5526 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5527
5528         * configure.in: Allow --disable-man and --enable-man=no.
5529
5530 2008-06-26  Nicolas François  <nicolas.francois@centraliens.net>
5531
5532         Prepare the 4.1.2.1 release
5533         * NEWS: set the release date.
5534         * man/po/*.po, po/*.po: Updated PO files.
5535         * configure.in: Set the version to 4.1.2.1.
5536
5537 2008-06-26  Nicolas François  <nicolas.francois@centraliens.net>
5538
5539         * NEWS, src/login.c: Fix an "audit log injection" vulnerability in
5540         login. This is similar to CVE-2008-1926 (util-linux-ng's login).
5541         This vulnerability makes it easier for attackers to hide
5542         activities by modifying portions of log events, e.g. by appending
5543         an addr= statement to the login name.
5544         * lib/prototypes.h: Added definition of AUDIT_NO_ID.
5545
5546 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5547
5548         Prepare the 4.1.2 release
5549         * NEWS: set the release date.
5550         * man/po/*.po, po/*.po: Updated PO files.
5551         * configure.in: Set the version to 4.1.2.
5552
5553 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5554
5555         * po/Makevars, man/po/Makefile.in.in: Run msgmerge with
5556         --previous. (This requires gettext >= 0.16)
5557
5558 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5559
5560         * libmisc/copydir.c (remove_tree): As we always use remove_tree
5561         followed by rmdir to remove the directory itself, delete also the
5562         root directory in remove_tree.
5563         * src/userdel.c, src/usermod.c: Do not call rmdir after
5564         remove_tree.
5565
5566 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5567
5568         * libmisc/copydir.c (remove_tree): Make sure unlink is successful
5569         when removing files.
5570
5571 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5572
5573         * libmisc/pwdcheck.c: Simply passwd_check since it's never used
5574         when configured with PAM support.
5575
5576 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5577
5578         Fix compiler warnings:
5579         * libmisc/audit_help.c: Include prototypes.h to get the prototype
5580         of audit_help_open.
5581         * libmisc/salt.c: Use booleans instead of negating integers.
5582         * src/passwd.c: Declare the check_selinux_access prototype and
5583         avoid name clashes (change_user -> changed_user; change_uid ->
5584         changed_uid; access -> requested_access)
5585         * libmisc/list.c: Avoid assignments in comparisons, assignments
5586         with post increments (x++), use of integers as booleans, and
5587         explicitly mark blocks with brackets.
5588         * libmisc/fields.c: Likewise.
5589         * libmisc/copydir.c: Likewise.
5590         * libmisc/fields.c: Add comments.
5591         * libmisc/copydir.c: Mark function whose return value is not
5592         checked as such.
5593
5594 2008-05-23  Nicolas François  <nicolas.francois@centraliens.net>
5595
5596         * libmisc/pam_pass.c: Use fputs rather than fprintf for constant
5597         strings.
5598
5599 2008-05-21  Nicolas François  <nicolas.francois@centraliens.net>
5600
5601         * man/login.1.xml: Indicate that login should be executed with
5602         "exec login" if called from a shell.
5603
5604 2008-05-21  Nicolas François  <nicolas.francois@centraliens.net>
5605
5606         * man/passwd.1.xml: Remove the advices for the choice of a good
5607         password (they are debatable). Point to
5608         http://en.wikipedia.org/wiki/Password_strength instead.
5609
5610 2008-05-20  Nicolas François  <nicolas.francois@centraliens.net>
5611
5612         * NEWS, libmisc/salt.c (SHA_salt_size): Seed the RNG, and fix a
5613         overflow. These caused the SHA salt size to always be 8 bytes,
5614         instead of being in the 8-16 range. Thanks to Peter Vrabec
5615         pvrabec@redhat.com for noticing.
5616         * NEWS, libmisc/salt.c (SHA_salt_rounds): Seed the RNG with
5617         seedRNG instead of srand, and fix the same overflow. This caused
5618         the number of rounds to always be the smallest one.
5619
5620 2008-05-20  Nicolas François  <nicolas.francois@centraliens.net>
5621
5622         * man/newusers.8.xml man/groupmems.8.xml man/groupdel.8.xml
5623         man/useradd.8.xml man/groupadd.8.xml man/newgrp.1.xml man/sg.1.xml
5624         man/chgpasswd.8.xml man/groupmod.8.xml: Tag the section which
5625         require --enable-shadowgrp accordingly.
5626
5627 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5628
5629         * man/login.defs.5.xml: SHA_CRYPT_MAX_ROUNDS and
5630         SHA_CRYPT_MIN_ROUNDS can only exist if configured with
5631         --with-sha-crypt.
5632
5633 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5634
5635         * NEWS, man/useradd.8.xml: Document the -k, --skel option, and
5636         update the -m, --create-home documentation.
5637
5638 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5639
5640         * man/useradd.8.xml: Sort options.
5641
5642 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5643
5644         * lib/getdef.c: SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can
5645         only exist if configured with --with-sha-crypt.
5646         * man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Likewise.
5647
5648 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5649
5650         * libmisc/salt.c: Document the section closed by #endif
5651
5652 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5653
5654         * src/useradd.c: Fix formatting.
5655
5656 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5657
5658         * NEWS, man/useradd.8.xml: Document the -r, --system option.
5659         * NEWS, man/groupadd.8.xml: Document the -r, --system option.
5660         * NEWS, man/newusers.8.xml: Document the -r, --system option.
5661         * NEWS, man/newusers.8.xml: Document the -c, --crypt-method and
5662         -s, --sha-rounds options.
5663
5664 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5665
5666         Import Debian patch 487_passwd_chauthtok_failed_message
5667         * libmisc/pam_pass.c: Be more verbose and indicate that the
5668         password was not changed when pam_chauthtok fails (in addition to
5669         the PAM error, which may not be comprehensible for the users).
5670
5671 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5672
5673         Import Debian patch 434_login_stop_checking_args_after--
5674         * NEWS, src/login.c (check_flags): Stop checking the arguments
5675         after --. The later options will be sent to the shell, and do not
5676         need to be checked.
5677
5678 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5679
5680         * src/vipw.c, src/su.c, src/newgrp.c: Harmonize the children's
5681         SIGSTOP handling. Raise the signal which stopped the child instead
5682         of always SIGSTOP.
5683
5684 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5685
5686         Import Debian patch 406_vipw_resume_properly.
5687         Thanks to Dean Gaudet.
5688         * NEWS, src/vipw.c: Resume properly after ^Z.
5689
5690 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
5691
5692         * lib/getdef.c, lib/lockpw.c, lib/utent.c, lib/sgetgrent.c,
5693         lib/getdef.h, lib/pwauth.c, lib/sgetspent.c, lib/pwauth.h,
5694         lib/port.c, lib/encrypt.c, lib/groupio.c, lib/shadowmem.c,
5695         lib/port.h, lib/groupio.h, lib/groupmem.c, lib/exitcodes.h,
5696         lib/gshadow.c, lib/gshadow_.h, lib/sgroupio.c, lib/sgroupio.h,
5697         lib/shadowio.c, lib/pwio.c, lib/sgetpwent.c, lib/commonio.c,
5698         lib/faillog.h, lib/shadowio.h, lib/pwio.h, lib/pam_defs.h,
5699         lib/pwmem.c, lib/commonio.h, lib/shadow.c, lib/fputsx.c,
5700         lib/prototypes.h, libmisc/xmalloc.c, libmisc/limits.c,
5701         libmisc/entry.c, libmisc/console.c, libmisc/ulimit.c,
5702         libmisc/xgetXXbyYY.c, libmisc/chkname.c, libmisc/pwd2spwd.c,
5703         libmisc/xgetpwnam.c, libmisc/basename.c, libmisc/chkname.h,
5704         libmisc/chowndir.c, libmisc/audit_help.c, libmisc/chowntty.c,
5705         libmisc/hushed.c, libmisc/xgetpwuid.c, libmisc/getdate.h,
5706         libmisc/addgrps.c, libmisc/xgetgrgid.c, libmisc/utmp.c,
5707         libmisc/myname.c, libmisc/failure.c, libmisc/find_new_ids.c,
5708         libmisc/env.c, libmisc/rlogin.c, libmisc/age.c, libmisc/failure.h,
5709         libmisc/xgetgrnam.c, libmisc/yesno.c, libmisc/valid.c,
5710         libmisc/getlong.c, libmisc/obscure.c, libmisc/pam_pass.c,
5711         libmisc/motd.c, libmisc/salt.c, libmisc/setugid.c,
5712         libmisc/fields.c, libmisc/xgetspnam.c, libmisc/shell.c,
5713         libmisc/copydir.c, libmisc/setupenv.c, libmisc/strtoday.c,
5714         libmisc/loginprompt.c, libmisc/list.c, libmisc/pwd_init.c,
5715         libmisc/log.c, libmisc/mail.c, libmisc/ttytype.c,
5716         libmisc/pwdcheck.c, libmisc/sub.c, libmisc/sulog.c,
5717         libmisc/isexpired.c, libmisc/tz.c, src/newgrp.c, src/userdel.c,
5718         src/lastlog.c, src/grpck.c, src/gpasswd.c, src/newusers.c,
5719         src/pwconv.c, src/chpasswd.c, src/logoutd.c, src/chfn.c,
5720         src/groupmems.c, src/usermod.c, src/pwunconv.c, src/expiry.c,
5721         src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
5722         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
5723         src/groupadd.c, src/nologin.c, src/chage.c, src/login.c,
5724         src/suauth.c, src/faillog.c, src/grpconv.c, src/groups.c,
5725         src/sulogin.c, src/grpunconv.c, src/chsh.c, src/id.c: Make sure
5726         every source files are distributed with a copyright and license.
5727         Files with no license use the default 3-clauses BSD license. The
5728         copyright were mostly not recorded; they were updated according to
5729         the Changelog. "Julianne Frances Haugh and contributors" changed
5730         to "copyright holders and contributors".
5731
5732 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
5733
5734         * NEWS, libmisc/sulog.c: If the SULOG_FILE does not exist when an
5735         su session is logged, make sure the file is created with group
5736         root, instead of using the group of the caller.
5737
5738 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
5739
5740         * NEWS, libmisc/fields.c, src/chfn.c, man/chfn.1.xml: Allow
5741         non-US-ASCII characters in the GECOS fields ("name", "room
5742         number", and "other info" fields).
5743
5744 2008-04-17  Nicolas François  <nicolas.francois@centraliens.net>
5745
5746         * NEWS, src/newgrp.c: Fix compilation failure when compiled with
5747         audit support. Thanks to Mike Frysinger for reporting it.
5748
5749 2008-04-16  Nicolas François  <nicolas.francois@centraliens.net>
5750
5751         Ensure that getpwent() is used in setpwent(), getpwent(),
5752         endpwend() sequences (ditto for getgrent(), getspent(), and
5753         getsgent()). The only real (minor) issue was in login, which kept
5754         the passwd file open.
5755         * libmisc/entry.c: Remove unneeded setspent() and endspent() (only
5756         getspnam is called in the middle).
5757         * libmisc/find_new_ids.c: Make sure to close the password and
5758         group files with endpwent() and endgrent().
5759         * libmisc/pwdcheck.c: Remove unneeded endspent() (only getspnam()
5760         is called before).
5761         * src/lastlog.c, src/passwd.c, src/groupmod.c, src/faillog.c,
5762         src/groups.c: Make sure to close
5763         the password file with endpwent().
5764         * src/login.c: Remove unneeded setpwent() (only xgetpwnam is
5765         called before).
5766         * src/login.c, src/newgrp.c: Fix typos in comments.
5767
5768 2008-04-16  Nicolas François  <nicolas.francois@centraliens.net>
5769
5770         * NEWS, configure.in: Fix the detection of the audit, pam, and
5771         selinux. Fail if the feature is requested but the library (or
5772         header file) could not be found. If nothing is specified, enable
5773         the feature only if we can find the library (or header file).
5774         * configure.in: Document --with-selinux as "yes if found" rather
5775         than "autodetected" for consistency with other options.
5776
5777 2008-04-04  Mark Rosenstand  <mark@borkware.net>
5778
5779         * NEWS, etc/pam.d/Makefile.am: Add chfn, chsh, and userdel to
5780         $(pamd_files). Remove the duplicate useradd. And sort
5781         alphabetically.
5782
5783 2008-04-04  Nicolas François  <nicolas.francois@centraliens.net>
5784
5785         * NEWS: Prepare next release, 4.1.2.
5786
5787 2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
5788
5789         * NEWS, configure.in: Prepare release 4.1.1
5790         * NEWS: Fix the release date of 4.1.0. Was in 2007, not 2008.
5791
5792 2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
5793
5794         * po/fr.po: Update according to the file under review.
5795         Thanks to Jean-Luc Coulon.
5796
5797 2008-04-01  Holger Wansing  <linux@wansing-online.de>
5798
5799         * po/de.po: updated to 431t
5800
5801 2008-03-31  Piarres Beobide  <pi+debian@beobide.net>
5802
5803         * po/eu.po: updated to 431t
5804
5805 2008-03-30  Leandro Azevedo  <leorock182@gmail.com>
5806
5807         * po/pt_BR.po: updated to 360t71f
5808
5809 2008-03-30  Mehmet Türker <mturker@innova.com.tr>
5810
5811         * po/tr.po: updated to 431t
5812
5813 2008-03-30  Clytie Siddall  <clytie@riverland.net.au>
5814
5815         * po/vi.po: updated to 431t
5816
5817 2008-03-30  Daniel Nylander  <yeager@ubuntu.com>
5818
5819         * po/sv.po: updated to 431t
5820
5821 2008-03-29  helix84 <helix84@centrum.sk>
5822
5823         * po/sk.po: updated to 431t
5824
5825 2008-03-27  Danilo Piazzalunga  <danilopiazza@gmail.com>
5826
5827         * po/it.po: updated to 431t
5828
5829 2008-03-26  Nicolas François  <nicolas.francois@centraliens.net>
5830
5831         * TODO: Added entries regarding SE Linux.
5832
5833 2008-03-26  Russell Coker  <russell@coker.com.au>
5834
5835         * src/passwd.c, NEWS: Make SE Linux tests more strict, when the
5836         real UID is 0 SE Linux checks will be performed.
5837
5838 2008-03-24  Yuri Kozlov  <kozlov.y@gmail.com>
5839
5840         * po/ru.po: updated to 431t
5841
5842 2008-03-23  Miguel Figueiredo  <elmig@debianpt.org>
5843
5844         * po/pt.po: updated to 431t
5845
5846 2008-03-21  Changwoo Ryu  <cwryu@debian.org>
5847
5848         * po/ko.po: updated to 431t
5849
5850 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5851
5852         * man/login.defs.5.xml: Fix manpages generation. The SYS_GID_MAX
5853         and SYS_UID_MAX entities were not defined.
5854
5855 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5856
5857         * src/faillog.c: Fix minor compilation warning (assignment used as
5858         a comparison).
5859
5860 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5861
5862         * lib/prototypes.h, src/login.c: login_access() is used in
5863         src/login.c, and defined in src/login_nopam.c (which lacks a
5864         prototype). Move its prototype from src/login.c to
5865         lib/prototypes.h.
5866
5867 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5868
5869         * src/gpasswd.c, src/groupmod.c: Compilation fix. gshadow_locked
5870         should only be used if SHADOWGRP is defined.
5871
5872 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5873
5874         * src/grpck.c: Fix some warnings. compare_members_lists() is only
5875         used if SHADOWGRP is defined.
5876
5877 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5878
5879         * NEWS, src/groupmod.c: Make sure the passwd, group, and gshadow
5880         files are unlocked on exit. Unlock locked files in fail_exit().
5881         Prefer fail_exit() over exit().
5882         * NEWS, src/groupmod.c: When the GID of a group is changed, update
5883         also the GID of the passwd entries of the users whose primary
5884         group is the group being modified.
5885
5886 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5887
5888         * lib/commonio.c (commonio_remove): Fail when the name to be
5889         removed is used by different entries (like commonio_update does).
5890         * NEWS: This fix the behavior of groupdel when the system is not
5891         configured to support split group but different group entries
5892         have the name of the group to be deleted.
5893
5894 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5895
5896         * NEWS, src/useradd.c: Make sure the passwd, group, shadow, and
5897         gshadow files are unlocked on exit. Unlock locked files in
5898         fail_exit(). Prefer fail_exit() over exit().
5899
5900 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5901
5902         * NEWS, src/groupdel.c: Make sure the group, and gshadow files are
5903         unlocked on exit. Add function fail_exit(). Use fail_exit()
5904         instead of exit().
5905         * src/groupdel.c: Fail immediately instead of increasing errors.
5906         Better handling of error cases, like locked group or gshadow file.
5907
5908 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5909
5910         * NEWS, src/newusers.c: Make sure the passwd, group, shadow, and
5911         gshadow files are unlocked on exit. Add function fail_exit(). Use
5912         fail_exit() instead of exit().
5913
5914 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5915
5916         * NEWS, src/gpasswd.c: Make sure the group and gshadow files are
5917         unlocked on exit. Add function fail_exit(). Use fail_exit()
5918         instead of exit().
5919
5920 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5921
5922         * NEWS, src/groupdel.c: Do not rewrite the group and gshadow file
5923         in case of error.
5924
5925 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5926
5927         * src/groupdel.c: Do not log that the group was deleted if an
5928         error occurred.
5929
5930 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5931
5932         * NEWS, src/groupdel.c: Do not raise an error if the group does
5933         not exist in the gshadow file.
5934
5935 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5936
5937         * etc/login.defs: Document MAX_MEMBERS_PER_GROUP.
5938
5939 2008-03-07  Nicolas François  <nicolas.francois@centraliens.net>
5940
5941         * src/newgrp.c: Add missing end of line in message.
5942         * src/newgrp.c: Add audit events for the authentication
5943         (AUDIT_GRP_AUTH). Thansk to Peter Vrabec.
5944
5945 2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
5946
5947         * NEWS, src/faillog.c: Only reset the entries of existing users
5948         with faillog -r (not all numeric IDs starting from 0). Thanks to
5949         Peter Vrabec.
5950
5951 2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
5952
5953         * src/pwunconv.c: Fix typo. One "can't open" message is a "can't
5954         lock".
5955
5956 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
5957
5958         * src/gpasswd.c: When a password is moved to the gshadow file, use
5959         "x" instead of "x" to indicate that the password is shadowed
5960         (consistency with grpconv).
5961
5962 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
5963
5964         * NEWS: Fix failures when the gshadow file is not present. Thanks
5965         to Christian Henz (http://bugs.debian.org/467488)
5966         * src/gpasswd.c (get_group): Do not fail if gshadow is not present. Just use
5967         the group file and set the grent structure
5968         * src/gpasswd.c (check_perms): The permissions should be checked
5969         using both the gshadow and group file. Add a <struct group *>
5970         parameter, and check if the gshadow file exists (is_shadowgrp).
5971         * src/gpasswd.c (main): Do not use sgent.sg_mem or sgent.sg_adm if
5972         the gshadow file is not present (sgent is not initialized in that
5973         case). The fields of sgent can be set, but not used.
5974
5975 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
5976
5977         * src/gpasswd.c: Fix typo in comment.
5978         * src/gpasswd.c: Move comment regarding FIRST_MEMBER_IS_ADMIN to
5979         where it belongs.
5980         * src/gpasswd.c: Indicate the end of the #ifdef FIRST_MEMBER_IS_ADMIN
5981         section.
5982
5983 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5984
5985         * man/po/Makefile.in.in: Use --previous when merging PO files of
5986         the manpages.
5987
5988 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5989
5990         * man/login.defs.d/SYS_UID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
5991         Document new variables.
5992         * man/newusers.8.xml, man/login.defs.5.xml,
5993         man/login.defs.d/GID_MAX.xml, man/login.defs.d/UID_MAX.xml:
5994         newusers uses now the GID_MAX, GID_MIN, UID_MAX, UID_MIN,
5995         SYS_GID_MAX, SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
5996         * man/groupadd.8.xml, man/login.defs.5.xml: groupadd uses now the
5997         SYS_GID_MAX, and SYS_GID_MIN variables.
5998         * man/login.defs.5.xml: useradd uses now the SYS_GID_MAX,
5999         SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
6000         * man/Makefile.am: Add the new XML documentation files to EXTRA_DIST.
6001
6002 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
6003
6004         * lib/getdef.c: Added missing SYS_GID_MAX, SYS_GID_MIN,
6005         SYS_UID_MAX, and SYS_UID_MIN.
6006
6007 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
6008
6009         * NEWS, src/useradd.c, man/useradd.8.xml: Added options
6010         --user-group (-U, Uflg) and --no-user-group (-N, Nflg) to replace
6011         nflg.
6012         * man/login.defs.d/USERGROUPS_ENAB.xml: useradd now also uses
6013         USERGROUPS_ENAB.
6014
6015 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
6016
6017         * src/groupmod.c: Add missing 'p' to the getopt_long's optstring.
6018
6019 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
6020
6021         * src/groupadd.c: Add missing 'p' to the getopt_long's optstring.
6022         * src/groupadd.c: Fix --non-unique's has_arg field to no_argument
6023         instead of required_argument.
6024         * src/groupadd.c: Add missing -p, --password description to the
6025         Usage message.
6026
6027 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
6028
6029         * NEWS, etc/login.defs: Set GID_MIN to the same value as UID_MIN
6030         by default (1000).
6031         * NEWS, etc/login.defs: Added variables SYS_UID_MIN (100),
6032         SYS_UID_MAX (999), SYS_GID_MIN (100), SYS_GID_MAX (999) for system
6033         accounts.
6034         * libmisc/find_new_ids.c: Added support for system accounts in
6035         find_new_uid() and find_new_gid().
6036         * NEWS, src/newusers.c, src/useradd.c, src/groupadd.c: Added new
6037         option -r, --system for system accounts in useradd, groupadd, and
6038         newusers.
6039
6040 2008-02-18  Nicolas François  <nicolas.francois@centraliens.net>
6041
6042         * NEWS, src/groupmems.c: Fix buffer overflow when adding an user
6043         to a group. Thanks to Peter Vrabec.
6044
6045 2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
6046
6047         * NEWS, etc/useradd: Change the default HOME directory in
6048         /etc/default/useradd according FHS (/home instead of /home/users).
6049         This fixes Alioth's bug #310559. Thanks to Dale E. Edmons.
6050
6051 2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
6052
6053         * NEWS, src/newgrp.c: Use the correct AUDIT_CHGRP_ID event instead of
6054         AUDIT_USER_START, when changing the user space group ID with
6055         newgrp or sg. Thanks to sgrubb@redhat.com for the patch.
6056
6057 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
6058
6059         * src/usermod.c: Reset oflg with uflg if the new UID is equal to
6060         the old one.
6061         * src/usermod.c: Reset mflg with dflg if the new home directory is
6062         the same as the old one.
6063
6064 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
6065
6066         * NEWS, src/usermod.c: Fix the handling of -a when a user is being
6067         renamed (with -l). The new name of the user was used for the new
6068         supplementary groups, but not in the existing ones.
6069
6070 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
6071
6072         * src/newusers.c: Set the shadow's password instead of the
6073         passwd's password. Fix wrong cut&paste.
6074
6075 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6076
6077         * src/usermod.c: Use a function to convert the dates from
6078         /etc/shadow to human readable dates.
6079         * src/usermod.c: Really log the expiration date change as human
6080         readable strings instead of integers.
6081         * src/usermod.c: No need to check audit_fd, audit_logger() will
6082         take care of this.
6083
6084 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6085
6086         * src/login.c: Do not translate the fromhost variable. It is
6087         always used for syslog messages.
6088
6089 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6090
6091         * NEWS, lib/defines.h: Switch to the C locale before sending
6092         messages to syslog. The messages sent by shadow were not
6093         translated, but error messages from PAM returned by pam_strerror()
6094         were translated in the users's locale.
6095
6096 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6097
6098         * NEWS: newusers will behave more like useradd.
6099         * src/newusers.c: The user's ID must be found before the group ID
6100         to mimic useradd's behavior choices of UID and GID.
6101         * src/newusers.c: Reuse the generic find_new_uid() and
6102         find_new_gid() functions. This permits to respect the
6103         UID_MIN/UID_MAX and GID_MIN/GID_MAX variables, should 
6104         * src/newusers.c: Check if the user or group exist using the
6105         external databases (with the libc getpwnam/getgrnam functions).
6106         Refuse to update an user which exist in an external database but
6107         does not exist in the local database.
6108         * src/newusers.c: Check the usernames and groupnames with
6109         check_user_name() and check_group_name()
6110         * src/newusers.c: Use isdigit() for readability.
6111         * src/newusers.c: Check if numerical IDs are valid (no remaining
6112         chars).
6113
6114 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6115
6116         * NEWS, src/newusers.c: Fix the support for the NONE crypt method.
6117
6118 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6119
6120         * src/newusers.c: Fix shadow group support (the list of admins was
6121         not defined; it is now set to an empty list).
6122
6123 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6124
6125         * NEWS, libmisc/salt.c: Do not seed the random number generator
6126         each time, and use the time in microseconds to avoid having the
6127         same salt for different passwords generated in the same second.
6128         This permits to avoid using the same salt for different passwords
6129         in newusers.
6130
6131 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6132
6133         * lib/pwio.c, lib/pwio.h: New function to find an user by
6134         its UID on the local database.
6135         * lib/groupio.c, lib/groupio.h: New function to find a group by
6136         its GID on the local database.
6137         * libmisc/find_new_ids.c, lib/prototypes.h: Add new generic
6138         functions to find the next user or group ID available:
6139         find_new_uid() and find_new_gid(). They work the same way as the
6140         functions with the same name of useradd or groupadd, except that
6141         they check in the local database to make sure an ID was not
6142         reserved in an uncommitted change (this is needed to be used in
6143         newusers), they report a status instead of calling exit(), and
6144         they can receive a preferred ID. They should later support system
6145         IDs. This should be a little bit slower, but not too much (if the
6146         database is not open the checks against the local database will
6147         exit immediately, and if it is already open, all the checks will be
6148         done regarding the data in memory).
6149         * po/POTFILES.in: The new libmisc/find_new_ids.c file contains
6150         translatable strings.
6151         * libmisc/Makefile.am: Add libmisc/find_new_ids.c to the sources
6152         of the libmisc library.
6153         * src/useradd.c, src/groupadd.c: Use the find_new_uid() and
6154         find_new_gid() from the library instead of the local functions.
6155
6156 2008-02-02  Nicolas François  <nicolas.francois@centraliens.net>
6157
6158         * po/*.po: Updated PO files.
6159         * libmisc/age.c, libmisc/yesno.c, src/lastlog.c, src/grpck.c,
6160         src/chfn.c, src/passwd.c, src/chage.c, src/login.c, src/sulogin.c,
6161         src/chsh.c: Fix call to puts (remove end of line, or use fputs).
6162         * po/*.po: Unfuzzy PO files according to above change.
6163
6164 2008-01-26  Nicolas François  <nicolas.francois@centraliens.net>
6165
6166         Fix build failures with --disable-shadowgrp. Thanks to Jürgen
6167         Daubert for the patch.
6168         * libmisc/salt.c: Include <stdio.h>, needed for stderr and printf
6169         functions.
6170         * lib/encrypt.c: Include <stdio.h>, needed for perror, stderr and
6171         printf functions
6172         * src/usermod.c: sgr_locked exists only if SHADOWGRP is defined.
6173         * src/chgpasswd.c: Only check is the gshadow file exists if
6174         SHADOWGRP is defined.
6175
6176 2008-01-24  Nicolas François  <nicolas.francois@centraliens.net>
6177
6178         * src/gpasswd.c, src/chfn.c, src/chage.c, src/chsh.c, src/grpck.c,
6179         src/vipw.c, src/pwck.c, src/sulogin.c, src/newgrp.c,
6180         src/userdel.c, src/lastlog.c, src/groupmems.c, src/usermod.c,
6181         src/expiry.c, src/groupdel.c, src/useradd.c, src/su.c,
6182         src/groupmod.c, src/passwd.c, src/groupadd.c, src/login.c,
6183         src/suauth.c, src/faillog.c, src/id.c, libmisc/limits.c,
6184         libmisc/addgrps.c, libmisc/env.c, libmisc/age.c, libmisc/yesno.c,
6185         lib/getdef.c: Replace printf by puts for fixed strings. This would
6186         avoid issues caused by formats introduced in translated strings.
6187
6188 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6189
6190         * src/useradd.c: Strings improvement s/can't get unique/no more
6191         available/.
6192
6193 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6194
6195         * NEWS, src/usermod.c: Check that the new fields set with -u, -s,
6196         -l, -g, -f, -e, -d, and -c differ from the old ones. If a
6197         requested new value is equal to the old one, no changes will
6198         be performed for that field. If no fields are changed, usermod
6199         will exist successfully with a warning. This avoids logging
6200         changes to syslog when there are actually no changes.
6201
6202 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6203
6204         * src/usermod.c: Always define user_newcomment, user_newshell,
6205         user_newexpire, and user_newinactive. It is more simple to always
6206         have user_<x> as the old field, and user_new<x> as the new field
6207         (even if the field did not change) instead of changing the
6208         algorithm depending on WITH_AUDIT.
6209
6210 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6211
6212         * src/usermod.c: user_newname can only be used in WITH_AUDIT code
6213         or when lflg is set. This issue was introduced in the code
6214         refactoring of usermod.
6215
6216 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6217
6218         * src/groupadd.c: Fix typo in comment: s/find_new_uid/find_new_gid/
6219
6220 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6221
6222         * src/useradd.c: s/gid/GID/ in message string.
6223         * src/useradd.c: Set this string for translation.
6224
6225 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6226
6227         * man/grpck.8.xml: Fix typo. Remove "the" from "All entries in the
6228         <filename></filename> are checked [...]"
6229         * man/grpck.8.xml: Conditionally include the parts mentioning the
6230         gshadow file (based on SHADOWGRP).
6231         * man/grpck.8.xml: Add reference to the gshadow(5) manpage
6232         (conditionally included).
6233
6234 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6235
6236         * man/grpck.8.xml, man/pwck.8.xml: Indicate that the shadow
6237         parameter is optional (i.e. a passwd file can be specified without
6238         a shadow file, and the group file can be specified without the
6239         gshadow file).
6240
6241 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6242
6243         * man/grpck.8.xml: Document the options with a list of options,
6244         as in the pwck(8) manpage.
6245
6246 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6247
6248         * NEWS, src/newgrp.c: Fix segfault when an user returns to an
6249         unknown GID (either the user was deleted during the user's newgrp
6250         session or the user's passwd entry referenced an invalid group).
6251         Add a syslog warning in that case.
6252         * src/newgrp.c: Add an end of line when reporting an invalid
6253         password.
6254
6255 2008-01-12  Nicolas François  <nicolas.francois@centraliens.net>
6256
6257         * NEWS, src/useradd.c: Fix the handling of the --defaults option
6258         (it required an argument, but should behave as -D)
6259         * NEWS, man/useradd.8.xml: Document the --defaults option, which
6260         was already described in the useradd's Usage information.
6261
6262 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6263
6264         * src/passwd.c: Avoid setting the password to a const empty
6265         string, but set the first char to \0. This avoids a warning.
6266
6267 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6268
6269         * libmisc/salt.c: Add prototype for l64a(), gensalt(),
6270         SHA_salt_size(), and SHA_salt_rounds().
6271         * libmisc/salt.c: l64a() and gensalt() are static.
6272         * libmisc/salt.c: The `meth' parameter of crypt_make_salt() is a
6273         const. (ditto for the method variable).
6274         * libmisc/salt.c: SHA_salt_rounds returns a const string.
6275         * libmisc/salt.c: Avoid warnings with cast of random() to double.
6276         * libmisc/salt.c: Replace rand() by random().
6277
6278 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6279
6280         * lib/Makefile.am: Do not link libshadow.la with the intl, crypt,
6281         skey and md libraries...
6282         * src/Makefile.am: ...Specify for each binary which library is
6283         required. skey and md are required for the binaries with
6284         authentication of the user (chfn, chsh, login, passwd, su). intl
6285         is required for all. mcrypt is required for user (chfn, chsh,
6286         login, passwd, su, sulogin) and group (newgrp, gpasswd)
6287         authentication and for the creation of passwords (chpasswd,
6288         chgpasswd, gpasswd, newusers, passwd).
6289
6290 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6291
6292         * lib/nscd.c, lib/nscd.h: Set the service parameter of
6293         nscd_flush_cache() to const. This avoids a lot of warnings.
6294         * lib/nscd.c: Include "nscd.h" to avoid inconsistent prototypes.
6295
6296 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6297
6298         * lib/encrypt.c: Set the method string as a constant string.
6299
6300 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6301
6302         * lib/port.c: Assume <errno.h> declares errno.
6303
6304 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6305
6306         * man/po/fr.po: Fix typo: s/rend compte indiqué/rend le compte
6307         indiqué/
6308
6309 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6310
6311         * src/suauth.c: Remove prototype of check_su_auth(). It is
6312         redundant with prototypes.h.
6313         * src/suauth.c: isgrp() is static.
6314
6315 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6316
6317         * libmisc/obscure.c: Tag the `old' parameter of palindrome(),
6318         similar(), and simple() as unused.
6319         * libmisc/loginprompt.c: Tag the `sig' parameter of login_exit()
6320         as unused.
6321         * src/expiry.c: Tag the `sig' parameter of catch_signals() as
6322         unused.
6323         * src/su.c: Tag the `sig' parameter of catch_signals() as unused.
6324         * src/su.c: Add int parameter to the prototype of oldsig().
6325         * src/login.c: Tag the `sig' parameter of alarm_handler() as
6326         unused.
6327         * src/sulogin.c: Tag the `sig' parameter of catch_signals() as
6328         unused.
6329         * libmisc/getdate.y: Tag the `string' parameter of yyerror() as
6330         unused.
6331         * libmisc/getdate.y: The string provided to yyerror() is const.
6332         * libmisc/getdate.y: Fix the prototypes of yylex() and yyerror().
6333
6334 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6335
6336         * lib/defines.h: Remove teh macro definition of SETXXENT_TYPE,
6337         SETXXENT_RET, and SETXXENT_TEST. They were used by the now
6338         removed pwent.c and grent.c.
6339         * lib/defines.h: Remove the definition of PASSWD_PAG_FILE,
6340         GROUP_PAG_FILE, SHADOW_PAG_FILE, and SGROUP_PAG_FILE. They are
6341         never used.
6342         * lib/defines.h: Don't include "snprintf.h". The file does not
6343         exist in shadow.
6344         * lib/defines.h: Add new macro unused to tag unused parameters.
6345
6346 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6347
6348         * src/useradd.c, src/groupmems.c: Assume optarg and optind are
6349         declared in <getopt.h>.
6350
6351 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6352
6353         * src/usermod.c: Remove the pw_name argument of new_pw_passwd. Use
6354         the user_newname global variable instead. This avoid using a
6355         parameter with the same name as a function.
6356
6357 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6358
6359         * src/newgrp.c: Removed unused gid parameter of syslog_sg().
6360         * src/newgrp.c: The loginname and tty buffers are never changed.
6361         Add the const qualifier.
6362
6363 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6364
6365         * src/chpasswd.c, src/chgpasswd.c: The crypt_method string always
6366         points to a constant string. Add the const qualifier.
6367
6368 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6369
6370         * src/pwunconv.c: Remove prototype of l64a() (not used in
6371         pwunconv).
6372
6373 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6374
6375         * src/login_nopam.c: Use an ANSI prototype for resolve_hostname()
6376         instead of K&R prototype.
6377         * src/login_nopam.c: Fix the prototypes of list_match(),
6378         user_match(), from_match(), string_match(). There were no
6379         parameters in the prototypes.
6380         * src/login_nopam.c: Fix the prototypes of the function parameter
6381         match_fn of list_match().
6382
6383 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6384
6385         * libmisc/copydir.c: Remove the src parameter of copy_special().
6386         The entry's information are taken from the stat structure.
6387
6388 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6389
6390         * libmisc/console.c, libmisc/ulimit.c, lib/sgetgrent.c,
6391         lib/sgetpwent.c: Include "prototypes.h" to make
6392         sure the exported prototypes are the ones used for the definition
6393         of functions.
6394         * lib/prototypes.h: Added prototypes for __gr_del_entry(),
6395         __gr_get_db(), __gr_get_head(), __gr_set_changed(), __gr_dup(),
6396         __pw_del_entry(), __pw_get_db(), __pw_get_head(), __pw_dup(),
6397         sgetgrent(), sgetpwent(), __sgr_del_entry(), __sgr_dup(),
6398         __sgr_get_head(), __sgr_set_changed(), __spw_get_head(),
6399         __spw_del_entry(), __spw_dup().
6400         * lib/prototypes.h: Removed prototype for is_listed().
6401         * lib/prototypes.h: Added name of the check_su_auth()'s parameters.
6402         * lib/groupio.h: Removed prototypes for __gr_dup() and
6403         __gr_set_changed().
6404         * lib/sgroupio.c: Removed prototypes for putsgent(), sgetsgent(),
6405         and __gr_get_db().
6406         * lib/sgroupio.h: Removed prototypes for __sgr_dup() and
6407         __sgr_set_changed().
6408         * lib/shadowio.c: Removed prototype for __pw_get_db().
6409         * lib/pwio.c: Removed prototype for sgetpwent() and putpwent().
6410         * lib/shadowio.h: Removed prototypes for __spw_dup() and
6411         __spw_set_changed().
6412         * lib/pwio.h: Removed prototypes for __pw_dup() and
6413         __pw_set_changed().
6414         * lib/commonio.h: Add protection against multiple inclusions.
6415         * lib/prototypes.h: Include commonio.h (needed for the
6416         __xx_del_entry() functions).
6417         * src/grpck.c: Remove prototypes for __gr_del_entry(),
6418         __gr_get_head(), __sgr_del_entry(), and __sgr_get_head().
6419         * src/pwck.c: Remove prototypes for __pw_del_entry(),
6420         __pw_get_head(), __spw_del_entry(), and __spw_get_head().
6421         * lib/groupio.c: Remove prototype for sgetgrent().
6422         * lib/groupio.c: Add the name of the parameters for
6423         merge_group_entries() and split_groups().
6424         * lib/groupio.h: Remove prototypes for __gr_dup() and
6425         __gr_set_changed().
6426
6427 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6428
6429         * man/groupadd.8.xml, man/groupmod.8.xml: Add documentation for
6430         the new --password options.
6431
6432 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6433
6434         * src/useradd.c: Fix find_new_gid() prototype. Add a void
6435         parameter.
6436
6437 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6438
6439         * lib/prototypes.h: Add the dolastlog() prototype.
6440         * lib/prototypes.h: Typo: login.c -> loginprompt.c
6441         * src/login.c: Remove declaration of dolastlog().
6442         * lib/prototypes.h: Include <lastlog.h> for the declaration of
6443         struct lastlog.
6444         * lib/prototypes.h: Remove old comments in the header.
6445
6446 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6447
6448         * libmisc/pwdcheck.c: Do not include <pwd.h>. Include <shadow.h>
6449         and "pwauth.h" only when compiled without PAM support.
6450         * src/chfn.c, src/chsh.c: Do not include <shadow.h>
6451         * lib/commonio.c: Do not include <shadow.h>. Do not include
6452         <pwd.h>. Include "nscd.h" instead of <nscd.h>.
6453
6454 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6455
6456         * configure.in: Do not check if shadow.h exist, but make sure it
6457         exists.
6458         * libmisc/pwdcheck.c, src/chfn.c, src/chsh.c, lib/defines.h,
6459         lib/shadowmem.c, lib/shadowio.c, lib/commonio.c:
6460         HAVE_SHADOW_H is no more needed (shadow.h should always exist).
6461
6462 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6463
6464         * lib/groupio.c: Remove prototype of putgrent(), add parameter's
6465         name of sgetgrent().
6466         * lib/prototypes.h: Fix the do_pam_passwd() prototype (it returns
6467         void).
6468
6469 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6470
6471         * NEWS, src/groupmod.c, src/groupadd.c: Add option --password to
6472         groupadd and groupmod (similar to useradd and usermod).
6473
6474 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6475
6476         * lib/prototypes.h: grent.c does not exist anymore. Remove the
6477         putgrent prototype.
6478         * lib/prototypes.h: "shadowio.h" was included for the definition
6479         of the spwd structure. Replace this include by <shadow.h>
6480         * libmisc/xmalloc.c, libmisc/utmp.c, libmisc/strtoday.c,
6481         libmisc/pwd_init.c, libmisc/tz.c, lib/port.c, lib/fputsx.c,
6482         libmisc/pam_pass.c, libmisc/log.c: Include "prototypes.h" to make
6483         sure the exported prototypes are the ones used for the definition
6484         of functions.
6485         * libmisc/console.c: Define is_listed() as static and add its
6486         prototype.
6487         * libmisc/xgetXXbyYY.c, libmisc/yesno.c: Include config.h as a
6488         system include, as recommended by the autoconf documentation.
6489         * src/chage.c: Define isnum() as static and add its prototype.
6490         * libmisc/xgetspnam.c: Add missing include "shadowio.h". (This was
6491         OK as long as prototypes.h included this file.)
6492         * src/nologin.c: Make a proper prototype for the main() function
6493         declaration. (add void)
6494         * src/login.c: login_prompt is the name of a function, use
6495         loginprompt for the internal variable.
6496         * src/chsh.c: loginsh is a global variable, use newshell for the
6497         update_shell()'s parameter.
6498         * lib/gshadow.c: The prototypes of fgetsx() and fputsx() are
6499         already defined in prototypes.h. Remove the declaration of these
6500         functions.
6501         * lib/gshdow.c: list() is an external function. DO not shadow it
6502         with a static function. The internal list() was renamed
6503         build_list().
6504         * lib/commonio.c: stat shadows another stat variable. Remove this
6505         variable, and directly check the result of getfscreatecon().
6506         * libmisc/utmp.c: Remove the declaration of getutent(),
6507         getutline(), setutent(), and endutent() which are declared in
6508         <utmp.h>
6509
6510 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6511
6512         * src/newgrp.c: Remove duplicate logging to syslog.
6513
6514 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6515
6516         * src/newgrp.c: Avoid assignments in conditionals.
6517         * src/newgrp.c: Split check_perms(), syslog_sg() out of main().
6518
6519 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6520
6521         * lib/shadow.c: Avoid assignments in conditionals.
6522
6523 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6524
6525         * lib/groupio.c (split_groups): Test the pointer returned by malloc.
6526
6527 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6528
6529         * lib/commonio.c: Document add_one_entry_nis(), write_all(),
6530         commonio_remove(), commonio_locate(), and commonio_rewind().
6531
6532 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6533
6534         * src/pwck.c: Avoid implicit brackets.
6535         * src/pwck.c: Avoid implicit conversions to booleans.
6536
6537 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6538
6539         * src/grpck.c: Avoid implicit brackets.
6540         * src/grpck.c: Avoid implicit conversions to booleans.
6541
6542 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6543
6544         * NEWS: No functional changes were introduced by the previous pwck
6545         and grpck changes, except for the following bug fix: no syslog
6546         logging if a passwd or group file was specified on the command
6547         line without a shadowed database file, even if the system shadowed
6548         database was changed).
6549
6550 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6551
6552         * src/pwck.c: Fix typos in comments (gshadow/shadow).
6553
6554 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6555
6556         * src/pwck.c: Split process_flags(), open_files(), close_files()
6557         check_pw_file(), and check_spw_file() out of main(). New global
6558         variables is_shadow, sort_mode, use_system_pw_file, and
6559         use_system_spw_file.
6560
6561 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6562
6563         * libmisc/xgetXXbyYY.c: De-comment code (duplicate the entry when
6564         the _R function is not present on the system).
6565
6566 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6567
6568         * src/lastlog.c: Remove statbuf, not used.
6569         * src/lastlog.c: Fix types, cast umin and umax to uid_t.
6570         * src/lastlog.c: (option -u) user needs to be a signed long, not
6571         uid_t (to accept rangees like -<uid>
6572
6573 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6574
6575         * src/useradd.c: Avoid ?: construct without the middle term.
6576
6577 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6578
6579         * libmisc/copydir.c, src/usermod.c, lib/prototypes.h: The uid and
6580         gid parameters can be set to -1 to indicate that the original
6581         owners must be kept. Change the types from uid_t/gid_t to a
6582         long int (signed).
6583         * libmisc/copydir.c: Change the copy_entry(), copy_dir(),
6584         copy_symlink(), copy_special(), and copy_file() prototypes
6585         accordingly.
6586         * lib/prototypes.h: Add the parameters' name for the
6587         libmisc/copydir.c functions.
6588
6589 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6590
6591         * libmisc/limits.c, libmisc/obscure.c, src/login_nopam.c,
6592         lib/pwauth.c: Avoid empty file when USE_PAM is set.
6593         * libmisc/audit_help.c: Avoid empty file when WITH_AUDIT is not set.
6594         * src/login_nopam.c: Fix warnings: resolve_hostname takes and
6595         returns a constant string.
6596
6597 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6598
6599         * src/grpck.c: Split process_flags(), open_files(), and
6600         close_files() out of main(). New global variables is_shadow,
6601         sort_mode, use_system_grp_file, and use_system_sgr_file.
6602         * src/grpck.c: Split check_grp_file() and check_sgr_file() out of
6603         main().
6604         * src/grpck.c: Split check_members() and compare_members_lists()
6605         out of check_grp_file() and check_sgr_file().
6606
6607 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6608
6609         * man/po/Makefile.in.in: If remove-potcdate.sin does not exist,
6610         use the one from teh po directory (it is not installed
6611         automatically by autopoint.
6612
6613 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6614
6615         * lib/commonio.h: Fix the type of the bitfields in the commonio_entry
6616         and commonio_db structures to unsigned int (instead of int).
6617
6618 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6619
6620         * src/chsh.c: Split process_flags(), check_perms(), and update_shell()
6621         out of main().
6622         * src/chsh.c: Before pam_end(), the return value of the previous
6623         pam API was already checked. No need to validate it again.
6624         * src/chsh.c: Avoid implicit brackets.
6625         * src/chsh.c: Avoid assignments in comparisons.
6626
6627 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6628
6629         * src/chfn.c: New function: process_flags() split out of main().
6630         The flags variables are now global.
6631         * src/chfn.c: New functions: check_perms(), update_gecos(),
6632         get_old_fields(), and check_fields() split out of main().
6633         * src/chfn.c: Before pam_end(), the return value of the previous
6634         pam API was already checked. No need to validate it again.
6635         * src/chfn.c: Avoid implicit brackets.
6636         * src/chfn.c: Document may_change_field().
6637         * src/chfn.c: Avoid implicit conversions to booleans.
6638         * src/chfn.c: Avoid assignments in comparisons.
6639
6640 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6641
6642         * src/newusers.c: Compilation fix for PAM support (pamh needs to be
6643         global since the function split).
6644         * src/chpasswd.c: Likewise.
6645         * src/chgpasswd.c: Likewise.
6646         * src/chpasswd.c: Avoid implicit conversions to booleans.
6647
6648 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6649
6650         * src/chage.c: Fix typo: s/maximim/maximum/
6651         * src/chage.c: New function: fail_exit(). Change most of the exit()
6652         to a fail_exit, which makes sure the files are unlocked (new global
6653         variables: pw_locked, spw_locked), the PAM transaction is ended, and
6654         the failure is logged to libaudit (use a global user_name and user_uid
6655         for logging).
6656         * src/chage.c: Compilation fix for PAM support (pamh needs to be
6657         global since the function split).
6658         * src/chage.c: Document process_flags(), check_flags(), check_perms(),
6659         open_files(), and close_files().
6660         * src/chage.c: Split update_age() and get_defaults() out of main()
6661         * src/chage.c: Drop the privileges just after opening the files.
6662         * src/chage.c: Do not log to audit only if the user has an entry in
6663         the shadow file.
6664         * NEWS, src/chage.c (open_files): Also open the password file for
6665         writing. This fix chage when the user only has a password entry (and
6666         no shadow entries).
6667         * src/chage.c (get_defaults): Use default values that don't change the
6668         behavior of the account for the fields that are not specified when the
6669         user has no shadow entry.
6670
6671 2007-12-30  Nicolas François  <nicolas.francois@centraliens.net>
6672
6673         * src/groupadd.c: Compilation fix for PAM support (pamh needs to be
6674         global since the function split).
6675         * src/groupadd.c: End the PAM transaction in fail_exit().
6676         * src/groupadd.c: Document check_flags().
6677
6678 2007-12-30  Nicolas François  <nicolas.francois@centraliens.net>
6679
6680         * src/vipw.c: Compilation fix for non-gshadow support.
6681
6682 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6683
6684         * NEWS, src/newusers.c: Added support for gshadow.
6685
6686 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6687
6688         * NEWS, src/newusers.c: Do not add the new user to the group's
6689         members, because the group is already the primary group of the new
6690         user.
6691
6692 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6693
6694         newusers cleanups
6695         * src/newusers.c: main() split in new functions: process_flags(),
6696         check_flags(), check_perms(), open_files(), and close_files().
6697         * src/newusers.c: Before pam_end(), the return value of the previous
6698         pam API was already checked. No need to validate it again.
6699         * src/newusers.c: Avoid implicit brackets.
6700         * src/newusers.c: Avoid assignments in comparisons.
6701         * src/newusers.c: Avoid variables with the name of a type.
6702
6703 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6704
6705         chage cleanups
6706         * src/chage.c: Before pam_end(), the return value of the previous
6707         pam API was already checked. No need to validate it again.
6708         * src/chage.c: main() split in new functions: process_flags(),
6709         check_flags(), check_perms(), open_files(), and close_files().
6710         * src/chage.c: Avoid using a variable with the same name as a type.
6711         * src/chage.c: Remove dead code. It was probably put here to add more
6712         information to the audit_logger.
6713         * src/chage.c: Avoid implicit brackets.
6714         * src/chage.c: Avoid implicit conversion to booleans.
6715         * src/chage.c: Avoid assignments in comparisons.
6716
6717 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6718
6719         Same changes for chgpasswd:
6720         * src/chgpasswd.c: Before pam_end(), the return value of the previous
6721         pam API was already checked. No need to validate it again.
6722         * src/chgpasswd.c: main() split in process_flags(), check_flags(),
6723         check_perms(), open_files(), and close_files().
6724         * src/chgpasswd.c: Avoid assignments in comparisons.
6725         * src/chgpasswd.c: Avoid implicit brackets.
6726         * src/chgpasswd.c: Fix comments to match chgpasswd (group instead of
6727         user's passwords are changed).
6728
6729 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6730
6731         * src/chpasswd.c: Before pam_end(), the return value of the previous
6732         pam API was already checked. No need to validate it again.
6733         * src/chpasswd.c: New functions: process_flags(), check_flags(),
6734         check_perms(). Split out of main().
6735         * src/chpasswd.c: Other new functions: open_files(), close_files().
6736         This force flushing the password database after the password file is
6737         unlocked.
6738         * src/chpasswd.c: Avoid assignments in comparisons.
6739         * src/chpasswd.c: Avoid implicit brackets.
6740
6741 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6742
6743         * src/groupadd.c (find_new_gid): A group with the specified name
6744         cannot exist at that time. Remove the check.
6745         * src/groupadd.c (find_new_gid): If oflg is set, gflg is also set.
6746         Use (!gflg), which is clearer than (!gflg || !oflg).
6747         * src/groupadd.c (find_new_gid): find_new_gid is never called when an
6748         GID is specified with -g. Simplify find_new_gid accordingly.
6749         * src/groupadd.c (process_flags): prefer fail_exit to exit. This avoid
6750         an explicit call to audit_logger().
6751         * src/groupadd.c (main): Before pam_end(), the return value of the
6752         previous pam API was already checked. No need to validate it again.
6753         * src/groupadd.c (main, check_perms): New function check_perms().
6754         Split the validation of the user's permissions out of main()
6755
6756 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6757
6758         src/groupadd.c cleanup
6759         * src/groupadd.c (fail_exit): When compiled without AUDIT support, if
6760         the return code was E_SUCCESS, fail_exit() wouldn't have exited. Fix
6761         the scope of #idef WITH_AUDIT.
6762         * src/groupadd.c: Avoid implicit brackets.
6763         * src/groupadd.c: Split the processing and checking of options out of
6764         main() (process_flags).
6765         * src/groupadd.c: New function check_flags(). Split the validation of
6766         options and arguments out of process_flags.
6767         * src/groupadd.c: Add the parameters' names in the prototypes.
6768
6769 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
6770
6771         libmisc/copydir.c cleanup
6772         * libmisc/copydir.c: Split copy_tree() in more maintainable functions:
6773         copy_entry(), copy_dir(), copy_symlink(), copy_hardlink(),
6774         copy_special(), and copy_file().
6775         * libmisc/copydir.c: -1 is used to indicate an error, directly set err
6776         to -1, instead of incrementing it, and checking if not nul at the
6777         end.
6778         * libmisc/copydir.c: Avoid assignments in comparisons.
6779         * libmisc/copydir.c: Document selinux_file_context.
6780         * libmisc/copydir.c: Avoid implicit brackets.
6781         * libmisc/copydir.c: Avoid implicit conversions to booleans.
6782
6783 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
6784
6785         gpasswd cleanup
6786         * src/gpasswd.c: Add argument name to the internal function
6787         prototypes.
6788         * src/gpasswd.c: Document global variables.
6789         * src/gpasswd.c: New function: process_flags(). Split the processing
6790         of options out of main().
6791         * src/gpasswd.c: New functions: open_files(), close_files(),
6792         update_group(). Split out from main() to simplify this (too) big
6793         function.
6794         * src/gpasswd.c: New functions: check_perms(), get_group(),
6795         change_passwd(), check_flags(). Split out of main() to simplify main().
6796         * src/gpasswd.c: Avoid implicit brackets.
6797         * src/gpasswd.c: Avoid assignments in comparisons.
6798         * src/gpasswd.c: Avoid implicit conversions to booleans.
6799
6800 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
6801
6802         Merge Debian's patch 462_warn_to_edit_shadow
6803         * NEW, src/vipw.c: Recommend editing the shadowed (resp. regular) file
6804         if the regular (resp. shadowed) file was edited.
6805
6806 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6807
6808         Merge Debian's patch 451_login_PATH
6809         * NEWS, libmisc/setupenv.c: Export PATH according to ENV_PATH and
6810         ENV_SUPATH, as for su. This impacts login.
6811         * man/login.1.xml: PATH and SUPATH are now used both when PAM support
6812         is disabled and enabled.
6813
6814 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6815
6816         Merge Debian's patch 496_login_init_session
6817         * src/login.c, src/sulogin.c: If started as init, start a new session.
6818
6819 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6820
6821         Merge Debian's patch 408_passwd_check_arguments
6822         * NEWS, src/passwd.c: Make sure that no more than one username
6823         argument was provided.
6824
6825 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6826
6827         Merge Debian's patch 412_lastlog_-u_numerical_range
6828         * NEWS, src/lastlog.c, man/lastlog.8.xml: Accept numerical user, or
6829         ranges with the -u option.
6830
6831 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6832
6833         Merge Debian's patch 466_fflush-prompt
6834         * libmisc/Makefile.am, lib/prototypes.h, libmisc/yesno.c, src/grpck.c,
6835         src/pwck.c: move yes_or_no() from grpck/pwck to a separate
6836         libmisc/yesno.c (with a read_only argument).
6837         * libmisc/fields.c, libmisc/yesno.c: Make sure stdout is flushed before
6838         reading the user's answer.
6839
6840 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6841
6842         Merge Debian's patch 480_getopt_args_reorder
6843         * NEWS, src/su.c: su's arguments are now reordered.
6844
6845 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6846
6847         Merge RedHat's patch shadow-4.0.18.1-mtime.patch:
6848         * NEWS: Document that usermod will now preserve user's file modification
6849         and access time.
6850         * libmisc/copydir.c: Preserve the access and modification time of copied
6851         files. This is important for usermod. This will also impact useradd, for
6852         the skeleton files, but this is not important.
6853         * libmisc/copydir.c: Stop and return an error if a file could not be
6854         closed after during a copy.
6855
6856 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6857
6858         Cleanups:
6859         * src/useradd.c (find_new_gid): Check that gflg is not set (assert).
6860         * src/useradd.c (find_new_gid): Do not check the group name uniqueness
6861         (already checked in main).
6862         * src/useradd.c (find_new_gid): Avoid a "continue" in the loop.
6863         * src/useradd.c (find_new_gid): Remove irrelevant comments.
6864         * src/useradd.c (find_new_gid): Fix the function definition's comment.
6865
6866 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6867
6868         Merge RedHat's patch shadow-4.0.18.1-findNewUidOnce.patch:
6869         * src/useradd.c (usr_update): Do not call find_new_uid(). The UID was
6870         already either specified or found by another call to find_new_uid().
6871         * src/useradd.c (find_new_uid): Always start with uid_min (find_new_uid()
6872         is never called when user_id was already specified).
6873         * src/useradd.c (find_new_uid): Fix the comments (find_new_uid() is not
6874         called when the UID is specified (uflg)).
6875         * src/useradd.c (main): Only call find_new_uid() if (!oflg) and (!uflg).
6876         If uflg is set (but not oflg), check the UID uniqueness.
6877         * src/useradd.c (find_new_uid): Don't check the uid and user name
6878         uniqueness in find_new_uid(). The user name uniqueness is already checked
6879         during the parameter validation. UID uniqueness is also checked (see
6880         above).
6881         * src/useradd.c (find_new_uid): Don't check uflg in find_new_uid().
6882         * src/useradd.c (find_new_uid): Make sure that find_new_uid() is not
6883         called when uflg is set (assert).
6884
6885 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6886
6887         Merge RedHat's patch shadow-4.1.0-lOption.patch
6888         * NEWS, src/useradd.c, man/useradd.8.xml: Add option -l to avoid adding
6889         the user to the lastlog and faillog databases.
6890
6891 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6892
6893         * src/useradd.c, src/groupadd.c: NO_GETPWENT is no more supported. Remove
6894         associated chunks of code.
6895
6896 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6897
6898         * man/groupadd.8.xml: Document the long options (--force, --gid, --key,
6899         --non-unique).
6900
6901 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6902
6903         Merge RedHat's patch shadow-4.0.3-noinst.patch
6904         * NEWS, lib/Makefile.am: Do not install the shadow library per default.
6905         lib_LTLIBRARIES changed to noinst_LTLIBRARIES.
6906
6907 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6908
6909         * NEWS, configure.in: Prepare the 4.1.0 release.
6910
6911 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6912
6913         * NEWS, src/chgpasswd.c: Use chgpasswd PAM policy file instead of
6914         chpasswd's one.
6915
6916 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6917
6918         * man/pwconv.8.xml: Fix typos.
6919         * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document the NONE crypt
6920         method.
6921         * man/login.defs.d/MAIL_DIR.xml: Add comment regarding useradd not
6922         using MAIL_FILE.
6923         * man/login.defs.d/ERASECHAR.xml, man/login.defs.d/KILLCHAR.xml,
6924         man/login.defs.d/CONSOLE_GROUPS.xml, man/login.defs.d/ENV_HZ.xml,
6925         man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml:
6926         These variables are also used by some tools when compiled with PAM
6927         support.
6928         * man/login.defs.d/ENV_HZ.xml: Add note that it is only used by
6929         sulogin when compiled with PAM support.
6930         * man/login.defs.d/ENV_SUPATH.xml: Typos: ENV_PATH -> ENV_SUPATH,
6931         and mention sbin in the path.
6932         * man/login.defs.d/LOGIN_STRING.xml: Fix typo: confition ->
6933         condition.
6934         * man/sg.1.xml: Add CONFIGURATION section (SYSLOG_SG_ENAB).
6935         * man/su.1.xml: ENV_HZ, LOGIN_STRING, MAIL_DIR, USERGROUPS_ENAB
6936         are only used when su is compiled without PAM support.
6937         * man/login.defs.5.xml: Added variables: OBSCURE_CHECKS_ENAB
6938         PASS_ALWAYS_WARN PASS_CHANGE_TRIES SULOG_FILE SU_NAME
6939         SU_WHEEL_ONLY SYSLOG_SG_ENAB SYSLOG_SU_ENAB.
6940         * man/login.defs.5.xml: ENVIRON_FILE is only used when compiled
6941         without PAM support.
6942         * man/login.defs.5.xml: sulogin uses variables even when compiled
6943         with PAM support.
6944         * man/login.1.xml: ENV_HZ ENV_PATH ENV_SUPATH MAIL_DIR UMASK are
6945         only used when login is not compiled with PAM support.
6946
6947 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6948
6949         * src/login.c: Make sure is_console is only defined when USE_PAM
6950         is not defined.
6951
6952 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6953
6954         * libmisc/pwd2spwd.c: Fix time() prototype.
6955
6956 2007-12-08  Nicolas François  <nicolas.francois@centraliens.net>
6957
6958         * man/login.defs.d/CONSOLE_GROUPS.xml,
6959         man/login.defs.d/CONSOLE.xml, man/login.defs.d/DEFAULT_HOME.xml,
6960         man/login.defs.d/ENV_HZ.xml, man/login.defs.d/ENVIRON_FILE.xml,
6961         man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml,
6962         man/login.defs.d/ENV_TZ.xml, man/login.defs.d/ERASECHAR.xml,
6963         man/login.defs.d/FAIL_DELAY.xml,
6964         man/login.defs.d/FAILLOG_ENAB.xml,
6965         man/login.defs.d/FAKE_SHELL.xml, man/login.defs.d/FTMP_FILE.xml,
6966         man/login.defs.d/HUSHLOGIN_FILE.xml,
6967         man/login.defs.d/ISSUE_FILE.xml, man/login.defs.d/KILLCHAR.xml,
6968         man/login.defs.d/LASTLOG_ENAB.xml, man/login.defs.d/LOGIN_RETRIES.xml,
6969         man/login.defs.d/LOGIN_TIMEOUT.xml, man/login.defs.d/LOG_OK_LOGINS.xml,
6970         man/login.defs.d/LOG_UNKFAIL_ENAB.xml,
6971         man/login.defs.d/MAIL_CHECK_ENAB.xml, man/login.defs.d/MOTD_FILE.xml,
6972         man/login.defs.d/NOLOGINS_FILE.xml,
6973         man/login.defs.d/OBSCURE_CHECKS_ENAB.xml,
6974         man/login.defs.d/PASS_ALWAYS_WARN.xml,
6975         man/login.defs.d/PASS_CHANGE_TRIES.xml,
6976         man/login.defs.d/PASS_MAX_LEN.xml,
6977         man/login.defs.d/PORTTIME_CHECKS_ENAB.xml,
6978         man/login.defs.d/QUOTAS_ENAB.xml, man/login.defs.d/SULOG_FILE.xml,
6979         man/login.defs.d/SU_NAME.xml, man/login.defs.d/SU_WHEEL_ONLY.xml,
6980         man/login.defs.d/SYSLOG_SG_ENAB.xml,
6981         man/login.defs.d/SYSLOG_SU_ENAB.xml,
6982         man/login.defs.d/TTYGROUP.xml, man/login.defs.d/TTYTYPE_FILE.xml,
6983         man/login.defs.d/ULIMIT.xml, man/login.defs.d/USERGROUPS_ENAB.xml:
6984         New documentation of login.defs variables.
6985         * man/login.defs.d/MAIL_DIR.xml: Updated. It now contains the
6986         MAIL_FILE documentation.
6987         * man/login.defs.d/LOGIN_STRING.xml: Updated. Mentions %s.
6988         * man/pwconv.8.xml, man/groupmems.8.xml, man/groupdel.8.xml,
6989         man/useradd.8.xml, man/pwck.8.xml, man/groupadd.8.xml,
6990         man/sulogin.8.xml, man/newgrp.1.xml, man/usermod.8.xml,
6991         man/su.1.xml, man/vipw.8.xml, man/passwd.1.xml,
6992         man/groupmod.8.xml, man/login.1.xml, man/userdel.8.xml,
6993         man/grpck.8.xml: Added CONFIGURATION section.
6994         * man/generate_mans.mak: The generations of manpages depends on
6995         the variables from the Makefiles. Add the dependency on Makefile.
6996         * man/login.defs.5.xml: New login.defs variable documented.
6997         * man/Makefile.am: Added XML variable documentation to the
6998         distributed files.
6999
7000 2007-12-05  Nicolas François  <nicolas.francois@centraliens.net>
7001
7002         * man/gshadow.5.xml: Fix the newgrp section in the gshadow.5
7003         manpage. Thanks to Andre Majorel <aym-naibed@teaser.fr>.
7004
7005 2007-11-27  Nicolas François  <nicolas.francois@centraliens.net>
7006
7007         * man/Makefile.am: Added the login.defs variables description to
7008         the man's EXTRA_DIST.
7009
7010 2007-11-27  Nicolas François  <nicolas.francois@centraliens.net>
7011
7012         * man/chfn.1.xml: Uses CHFN_AUTH, CHFN_RESTRICT, LOGIN_STRING.
7013         * man/chgpasswd.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
7014         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
7015         * man/chpasswd.8.xml: Switch to using entities for ENCRYPT_METHOD,
7016         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
7017         * man/chsh.1.xml: Uses CHSH_AUTH, LOGIN_STRING.
7018         * man/expiry.1.xml: Does not use any login.defs parameter.
7019         * man/gpasswd.1.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
7020         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS.
7021         * man/login.defs.5.xml: Added CHSH_AUTH.
7022         * man/login.defs.5.xml: Cross reference -> cross references.
7023         * man/login.defs.5.xml: chfn only uses CHFN_AUTH when no_pam.
7024         * man/login.defs.5.xml: chsh uses CHSH_AUTH, not CHFN_AUTH.
7025         * man/login.defs.d/CHSH_AUTH.xml: Added.
7026         * man/login.defs.5.xml: chsh uses parameters only when no_pam.
7027         * man/login.defs.5.xml: expiry does not use CONSOLE_GROUPS, even
7028         if linked in the binary.
7029         * man/newusers.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
7030         MD5_CRYPT_ENAB, PASS_MAX_DAYS, PASS_MIN_DAYS, PASS_WARN_AGE,
7031         SHA_CRYPT_MIN_ROUNDS, UMASK.
7032
7033 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
7034
7035         * man/generate_translations.mak, man/po/Makefile.in.in: Add
7036         --expand-all-entities to the call to xml2po to avoid translating
7037         the external entities separately.
7038
7039 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
7040
7041         * man/login.defs.d/, man/login.defs.d/CHFN_RESTRICT.xml,
7042         man/login.defs.d/MAIL_DIR.xml, man/login.defs.d/PASS_MAX_DAYS.xml,
7043         man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml,
7044         man/login.defs.d/CHFN_AUTH.xml, man/login.defs.d/MD5_CRYPT_ENAB.xml,
7045         man/login.defs.d/PASS_WARN_AGE.xml, ·man/login.defs.d/UMASK.xml,
7046         man/login.defs.d/PASS_MIN_DAYS.xml, man/login.defs.d/UID_MAX.xml,
7047         man/login.defs.d/LOGIN_STRING.xml, man/login.defs.d/GID_MAX.xml,
7048         man/login.defs.d/ENCRYPT_METHOD.xml, man/login.defs.d/USERDEL_CMD.xml,
7049         man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml, man/login.defs.5.xml:
7050         Put each variable description in an external entities. This will permit
7051         to reference them in the various utils manpages.
7052         * man/login.defs.5.xml: Describe the usage of variables by each
7053         tools when compiled without PAM support.
7054
7055 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
7056
7057         * po/stats: Do not generate gmo files.
7058
7059 2007-11-25  Nicolas François  <nicolas.francois@centraliens.net>
7060
7061         * man/po/LINGUAS: Added missing LINGUAS.
7062         * man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
7063         man/po/ru.po, man/po/sv.po: Updated.
7064
7065 2007-11-25  Nicolas François  <nicolas.francois@centraliens.net>
7066
7067         * configure.in, man/po/Makefile.in.in, man/po/Makevars,
7068         man/po/POTFILES.in, man/Makefile.am: Generate the PO files for the
7069         manpages in the man/po directory (instead of man/<lang>). Use a
7070         Makefile.in.in based on gettext's one. This ensure that the PO are
7071         generated before being used in the <lang> directories.
7072         * man/generate_mans.mak, man/generate_translations.mak,
7073         man/Makefile.am: New makefile for the generation of manpages from
7074         XML (generate_mans.mak). This avoid duplicate chunks in
7075         generate_translations.mak and Makefile.am
7076         * man/de/de.po, man/fr/fr.po, man/it/it.po, man/pl/pl.po,
7077         man/ru/ru.po, man/sv/sv.po: Moved to...
7078         * man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
7079         man/po/ru.po, man/po/sv.po: ... here.
7080
7081 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7082
7083         * src/userdel.c, src/lastlog.c, src/newusers.c, src/chpasswd.c,
7084         src/usermod.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
7085         src/su.c, src/groupmod.c, src/passwd.c, src/groupadd.c,
7086         src/chage.c, src/faillog.c, src/chsh.c: Do not use tabulations in
7087         Usage strings.
7088         * po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po,
7089         po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/hu.po, po/id.po,
7090         po/it.po, po/ja.po, po/nb.po, po/pl.po, po/pt_BR.po, po/pt.po,
7091         po/ro.po, po/ru.po, po/sk.po, po/sv.po, po/tl.po, po/tr.po,
7092         po/uk.po, po/vi.po: Unfuzzy previous changes.
7093         * po/bs.po, po/he.po, po/nn.po, po/sq.po: No Usage string
7094         translated. Just updated PO.
7095         * po/dz.po, po/km.po, po/ko.po, po/ne.po, po/nl.po, po/zh_CN.po,
7096         po/zh_TW.po: It would be too error prone for me to unfuzzy these
7097         ones. Updated PO. (km and ne should be reviewed: options are
7098         translated).
7099
7100 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7101
7102         * po/ne.po, po/bs.po, po/cs.po, po/pt_BR.po, po/km.po, po/es.po,
7103         po/eu.po, po/ko.po, po/hu.po, po/sk.po, po/vi.po, po/uk.po,
7104         po/ro.po, po/sq.po, po/ru.po, po/id.po, po/nb.po, po/el.po,
7105         po/gl.po, po/fr.po, po/nl.po, po/pl.po, po/nn.po, po/it.po,
7106         po/dz.po, po/tl.po, po/pt.po, po/ca.po, po/da.po, po/tr.po,
7107         po/sv.po, po/de.po, po/ja.po, po/zh_TW.po, po/he.po, po/fi.po,
7108         po/zh_CN.po: Run "make update-po" in the po directory.
7109
7110 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7111
7112         * configure.in: New configure option: --with-sha-crypt enabled by
7113         default. Keeping the feature enabled is safe. Disabling it permits
7114         to disable the references to the SHA256 and SHA512 password
7115         encryption algorithms from the usage help and manuals (in addition
7116         to the support for these algorithms in the code).
7117         * libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
7118         src/chpasswd.c, src/chgpasswd.c, src/passwd.c: ENCRYPT_METHOD is
7119         always supported in login.defs. Remove the ENCRYPTMETHOD_SELECT
7120         preprocessor condition.
7121         * libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
7122         src/chpasswd.c, src/chgpasswd.c, src/passwd.c: Disable SHA256 and
7123         SHA512 if USE_SHA_CRYPT is not defined (this corresponds to a
7124         subset of the ENCRYPTMETHOD_SELECT sections).
7125
7126 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7127
7128         * lib/encrypt.c: If we requested a non DES encryption, make sure
7129         crypt returned a encrypted password longer than 13 chars. This
7130         protects against the GNU crypt() which does not return NULL if the
7131         algorithm is not supported, and return a DES encrypted password.
7132
7133 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7134
7135         * lib/groupio.c: Add missing #include "getdef.h"
7136
7137 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7138
7139         * src/newusers.c: Provide the crypt method to all the
7140         crypt_make_salt invocations.
7141         * src/newusers.c: Tag the ENCRYPTMETHOD_SELECT dependent code
7142         accordingly.
7143
7144 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7145
7146         * libmisc/salt.c: Make sure method is not NULL, defaulting to DES.
7147         Thanks to Dan Kopecek <dkopecek@redhat.com>.
7148         * src/chpasswd.c, src/chgpasswd.c: Do not use DES by default, but
7149         the system default define in /Etc/login.defs. Thanks to Dan
7150         Kopecek <dkopecek@redhat.com>.
7151         * NEWS, man/chpasswd.8.xml, man/chgpasswd.8.xml: Do not mention
7152         DES as the default algorithm.
7153         * src/chpasswd.c, src/chgpasswd.c: Tag the ENCRYPTMETHOD_SELECT
7154         dependent code accordingly.
7155
7156 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7157
7158         * libmisc/salt.c: Move the srandom call to gensalt.
7159         * libmisc/salt.c (gensalt): Replace the test on salt_size by an
7160         assert.
7161
7162 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7163
7164         Patch contributed by Dan Kopecek <dkopecek@redhat.com>
7165         * src/chpasswd.c, src/chgpasswd.c, src/newusers.c: Fix compilation
7166         when ENCRYPTMETHOD_SELECT is not defined.
7167         * libmisc/salt.c (MAGNUM): The nul char was put on (array)[2]
7168         instead of (array)[3].
7169         * libmisc/salt.c: MAGNUM should be defined even if
7170         ENCRYPTMETHOD_SELECT is not defined.
7171         * libmisc/salt.c: Use random instead of rand.
7172         * libmisc/salt.c (gensalt): New function to generate a salt
7173         (instead of using gettimeofday).
7174
7175 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7176
7177         * NEWS, src/newusers.c: New options -c/--crypt-method
7178         -s/--sha-rounds.
7179
7180 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7181
7182         * src/chpasswd.c: Added crypt method: NONE.
7183         * src/chpasswd.c: Added --sha-rounds to the usage().
7184         * libmisc/Makefile.am, libmisc/getlong.c, src/chgpasswd.c,
7185         src/chpasswd.c, lib/prototypes.h: New getlong function. Replace
7186         chpasswd's and chgpasswd's getnumber.
7187
7188 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7189
7190         * lib/groupio.c: Removed unused variable 'member'.
7191
7192 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7193
7194         * man/chpasswd.8.xml: Document the variables used by chpasswd.
7195         The definitions are copied from login.defs. I should try to use a
7196         less error prone process for this.
7197
7198 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7199
7200         * man/login.defs.5.xml: Use <replaceable> for the values set by
7201         users. (was sometimes <emphasis remap='I'>)
7202         * man/login.defs.5.xml: Use <option> vor the variable names. This
7203         makes the manpage much more readable.
7204         * man/login.defs.5.xml (ENCRYPT_METHOD, MD5_CRYPT_ENAB,
7205         SHA_CRYPT_MIN_ROUNDS, SHA_CRYPT_MAX_ROUNDS): Mention that command
7206         line option may supersede the system setting.
7207         * man/login.defs.5.xml: Document the variables used by chpasswd
7208         and chgpasswd.
7209
7210 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7211
7212         * lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
7213         svn propset svn:keywords Id
7214
7215 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7216
7217         * NEWS, lib/getdef.c, man/login.defs.5.xml: New login.defs
7218         variable: MAX_MEMBERS_PER_GROUP. Used for the split groups support.
7219         * lib/commonio.c, lib/commonio.h: Add an open_hook and close_hook
7220         operation. They are called after the database is actually opened
7221         and parse, or before it is closed.
7222         * lib/groupio.c: Add an open_hook to merge split groups, and an
7223         close group to split groups if MAX_MEMBERS_PER_GROUP is set.
7224         This fixes gpasswd and chgpasswd when split groups are used.
7225         * lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: No open or close
7226         hooks for these databases. (unsure about what should be the gshadow
7227         behavior for split groups)
7228
7229 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7230
7231         * NEWS, src/gpasswd.c: Read the group and shadow groups using
7232         gr_locate and sgr_locate. gpasswd write in the file database. Thus
7233         it should read information from the file database, not using
7234         getgrnam. The change to sgr_locate is just for consistency. This
7235         requires opening the group databases (read only) using
7236         gr_open/sgr_open.
7237
7238 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7239
7240         * configure.in: SHADOWGRP added to AM_CONDITIONAL for the
7241         generation of manpages.
7242         * man/generate_translations.mak: Added pam/no_pam condition (like
7243         in man/Makefile.am).
7244         * man/Makefile.am, man/generate_translations.mak: Added
7245         gshadow/no_gshadow condition.
7246         * man/gpasswd.1.xml: Use the gshadow/no_gshadow condition to
7247         change the manpage depending on the shadow group support.
7248         * NEWS: Indicate that manpages should be re-generated if configure
7249         option are changed, due to conditions.
7250
7251 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7252
7253         * po/ru.po: Updated to 399t. Thanks to Yuri Kozlov <kozlov.y@gmail.com>.
7254         * man/po/ru.po: Updated to 757t. Thanks also to Yuri Kozlov
7255         <kozlov.y@gmail.com>.
7256
7257 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7258
7259         * man/Makefile.am: Add support for conditionally including
7260         paragraphs. (e.g. to support the documentation of PAM and !PAM
7261         features).
7262
7263 2007-11-21  Nicolas François  <nicolas.francois@centraliens.net>
7264
7265         * man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow,
7266         and /etc/passwd to section FILES.
7267         * man/newusers.8.xml: Mentions that PAM is not used to set the
7268         passwords.
7269         * man/chpasswd.8.xml: Added section FILES (/etc/passwd,
7270         /etc/shadow, /etc/login.defs).
7271         * man/chpasswd.8.xml: Use the same paragraph as in newusers.8.xml
7272         to indicate that PAM is not used.
7273         * man/chgpasswd.8.xml: Added section FILES (/etc/group,
7274         /etc/gshadow, /etc/login.defs).
7275
7276 2007-11-21  Nicolas François  <nicolas.francois@centraliens.net>
7277
7278         * src/newusers.c: Try harder to get the GID equal to the UID.
7279         This was not the case when the GID is not specified, and a GID
7280         exist with an ID higher than the all the UIDs.
7281         * src/newusers.c: Typo in comment: contrained -> constrained.
7282
7283 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7284
7285         * src/chgpasswd.c: If the shadow group file is not present, do not
7286         try to locate the group entry from /etc/gshadow, and set the
7287         password in /etc/group.
7288
7289 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7290
7291         * libmisc/obscure.c, libmisc/salt.c, src/passwd.c: Match DES, MD5,
7292         SHA256, and SHA512 exactly (not only the first 3/6 chars).
7293         * libmisc/salt.c (SHA_salt_rounds): Set rounds to the specified
7294         prefered_rounds value, if specified.
7295         * src/gpasswd.c, libmisc/salt.c: Fix compilation warnings (use
7296         size_t for lengths).
7297         * src/chpasswd.c, src/chgpasswd.c: Add missing parenthesis.
7298
7299 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7300
7301         * man/sv, man/de, man/fr, man/pl, man/ru, man/it: Ignore the
7302         generated manpages. Add *.[1358] to the svn:ignore property.
7303
7304 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7305
7306         * src/chgpasswd.c, src/chpasswd.c: The -c, -e, and -m options are
7307         exclusives.
7308
7309 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7310
7311         * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document how the
7312         encryption algorithm is chosen for the passwords. Document the new
7313         -c and -s options. Add a reference to login.defs(5).
7314         * man/login.defs.5.xml: Document the ENCRYPT_METHOD,
7315         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS, and SHA_CRYPT_MAX_ROUNDS
7316         variables.
7317         * etc/login.defs: Indicate that MD5_CRYPT_ENAB is deprecated.
7318         Document the relationship with PAM for MD5_CRYPT_ENAB and
7319         ENCRYPT_METHOD.
7320
7321 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7322
7323         * src/passwd.c: Increase the size of crypt_passwd from 128 to 256
7324         to avoid overflow in case of SHA512 (161 should be sufficient).
7325
7326 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7327
7328         * lib/prototypes.h, libmisc/salt.c: Add parameters to
7329         crypt_make_salt to force the crypt method and number of rounds.
7330         * libmisc/salt.c: Add parameter to SHA_salt_rounds to force the
7331         number of rounds.
7332         * libmisc/salt.c, lib/getdef.c: ENCRYPT_METHOD and MD5_CRYPT_ENAB
7333         are needed also when USE_PAM (e.g. for chpasswd).
7334         * src/passwd.c, src/newusers.c, src/gpasswd.c: Use the new
7335         crypt_make_salt prototype
7336         * src/chpasswd.c, src/chgpasswd.c: Add option -c, --crypt-method
7337         and -s, --sha-rounds to specify the crypt method and number of
7338         rounds in case of one of the SHA methods. The new prototype of
7339         crypt_make_salt simplifies the handling of -m, --md5.
7340
7341 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7342
7343         * libmisc/salt.c: The salt has a random size (between 8 and 16
7344         bytes).
7345         * lib/getdef.c, etc/login.defs: Add definitions for
7346         SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS.
7347         * libmisc/salt.c: Use SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS
7348         to add a random number of rounds if needed.
7349
7350 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7351
7352         * libmisc/salt.c (MAGNUM): Terminate the array with nul (the array
7353         is then used with strcat).
7354         * libmisc/salt.c (crypt_make_salt): Initialize result[0] to nul at
7355         the beginning (was not initialized when USE_PAM).
7356         * libmisc/salt.c (crypt_make_salt): Check that ENCRYPT_METHOD is a
7357         valid crypt method.
7358
7359 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7360
7361         * NEWS, libmisc/obscure.c, libmisc/salt.c, src/passwd.c,
7362         lib/getdef.c, etc/login.defs: Add support for SHA256 and SHA512
7363         encrypt methods. Apply RedHat's patch shadow-4.0.18.1-sha256.patch.
7364         Thanks to Peter Vrabec. Hardly no changes except re-indent and
7365         changes related to recent modifications (max_salt_len in
7366         crypt_make_salt). Changes in lib/defines.h not applied (definition
7367         of ENCRYPTMETHOD_SELECT). I will add a configure check or flag.
7368
7369 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7370
7371         * man/de/Makefile.am: Add su.1 to the generated manpages.
7372         * man/fr/Makefile.am: Add id.1 to EXTRA_DIST. It will be
7373         generated.
7374         * man/pl/Makefile.am: Add groupmems.8 to the generated manpages.
7375         * man/it/Makefile.am: Add logoutd.8 to EXTRA_DIST. It will be
7376         generated.
7377         * man/de/su.1, man/fr/id.1, man/pl/groupmems.8, man/it/logoutd.8:
7378         Removed, since auto-generated.
7379
7380 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7381
7382         Fix some compilation warnings:
7383         * src/login.c: "dereferencing type-punned pointer will break
7384         strict-aliasing rules", add a variable indirection: ptr_pam_user.
7385         * lib/commonio.c: do not initialize the sb stat structure.
7386         * lib/pwio.c, lib/shadowio.c, lib/sgroupio.c, lib/groupio.c:
7387         initialize the security context if WITH_SELINUX.
7388         * lib/nscd.c: The service argument is not const (used in the exec*
7389         parameters). This matches with the prototype definition.
7390         * src/groupmems.c: Avoid ++i when i is also used in the same line.
7391         * src/newusers.c: i is positive every time it is compared. Add
7392         cast to unsigned int.
7393         * src/nologin.c: Use a main() prototype with no arguments.
7394         * libmisc/getdate.y: Initialize the type and value fields of the
7395         terminating entry for each TABLE.
7396         * libmisc/tz.c: Use "TZ=CST6CDT" as the default timezone.
7397
7398 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7399
7400         * man/pl/Makefile.am: Add getspnam.3 to EXTRA_DIST since it is
7401         generated with shadow.3.
7402         * man/generate_translations.mak: Clean all the manpages, based on
7403         $(EXTRA_DIST), not $(man_MANS).
7404
7405 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7406
7407         * man/sv/getspnam.3, man/sv/faillog.5, man/sv/faillog.8,
7408         man/sv/grpconv.8, man/sv/chsh.1, man/sv/shadow.3,
7409         man/sv/grpunconv.8, man/sv/shadow.5, man/sv/newgrp.1,
7410         man/sv/limits.5, man/sv/gpasswd.1, man/sv/sg.1, man/sv/userdel.8,
7411         man/sv/lastlog.8, man/sv/login.access.5, man/sv/grpck.8,
7412         man/sv/chfn.1, man/sv/expiry.1, man/sv/newusers.8,
7413         man/sv/chpasswd.8, man/sv/pwconv.8, man/sv/logoutd.8,
7414         man/sv/groupmems.8, man/sv/usermod.8, man/sv/pwunconv.8,
7415         man/sv/su.1, man/sv/groupdel.8, man/sv/chgpasswd.8,
7416         man/sv/login.defs.5, man/sv/vipw.8, man/sv/useradd.8,
7417         man/sv/gshadow.5, man/sv/passwd.1, man/sv/groupmod.8,
7418         man/sv/passwd.5, man/sv/chage.1, man/sv/porttime.5,
7419         man/sv/login.1, man/sv/pwck.8, man/sv/nologin.8,
7420         man/sv/groupadd.8, man/sv/suauth.5, man/sv/vigr.8,
7421         man/sv/groups.1, man/de/passwd.1, man/de/newgrp.1, man/de/chsh.1,
7422         man/de/passwd.5, man/de/login.1, man/de/vipw.8, man/de/chfn.1,
7423         man/de/vigr.8, man/de/groups.1, man/fr/getspnam.3,
7424         man/fr/faillog.5, man/fr/faillog.8, man/fr/grpconv.8,
7425         man/fr/chsh.1, man/fr/shadow.3, man/fr/grpunconv.8,
7426         man/fr/shadow.5, man/fr/newgrp.1, man/fr/limits.5,
7427         man/fr/gpasswd.1, man/fr/sg.1, man/fr/userdel.8,
7428         man/fr/login.access.5, man/fr/lastlog.8, man/fr/grpck.8,
7429         man/fr/chfn.1, man/fr/expiry.1, man/fr/newusers.8,
7430         man/fr/chpasswd.8, man/fr/pwconv.8, man/fr/logoutd.8,
7431         man/fr/usermod.8, man/fr/pwunconv.8, man/fr/su.1,
7432         man/fr/groupdel.8, man/fr/login.defs.5, man/fr/vipw.8,
7433         man/fr/useradd.8, man/fr/gshadow.5, man/fr/passwd.1,
7434         man/fr/groupmod.8, man/fr/passwd.5, man/fr/porttime.5,
7435         man/fr/chage.1, man/fr/login.1, man/fr/pwck.8, man/fr/groupadd.8,
7436         man/fr/suauth.5, man/fr/vigr.8, man/fr/groups.1, man/pl/faillog.5,
7437         man/pl/faillog.8, man/pl/chsh.1, man/pl/grpconv.8,
7438         man/pl/grpunconv.8, man/pl/shadow.5, man/pl/newgrp.1,
7439         man/pl/limits.5, man/pl/gpasswd.1, man/pl/sg.1, man/pl/userdel.8,
7440         man/pl/login.access.5, man/pl/lastlog.8, man/pl/grpck.8,
7441         man/pl/chfn.1, man/pl/expiry.1, man/pl/newusers.8,
7442         man/pl/pwconv.8, man/pl/chpasswd.8, man/pl/logoutd.8,
7443         man/pl/usermod.8, man/pl/pwunconv.8, man/pl/su.1,
7444         man/pl/groupdel.8, man/pl/vipw.8, man/pl/login.defs.5,
7445         man/pl/useradd.8, man/pl/passwd.1, man/pl/groupmod.8,
7446         man/pl/passwd.5, man/pl/porttime.5, man/pl/chage.1,
7447         man/pl/login.1, man/pl/pwck.8, man/pl/groupadd.8, man/pl/suauth.5,
7448         man/pl/vigr.8, man/pl/groups.1, man/ru/getspnam.3,
7449         man/ru/faillog.5, man/ru/faillog.8, man/ru/grpconv.8,
7450         man/ru/chsh.1, man/ru/shadow.3, man/ru/grpunconv.8,
7451         man/ru/shadow.5, man/ru/newgrp.1, man/ru/limits.5,
7452         man/ru/gpasswd.1, man/ru/sg.1, man/ru/userdel.8,
7453         man/ru/login.access.5, man/ru/lastlog.8, man/ru/grpck.8,
7454         man/ru/chfn.1, man/ru/expiry.1, man/ru/newusers.8,
7455         man/ru/chpasswd.8, man/ru/pwconv.8, man/ru/logoutd.8,
7456         man/ru/groupmems.8, man/ru/usermod.8, man/ru/pwunconv.8,
7457         man/ru/su.1, man/ru/groupdel.8, man/ru/chgpasswd.8,
7458         man/ru/login.defs.5, man/ru/vipw.8, man/ru/useradd.8,
7459         man/ru/gshadow.5, man/ru/passwd.1, man/ru/groupmod.8,
7460         man/ru/passwd.5, man/ru/chage.1, man/ru/porttime.5,
7461         man/ru/login.1, man/ru/pwck.8, man/ru/nologin.8,
7462         man/ru/groupadd.8, man/ru/suauth.5, man/ru/vigr.8,
7463         man/ru/groups.1, man/it/getspnam.3, man/it/faillog.5,
7464         man/it/faillog.8, man/it/grpconv.8, man/it/chsh.1,
7465         man/it/shadow.3, man/it/grpunconv.8, man/it/shadow.5,
7466         man/it/newgrp.1, man/it/gpasswd.1, man/it/sg.1, man/it/userdel.8,
7467         man/it/lastlog.8, man/it/grpck.8, man/it/chfn.1, man/it/expiry.1,
7468         man/it/newusers.8, man/it/chpasswd.8, man/it/pwconv.8,
7469         man/it/usermod.8, man/it/pwunconv.8, man/it/su.1,
7470         man/it/groupdel.8, man/it/vipw.8, man/it/useradd.8,
7471         man/it/passwd.1, man/it/groupmod.8, man/it/passwd.5,
7472         man/it/porttime.5, man/it/chage.1, man/it/login.1, man/it/pwck.8,
7473         man/it/groupadd.8, man/it/vigr.8, man/it/groups.1,
7474         man/pl/shadow.3, man/pl/sulogin.8, man/pl/id.1, man/ru/sulogin.8,
7475         man/ru/id.1, man/it/id.1: Remove generated translated manpages.
7476         They are still distributed with the shadow tarballs.
7477
7478 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7479
7480         * man/pl/chgpassw.8: Remove chgpassw.8 since the real manpage
7481         should be named chgpasswd.8.
7482
7483 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7484
7485         * man/vigr.8.xml: Remove file. The vigr man page is generated from
7486         the vipw XML file.
7487
7488 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7489
7490         * lib/prototypes.h, configure.in, libmisc/Makefile.am,
7491         libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
7492         libmisc/xgetgrnam.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c:
7493         Added functions xgetpwnam(), xgetpwuid(), xgetgrnam(),
7494         xgetgrgid(), and xgetspnam(). They allocate memory for the
7495         returned structure and are more robust to successive calls. They
7496         are implemented with the libc's getxxyyy_r() functions if
7497         available.
7498         * NEWS, libmisc/limits.c, libmisc/entry.c, libmisc/chowntty.c,
7499         libmisc/addgrps.c, libmisc/myname.c, libmisc/rlogin.c,
7500         libmisc/pwdcheck.c, src/newgrp.c, src/login_nopam.c, src/login.c,
7501         src/userdel.c, src/lastlog.c, src/grpck.c, src/gpasswd.c,
7502         src/newusers.c, src/chpasswd.c, src/chfn.c, src/groupmems.c,
7503         src/usermod.c, src/expiry.c, src/groupdel.c, src/chgpasswd.c,
7504         src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c, src/pwck.c,
7505         src/groupadd.c, src/chage.c, src/login.c, src/suauth.c,
7506         src/faillog.c, src/groups.c, src/chsh.c, src/id.c: Review all the
7507         usage of one of the getpwnam(), getpwuid(), getgrnam(),
7508         getgrgid(), and getspnam() functions. It was noticed on
7509         http://bugs.debian.org/341230 that chfn and chsh use a passwd
7510         structure after calling a pam function, which result in using
7511         information from the passwd structure requested by pam, not the
7512         original one. It is much easier to use the new xget... functions
7513         to avoid these issues. I've checked which call to the original
7514         get... functions could be left (reducing the scope of the
7515         structure if possible), and I've left comments to ease future
7516         reviews (e.g. /* local, no need for xgetpwnam */).
7517         Note: the getpwent/getgrent calls should probably be checked also.
7518         * src/groupdel.c, src/expiry.c: Fix typos in comments.
7519         * src/groupmod.c: Re-indent.
7520         * lib/Makefile.am, lib/groupmem.c, lib/groupio.c, lib/pwmem.c,
7521         lib/pwio.c, lib/shadowmem.c, lib/shadowio.c: Move the __<xx>_dup
7522         functions (used by the xget... functions) from the <xx>io.c files
7523         to the new <xx>mem.c files. This avoid linking some utils against
7524         the SELinux library.
7525
7526 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7527
7528         * man/pl/pl.po: Fix typo: chgpassw -> chgpasswd.
7529         * man/pl/Makefile.am: Fix typo: chgpassw -> chgpasswd.
7530         * man/de/de.po: groups shall not be translated (for command,
7531         refname, or refentrytitle).
7532
7533 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7534
7535         * src/login.c: Fix typo introduced while fixing
7536         http://bugs.debian.org/451521 (compile fix).
7537
7538 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7539
7540         * libmisc/Makefile.am: Fix typo: EXTRA_DOST -> EXTRA_DIST.
7541
7542 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7543
7544         * src/login_nopam.c: Fix a typo in a comment.
7545
7546 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7547
7548         * src/useradd.c: Do not document the behavior compared to old
7549         versions.
7550
7551 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7552
7553         * man/usermod.8.xml: Document the differences between locking an
7554         account and locking a password.
7555
7556 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7557
7558         * NEWS, src/usermod.c: Refuse to unlock an account when it would
7559         result in a passwordless account.  Based on Openwall's patch
7560         shadow-4.0.4.1-owl-usermod-unlock.diff.
7561         * NEWS, src/passwd.c: Likewise.
7562
7563 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7564
7565         * src/userdel.c (path_prefix): Make sure that the prefix is the
7566         name of a directory (not only the beginning of a directory).
7567         Openwall patch shadow-4.0.4.1-owl-userdel-path_prefix.diff.
7568
7569 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7570
7571         * NEWS, src/newgrp.c: Do not give an indication that the group has no
7572         password.
7573         * src/newgrp.c: Do not only bail on syslog if the password is not
7574         valid. Also give an indication to the user on stderr.
7575
7576 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7577
7578         Fixes from Openwall patch shadow-4.0.4.1-owl-chage-drop-priv.diff:
7579         * src/chage.c: Remove cleanup(). pw_lock is never called. Replace
7580         cleanup(2) by spw_unlock and remove the calls to cleanup(1).
7581         * src/chage.c: Remove variable pwrw. It is always set to 0. The
7582         password database is always read only.
7583         * src/chage.c: Make chage -l also drop the saved GID.
7584         * src/chage.c: Prefer setregid/setreuid to setgid/setuid.
7585
7586 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7587
7588         Fixes from Openwall patch shadow-4.0.4.1-alt-man.diff:
7589         * man/useradd.8.xml: Indicate that the NIS caveats is also valid
7590         for any external database as LDAP.
7591         * man/groupadd.8.xml: Likewise.
7592         * man/groupadd.8.xml: Reorder and reformat the caveats bullets.
7593
7594 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7595
7596         * NEWS: Applied Debian patch 409_man_generate_from_PO to
7597         automatically generate the translated manpages from the POs.
7598         * man/Makefile.am: Replace the individual rules for the generation
7599         of the manpages (from XML) by a generic Makefile rule an
7600         dependencies for the linked manpages.
7601         * man/generate_translations.mak: Generic rules for all the
7602         generated translated manpages (if ENABLE_REGENERATE_MAN).
7603         * man/Makefile.am: Removed rules for all the generated translated
7604         manpages.
7605         * man/sv/Makefile.am, man/de/Makefile.am, man/fr/Makefile.am,
7606         man/pl/Makefile.am, man/ru/Makefile.am, man/it/Makefile.am:
7607         Include generate_translations.mak to handle the generated
7608         translations (XML and roff files).
7609         * man/Makefile.am: Translated XML files moved from the CLEANFILES
7610         variable of man/Makefile.am to the various languages Makefiles.
7611
7612 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7613
7614         * man/chpasswd.8.xml: Document that chpasswd does not use PAM to
7615         update the passwords. This fixes http://bugs.debian.org/396726.
7616         Debian patch 411_chpasswd_document_no_pam.
7617
7618 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7619
7620         * NEWS, src/su.c: Avoid terminating the PAM library in the forked
7621         child.  This is done later in the parent after closing the PAM
7622         session. This fixes http://bugs.debian.org/412061.
7623         Debian patch 405_su_no_pam_end_before_exec.
7624
7625 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7626
7627         * man/newgrp.1.xml: Mention sg in the newgrp manpage.
7628         This fixes http://bugs.debian.org/396690.
7629         Debian patch 410_newgrp_man_mention_sg.
7630
7631 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7632
7633         * src/passwd.c: Fix typo: the warndays option was called warning.
7634         This is now warndays, as documented in the manpage and usage.
7635         This fixes http://bugs.debian.org/445481.
7636         Debian patch 417_passwd_warndays.
7637
7638 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7639
7640         * NEWS, src/pwck.c: Remove the preprocessor check SHADOWPWD. The
7641         variable is no more defined (and always assumed).
7642         Debian patch 493_pwck_no_SHADOWPWD.
7643
7644 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7645
7646         * NEWS, src/passwd.c, man/passwd.1.xml: -l/-u options: edit the
7647         shadow account expiry field *in addition* to editing the password
7648         field.  This fixes http://bugs.debian.org/389183.
7649         Debian patch 494_passwd_lock.
7650
7651 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7652
7653         * NEWS, src/newgrp.c: Do not request a password when a user uses
7654         newgrp to switch to her primary group.
7655         This fixes http://bugs.debian.org/396691.
7656         Debian patch 497_newgrp_primary_group.
7657         * src/newgrp.c: Remove a comment which states otherwise.
7658
7659 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7660
7661         * src/login.c: Log an error if the password entry could not be
7662         found (respect LOG_UNKFAIL_ENAB to avoid logging a password). This
7663         fixes the Debian bug http://bugs.debian.org/451521
7664
7665 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7666
7667         * man/useradd.8.xml: -b documenation: Use the same notation for
7668         the -d argument as in the -d documentation.
7669
7670 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7671
7672         * src/useradd.c: Allow the -b option even without the -D option.
7673
7674 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7675
7676         * src/usermod.c: Use the same error message for the below errors.
7677         (option working ONLY if another is specified).
7678
7679 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7680
7681         * src/usermod.c: Make usermod -o and -u work independently of the
7682         argument order.
7683
7684 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7685
7686         * src/usermod.c: Validate that two of the -L, -p, and -U options
7687         are not used at the same time after the parsing of options. -U
7688         used to be allowed after -p or -L, but not before.
7689
7690 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7691
7692         * src/usermod.c: Make usermod -d and -m work independently of the
7693         argument order. Thanks to Justin Pryzby <jpryzby+d@quoininc.com>
7694         for the patch. This fixes http://bugs.debian.org/451518.
7695
7696 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7697
7698         * NEWS, lib/nscd.c: Execute nscd -i instead of using the private
7699         glibc socket to flush the nscd tables. This comes from the RedHat
7700         patch shadow-4.0.16-nscd.c.
7701         * lib/commonio.c: Forbid inheritance of the passwd and group files
7702         to the spawed processes (like nscd). This comes from the RedHat
7703         patch shadow-4.0.17-notInheritFd.patch.
7704         * lib/nscd.h: Update header.
7705
7706 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7707
7708         * src/usermod.c (fail_exit): Add static variables pw_locked,
7709         spw_locked, gr_locked, and sgr_locked to indicate which files must
7710         be unlocked.
7711         * src/usermod.c (open_files, close_files): Open and close the
7712         group files as well as the passwd files. This permit to check if
7713         the group files modification are allowed before writing the passwd
7714         files.
7715         * src/usermod.c (grp_update, update_gshadow, update_group): Do not
7716         return a status code, but call fail_exit() in case of error. The
7717         group files are no more opened and closed in update_gshadow() and
7718         update_group().
7719         * src/usermod.c (main): move the call to grp_update between
7720         open_files and close_files.
7721         * src/usermod.c: Differentiate failure to add a group entry and
7722         failure to add a shadow group entry.
7723
7724 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7725
7726         * src/userdel.c: Differentiate failure to update a group entry and
7727         failure to update a shadow group entry.
7728
7729 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7730
7731         * src/userdel.c, src/usermod.c, src/useradd.c: Inform the user if
7732         out of memory while updating a group database.
7733
7734 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7735
7736         * NEWS, src/usermod.c: Update the group database before flushing
7737         the nscd caches.
7738
7739 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7740
7741         * NEWS, src/userdel.c: Abort if an error is found while updating the
7742         user or group database. No changes will be written in the
7743         databases.
7744
7745 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7746
7747         * src/useradd.c: It is no more needed to check that the user's
7748         groups are specified only once in the group file. This is checked
7749         by gr_update().
7750
7751 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7752
7753         * lib/commonio.c (next_entry_by_name): New function.
7754         * NEWS, lib/commonio.c (commonio_update): When an entry is updated, make
7755         sure that there are no other entry with the same name. This fixes
7756         an infinite loop in userdel and usermod when an (erroneous) group
7757         file contains two entries with the same name.
7758         (https://bugzilla.redhat.com/show_bug.cgi?id=240915)
7759
7760 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7761
7762         * libmisc/salt.c: Make sure the salt string is terminated at the
7763         right place (either 8th, or 11th position).
7764         * NEWS, src/chgpasswd.c, src/chpasswd.c: The protocol + salt does
7765         not need 15 chars. No need for a temporary buffer.
7766         This change the fix committed on 2007-11-10. The salt provided to
7767         pw_encrypt could have been too long.
7768
7769 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7770
7771         * man/fr/fr.po: Fix typo: missing / in <placeholder-1/>. This
7772         caused the gpasswd title to be incomplete in the French manpage.
7773
7774 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7775
7776         * configure.in: Check if the l64a function exists instead of a64l
7777         which we do not use.
7778         * libmisc/salt.c: Add support for uClibc with no l64a().
7779
7780 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7781
7782         * configure.in: Check if the netdb.h header file and the innetgr
7783         function exist.
7784         * src/login_nopam.c, NEWS: Add support for systems with no
7785         innetgr().  On those systems, username with an @ will be treated
7786         like any other username (i.e. lookup in the local database for an
7787         user with an @). Thanks to Mike Frysinger for the patch.
7788
7789 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7790
7791         * src/useradd.c: Indentation fix.
7792
7793 2007-11-14  Nicolas François  <nicolas.francois@centraliens.net>
7794
7795         * src/newgrp.c, NEWS: Declare the child and pid variable at the
7796         beginning of a block. This fixes a compilation issue with gcc 2.95.
7797         The intent is the same as Gentoo's patch shadow-4.0.12-gcc2.patch.
7798
7799 2007-11-14  Nicolas François  <nicolas.francois@centraliens.net>
7800
7801         * src/Makefile, NEWS: Add a suidperms variable. This should ease
7802         the change of permission of suid binaries for distributors (not
7803         recommended).
7804
7805 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7806
7807         * ./, libmisc/, src/, contrib/, doc/, lib/, man/, man/sv/,
7808         man/de/, man/ja/, man/fi/, man/pt_BR/, man/fr/, man/pl/, man/hu/,
7809         man/tr/, man/ru/, man/zh_TW/, man/id/, man/zh_CN/, man/cs/,
7810         man/es/, man/ko/, man/it/, etc/, etc/pam.d/, po/: Restore the
7811         ignore patterns from the previous repository.
7812
7813         * libmisc/*.c, libmisc/*.h, libmisc/getdate.y, shadow.spec.in,
7814         src/*.c, contrib/groupmems.shar, contrib/pwdauth.c,
7815         doc/README.platforms, doc/WISHLIST, doc/console.c.spec.txt,
7816         lib/*.c, lib/*.h, COPYING, man/*.xml, man/sv/*.[1358],
7817         man/de/*.[1358], man/ja/*.[1358], man/fi/*.[1358],
7818         man/fr/*.[1358], man/pt_BR/*.[1358], man/pl/*.[1358],
7819         man/hu/*.[1358], man/tr/*.[1358], man/ru/*.[1358],
7820         man/zh_TW/*.[1358], man/id/*.[1358], man/zh_CN/*.[1358],
7821         man/cs/*.[1358], man/es/*.[1358], man/ko/*.[1358],
7822         man/it/*.[1358], etc/login.access, etc/login.defs, NEWS: Added the
7823         subversion svn:keywords property (Id) for proper identification.
7824
7825 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7826
7827         * man/sv/sv.po, man/de/de.po, man/fr/fr.po, man/pl/pl.po,
7828         man/ru/ru.po, man/it/it.po: Run "make update-po" in the man
7829         directory.
7830
7831         * po/ne.po, po/bs.po, po/cs.po, po/pt_BR.po, po/km.po, po/es.po,
7832         po/eu.po, po/ko.po, po/hu.po, po/sk.po, po/vi.po, po/uk.po,
7833         po/ro.po, po/sq.po, po/ru.po, po/id.po, po/nb.po, po/el.po,
7834         po/gl.po, po/fr.po, po/nl.po, po/pl.po, po/nn.po, po/it.po,
7835         po/dz.po, po/tl.po, po/pt.po, po/ca.po, po/da.po, po/tr.po,
7836         po/sv.po, po/de.po, po/ja.po, po/zh_TW.po, po/he.po, po/fi.po,
7837         po/zh_CN.po: Run "make update-po" in the po directory.
7838
7839 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7840
7841         * NEWS, src/newgrp.c: Don't ask for a password if there are no
7842         group passwords. Just directly give up. This comes from the
7843         Fedora's patch shadow-4.0.13-newgrpPwd.patch, and seems to be the
7844         only part with an effect.
7845
7846 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7847
7848         * NEWS, src/chgpasswd.c, src/chpasswd.c: Fix chpasswd and
7849         chgpasswd stack overflow. Based on Fedora's
7850         shadow-4.0.18.1-overflow.patch.
7851
7852 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7853
7854         * NEWS, src/useradd.c: Allow non numerical group identifier to be
7855         specified with useradd's -g option. Applied Debian patch
7856         397_non_numerical_identifier. Thanks also to Greg Schafer
7857         <gschafer@zip.com.au>.
7858
7859 2007-10-28  Nicolas François  <nicolas.francois@centraliens.net>
7860
7861         * configure.in: Prepare the next release: 4.0.18.2. The gettext
7862         version used for the configuration will be 0.16.
7863
7864 2007-10-28  Nicolas François  <nicolas.francois@centraliens.net>
7865
7866         * po/ja.po: Remove a plural form. nplurals=1 for japanese.
7867         Moreover, msgstr[0] was identical to msgstr[1].
7868
7869 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7870
7871         * libmisc/limits.c, man/limits.5.xml, etc/limits: Apply patch sent
7872         by Justin Bronder <jsbronder@gmail.com>. See Debian bug #442334.
7873         This adds support to 2 new resource limits: max nice value, and
7874         max real time priority. This is only used when shadow is not
7875         compiled with PAM support.
7876
7877 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7878
7879         * man/gpasswd.1.xml: Describe the options separately in the
7880         OPTIONS section. Simplify the synopsis.
7881
7882 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7883
7884         * README, po/Makevars: Update contact information.
7885
7886 2007-10-27  Christian Perrier  <bubulle@debian.org
7887
7888         * src/newgrp.c, src/passwd.c, src/su.c:
7889         No longer 'apologize' to users when they use incorrect passwords
7890         Remove "Sorry" from programs display
7891         Imported from Debian's patch 413_no-sorry-in-passwd and
7892         102_de-fix-sorry
7893         * man/fr/fr.po: fix translation errors. Imported from Debian's
7894         patch 201_fix_man_su_fr and 416_man-fr_newgrp
7895         * man/it/it.po, man/Makefile.am, man/it/Makefile.am:
7896         Use gettext for the Italian man pages translation. Imported from
7897         Debian's patch 202_it_man_uses_gettext. Thanks to Giuseppe
7898         Sacco who contributed the Italian translation.
7899         * man/de/de.po: (nearly) complete German translation of man pages
7900         Imported from Debian's patch 203_de-man-update. Thanks to 
7901         Simon Brandmair
7902         * src/usermod.c: Clarify the online help of usermod for "-a"
7903         Imported from Debian's patch 402-clarify_usermod_usage
7904         * man/shadow.5.xml: fix spelling error. Imported from Debian's
7905         patch 433_shadow.5-typo_312430
7906         * src/su.c: Be up front on the origin of su and mention the GNU
7907         origin. Imported from Debian's patch 438_su_GNU_origin
7908
7909 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7910
7911         * NEWS, po/zh_CN.po: Updated Chinese translation. Imported from
7912         Debian's patch 105_zh_CN. Thanks to Ming Hua for the update.
7913
7914 2007-10-13  Tommi Vainikainen  <thv+debian@iki.fi>
7915
7916         * NEWS, po/fi.po: Updated Finish translation (400t).
7917
7918 2007-10-13  Nicolas François  <nicolas.francois@centraliens.net>
7919
7920         * NEWS, src/su.c: If compiled without PAM support, enforce the
7921         limits from /etc/limits when one of the -, -l, or --login options
7922         is set, even if called by root. Thanks to Justin Bronder.
7923
7924 2007-10-07  Nicolas François  <nicolas.francois@centraliens.net>
7925
7926         * NEWS, Changelog: Convert the Changelog and NEWS files to UTF-8
7927         (it was partially ISO-8859-2).
7928
7929 2007-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
7930
7931         * NEWS, man/groupadd.8.xml, man/groupmod.8.xml, man/login.1.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml:
7932         groupadd.8, groupmod.8, login.1, useradd.8, userdel.8, usermod.8: grammar
7933         mistakes and other correctstions (by Schulenberg <bensberg@justemail.net>).
7934
7935 2007-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
7936
7937         * NEWS, src/usermod.c:
7938         fixed handle -a option in usermod (by Benno Schulenberg <bensberg@justemail.net>).
7939
7940 2006-12-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
7941
7942         * man/sv/sv.po:
7943         more UTF8 fixe (by Mikael Magnusson <mikma@users.sourceforge.net>).
7944
7945         * man/sv/sv.po:
7946         UTF8 fixes (by Mikael Magnusson <mikma@users.sourceforge.net>).
7947
7948 2006-11-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
7949
7950         * man/pl/Makefile.am, man/pl/chgpassw.8, man/pl/chpasswd.8, man/pl/pl.po:
7951         translation chpasswd.8 and chgpassw.8 finished.
7952
7953 2006-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
7954
7955         * man/pl/pl.po: resolve fuzzy entries.
7956
7957         * contrib/adduser.c, contrib/groupmems.shar, po/it.po, src/groupmems.c, src/usermod.c, man/chfn.1.xml, man/chsh.1.xml, man/de/de.po, man/fr/fr.po, man/groupmems.8.xml, man/passwd.1.xml, man/pl/pl.po, man/ru/ru.po, man/shadow.3.xml, man/su.1.xml, man/sv/sv.po:
7958         spelling fixes 's/super user/superuser/' (by Benno Schulenberg <bensberg@justemail.net>).
7959
7960         * man/sv/sv.po, man/de/de.po, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po:
7961         run "make update-po".
7962
7963         * man/newusers.8.xml, man/su.1.xml:
7964         fixed wrong word, a few typos, some grammar mistakes, and puts in a comma here
7965         and there for clarity (by Benno Schulenberg <bensberg@justemail.net>).
7966
7967         * man/pl/groupmod.8, man/pl/chage.1, man/pl/chsh.1, man/pl/lastlog.8, man/pl/vipw.8:
7968         regenerated.
7969
7970         * man/de/de.po: run "make update-po".
7971
7972         * man/Makefile.am:
7973         added de to LINGUAS but man/de/de.po still need many work.
7974
7975 2006-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
7976
7977         * src/useradd.c: indent code.
7978
7979         * NEWS, src/useradd.c:
7980         improved auditing support (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211659).
7981
7982 2006-11-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
7983
7984         * po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/dz.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/km.po, po/ko.po, po/nb.po, po/ne.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po:
7985         run "make update-po".
7986
7987         * NEWS, po/nl.po:
7988         updated (by cobaco (aka Bart Cornelis) <cobaco@skolelinux.no>).
7989
7990         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po:
7991         "make update-po".
7992
7993 2006-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
7994
7995         * man/su.1.xml:
7996         added sg(1) to the SEE ALSO section (Debian Bug#396690).
7997
7998 2006-10-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
7999
8000         * man/newusers.8.xml: clarify pw_gid fileld content description.
8001
8002         * man/it/Makefile.am, man/sv/Makefile.am:
8003         s/man_nonpam/man_nopam/ (merged 498_man_nonpam_undefined Debian patch).
8004
8005         * po/nl.po:
8006         fixed https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212892
8007
8008 2006-10-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8009
8010         * man/newusers.8.xml: there is no pw_age fileld in passwd.
8011
8012         * man/fr/fr.po:
8013         Fix an error in the passwd.1 French translation (fixed Debian bug #395537).
8014
8015         * man/chfn.1.xml, man/chgpasswd.8.xml, man/chpasswd.8.xml, man/chsh.1.xml, man/expiry.1.xml, man/fr/fr.po, man/gpasswd.1.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/id.1.xml, man/login.1.xml, man/newgrp.1.xml, man/newusers.8.xml, man/nologin.8.xml, man/passwd.1.xml, man/pl/pl.po, man/pwck.8.xml, man/pwconv.8.xml, man/su.1.xml, man/sulogin.8.xml, man/sv/sv.po, man/vipw.8.xml:
8016         cleanups on begin DESCRIPTION section.
8017
8018         * man/pl/pl.po: typos.
8019
8020 2006-10-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8021
8022         * po/pl.po: cleanups.
8023
8024 2006-10-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8025
8026         * man/pl/pl.po: more translations.
8027
8028         * NEWS:
8029         UTF-8 corrections (by Benno Schulenberg <bensberg@justemail.net>).
8030
8031 2006-10-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8032
8033         * man/groupdel.8.xml: added description for exit code 6.
8034
8035 2006-08-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8036
8037         * man/de/de.po: copy & paste some msgid to msgstr.
8038
8039         * man/de/de.po:
8040         kill some fuzzy (by Nicolas François <nicolas.francois@centraliens.net>).
8041
8042 2006-08-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8043
8044         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po, man/passwd.1.xml:
8045         s/change password/password change/ in passwd(1) (by Simon Brandmair <sbrandmair@gmx.net>).
8046
8047         * man/de/de.po:
8048         initial version based on partial translations only for passwd(1) by
8049         Simon Brandmair <sbrandmair@gmx.net>.
8050
8051         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/useradd.c, src/userdel.c, src/usermod.c:
8052         flush nscd cashes after close /etc/{group,passwd} files.
8053
8054 2006-08-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
8055
8056         * po/tl.po: updated (by Eric Pareja <xenos@upm.edu.ph>).
8057
8058 2006-08-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8059
8060         * NEWS, po/ja.po: updated (by Takeo Nakano <nakano@webmasters.gr.jp>).
8061
8062 2006-08-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
8063
8064         * man/fr/Makefile.am:
8065         removed whitespaces following trailing backslashes.
8066
8067         * NEWS, configure.in: release 4.0.18.1.
8068
8069         * man/Makefile.am, man/fr/Makefile.am, man/it/Makefile.am, man/ja/Makefile.am, man/pl/Makefile.am, man/ru/Makefile.am, man/sv/Makefile.am, NEWS:
8070         fixed missing man pages in dist tar ball necessary on build when PAM is disabled.
8071
8072         * NEWS, src/groupmems.c:
8073         fixed groupmems compilation when PAM is disabled (by Johannes Winkelmann <jw@smts.ch>).
8074
8075         * configure.in:
8076         typo s/followig/following/ (by Johannes Winkelmann <jw@smts.ch>).
8077
8078 2006-08-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8079
8080         * NEWS: release date corrected.
8081
8082         * NEWS, src/su.c:
8083         fixed set enviroment too early when using PAM, so move it to !USE_PAM
8084         (patch submitted by Mike Frysinger <vapier@gentoo.org>).
8085
8086 2006-07-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8087
8088         * man/fr/chage.1, man/fr/chfn.1, man/fr/chpasswd.8, man/fr/chsh.1, man/fr/expiry.1, man/fr/faillog.5, man/fr/faillog.8, man/fr/gpasswd.1, man/fr/groupadd.8, man/fr/groupdel.8, man/fr/groupmod.8, man/fr/groups.1, man/fr/grpck.8, man/fr/gshadow.5, man/fr/lastlog.8, man/fr/limits.5, man/fr/login.1, man/fr/login.access.5, man/fr/login.defs.5, man/fr/logoutd.8, man/fr/newgrp.1, man/fr/newusers.8, man/fr/passwd.1, man/fr/passwd.5, man/fr/porttime.5, man/fr/pwck.8, man/fr/pwconv.8, man/fr/sg.1, man/fr/shadow.3, man/fr/shadow.5, man/fr/su.1, man/fr/suauth.5, man/fr/useradd.8, man/fr/userdel.8, man/fr/usermod.8, man/fr/vipw.8, NEWS:
8089         fr man pages are now up to date.
8090
8091         * man/fr/fr.po:
8092         more updates for 4.0.18 (by Nicolas François <nicolas.francois@centraliens.net>).
8093
8094         * man/fr/fr.po:
8095         updated for 4.0.18 (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8096
8097 2006-07-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8098
8099         * po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, NEWS, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/dz.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/km.po, po/ko.po, po/nb.po, po/ne.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po:
8100         updated.
8101
8102         * src/useradd.c, src/usermod.c:
8103         fixed UID/GID overflow (fixed http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920).
8104         Fixed expiredate/inactive/mindays/warndays/maxdays overflow (simillar to RH#198920).
8105
8106         * src/passwd.c:
8107         fixed inactive/mindays/warndays/maxdays overflow (similar to RH#198920).
8108
8109         * src/groupadd.c, src/groupmod.c:
8110         fixed GID overflow (fixed http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920).
8111
8112 2006-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
8113
8114         * src/.cvsignore: groupmems added.
8115
8116 2006-07-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8117
8118         * po/fr.po:
8119         updated for 4.0.18 (by ean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8120
8121         * po/uk.po: break lines longer than 80 cols and add missing \n.
8122
8123         * po/uk.po:
8124         updated for 4.0.18 (by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>).
8125
8126         * man/pl/pl.po, man/ru/ru.po, man/sv/sv.po, man/chgpasswd.8.xml, man/chpasswd.8.xml, man/fr/fr.po:
8127         s/instead DES/instead of DES/
8128
8129         * NEWS: sv man pages are partially translated.
8130
8131 2006-07-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8132
8133         * src/groupmems.c: fix compilation warnings.
8134
8135         * po/ko.po: use \t.
8136
8137         * po/nl.po: break lines longer than 80 cols and add missing \n.
8138
8139 2006-07-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8140
8141         * man/ru/faillog.5: regenerated.
8142
8143         * po/ko.po: updated for 4.0.18 (by Changwoo Ryu <cwryu@debian.org>).
8144
8145 2006-07-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8146
8147         * man/faillog.5.xml, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po:
8148         added <refmiscinfo class="sectdesc"> tag for faillog.5.xml.
8149
8150         * man/sv/Attic/grupper.1: removed.
8151
8152         * man/sv/Makefile.am, man/sv/chage.1, man/sv/chfn.1, man/sv/chgpasswd.8, man/sv/chpasswd.8, man/sv/chsh.1, man/sv/expiry.1, man/sv/faillog.5, man/sv/faillog.8, man/sv/gpasswd.1, man/sv/groupadd.8, man/sv/groupdel.8, man/sv/groupmems.8, man/sv/groupmod.8, man/sv/groups.1, man/sv/grpck.8, man/sv/gshadow.5, man/sv/lastlog.8, man/sv/limits.5, man/sv/login.1, man/sv/login.access.5, man/sv/login.defs.5, man/sv/logoutd.8, man/sv/newgrp.1, man/sv/newusers.8, man/sv/nologin.8, man/sv/passwd.1, man/sv/passwd.5, man/sv/porttime.5, man/sv/pwck.8, man/sv/pwconv.8, man/sv/sg.1, man/sv/shadow.3, man/sv/shadow.5, man/sv/su.1, man/sv/suauth.5, man/sv/sv.po, man/sv/useradd.8, man/sv/userdel.8, man/sv/usermod.8, man/sv/vipw.8:
8153         corrected text charset and other minor cleanups (by Daniel Nylander <info@danielnylander.se>).
8154
8155         * po/tr.po: break lines longer than 80 cols.
8156
8157         * po/tr.po:
8158         updated for 4.0.18 (by Mehmet TURKER <mturker@innova.com.tr>).
8159
8160         * configure.in, man/Makefile.am, man/sv/Makefile.am:
8161         fixes for "make {dist|distchec}" and sv man pages.
8162
8163         * man/sv/Attic/grupper.1, man/sv/groupmems.8, man/sv/groupmod.8, man/sv/grpck.8, man/sv/grpconv.8, man/sv/grpunconv.8, man/sv/gshadow.5, man/sv/lastlog.8, man/sv/limits.5, man/sv/login.1, man/sv/login.access.5, man/sv/login.defs.5, man/sv/logoutd.8, man/sv/newgrp.1, man/sv/newusers.8, man/sv/nologin.8, man/sv/passwd.1, man/sv/passwd.5, man/sv/porttime.5, man/sv/pwck.8, man/sv/pwconv.8, man/sv/pwunconv.8, man/sv/sg.1, man/sv/shadow.3, man/sv/shadow.5, man/sv/su.1, man/sv/suauth.5, man/sv/sv.po, man/sv/useradd.8, man/sv/userdel.8, man/sv/usermod.8, man/sv/vigr.8, man/sv/vipw.8, NEWS, man/Makefile.am, man/sv/Makefile.am, man/sv/chage.1, man/sv/chfn.1, man/sv/chgpasswd.8, man/sv/chpasswd.8, man/sv/chsh.1, man/sv/expiry.1, man/sv/faillog.5, man/sv/faillog.8, man/sv/getspnam.3, man/sv/gpasswd.1, man/sv/groupadd.8, man/sv/groupdel.8:
8164         full sv man pages set added (by Daniel Nylander <info@danielnylander.se>).
8165         This man pages are translated using new XML/xml2po/gettext infrastructure.
8166
8167         * po/pl.po: updated for 4.0.18.
8168
8169 2006-07-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8170
8171         * po/pt.po:
8172         updated for 4.0.18 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8173
8174         * po/gl.po, NEWS:
8175         updated for 4.0.18 (by Jacobo Tarrio <jacobo@tarrio.org>).
8176
8177         * NEWS, po/eu.po:
8178         updated for 4.0.18 (by Piarres Beobide <pi@beobide.net>).
8179
8180         * man/ru/chsh.1, man/ru/faillog.5, man/ru/groupmems.8, man/ru/groupmod.8, man/ru/ru.po, man/ru/su.1, man/ru/useradd.8, man/ru/usermod.8, man/ru/vipw.8, NEWS, po/ru.po:
8181         updated for 4.0.18 (by Yuri Kozlov <kozlov.y@gmail.com>).
8182
8183         * po/vi.po, NEWS:
8184         updated for 4.0.18 (by Clytie Siddall <clytie@riverland.net.au>).
8185
8186         * NEWS, po/cs.po:
8187         updated for 4.0.18 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8188
8189         * NEWS, po/sv.po:
8190         updated for 4.0.18 (by Daniel Nylander <info@danielnylander.se>).
8191
8192         * NEWS, po/ca.po:
8193         updated for 4.0.18 (by Guillem Jover <guillem@debian.org>).
8194
8195 2006-07-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
8196
8197         * po/hu.po: cleanups.
8198
8199         * NEWS, po/da.po:
8200         updated for 4.0.18 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8201
8202         * po/hu.po, NEWS: updated for 4.0.18 (by SZERVÁC Attila <sas@321.hu>).
8203
8204         * NEWS: typos.
8205
8206         * man/ru/ru.po, man/fr/fr.po, man/pl/pl.po: run "make update-po".
8207
8208         * man/su.1.xml: fixes in <refsynopsisdiv>.
8209
8210         * src/groupmems.c: indent soutrce code.
8211
8212         * src/groupmems.c: use shadow Copyright.
8213
8214         * po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/km.po, po/ko.po, po/nb.po, po/ne.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/POTFILES.in, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/dz.po, po/el.po:
8215         added src/groupmems.c to POTFILES.in.
8216
8217         * NEWS, etc/pam.d/Makefile.am, etc/pam.d/groupmems, man/Makefile.am, man/groupmems.8.xml, src/Makefile.am, src/groupmems.c:
8218         groupmems rewrited for use PAM and getopt_long() nad now it is enabled
8219         for build and install (patch by George Kraft <gk4@swbell.net>).
8220
8221         * NEWS, configure.in: start prepare for 4.0.18.
8222
8223 2006-07-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
8224
8225         * po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/dz.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/km.po, po/ko.po, po/nb.po, po/ne.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po:
8226         run "make update-po" and some cleanups (added missing \n and use tabs instead spaces).
8227
8228         * src/su.c: s#[login]#[LOGIN]# in help message.
8229
8230         * man/useradd.8.xml:
8231         added missing --<foo> long options names in "Changing the default values" section.
8232
8233         * po/tr.po: updated (by Murat Şenel <muratasenel@gmail.com>).
8234
8235 2006-07-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8236
8237         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.
8238
8239         * man/useradd.8.xml: added newusers(8) to SEE ALSO section.
8240
8241         * etc/login.defs:
8242         removed GETPASS_ASTERISKS (patch by Mike Frysinger <vapier@gentoo.org>).
8243
8244 2006-07-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8245
8246         * NEWS, man/pl/chsh.1, man/pl/pl.po: pl chage(1): translation finished.
8247
8248         * NEWS:
8249         s#fix by Mike Frysinger <vapier@gentoo.org>)#(patch by Ulrich Mueller <ulm@kph.uni-mainz.de>; http://bugs.gentoo.org/139966#
8250
8251         * NEWS, configure.in:
8252         S/Key: removed assign getpass() to libshadow_getpass() on autoconf level
8253         (fix by Mike Frysinger <vapier@gentoo.org>).
8254
8255 2006-07-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
8256
8257         * man/vipw.8.xml: make options <replaceable> in SYNOPSIS.
8258
8259         * po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/dz.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/km.po, po/ko.po, po/nb.po, po/ne.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/groupadd.c:
8260         s/group/GROUP/ in groupadd help message.
8261
8262         * src/su.c (main):
8263         move **envcp declaration to #ifdef USE_PAM (fixed warning about unused
8264         variable when shadow is builded with PAM didabled).
8265
8266         * man/pl/pl.po, NEWS, man/pl/chage.1: pl chage(1) translation finished.
8267
8268         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.
8269
8270         * man/chsh.1.xml: updated after rewrite chsh for use getopt_long().
8271
8272         * po/pl.po: kill fuzzy.
8273
8274 2006-07-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8275
8276         * po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/chsh.c, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/dz.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/km.po, po/ko.po, po/nb.po, po/ne.po:
8277         one \t more in help message.
8278
8279         * po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/km.po, po/ko.po, po/nb.po, po/ne.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/dz.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po:
8280         updated.
8281
8282         * NEWS, src/chsh.c: chsh rewrited for use getopt_long().
8283
8284 2006-07-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8285
8286         * man/pl/groupmod.8, man/pl/pl.po: finish translation groupmod(8).
8287
8288         * man/fr/fr.po, man/groupmod.8.xml, man/pl/groupmod.8, man/pl/pl.po, man/ru/ru.po:
8289         cleanups in groupmod(8).
8290
8291         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml, src/usermod.c, NEWS:
8292         back to previouse usermod -a option sematics and clarify -a behavior
8293         on documentation level (by Greg Schafer <gschafer@zip.com.au>).
8294
8295         * man/fr/fr.po, man/groupmod.8.xml, man/pl/pl.po, man/ru/ru.po:
8296         updated groupmod man page.
8297
8298 2006-07-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8299
8300         * src/groupmod.c: too many \t in help message.
8301
8302         * man/ru/chage.1, man/ru/passwd.1, man/ru/ru.po, man/chage.1.xml, man/fr/fr.po, man/passwd.1.xml, man/pl/pl.po:
8303         updated.
8304
8305         * po/nb.po, po/ne.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/dz.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/km.po, po/ko.po:
8306         run "make update-po".
8307
8308         * src/groupmod.c: cleunps in help message.
8309
8310         * src/chage.c: s/user/\[LOGIN\]/ in help message.
8311
8312         * src/passwd.c: s/\[login\]/\[LOGIN\]/ in help message.
8313
8314         * NEWS, src/groupmod.c: groupmod rewrited for use getopt_log().
8315
8316 2006-07-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
8317
8318         * po/sv.po:
8319         added missing \n in help messages and few other minor cleanups.
8320
8321         * NEWS, po/sv.po:
8322         updated for 4.0.17 (by Daniel Nylander <info@danielnylander.se>).
8323
8324         * NEWS: 4.0.17 release date i 10-07-2006.
8325
8326         * NEWS, libmisc/copydir.c:
8327         fixed segfault usermod/userdel on remove home directory when it can't
8328         be removed; for example when it is /dev/null (fixed http://bugs.gentoo.org/139148).
8329
8330         * src/login.c, src/logoutd.c, src/userdel.c, libmisc/limits.c:
8331         remove USER_PROCESS conditionsi (code simplifications).
8332
8333 2006-07-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8334
8335         * po/km.po: kill all fuzzy (Sokhem <khoemsokhem@khmeros.info>).
8336
8337 2006-07-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8338
8339         * po/de.po: kill fuzzy (by Holger Wansing <linux@wansing-online.de>).
8340
8341 2006-07-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8342
8343         * man/Makefile.am: removed duplicated all target.
8344
8345         * NEWS, po/LINGUAS, po/ne.po:
8346         new Nepali translation (by Paras Pradhan <pradhanparas@gmail.com>).
8347
8348         * NEWS, po/LINGUAS, po/dz.po: new Dzongkha translation.
8349
8350         * NEWS, po/de.po:
8351         updated for 4.0.17 (by Holger Wansing <linux@wansing-online.de>).
8352
8353         * NEWS, po/nl.po:
8354         updated for 4.0.17 (by "cobaco (aka Bart Cornelis)" <cobaco@skolelinux.no>)
8355
8356 2006-06-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
8357
8358         * po/ko.po: cleanups (by darehanl <darehanl@gmail.com>).
8359
8360         * src/usermod.c: fixes in getopt_long() optstring: s/a/a:/ and added h.
8361
8362         * src/faillog.c:
8363         fixed long_options[] entries: s/no_argument/required_argument/ for lock-secs,
8364         maximum, time and user options.
8365
8366         * NEWS, configure.in:
8367         improved SELinux detection on autoconf level (based on patch by
8368         Dan Yefimov <dan@D00M.lightwave.net.ru>).
8369
8370         * po/ro.po, NEWS:
8371         updated for 4.0.17 (by Sorin Batariuc <sorin@bonbon.net>).
8372
8373 2006-06-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8374
8375         * NEWS: cleanups.
8376
8377         * man/pl/pl.po: more translations for chage(1).
8378
8379         * TODO: remove done things.
8380
8381         * NEWS, lib/Attic/getpass.c, lib/Makefile.am, lib/getdef.c, lib/pwauth.c, po/POTFILES.in:
8382         removed using private implementatuon getpass() libc function (now getpass() is
8383         used also when S/KEY support is enabled).
8384
8385         * NEWS, src/Makefile.am: move nologin do $(sbindir).
8386
8387         * man/pl/pl.po: more work.
8388
8389         * man/pl/pl.po: more translations.
8390
8391         * po/pl.po: s/KEY=VALUE/KLUCZ=WARTOŚĆ/
8392
8393         * po/pl.po: s/SEC/SEK/
8394
8395         * src/chpasswd.c: added missing #include "exitcodes.h".
8396
8397         * src/chpasswd.c: s/exit (1)/exit (E_USAGE)/
8398
8399         * man/Makefile.am:
8400         move all current i18n man pages automation inside "if ENABLE_REGENERATE_MAN .. endif".
8401
8402         * man/Makefile.am:
8403         add an error message so people don't have to go digging through
8404         source to find out what's up (by Mike Frysinger <vapier@gentoo.org>).
8405
8406         * NEWS, man/ru/chage.1, man/ru/chfn.1, man/ru/chgpasswd.8, man/ru/chpasswd.8, man/ru/chsh.1, man/ru/expiry.1, man/ru/faillog.5, man/ru/faillog.8, man/ru/gpasswd.1, man/ru/groupadd.8, man/ru/groupdel.8, man/ru/groupmems.8, man/ru/groupmod.8, man/ru/groups.1, man/ru/grpck.8, man/ru/gshadow.5, man/ru/lastlog.8, man/ru/limits.5, man/ru/login.1, man/ru/login.access.5, man/ru/login.defs.5, man/ru/logoutd.8, man/ru/newgrp.1, man/ru/newusers.8, man/ru/nologin.8, man/ru/passwd.1, man/ru/passwd.5, man/ru/porttime.5, man/ru/pwck.8, man/ru/pwconv.8, man/ru/ru.po, man/ru/sg.1, man/ru/shadow.3, man/ru/shadow.5, man/ru/su.1, man/ru/suauth.5, man/ru/useradd.8, man/ru/userdel.8, man/ru/usermod.8, man/ru/vipw.8:
8407         updated ru man pages (regenerated from man/ru/ru.po -> man/ru/*xml -> roff).
8408
8409         * NEWS, po/ru.po:
8410         updated for 4.0.17 (by Yuri Kozlov <kozlov.y@gmail.com>).
8411
8412         * NEWS, po/LINGUAS, po/km.po:
8413         new km translation (Sokhem <khoemsokhem@khmeros.info>).
8414
8415         * po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, src/groupadd.c:
8416         cleanups in groupadd help message.
8417
8418         * NEWS, po/nb.po:
8419         updated for 4.0.17 (by Bjørn Steensrud <bjornst@powertech.no>).
8420
8421         * NEWS, po/da.po:
8422         updated for 4.0.17 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8423
8424         * po/pl.po:
8425         s/twóş/twĂłrz/ (fix by Michał Łomnicki <michal.lomnicki@gmail.com>).
8426
8427         * NEWS, po/pt.po:
8428         updated for 4.0.17 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8429
8430         * NEWS, po/vi.po:
8431         updated for 4.0.17 (by Clytie Siddall <clytie@riverland.net.au>).
8432
8433         * NEWS, po/cs.po:
8434         updated for 4.0.17 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8435
8436         * po/eu.po, po/fr.po, po/gl.po, po/pl.po:
8437         Project-Id-Version: shadow 4.0.17
8438
8439         * NEWS, po/sk.po:
8440         updated for 4.0.17 (by Peter Mann <Peter.Mann@tuke.sk>).
8441
8442         * NEWS, po/ko.po:
8443         updated for 4.0.17 (by Changwoo Ryu <cwryu@debian.org>).
8444
8445 2006-06-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8446
8447         * NEWS, configure.in: schedule release 40.17 on 26-06-2006.
8448
8449         * src/useradd.c:
8450         adjust last fix for leave some fix mail spool creation after rewrite internal
8451         configuration API.
8452
8453         * src/useradd.c, NEWS:
8454         fixed mail spool file creation (bug cached by Frans Pop <elendil@planet.nl>,
8455         fixed http://bugs.debian.org/374705).
8456
8457 2006-06-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8458
8459         * po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/faillog.c, src/groupadd.c, src/lastlog.c, src/passwd.c, src/su.c, src/useradd.c, src/userdel.c, src/usermod.c, src/vipw.c:
8460         better looking help messages output. Added one empty line at end of help message.
8461
8462         * po/ru.po, po/sk.po, po/sv.po, po/tl.po, po/uk.po, po/ro.po, po/pt_BR.po:
8463         break help messages lines before col 80.
8464
8465         * man/pl/pl.po: more work on usermod.
8466
8467         * po/pl.po: cleanups.
8468
8469 2006-06-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8470
8471         * man/pl/vipw.8:
8472         regenerated using fixed DocBook XSL Stylesheets v1.70.1 (I must submit my
8473         fixes common/pl.xml do DocBook XSL Stylesheets mantainer).
8474
8475         * man/fr/fr.po, man/ru/ru.po: updated.
8476
8477         * man/pl/lastlog.8, man/pl/pl.po: finish translate lastlog(8).
8478
8479         * man/lastlog.8.xml: improved NOTE section content.
8480
8481         * po/pl.po: iprove lastlog help message.
8482
8483         * man/fr/fr.po, man/lastlog.8.xml, man/pl/pl.po, man/ru/ru.po:
8484         Better lastlog short description. Now it is:
8485         lastlog - reports the most recent login of all users or of a given user
8486
8487         * man/Makefile.am, man/fr/fr.po, man/lastlog.8.xml, man/pl/pl.po, man/ru/ru.po:
8488         Fixed CAVEATS section (what the hell is mmdf ? :)
8489
8490         * man/ru/ru.po, NEWS, man/faillog.5.xml, man/fr/fr.po, man/pl/pl.po:
8491         added missing information about fail_locktime element of faillog struct
8492         in faillog(5) man page (by Thorsten Kukuk <kukuk@suse.de>).
8493
8494 2006-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8495
8496         * man/ru/chage.1, man/ru/chfn.1, man/ru/chgpasswd.8, man/ru/chpasswd.8, man/ru/chsh.1, man/ru/expiry.1, man/ru/faillog.5, man/ru/faillog.8, man/ru/gpasswd.1, man/ru/groupadd.8, man/ru/groupdel.8, man/ru/groupmems.8, man/ru/groupmod.8, man/ru/groups.1, man/ru/grpck.8, man/ru/gshadow.5, man/ru/lastlog.8, man/ru/limits.5, man/ru/login.1, man/ru/login.access.5, man/ru/login.defs.5, man/ru/logoutd.8, man/ru/newgrp.1, man/ru/newusers.8, man/ru/nologin.8, man/ru/passwd.1, man/ru/passwd.5, man/ru/porttime.5, man/ru/pwck.8, man/ru/pwconv.8, man/ru/sg.1, man/ru/shadow.3, man/ru/shadow.5, man/ru/su.1, man/ru/suauth.5, man/ru/useradd.8, man/ru/userdel.8, man/ru/usermod.8, man/ru/vipw.8:
8497         fully regenerated man pages.
8498
8499         * man/Makefile.am:
8500         hack for generate translated xml files with lang="<lang> in <refentry> tag.
8501         Now is possible testing correctnes of XSLT sheets languages definition.
8502
8503 2006-06-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8504
8505         * NEWS, po/eu.po: updated (by Piarres Beobide <pi@beobide.net>).
8506
8507 2006-06-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8508
8509         * po/zh_TW.po, po/da.po, po/el.po, po/es.po, po/eu.po, po/id.po, po/ja.po, po/ko.po, po/nb.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/tr.po, po/uk.po, po/zh_CN.po:
8510         s/ \\n"/\\n"/ in translated strings.
8511
8512         * man/pl/pl.po: more translations for usermod.
8513
8514         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml:
8515         added <command> tags for at and crontab.
8516
8517         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml:
8518         remove /etc/login.defs from FILES section.
8519
8520         * po/gl.po: updated (by Jacobo Tarrio <jtarrio@trasno.net>).
8521
8522         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
8523
8524         * po/pl.po:
8525         updated usermod help message and fixed few other things introduced during
8526         copy&paset from useradd help message.
8527
8528         * po/vi.po, po/zh_CN.po, po/zh_TW.po, src/usermod.c, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/bs.po:
8529         fixes in help message:
8530         s/login/LOGIN/
8531         s/new login directory/new home directory/
8532         s/new initial login group/new primary group/
8533         s/tlist of supplementary/new tlist of supplementary/
8534         s/LOGIN/NEW_LOGIN/
8535
8536         * po/da.po, po/id.po, po/nb.po, po/nl.po, po/pl.po, po/pt.po, po/ro.po, po/sk.po, po/sv.po:
8537         cleanups in usermod help message.
8538
8539         * po/es.po, po/eu.po, po/fi.po, po/tl.po: cleanups.
8540
8541         * po/nb.po, po/nl.po, po/pt.po, po/uk.po, po/cs.po, po/el.po, po/eu.po, po/fi.po, po/hu.po:
8542         s/\\\t /\\\t/
8543
8544 2006-06-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8545
8546         * NEWS, configure.in, man/Makefile.am:
8547         reverte using docbook.sourceforge.net in XSLT url.
8548
8549         * po/pl.po: cleanups.
8550
8551 2006-06-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8552
8553         * man/Makefile.am:
8554         improved gen-xmls target: now this target generates only missing xml files.
8555
8556 2006-06-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
8557
8558         * NEWS, po/sk.po:
8559         updated for 4.0.16 (by Peter Mann <Peter.Mann@tuke.sk>).
8560
8561         * NEWS, po/es.po:
8562         updated for 4.0.16 (by Ruben Porras <nahoo82@gmail.com>).
8563
8564         * NEWS, po/fi.po:
8565         updated for 4.0.16 (by Tommi Vainikainen <thv+debian@iki.fi>).
8566
8567         * NEWS, man/cs/Makefile.am, man/cs/groupmems.8, man/cs/groupmod.8, man/cs/grpck.8, man/cs/gshadow.5:
8568         new cs man pages: groupmems(8), groupmod(8), grpck(8), gshadow(5)
8569         (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8570
8571         * NEWS, po/cs.po:
8572         updated for 4.0.16 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8573
8574 2006-06-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8575
8576         * NEWS, configure.in, man/Makefile.am:
8577         regenerate roff man pages using docbook-style-xsl-1.70.1.
8578         This version uses new base URL: http://docbook.sf.net/release/xsl/current/
8579
8580         * man/.cvsignore: shadow-man-pages.pot added.
8581
8582         * man/Makefile.am:
8583         added temporary gen-xmls targed and dependencies beetwen .pot and .po files.
8584
8585         * man/chgpasswd.8.xml: removed <!DOCTYPE> tag (isn't neccessary).
8586
8587 2006-05-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
8588
8589         * man/pl/pl.po: chage(1) translation.
8590
8591         * man/pl/Attic/chage.1.xml: removed.
8592
8593         * man/chage.1.xml, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po:
8594         chage requires shadow access and can't work without this.
8595
8596         * po/da.po:
8597         updated for 4.0.16 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8598
8599         * po/pl.po: s/_DAYS/_DNI/
8600
8601 2006-05-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8602
8603         * NEWS: s/OWL/Owl/
8604
8605         * NEWS: new release date for 4.0.16 is 05-06-2006.
8606
8607         * NEWS: fixed last usermod changes comment. Current is:
8608         better fix for old CERT VU#312962 (which was fixed in shadow 4.0.8):
8609         fixed forgoten checking of the return value from fchown() before
8610         proceeding with the fchmod() (based on Owl patch prepared by
8611         Rafal Wojtczuk <nergal@owl.openwall.com>)
8612
8613         * src/useradd.c (create_mail):
8614         move checking create_mail_spool is "yes" on top function.
8615
8616         * man/pl/pl.po: cleanups.
8617
8618         * po/fr.po:
8619         plugged fuzzy (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8620
8621         * po/fr.po:
8622         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8623
8624 2006-05-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
8625
8626         * man/Makefile.am:
8627         simplifications in update-po target and fixes in dist-po-files target.
8628
8629         * NEWS, po/eu.po:
8630         updated for 4.0.16 (by Piarres Beobide <pi@beobide.net>).
8631
8632 2006-05-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8633
8634         * man/ru/ru.po, NEWS, man/chfn.1.xml, man/faillog.8.xml, man/fr/fr.po, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupmems.8.xml, man/limits.5.xml, man/login.1.xml, man/login.defs.5.xml, man/newgrp.1.xml, man/passwd.1.xml, man/passwd.5.xml, man/pl/pl.po, man/su.1.xml:
8635         bunch of cleanups in chfn(1), faillog(8), gpasswd(1), groupadd(8),
8636         groupmems(8), limits(5), login(1), login.defs(5), newgrp(1), passwd(1),
8637         passwd(5) and su(1) (by Yuri Kozlov <kozlov.y@gmail.com>).
8638
8639         * man/Makefile.am, man/ru/ru.po: added ru to LINGUAS.
8640
8641         * po/ru.po: updated for 4.0.16 (by Yuri Kozlov <kozlov.y@gmail.com>).
8642
8643 2006-05-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
8644
8645         * man/fr/fr.po, man/pl/pl.po, man/chage.1.xml, man/passwd.1.xml:
8646         s/-n/-m/ in passwd(1). Improved -m, --mindays description in chage(1) and passwd(1).
8647         More pl translations.
8648
8649         * po/vi.po: updated (by Clytie Siddall <clytie@riverland.net.au>).
8650
8651         * NEWS, po/hu.po:
8652         updated for 4.0.16 (by Gabor Kelemen <kelemeng@gnome.hu>).
8653
8654 2006-05-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
8655
8656         * man/cs/Makefile.am, man/it/Makefile.am, man/ru/Makefile.am:
8657         id and sulogin executables are not installed by "make install",
8658         but a few translated man pages are still installed.
8659         (patch by Lasse Collin <lasse.collin@tukaani.org>)
8660
8661 2006-05-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8662
8663         * NEWS, po/vi.po:
8664         updates for 4.0.16 (by Clytie Siddall <clytie@riverland.net.au>).
8665
8666         * po/gl.po: updated for 4.0.16 (by Jacobo Tarrio <jtarrio@debian.org>).
8667
8668 2006-05-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8669
8670         * po/pl.po: more cleanups.
8671
8672         * po/fr.po:
8673         updated for 4.0.16 (by Christian Perrier <bubulle@kheops.frmug.org>).
8674
8675         * man/chage.1.xml, man/chfn.1.xml, man/chsh.1.xml, man/expiry.1.xml, man/faillog.5.xml, man/faillog.8.xml, man/fr/fr.po, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/gshadow.5.xml, man/id.1.xml, man/lastlog.8.xml, man/login.1.xml, man/login.access.5.xml, man/logoutd.8.xml, man/newgrp.1.xml, man/newusers.8.xml, man/passwd.1.xml, man/passwd.5.xml, man/pl/pl.po, man/pl/vipw.8, man/porttime.5.xml, man/pwck.8.xml, man/pwconv.8.xml, man/sg.1.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/sulogin.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml, man/vipw.8.xml:
8676         use common style in FILES sections.
8677
8678         * man/fr/fr.po, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/id.1.xml, man/limits.5.xml, man/login.access.5.xml, man/pl/pl.po, man/suauth.5.xml, man/userdel.8.xml, man/usermod.8.xml, man/faillog.5.xml:
8679         begin <refpurpose> text from lowercase.
8680
8681         * man/fr/fr.po, man/pl/pl.po, man/pwconv.8.xml, man/vipw.8.xml:
8682         remove "." from <refpurpose>.
8683
8684         * po/pl.po: cleanups.
8685
8686         * po/pl.po: typo.
8687
8688         * man/pl/.cvsignore, man/pt_BR/.cvsignore, man/ru/.cvsignore, man/tr/.cvsignore, man/zh_CN/.cvsignore, man/zh_TW/.cvsignore, man/cs/.cvsignore, man/de/.cvsignore, man/es/.cvsignore, man/fi/.cvsignore, man/fr/.cvsignore, man/hu/.cvsignore, man/id/.cvsignore, man/it/.cvsignore, man/ja/.cvsignore, man/ko/.cvsignore:
8689         *.xml added.
8690
8691         * man/cs/.cvsignore, man/de/.cvsignore, man/es/.cvsignore, man/fi/.cvsignore, man/fr/.cvsignore, man/hu/.cvsignore, man/id/.cvsignore, man/it/.cvsignore, man/ja/.cvsignore, man/ko/.cvsignore, man/pl/.cvsignore, man/pt_BR/.cvsignore, man/ru/.cvsignore, man/tr/.cvsignore, man/zh_CN/.cvsignore, man/zh_TW/.cvsignore, man/.cvsignore:
8692         .xml2po.mo added.
8693
8694         * NEWS, man/pl/vipw.8: update pl vipw(8) man page.
8695
8696         * src/useradd.c: s/mailbox/mailbox file/
8697
8698         * man/pl/pl.po: seems vipw finished.
8699
8700         * man/fr/fr.po, man/vipw.8.xml: s/Quiet mode database./Quiet mode./
8701
8702         * man/pl/pl.po: more entries.
8703
8704         * po/vi.po, po/zh_CN.po, po/zh_TW.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po:
8705         /mailbox/mailbox file/
8706
8707         * man/pl/pl.po: fill few entries.
8708
8709         * man/Makefile.am: fixes in dist-po-files target.
8710
8711         * man/Makefile.am: pl added to Linguas. Some mprovements.
8712
8713         * man/fr/fr.po:
8714         initial version based on ond version submited by Christian Perrier <bubulle@debian.org>.
8715
8716         * man/pl/pl.po: initial version.
8717
8718         * man/Makefile.am:
8719         implemet update-po target and dist, dist-check hooks for put .po and
8720         .pot files in dist tar ball.
8721
8722         * src/chgpasswd.c:
8723         reverte struct group newgr declaration but use them only conditionaly (#ifndef SHADOWGRP).
8724
8725 2006-05-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8726
8727         * NEWS, configure.in: schedule release 4.0.16 to 29.05.06.
8728
8729         * po/pl.po: updated.
8730
8731         * po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po:
8732         run "make update-po".
8733
8734         * NEWS, src/useradd.c:
8735         fixed userdel CERT VU#312962: fixed forgoten checking of the return
8736         value from fchown() before proceeding with the fchmod() (prepared
8737         based on OWL fix submited by Solar Designer <solar@openwall.com>),
8738         Use in userdel login.defs::MAIL_DIR instead hardcoded /var/mail on created
8739         mailbox path (based on OWL fixes submited by Solar Designer <solar@openwall.com>).
8740
8741 2006-05-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8742
8743         * man/.cvsignore: added *.[1358]
8744
8745         * NEWS, man/ru/Makefile.am, man/ru/chgpasswd.8:
8746         added chgpasswd(8) ru man page (by Yuri Kozlov <kozlov.y@gmail.com>).
8747
8748         * po/gl.po: updated (by Jacobo Tarrio <jtarrio@debian.org>).
8749
8750         * NEWS, man/ru/login.defs.5, man/ru/passwd.1, man/ru/userdel.8, man/ru/usermod.8:
8751         updated ru login.defs(5), passwd(1), userdel(8), usermod(8) man pages
8752         (by Yuri Kozlov <kozlov.y@gmail.com>).
8753
8754         * NEWS, po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
8755
8756         * NEWS, po/pt.po: updated (by Miguel Figueiredo <elmig@debianpt.org>).
8757
8758 2006-05-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8759
8760         * NEWS, man/Makefile.am, man/ja/Attic/pw_auth.3, man/ja/Makefile.am, man/pl/Attic/pw_auth.3, man/pl/Makefile.am, man/ru/Attic/pw_auth.3, man/ru/Makefile.am:
8761         pw_auth(3) man page removed (outdated).
8762
8763         * man/Makefile.am, man/fr/Makefile.am, man/it/Makefile.am, man/ja/Makefile.am, man/pl/Makefile.am, man/ru/Makefile.am, NEWS, autogen.sh:
8764         install limits(5), login.access(5) and porttime(5) man pages only when
8765         shadow is builded with PAM support disabled.
8766
8767         * NEWS: cleanups.
8768
8769         * autogen.sh:
8770         by default in development enviroment use CFLAGS="-O2 -Wall".
8771
8772         * src/chgpasswd.c (main): remove two unused variables (newgr and now).
8773
8774         * src/userdel.c (main): removed unused arg variable.
8775
8776         * libmisc/setupenv.c (setup_env):
8777         move *cp varable to #ifndef PAM part (fixed compilation
8778         warning about unused variable).
8779
8780         * lib/getdef.c: now GETPASS_ASTERISKS is SKEY #define dependent.
8781
8782         * configure.in, NEWS, lib/Attic/getpass.c, lib/pwauth.c:
8783         by default do not use libshadow_getpass() as getpass() replacemement.
8784         Use libshadow_getpass() only when S/KEY support is enabled.
8785         Current glibc getpass() handles correctly longer than 8 characters
8786         passwords and libshadow_getpass() is used only because libc getpass()
8787         do not handles password prompting with echo enabled.
8788
8789         * src/sulogin.c: break long line.
8790
8791         * lib/pwauth.c:
8792         added #include <unistd.h> and remove localy defined getpass() prototype.
8793
8794 2006-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8795
8796         * man/Makefile.am: removed dupplicated sulogin.8.xml from EXTRA_DIST.
8797
8798         * man/Attic/pw_auth.3.xml, man/Makefile.am: remove pw_auth(3) man page.
8799
8800         * NEWS, lib/getdef.c: move login.defs::MD5_CRYPT_ENAB to non-PAM part.
8801
8802         * po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/userdel.c, po/bs.po:
8803         typo (s/removel/removal/)
8804
8805 2006-05-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8806
8807         * man/userdel.8.xml:
8808         updated (after add getopt_log() support for userdel).
8809
8810         * po/pl.po: updated.
8811
8812         * po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/userdel.c, NEWS, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po:
8813         userdel rewrited for use getopt_log().
8814
8815         * po/pl.po: cleanups.
8816
8817         * etc/pam.d/Makefile.am, etc/pam.d/chgpasswd: new file.
8818
8819 2006-05-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
8820
8821         * NEWS, po/da.po:
8822         updated (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8823
8824 2006-05-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8825
8826         * NEWS, po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
8827
8828         * NEWS, configure.in, etc/Makefile.am, etc/pam.d/Makefile.am:
8829         install default/template configuration files:
8830         - if shadow is configured with use PAM install /etc/pam.d/* files,
8831         - if shadow do not uses PAM install /etc/{limits,login.acces} files,
8832         - install /etc/login.defs and /etc/default/useradd files.
8833
8834         COMMENT: it is possible to extend this for install above files for specified
8835         distribution. For example: if exist /etc/fedora-release install Fedora specyfic
8836         default configuration files and this files can be distributed in dist tar ball.
8837
8838         * NEWS, po/gl.po: updated (by Jacobo Tarrio <jtarrio@trasno.net>).
8839
8840 2006-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8841
8842         * NEWS, po/fr.po:
8843         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
8844
8845         * NEWS, lib/commonio.c:
8846         fixed handle relative symlinks too in lib/commonio.c (merge patch from Fedora).
8847
8848         * NEWS, lib/nscd.c: properly notify nscd to flush its cache
8849         (https://bugzilla.redhat.com/bugzilla/186803).
8850
8851         * NEWS, libmisc/copydir.c (copy_tree):
8852         fixes for verify return values mkdir() and chown()
8853         on copy files (merge 482_libmisc_copydir_check_return_values Debian patch).
8854
8855         * po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/chfn.c, src/chsh.c, src/grpck.c, src/login.c, src/pwck.c, src/useradd.c, src/usermod.c, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/ko.po:
8856         use '%s' cytation instead `%s'.
8857
8858         * NEWS, src/su.c:
8859         reverte http://bugs.debian.org/276419 (this is Debian specyfic).
8860
8861         * libmisc/setupenv.c, libmisc/sub.c, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/chfn.c:
8862         use '%s' cytation instead \"%s\".
8863
8864         * po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, src/grpck.c:
8865         typo.
8866
8867         * po/pl.po: updated.
8868
8869         * NEWS, libmisc/setupenv.c (setup_env):
8870         export MAIL only when MAIL_CHECK_ENAB is enabled
8871         (Mike Frysinger <vapier@gentoo.org>).
8872
8873         * po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, NEWS, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/hu.po, po/id.po, po/it.po, src/grpck.c, src/pwck.c:
8874         warn when the members of a group differ in /etc/groups and /etc/gshadow
8875         (fixed http://bugs.debian.org/75181).
8876
8877         * NEWS, src/su.c:
8878         concatenate the non-su arguments and provide them to the shell with
8879         the -c option (fixes for http://bugs.debian.org/317264 and
8880         http://bugs.debian.org/276419).
8881
8882 2006-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8883
8884         * NEWS, man/passwd.1.xml:
8885         better document how password strength is checked (fixed http://bugs.debian.org/115380).
8886
8887 2006-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8888
8889         * NEWS, man/usermod.8.xml:
8890         added missing -a option description (by Christian Perrier <bubulle@debian.org>).
8891
8892 2006-04-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8893
8894         * NEWS, man/hu/chsh.1, man/hu/login.1, man/hu/newgrp.1:
8895         fixed typos (by Koblinger Egmont <egmont@uhulinux.hu>).
8896
8897 2006-04-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8898
8899         * NEWS, po/LINGUAS, po/hu.po:
8900         new hu translation (by SZERVÁC Attila <sas@321.hu>).
8901
8902 2006-04-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8903
8904         * man/userdel.8.xml:
8905         minior fixes for the note under the -f option (Mike Frysinger <vapier@gentoo.org>).
8906
8907 2006-04-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8908
8909         * NEWS, po/id.po: updatd (by Parlin Imanuel <pimanuel@gmail.com>).
8910
8911 2006-04-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8912
8913         * src/su.c: indent code.
8914
8915         * NEWS, src/su.c:
8916         fixed exit with a status 0 when the invoked command is terminated
8917         by a signal which was not catched
8918         (fixed by Eero Häkkinen <eero17@bigfoot.com>)
8919
8920         * README:
8921         simple patch to fixup grammar and Gentoo distfile URL (by Mike Frysinger <vapier@gentoo.org>).
8922
8923 2006-03-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
8924
8925         * man/Attic/pw_auth.3.xml, man/chage.1.xml, man/chfn.1.xml, man/chpasswd.8.xml, man/chsh.1.xml, man/expiry.1.xml, man/faillog.5.xml, man/faillog.8.xml, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/gshadow.5.xml, man/id.1.xml, man/lastlog.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/login.defs.5.xml, man/logoutd.8.xml, man/newgrp.1.xml, man/newusers.8.xml, man/nologin.8.xml, man/passwd.1.xml, man/passwd.5.xml, man/porttime.5.xml, man/pwck.8.xml, man/pwconv.8.xml, man/sg.1.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml, man/vipw.8.xml:
8926         removed <!DOCTYPE> tag (require strict DocBook XML V4.3//EN DTD isn't neccessary).
8927
8928         * NEWS, src/login.c:
8929         cancel login timeout after authentication so that patient people
8930         timing out on network directory services can log in with local
8931         accounts (http://bugs.debian.org/107148).
8932
8933         * man/fr/login.defs.5, man/ja/login.defs.5, man/pl/useradd.8, man/ru/login.defs.5:
8934         remove CREATE_HOME.
8935
8936         * NEWS, man/login.defs.5.xml:
8937         CREATE_HOME is not supported by useradd (patch by Mike Frysinger <vapier@gentoo.org>).
8938
8939 2006-03-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
8940
8941         * po/nl.po:
8942         s/wachtwoord is mes succes aangepast/wachtwoord is met succes aangepast/
8943         (typo reported by Wim De Smet <wdesmet@yucom.be>).
8944
8945 2006-03-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
8946
8947         * src/passwd.c:
8948         removed GPASSWD_PROGRAM, CHFN_PROGRAM CHFN_PROGRAM #defines (not used now).
8949
8950         * NEWS, man/Makefile.am, man/chgpasswd.8.xml:
8951         chgpasswd(8): new man page.
8952
8953 2006-03-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8954
8955         * man/Attic/vigr.8, man/Attic/vipw.8, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/expiry.1, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/getspnam.3, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmems.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/grpconv.8, man/Attic/grpunconv.8, man/Attic/gshadow.5, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/limits.5, man/Attic/login.1, man/Attic/login.access.5, man/Attic/login.defs.5, man/Attic/logoutd.8, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/nologin.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/pw_auth.3, man/Attic/pwck.8, man/Attic/pwconv.8, man/Attic/pwunconv.8, man/Attic/sg.1, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/suauth.5, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8:
8956         remove english roff man pages from repo.
8957
8958 2006-03-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8959
8960         * NEWS, src/chgpasswd.c:
8961         fixes for build correctly with --disable-shadowgrp
8962         (patch by Johannes Winkelmann <jw@tks6.net>)
8963
8964 2006-03-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8965
8966         * man/pl/chage.1: fixed typo.
8967
8968 2006-03-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8969
8970         * po/it.po:
8971         updated for 4.0.15 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8972
8973 2006-03-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8974
8975         * NEWS, po/nb.po:
8976         updated for 4.0.15 (by Bjørn Steensrud <bjornst@powertech.no>).
8977
8978         * po/pt.po:
8979         updated for 4.0.15 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8980
8981         * man/Makefile.am, NEWS, configure.in:
8982         do not install translated man pages if shadow is configured with --disable-nls
8983         (based patch submited by Mike Frysinger <vapier@gentoo.org>).
8984
8985         * NEWS, po/pt_BR.po:
8986         updated for 4.0.15 (by Andre Luis Lopes <andrelop@debian.org>).
8987
8988         * po/fr.po:
8989         updated for 4.0.15 (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8990
8991 2006-03-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8992
8993         * NEWS, configure.in, lib/pwauth.c:
8994         added fixes for detect BSD's S/Key with updated the skeychallenge() function
8995         for take a fourth argument in case BSD version
8996         (patch submited by Mike Frysinger <vapier@gentoo.org>)
8997
8998         * README: added paragragraph about S/Key support.
8999
9000         * po/sk.po: updated for 4.0.15 (by Peter Mann <Peter.Mann@tuke.sk>).
9001
9002         * NEWS: newgrp: do not link with libselinux.
9003
9004         * NEWS, po/zh_CN.po:
9005         updated for 4.0.15 (by Carlos Z.F. Liu <carlosliu@users.sourceforge.net>).
9006
9007         * po/ru.po: updated for 4.0.15 (by Yuri Kozlov <kozlov.y@gmail.com>).
9008
9009         * src/Makefile.am:
9010         removed $(LIBSELINUX) from newgrp_LDADD (newgrp does not need to be linked
9011         with SELinux libraries).
9012
9013         * man/ru/Attic/pw_auth.3, man/ru/chsh.1, man/ru/expiry.1, man/ru/faillog.5, man/ru/faillog.8, man/ru/gpasswd.1, man/ru/groupadd.8, man/ru/groupdel.8, man/ru/groupmems.8, man/ru/groupmod.8, man/ru/groups.1, man/ru/grpck.8, man/ru/gshadow.5, man/ru/id.1, man/ru/lastlog.8, man/ru/limits.5, man/ru/login.1, man/ru/login.access.5, man/ru/login.defs.5, man/ru/logoutd.8, man/ru/newgrp.1, man/ru/newusers.8, man/ru/nologin.8, man/ru/passwd.1, man/ru/passwd.5, man/ru/porttime.5, man/ru/pwck.8, man/ru/pwconv.8, man/ru/sg.1, man/ru/shadow.3, man/ru/shadow.5, man/ru/su.1, man/ru/suauth.5, man/ru/sulogin.8, man/ru/useradd.8, man/ru/userdel.8, man/ru/usermod.8, man/ru/vipw.8, NEWS, man/ru/Makefile.am, man/ru/chage.1, man/ru/chfn.1, man/ru/chpasswd.8:
9014         ru man pages: added new nologin(8) and updated all other man pages
9015         (by Yuri Kozlov <kozlov.y@gmail.com>).
9016
9017 2006-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9018
9019         * NEWS, po/nl.po:
9020         updated for 4.0.15 (by cobaco (aka Bart Cornelis) <cobaco@linux.be>).
9021
9022         * po/vi.po:
9023         updated for 4.0.15 (by Clytie Siddall <clytie@riverland.net.au>).
9024
9025         * po/sv.po:
9026         updated for 4.0.15 (by Daniel Nylander <po@danielnylander.se>).
9027
9028 2006-03-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9029
9030         * po/eu.po: updated for 4.0.15 (by pi <pi@beobide.net>).
9031
9032         * po/ro.po: cleanups.
9033
9034         * NEWS, po/tl.po:
9035         updated for 4.0.15 (by Eric Pareja <xenos@upm.edu.ph>).
9036
9037         * po/ro.po: updated for 4.0.15 (by Sorin B. <sorin@bonbon.net>).
9038
9039         * NEWS, po/es.po:
9040         updated for 4.0.15 (by Ruben Porras <nahoo82@gmail.com>).
9041
9042 2006-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9043
9044         * NEWS, po/da.po:
9045         updated for 4.0.15 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
9046
9047         * NEWS, man/fi/chsh.1, man/fi/su.1:
9048         update fi chsh(1), su(1) man pages generated from XML files
9049         (Tommi Vainikainen <thv+debian@iki.fi>).
9050
9051         * NEWS, po/fi.po:
9052         updated for 4.0.15 (by Tommi Vainikainen <thv+debian@iki.fi>).
9053
9054         * NEWS, po/cs.po:
9055         updated for 4.0.15 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9056
9057         * NEWS, man/cs/Makefile.am, man/cs/expiry.1, man/cs/faillog.5, man/cs/faillog.8, man/cs/gpasswd.1, man/cs/groupadd.8, man/cs/groupdel.8, man/cs/logoutd.8, man/cs/nologin.8, man/cs/vipw.8:
9058         added new cs man pages: expiry(1), faillog(5), faillog(8), gpasswd(1),
9059         groupadd(8), groupdel(8), logoutd(8), nologin(8), vipw(8).
9060
9061         * NEWS: typo.
9062
9063         * src/useradd.c, NEWS, lib/getdef.h, man/Attic/login.defs.5, man/login.defs.5.xml, src/login.c, src/newusers.c:
9064         default UMASK if not specified in login.defs is 022.
9065
9066 2006-03-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9067
9068         * po/pl.po: updated for 4.0.15.
9069
9070         * NEWS, po/gl.po:
9071         updated for 4.0.15 (by Jacobo Tarrio <jtarrio@trasno.net>).
9072
9073         * NEWS, configure.in: schedule release 4.0.15 to 13-03-2006.
9074
9075 2006-03-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9076
9077         * NEWS: typo (s/onas Meurer/Jonas Meurer/)
9078
9079         * src/.cvsignore: added chgpasswd.
9080
9081         * po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/Makefile.am, src/chgpasswd.c, NEWS, po/POTFILES.in, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po:
9082         chgpasswd: new tool (by Jonas Meurer <mejo@debian.org>).
9083
9084         * src/lastlog.c, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po:
9085         s/Unexpected/unexpected/
9086
9087         * po/fr.po, po/gl.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/lastlog.c, NEWS, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po:
9088         print the usage and exit if an additional argument is profided to
9089         lastlog (merge 488_laslog_verify_arguments Debian patch).
9090
9091 2006-03-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9092
9093         * man/Attic/chpasswd.8, man/chpasswd.8.xml:
9094         fixed CAVEATS section (by Justin Pryzby <justinpryzby@users.sourceforge.net>)
9095
9096 2006-02-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
9097
9098         * man/Attic/passwd.1, man/passwd.1.xml:
9099         fixed SYNOPSIS section (http://bugs.debian.org/352136).
9100
9101 2006-02-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
9102
9103         * po/ro.po: updated (by Sorin Batariuc <sorin@bonbon.net>).
9104
9105 2006-02-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
9106
9107         * NEWS, lib/Makefile.am, src/Makefile.am:
9108         login, nologin, su: do not link with libselinux
9109         (merge 490_link_selinux_only_when_needed Debian patch).
9110
9111         * NEWS, src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c:
9112         fixed confusing error message if /proc is not mounted
9113         (http://bugs.debian.org/352494
9114         patch Nicolas François <nicolas.francois@centraliens.net>)
9115
9116         * po/ro.po:
9117         updated (commited http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347755).
9118
9119         * NEWS, po/ca.po: updated (by Jordi Mallach <jordi@debian.org>).
9120
9121 2006-02-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9122
9123         * man/gpasswd.1.xml, man/passwd.1.xml, man/passwd.5.xml, man/pwck.8.xml, man/sg.1.xml, man/useradd.8.xml:
9124         cleanups.
9125
9126         * po/gl.po: updated (Jacobo Tarrio <jtarrio@trasno.net>).
9127
9128         * NEWS, po/pt.po:
9129         updated (by Miguel Figueiredo <mfigueiredo@gmail.com>).
9130
9131 2006-02-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9132
9133         * NEWS, po/it.po:
9134         update (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9135
9136         * po/vi.po: update (by Clytie Siddall <clytie@riverland.net.au>).
9137
9138         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9139
9140 2006-02-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9141
9142         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9143
9144         * po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po:
9145         run "make update-po".
9146
9147         * po/pl.po: updated.
9148
9149         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
9150
9151         * po/eu.po: update (by ^pi^ <pi@beobide.net>).
9152
9153 2006-02-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9154
9155         * NEWS, src/login.c:
9156         merge 433_login_more_LOG_UNKFAIL_ENAB Debian patch:
9157         - TOO MANY LOGIN... logged if PAM_MAXTRIES or failcount >= retries
9158           (was onl test PAM_MAXTRIES),
9159         - print to stderr (in addition to syslog) in case of maximum number of
9160           tries exceeded,
9161         - always prints the number of tries in the syslog entry.
9162         - add special handling for PAM_ABORT
9163         - add an entry to failog, as when USE_PAM is not defined. (#53164)
9164         - changed pam_end to PAM_END. This is certainly was a mistake.
9165           PAM_END is pam_close_seesion + pam_end. Here, the session is still not
9166           open, we don't have to close it.
9167         - a HAVE_PAM_FAIL_DELAY is missing
9168
9169         * po/ro.po: kill one fuzzy.
9170
9171         * po/ro.po, NEWS: updated (by Sorin B. <sorin@bonbon.net>).
9172
9173         * src/gpasswd.c: s/die/catch_signals/
9174
9175         * src/expiry.c, src/sulogin.c: s/catch/catch_signals/
9176
9177         * src/su.c: /su_catch_sig/chatch_signals/
9178
9179 2006-02-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9180
9181         * src/id.c, src/groups.c, libmisc/getdate.y: lint code using CC=g++.
9182
9183         * NEWS, src/su.c:
9184         fixed pam session support (patch from Topi Miettinen; fixed #57526, #55873,
9185         #57532 Debian bugs).
9186
9187         * NEWS:
9188         fixed pam session support (patch from Topi Miettinen; fixed #57526,
9189         #55873, #57532 Debian bugs).
9190
9191         * NEWS, src/userdel.c:
9192         user's group is already removed by update_groups(). remove_group()
9193         is not needed (bug introduced in 4.0.14 on merge FC fixes). Fixed by Nicolas
9194         François <nicolas.francois@centraliens.net>
9195
9196         * NEWS, src/useradd.c: allways remove group and gshadow databases lock,
9197         Fixed by Nicolas François <nicolas.francois@centraliens.net>
9198         (http://bugs.debian.org/348250)
9199
9200         * NEWS, src/userdel.c: fixed excess audit_logger() argument.
9201
9202         * NEWS, lib/prototypes.h:
9203         corrected prototypes in lib/prototypes.h (thre is no audit_help_log(); added
9204         audit_logger() prototype).
9205
9206         * src/login.c: fixed missing ";" in declaration.
9207
9208         * man/Attic/limits.5, man/limits.5.xml:
9209         fixed example limits string (by Yuri Kozlov <kozlov.y@gmail.com>).
9210
9211 2006-02-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9212
9213         * NEWS, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/chage.c, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po:
9214         added missing \n on display password status if password must be chaged.
9215
9216 2006-02-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9217
9218         * src/useradd.c, NEWS:
9219         fixed allow non-unique UID (http://bugs.debian.org/351281).
9220
9221 2006-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9222
9223         * po/cs.po: updated (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9224
9225 2006-01-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9226
9227         * NEWS, po/vi.po:
9228         updated (by Clytie Siddall <clytie@riverland.net.au>).
9229
9230 2006-01-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
9231
9232         * po/fr.po:
9233         typo (fixed by Christian Perrier <bubulle@kheops.frmug.org>).
9234
9235         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
9236
9237 2006-01-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
9238
9239         * man/pl/grpck.8, man/pl/login.defs.5, man/pl/passwd.1, man/pl/pwck.8, man/de/passwd.1, man/es/login.1, man/es/vipw.8, man/fi/passwd.1, man/hu/passwd.1, man/id/login.1, man/it/grpck.8, man/it/pwck.8, man/ja/grpck.8, man/ja/passwd.1, man/ja/pwck.8, man/ko/login.1, man/ko/su.1:
9240         fixes some issues that cause warnings when the manpages are
9241         displayed (by Nicolas François <nicolas.francois@centraliens.net>).
9242
9243 2006-01-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
9244
9245         * NEWS, po/eu.po: updated (by pi <pi@beobide.net>).
9246
9247         * libmisc/addgrps.c, libmisc/xmalloc.c, src/groups.c:
9248         fixes after linting code using CC=g++: cast {m,re}alloc() return value to
9249         proper type.
9250
9251 2006-01-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
9252
9253         * man/Attic/chage.1, man/Attic/passwd.5, man/Attic/su.1, man/Attic/useradd.8, man/chage.1.xml, man/passwd.5.xml, man/su.1.xml, man/useradd.8.xml:
9254         uniformity and grammar fixes (by Christine Spang <spangarang@twcny.rr.com>).
9255
9256         * NEWS, po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
9257
9258 2006-01-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9259
9260         * po/fr.po, NEWS:
9261         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9262
9263 2006-01-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
9264
9265         * NEWS, libmisc/setupenv.c, src/chage.c, src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, src/login.c, src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c, src/usermod.c, src/vipw.c:
9266         variouse code cleanups for make possible compilation of shadow with
9267         -Wall -Werror (by Alexander Gattin <xrgtn@yandex.ru>).
9268
9269         * libmisc/age.c, libmisc/shell.c, src/login.c, src/newgrp.c, src/su.c, src/sulogin.c, src/userdel.c, NEWS, lib/prototypes.h:
9270         move exit() outside libmisc/shell.c::shell() for handle shell() errors
9271         on higher level (now is better visable where some programs exit with 126 and
9272         127 exit codes); added new shell() parameter (char *const envp[]) which allow
9273         fix preserving enviloment in su on using -p.
9274         (patch by Alexander Gattin <xrgtn@yandex.ru>)
9275
9276         * NEWS, po/el.po:
9277         updated (by Konstantinos Margaritis <markos@debian.org>).
9278
9279 2006-01-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9280
9281         * lib/exitcodes.h: new #defines:
9282         #define E_CMD_NOEXEC           126     /* can't run command/shell */
9283         #define E_CMD_NOTFOUND         127     /* can't find command/shell to run */
9284
9285 2006-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9286
9287         * man/Attic/passwd.1, man/passwd.1.xml:
9288         fixes after reviewed for grammatical and other small errors that detract from the
9289         polish of the content to native English speakers.
9290         I also went ahead and changed all gender references to be a consistent
9291         "his/her" (or equivalent) - the original had a mix of just "his", just
9292         "her", and occasionally "his/her".
9293         (by Christine Spang <spangarang@twcny.rr.com>).
9294
9295         * po/it.po: updated (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9296
9297 2006-01-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
9298
9299         * NEWS: updated.
9300
9301         * libmisc/shell.c: remove DEBUG code.
9302
9303         * po/LINGUAS, po/gl.po, NEWS:
9304         added new gl translation (by Jacobo Tarrio <jtarrio@trasno.net>).
9305
9306 2006-01-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9307
9308         * po/eu.po: small update (by pi <pi@beobide.net>).
9309
9310 2006-01-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9311
9312         * src/su.c: fixed compilation error.
9313
9314 2006-01-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9315
9316         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>)
9317         http://bugs.debian.org/346449
9318
9319 2006-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9320
9321         * NEWS, man/Attic/useradd.8, man/useradd.8.xml:
9322         better document useradd -d option: will not add the user's home directory
9323         if it does not already exist (http://bugs.debian.org/154996)
9324
9325         * man/Attic/su.1, man/su.1.xml, po/zh_CN.po, po/zh_TW.po, NEWS, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, src/su.c:
9326         added handle -c,--command option for GNU su compliance (merge
9327         437_su_-c_option Debian Patch).
9328
9329         * man/Attic/login.1, man/Attic/passwd.1, man/Attic/su.1, man/login.1.xml, man/passwd.1.xml, man/su.1.xml:
9330         man pages cleanups.
9331         (http://bugs.debian.org/341489)
9332
9333         * NEWS, man/Attic/nologin.8, man/Makefile.am, man/nologin.8.xml:
9334         nologin(8) man pages added (merge 478_nologin.8.xml Debian patch).
9335
9336         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>)
9337         http://bugs.debian.org/346376
9338
9339 2006-01-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9340
9341         * po/id.po: updated (by Parlin Imanuel <parlin_i@yahoo.com>)
9342         http://bugs.debian.org/345514
9343
9344         * NEWS, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/login.c:
9345         added translate login prompt string (suggested by Evgeniy Dushistov).
9346
9347 2006-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9348
9349         * NEWS, configure.in: start work on 4.1.0.
9350
9351         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9352         http://bugs.debian.org/346017
9353
9354 2006-01-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9355
9356         * NEWS: correct 4.0.14 release date (03-01-2006).
9357
9358         * src/Makefile.am: reverte install nologin in sbindir and use usbindir.
9359
9360         * po/POTFILES.in: removed src/chsh_chkshell.c.
9361
9362         * lib/prototypes.h: remove grdbm.c prototypes.
9363
9364         * lib/prototypes.h, src/Attic/chsh_chkshell.c, src/Makefile.am, src/chsh.c:
9365         move check_shell() from src/chsh_chkshell.c to src/chsh.c.
9366
9367         * configure.in:
9368         s/libpam_misc is missing/libpam_misc is missing for enable PAM support/
9369
9370 2006-01-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9371
9372         * etc/pam.d/.cvsignore: added.
9373
9374         * src/su.c: indent code.
9375
9376         * src/su.c:
9377         without it, $(su - user -c "echo \$SHELL") wont return the good value, but
9378         $(su user -c "echo \$SHELL") will.
9379         I think LOGNAME can also be set (this is done in setup_env, in the
9380         fakelogin case).
9381         (by Nicolas François <nicolas.francois@centraliens.net>)
9382
9383         * src/su.c:
9384         simplifies how -p is handled (at least for its documentation).
9385         (by Nicolas François <nicolas.francois@centraliens.net>)
9386
9387         * src/su.c: fixes "su - -- root" or "su - root -- -c" (it is needed if
9388         the second patch is applied).
9389         (by Nicolas François <nicolas.francois@centraliens.net>)
9390
9391         * src/su.c:
9392         This second patch changes the way options are handled by getopt. Once a
9393         non-su option is found, the getopt processing is stopped.
9394         Whithout this patch, "su root -c ls" won't work (getopt will complain that
9395         -c is not an su option).
9396         (by Nicolas François <nicolas.francois@centraliens.net>).
9397
9398         * etc/pam.d/chage, etc/pam.d/chfn, etc/pam.d/chpasswd, etc/pam.d/chsh, etc/pam.d/groupadd, etc/pam.d/groupdel, etc/pam.d/groupmod, etc/pam.d/login, etc/pam.d/newusers, etc/pam.d/passwd, etc/pam.d/su, etc/pam.d/useradd, etc/pam.d/userdel, etc/pam.d/usermod:
9399         prepare for use on Fedora Core.
9400
9401         * po/cs.po, po/pl.po: run "make update-po".
9402
9403         * src/Makefile.am: move nologin to sbindir.
9404
9405         * man/Attic/groupadd.8, man/groupadd.8.xml: s/gid/GID/
9406
9407         * man/Attic/lastlog.8, man/Attic/useradd.8, man/lastlog.8.xml, man/useradd.8.xml:
9408         s/uid/UID/
9409
9410 2005-12-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9411
9412         * po/tl.po: updated for 4.0.14 (by Eric Pareja <xenos@upm.edu.ph>).
9413
9414 2005-12-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9415
9416         * NEWS, po/ca.po:
9417         updated for 4.0.14 (by Guillem Jover <guillem@debian.org>).
9418
9419 2005-12-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9420
9421         * po/el.po:
9422         updated for 4.0.14 (by Konstantinos Margaritis <markos@debian.org>).
9423
9424 2005-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9425
9426         * doc/.cvsignore, etc/.cvsignore, lib/.cvsignore, po/.cvsignore, src/.cvsignore, .cvsignore, contrib/.cvsignore:
9427         added a lot of generated files they are not listed in .cvsignore files
9428         (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9429
9430         * src/su.c:
9431         fixed some comments and replace getuid() by !amroot. This removes a system
9432         call and may be more readable (Nicolas François <nicolas.francois@centraliens.net>).
9433
9434         * man/Attic/su.1, man/su.1.xml:
9435         added forgoten the SHELL argument description (by Nicolas François <nicolas.francois@centraliens.net>).
9436
9437         * man/Attic/useradd.8, man/useradd.8.xml:
9438         s/group/user/ (cached by Nicolas François).
9439
9440 2005-12-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9441
9442         * man/ko/vigr.8: added.
9443
9444         * po/it.po:
9445         updated for 4.0.14 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9446
9447 2005-12-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9448
9449         * NEWS, po/pt.po:
9450         updated for 4.0.14 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
9451
9452         * src/useradd.c:
9453         s/grp_update/grp_add/ in comment (by Nicolas François <nicolas.francois@centraliens.net>).
9454
9455         * man/Attic/login.1, man/login.1.xml:
9456         added use <envar></envar> tags instead <emphasis></emphasis>.
9457
9458         * man/Attic/su.1, man/su.1.xml: added use <envar></envar>.
9459
9460         * man/Attic/su.1, man/su.1.xml:
9461         updated man page after change su for use getopt_long()
9462         (by Nicolas François <nicolas.francois@centraliens.net>)
9463
9464 2005-12-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
9465
9466         * NEWS, po/fi.po:
9467         updated for 4.0.14 (by Tommi Vainikainen <thv+debian@iki.fi>).
9468
9469         * po/ru.po: updated for 4.0.14 (by Yuri Kozlov <kozlov.y@gmail.com>).
9470
9471         * man/ru/login.1, man/ru/passwd.1, man/ru/pwck.8, man/ru/vipw.8:
9472         updated (by Yuri Kozlov <kozlov.y@gmail.com>_.
9473
9474         * doc/Attic/README.linux, doc/Makefile.am: removed.
9475
9476         * README, doc/Attic/README.linux:
9477         move contributors list from doc/README.linux to README.
9478
9479         * doc/Attic/LSM, doc/Attic/README, doc/Makefile.am:
9480         removed (outdated content).
9481
9482         * NEWS, po/cs.po:
9483         updated cs.po for 4.0.14 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9484
9485         * po/pl.po: updated.
9486
9487         * po/fr.po:
9488         kill one fuzzy (by Christian Perrier <bubulle@kheops.frmug.org>).
9489
9490         * NEWS, po/da.po:
9491         updated da.po for 4.0.14 (by Claus Hindsgaul <claus_h@image.dk>).
9492
9493         * po/eu.po: updated for 4.0.14 (by pi <pi@beobide.net>).
9494
9495         * NEWS, po/vi.po:
9496         updated vi.po fo 4.0.14 (by Clytie Siddall <clytie@riverland.net.au>).
9497
9498 2005-12-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9499
9500         * NEWS: set release day for 4.0.14 to 19-12-2005.
9501
9502         * src/login.c:
9503         removed #include "libaudit.h" (it is conditionaly included in "defines.h").
9504
9505         * src/su.c:
9506         replaced "shell" by "shellstr". "shell" is also the name of a function.
9507         (Nicolas François <nicolas.francois@centraliens.net>).
9508
9509         * src/vipw.c: - added missing break in case 'q'.
9510
9511         * NEWS, man/es/Makefile.am, man/es/vigr.8, man/es/vipw.8, man/hu/Makefile.am, man/hu/lastlog.8, man/ko/Makefile.am, man/ko/vipw.8, man/zh_CN/Makefile.am, man/zh_CN/su.1, man/zh_TW/Makefile.am, man/zh_TW/chpasswd.8, man/zh_TW/su.1:
9512         added es, ko vigr(8) and vipw(8), hu lastlog(8), ko vipw(8), zh_CN su(1),
9513         zh_TW chpasswd(8) and su(1),
9514
9515 2005-12-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9516
9517         * doc/Attic/LICENSE, doc/Makefile.am, COPYING:
9518         move doc/LICENSE to COPYING.
9519
9520         * doc/WISHLIST: remove some outdated/finished things.
9521
9522         * doc/Attic/README.nls, doc/Attic/README.pam, doc/Makefile.am: removed.
9523
9524 2005-12-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9525
9526         * po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po:
9527         run "make update-po" (merge changes in su messages).
9528
9529         * NEWS, src/su.c:
9530         added handle -s/--shell, -m/-p/preserve-environment options like GNU su
9531         (based on patches from Debian submited by
9532         Nicolas François <nicolas.francois@centraliens.net>)
9533
9534         * NEWS: updated.
9535
9536         * src/su.c:
9537         added handle -s/--shell option like in GNU su (based on Debian patch sublmited
9538         by Nicolas François <nicolas.francois@centraliens.net>).
9539
9540         * src/su.c:
9541         make -, -l , --login option as no_argument (based on fix by Nicolas François).
9542
9543         * po/it.po:
9544         cosmetic fixes (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9545
9546 2005-12-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9547
9548         * man/es/Makefile.am: s/patches/passwd/
9549
9550 2005-12-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9551
9552         * NEWS, configure.in, man/Makefile.am, man/tr/.cvsignore, man/tr/Makefile.am, man/tr/chage.1, man/tr/chfn.1, man/tr/groupadd.8, man/tr/groupdel.8, man/tr/groupmod.8, man/tr/login.1, man/tr/passwd.1, man/tr/passwd.5, man/tr/shadow.5, man/tr/su.1, man/tr/useradd.8, man/tr/userdel.8, man/tr/usermod.8:
9553         added tr man pages.
9554
9555         * man/pt_BR/Makefile.am, man/pt_BR/passwd.5, man/zh_CN/Makefile.am, man/zh_CN/passwd.5, man/zh_TW/Makefile.am, man/zh_TW/passwd.5, NEWS, man/es/Makefile.am, man/es/passwd.5, man/hu/Makefile.am, man/hu/passwd.5:
9556         added es, hu, pt_BR, zh_CN zh_TW translations passwd(5).
9557
9558         * man/Attic/id.1, man/Attic/pw_auth.3, man/Attic/sulogin.8:
9559         regenerated.
9560
9561         * man/ko/Makefile.am: added su.1 to man_MANS.
9562
9563         * man/Makefile.am: reverte incorrect commit.
9564
9565         * man/Attic/pwconv.8, man/Attic/shadow.3, man/Attic/vipw.8, man/Makefile.am, man/fr/Makefile.am, man/fr/chage.1, man/fr/chfn.1, man/fr/chpasswd.8, man/fr/chsh.1, man/fr/expiry.1, man/fr/faillog.5, man/fr/faillog.8, man/fr/getspnam.3, man/fr/gpasswd.1, man/fr/groupadd.8, man/fr/groupdel.8, man/fr/groupmod.8, man/fr/groups.1, man/fr/grpck.8, man/fr/grpconv.8, man/fr/grpunconv.8, man/fr/gshadow.5, man/fr/lastlog.8, man/fr/limits.5, man/fr/login.1, man/fr/login.access.5, man/fr/login.defs.5, man/fr/logoutd.8, man/fr/newgrp.1, man/fr/newusers.8, man/fr/passwd.1, man/fr/passwd.5, man/fr/porttime.5, man/fr/pwck.8, man/fr/pwconv.8, man/fr/pwunconv.8, man/fr/sg.1, man/fr/shadow.3, man/fr/shadow.5, man/fr/su.1, man/fr/suauth.5, man/fr/useradd.8, man/fr/userdel.8, man/fr/usermod.8, man/fr/vigr.8, man/fr/vipw.8, NEWS:
9566         added full set (up to date) fr man pages (by Nicolas François <nicolas.francois@centraliens.net>).
9567
9568 2005-12-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9569
9570         * po/ca.po, po/cs.po, po/da.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/it.po, po/nl.po, po/ro.po, po/sk.po, po/sv.po:
9571         cleanups.
9572
9573         * src/groupadd.c, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po:
9574         s/--force /--force/
9575
9576         * po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/useradd.c:
9577         s/--skel SKEL_DIR /--skel SKEL_DIR/
9578
9579         * po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/passwd.c, po/bs.po, po/ca.po, po/cs.po, po/da.po:
9580         s/--delete /--delete/
9581
9582         * NEWS, po/ru.po:
9583         updated ru translatios for 4.0.14 (by Yuri Kozlov <kozlov.y@gmail.com>).
9584
9585         * po/eu.po: finish update for 4.0.14 (by pi <pi@beobide.net>).
9586
9587         * po/it.po:
9588         updated for 4.0.14 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9589
9590 2005-12-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9591
9592         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9593
9594         * NEWS, po/eu.po: Basque translation updated (by pi <pi@beobide.net>).
9595
9596         * po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/su.c, src/usermod.c, po/bs.po:
9597         s/LOGIN/login/ in usage() output.
9598
9599 2005-12-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9600
9601         * po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/vipw.c, NEWS, man/Attic/vipw.8, man/vipw.8.xml, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po:
9602         rewrited vipw for use getopt_long().
9603
9604         * man/Attic/passwd.1, man/passwd.1.xml: cleanups.
9605
9606         * man/ko/Makefile.am: commented newgrp.1 (must be updated).
9607
9608 2005-12-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9609
9610         * man/Makefile.am: update-po target added.
9611
9612         * man/Attic/pwck.8, man/pwck.8.xml: document -q option.
9613
9614         * NEWS, lib/getdef.c:
9615         $MAIL_FILE is used in userdel and usermod, $MD5_CRYPT_ENAB
9616         is used by crypt_make_salt, which is used by chpasswd, gpasswd and newusers.
9617         Both variables moved to PAM not dependent (447_missing_login.defs_variables
9618         Debian patch).
9619
9620         * NEWS, src/su.c:
9621         export $USER and $SHELL as well as $HOME (http://bugs.debian.org/11003 and
9622         http://bugs.debian.org/11189).
9623
9624         * NEWS, man/Attic/login.1, man/login.1.xml:
9625         document how to initiate a trusted path on linux
9626         (http://bugs.debian.org/305600).
9627
9628         * NEWS, src/chage.c:
9629         fix chage display when the last change field is set to 0.
9630         This is consistent with PAM (merge 427_chage_expiry_0 Debian patch).
9631
9632 2005-12-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9633
9634         * configure.in: added man/fi/Makefile to AC_CONFIG_FILES().
9635
9636         * man/zh_TW/chfn.1, man/zh_TW/chsh.1, man/zh_TW/groupadd.8, man/zh_TW/groupdel.8, man/zh_TW/groupmod.8, man/zh_TW/newgrp.1, man/zh_TW/useradd.8, man/zh_TW/userdel.8, man/zh_TW/usermod.8, man/pt_BR/gpasswd.1, man/pt_BR/groupadd.8, man/pt_BR/groupdel.8, man/pt_BR/groupmod.8, man/pt_BR/shadow.5, man/ru/Attic/pw_auth.3, man/ru/chage.1, man/ru/chfn.1, man/ru/chpasswd.8, man/ru/chsh.1, man/ru/expiry.1, man/ru/faillog.5, man/ru/faillog.8, man/ru/gpasswd.1, man/ru/groupadd.8, man/ru/groupdel.8, man/ru/groupmems.8, man/ru/groupmod.8, man/ru/groups.1, man/ru/grpck.8, man/ru/gshadow.5, man/ru/id.1, man/ru/lastlog.8, man/ru/limits.5, man/ru/login.1, man/ru/login.access.5, man/ru/login.defs.5, man/ru/logoutd.8, man/ru/newgrp.1, man/ru/newusers.8, man/ru/passwd.1, man/ru/passwd.5, man/ru/porttime.5, man/ru/pwck.8, man/ru/pwconv.8, man/ru/sg.1, man/ru/shadow.3, man/ru/shadow.5, man/ru/su.1, man/ru/suauth.5, man/ru/sulogin.8, man/ru/useradd.8, man/ru/userdel.8, man/ru/usermod.8, man/ru/vipw.8, man/zh_CN/chfn.1, man/zh_CN/chpasswd.8, man/zh_CN/chsh.1, man/zh_CN/groupadd.8, man/zh_CN/groupdel.8, man/zh_CN/groupmod.8, man/zh_CN/newgrp.1, man/zh_CN/useradd.8, man/zh_CN/userdel.8, man/zh_CN/usermod.8, man/ko/chfn.1, man/ko/chsh.1, man/ko/groups.1, man/ko/id.1, man/ko/login.1, man/ko/newgrp.1, man/ko/passwd.5, man/ko/su.1, man/pl/Attic/pw_auth.3, man/pl/chage.1, man/pl/chfn.1, man/pl/chpasswd.8, man/pl/chsh.1, man/pl/expiry.1, man/pl/faillog.5, man/pl/faillog.8, man/pl/gpasswd.1, man/pl/groupadd.8, man/pl/groupdel.8, man/pl/groupmems.8, man/pl/groupmod.8, man/pl/groups.1, man/pl/grpck.8, man/pl/id.1, man/pl/lastlog.8, man/pl/limits.5, man/pl/login.1, man/pl/login.access.5, man/pl/login.defs.5, man/pl/logoutd.8, man/pl/newgrp.1, man/pl/newusers.8, man/pl/passwd.1, man/pl/passwd.5, man/pl/porttime.5, man/pl/pwck.8, man/pl/pwconv.8, man/pl/shadow.3, man/pl/shadow.5, man/pl/su.1, man/pl/suauth.5, man/pl/sulogin.8, man/pl/useradd.8, man/pl/userdel.8, man/pl/usermod.8, man/pl/vipw.8, man/it/chage.1, man/it/chfn.1, man/it/chpasswd.8, man/it/chsh.1, man/it/expiry.1, man/it/faillog.5, man/it/faillog.8, man/it/gpasswd.1, man/it/groupadd.8, man/it/groupdel.8, man/it/groupmod.8, man/it/groups.1, man/it/grpck.8, man/it/id.1, man/it/lastlog.8, man/it/login.1, man/it/newgrp.1, man/it/newusers.8, man/it/passwd.1, man/it/passwd.5, man/it/porttime.5, man/it/pwck.8, man/it/pwconv.8, man/it/shadow.3, man/it/shadow.5, man/it/su.1, man/it/useradd.8, man/it/userdel.8, man/it/usermod.8, man/ja/Attic/pw_auth.3, man/ja/chage.1, man/ja/chfn.1, man/ja/chpasswd.8, man/ja/chsh.1, man/ja/expiry.1, man/ja/faillog.5, man/ja/faillog.8, man/ja/gpasswd.1, man/ja/groupadd.8, man/ja/groupdel.8, man/ja/groupmod.8, man/ja/groups.1, man/ja/grpck.8, man/ja/id.1, man/ja/lastlog.8, man/ja/limits.5, man/ja/login.1, man/ja/login.access.5, man/ja/login.defs.5, man/ja/logoutd.8, man/ja/newgrp.1, man/ja/newusers.8, man/ja/passwd.1, man/ja/passwd.5, man/ja/porttime.5, man/ja/pwck.8, man/ja/pwconv.8, man/ja/shadow.3, man/ja/shadow.5, man/ja/su.1, man/ja/suauth.5, man/ja/sulogin.8, man/ja/useradd.8, man/ja/userdel.8, man/ja/usermod.8, man/ja/vipw.8, man/de/chfn.1, man/de/chsh.1, man/de/groups.1, man/de/login.1, man/de/newgrp.1, man/de/passwd.1, man/de/passwd.5, man/de/su.1, man/de/vipw.8, man/es/login.1, man/es/newgrp.1, man/es/passwd.1, man/es/su.1, man/fi/chfn.1, man/fi/chsh.1, man/fi/passwd.1, man/fr/chage.1, man/fr/chpasswd.8, man/fr/chsh.1, man/fr/faillog.5, man/fr/gpasswd.1, man/fr/groups.1, man/fr/id.1, man/fr/newgrp.1, man/fr/passwd.1, man/fr/passwd.5, man/fr/shadow.5, man/fr/su.1, man/fr/useradd.8, man/fr/userdel.8, man/fr/usermod.8, man/hu/chfn.1, man/hu/chsh.1, man/hu/gpasswd.1, man/hu/groups.1, man/hu/id.1, man/hu/login.1, man/hu/newgrp.1, man/hu/passwd.1, man/hu/su.1, NEWS, man/cs/groups.1, man/cs/id.1, man/cs/lastlog.8, man/cs/passwd.5, man/cs/shadow.5, man/cs/su.1:
9637         convert all translated man pages to UFT-8.
9638
9639         * NEWS, src/userdel.c:
9640         fix incorrect audit record in userdel (https://bugzilla.redhat.com/bugzilla/174392).
9641
9642         * po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, src/passwd.c:
9643         s/--all /--all/
9644
9645         * po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po:
9646         update by some informations about translators (by Christian Perrier) and run "make update-po".
9647
9648 2005-11-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9649
9650         * NEWS, src/su.c:
9651         if an password is expired, su should propose to change this password
9652         (fixed http://bugs.debian.org/321384).
9653
9654         * src/Makefile.am, src/login.c, NEWS:
9655         added auditing support (based on Fedora patch for login from util-linux).
9656
9657         * src/useradd.c: remove use rflg.
9658
9659         * man/ru/Makefile.am: typo.
9660
9661         * po/pl.po: partialy updated.
9662
9663         * po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po:
9664         run "make update-po".
9665
9666         * NEWS, src/useradd.c: merge PUG fixes from RedHat patch.
9667
9668 2005-11-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9669
9670         * NEWS, po/it.po:
9671         updated (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9672
9673         * man/ru/pwconv.8, man/ru/pwunconv.8, man/ru/sg.1, man/ru/shadow.3, man/ru/shadow.5, man/ru/su.1, man/ru/suauth.5, man/ru/sulogin.8, man/ru/useradd.8, man/ru/userdel.8, man/ru/usermod.8, man/ru/vigr.8, man/ru/vipw.8, NEWS, man/ru/Attic/pw_auth.3, man/ru/Makefile.am, man/ru/chage.1, man/ru/chfn.1, man/ru/chpasswd.8, man/ru/chsh.1, man/ru/expiry.1, man/ru/faillog.5, man/ru/faillog.8, man/ru/getspnam.3, man/ru/gpasswd.1, man/ru/groupadd.8, man/ru/groupdel.8, man/ru/groupmems.8, man/ru/groupmod.8, man/ru/groups.1, man/ru/grpck.8, man/ru/grpconv.8, man/ru/grpunconv.8, man/ru/gshadow.5, man/ru/id.1, man/ru/lastlog.8, man/ru/limits.5, man/ru/login.1, man/ru/login.access.5, man/ru/login.defs.5, man/ru/logoutd.8, man/ru/newgrp.1, man/ru/newusers.8, man/ru/passwd.1, man/ru/passwd.5, man/ru/porttime.5, man/ru/pwck.8:
9674         added full set of ru man pages (by Yuri Kozlov <kozlov.y@gmail.com>).
9675
9676 2005-11-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
9677
9678         * NEWS, src/Makefile.am, src/nologin.c: added nologin program.
9679
9680         * NEWS, src/su.c: rewrited for use getopt_long().
9681
9682 2005-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9683
9684         * po/zh_CN.po: updated (by Ming Hua <minghua@rice.edu>).
9685
9686 2005-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9687
9688         * man/Attic/usermod.8, man/usermod.8.xml:
9689         rewrited for document long options.
9690
9691         * NEWS, src/vipw.c:
9692         added a "quiet" mode (http://bugs.debian.org/190252.
9693
9694         * po/de.po:
9695         fixed wrong translation in german po file (http://bugs.debian.org/338373
9696         by Nico Golde <nico@ngolde.de>).
9697
9698         * NEWS, man/Makefile.am, man/fi/.cvsignore, man/fi/Makefile.am, man/fi/chfn.1, man/fi/chsh.1, man/fi/passwd.1, man/fi/su.1:
9699         added fi chfn(1), chsh(1), passwd(1), su(1).
9700
9701         * NEWS, man/it/Makefile.am, man/it/newusers.8: added it newusers(8).
9702
9703         * NEWS, po/fr.po:
9704         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9705
9706 2005-11-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9707
9708         * NEWS, src/Makefile.am, src/newgrp.c:
9709         added auditing support for newgrp (by Steve Grubb <sgrubb@redhat.com>).
9710
9711         * NEWS, configure.in, libmisc/audit_help.c:
9712         switch over to a new logging function (by Steve Grubb <sgrubb@redhat.com>).
9713
9714         * README: typo.
9715
9716 2005-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9717
9718         * po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
9719
9720 2005-11-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9721
9722         * configure.in:
9723         s/logdir/shadow_cv_logdir/ fix wrong var name (by Mike Frysinger <vapier@gentoo.org>).
9724
9725         * man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/pw_auth.3.xml, man/Attic/pwck.8, man/Attic/sg.1, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/suauth.5, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/newusers.8.xml, man/passwd.1.xml, man/passwd.5.xml, man/porttime.5.xml, man/pwck.8.xml, man/sg.1.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml, README, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/expiry.1, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/gshadow.5, man/Attic/lastlog.8, man/Attic/limits.5, man/Attic/login.1, man/Attic/login.access.5, man/Attic/login.defs.5, man/Attic/logoutd.8, man/Attic/newgrp.1, man/chage.1.xml, man/chfn.1.xml, man/chpasswd.8.xml, man/chsh.1.xml, man/expiry.1.xml, man/faillog.5.xml, man/faillog.8.xml, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/gshadow.5.xml, man/id.1.xml, man/lastlog.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/login.defs.5.xml, man/logoutd.8.xml, man/newgrp.1.xml:
9726         move information about all shadow man pages authors from man pages to README file.
9727
9728         * src/userdel.c: added two new error messages to translated phrases.
9729
9730         * NEWS, src/userdel.c:
9731         remove the user's group unless it is not really a user-private group
9732         (based on FC patch).
9733
9734 2005-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9735
9736         * src/usermod.c: fix long name options name in long_options[].
9737
9738 2005-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9739
9740         * src/userdel.c: indent source code.
9741
9742         * NEWS, src/userdel.c:
9743         make the userdel -f option force the removal of the user's group (even if it
9744         is the primary group of another user)
9745         (merge 453_userdel_-f_removes_group Debian patch),
9746
9747         * NEWS, man/Attic/login.1, man/login.1.xml:
9748         better explain the respective roles of login, init and getty with regards
9749         to the utmp file (merge 440_manpages-login.1 Debian patch).
9750
9751         * man/Attic/userdel.8, man/userdel.8.xml:
9752         aphabetic order options description.
9753
9754         * NEWS, man/Attic/userdel.8, man/userdel.8.xml:
9755         document the -f option; document the group removal behavior (merge
9756         455_userdel.8.xml Debian patch).
9757
9758         * NEWS, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
9759         document that useradd/groupadd refuse adding entries already in an
9760         external database (http://bugs.debian.org/282184).
9761
9762         * NEWS, libmisc/sulog.c:
9763         log in successful/failed su through syslog (http://bugs.debian.org/190215).
9764
9765         * NEWS, man/it/groupdel.8, man/it/passwd.1, man/it/pwconv.8, man/it/useradd.8, man/it/userdel.8, man/it/usermod.8:
9766         updated it groupdel(8), passwd(1), pwconv(8), useradd(8), userdel(8), usermod(8) man pages
9767         (merge 205_it-manpages Debian patch).
9768
9769         * man/pt_BR/gpasswd.1: merge 204_pt_BR-manpages Debian patch.
9770
9771 2005-10-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
9772
9773         * man/Attic/porttime.5, man/Attic/pwck.8, man/Attic/shadow.3, man/porttime.5.xml, man/pwck.8.xml:
9774         improvements by Yuri Kozlov <kozlov.y@gmail.com>.
9775
9776         * NEWS, po/tl.po: updated (by Eric Pareja <xenos@upm.edu.ph>).
9777
9778         * po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/su.c, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po:
9779         remove "." from su message.
9780
9781         * po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po:
9782         "make update-po".
9783
9784         * src/usermod.c: cleanups in usage() output.
9785
9786         * src/usermod.c: indent code.
9787
9788         * NEWS, src/usermod.c:
9789         rewrited for use getopt_long() (Christian Perrier <bubulle@kheops.frmug.org>).
9790
9791 2005-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9792
9793         * po/uk.po: updated (by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>).
9794
9795 2005-10-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9796
9797         * man/Attic/faillog.5, man/Attic/groupmems.8, man/Attic/limits.5, man/Attic/login.1, man/Attic/login.access.5, man/chpasswd.8.xml, man/groupmems.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/Attic/chpasswd.8:
9798         bunch of cleanups (Yuri Kozlov <kozlov.y@gmail.com>).
9799
9800 2005-10-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
9801
9802         * src/userdel.c, src/usermod.c, lib/pam_defs.h, libmisc/pam_pass.c, libmisc/pwdcheck.c, src/chage.c, src/chfn.c, src/chpasswd.c, src/chsh.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/login.c, src/newusers.c, src/su.c, src/useradd.c:
9803         Simplifications: move all per shadow tool declared struct pam_conv conv
9804         from src/*c to lib/pam_defs.h. #include "pam_defs.h" instead <security/pam_appl.h>
9805         and <security/pam_misc.h>.
9806         Patch partialy based on openpam fixes by Rob Holland <rob@inversepath.com>.
9807
9808         * NEWS, lib/commonio.c:
9809         fixed grpck segmentation fault on using -s when /etc/gshadow is empty (fix by
9810         Tomasz Lemiech <szpajder@staszic.waw.pl>).
9811
9812 2005-10-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9813
9814         * man/Attic/faillog.5, man/faillog.5.xml:
9815         typos (by A Costa <agcosta@gis.net>).
9816
9817 2005-10-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9818
9819         * man/Attic/chage.1, man/Attic/chpasswd.8, man/chage.1.xml, man/chpasswd.8.xml:
9820         typos (by A Costa <agcosta@gis.net>).
9821
9822         * NEWS, po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9823
9824 2005-10-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9825
9826         * man/de/newgrp.1, man/es/Makefile.am, man/es/newgrp.1, man/zh_CN/Makefile.am, man/zh_CN/newgrp.1, man/zh_TW/Makefile.am, man/zh_TW/newgrp.1, NEWS, man/de/Makefile.am:
9827         newgrp(1): added de, es, zh_CN, zh_TW translations.
9828
9829 2005-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9830
9831         * man/Attic/gpasswd.1, man/gpasswd.1.xml:
9832         move "Notes about group passwords" section from passwd man page.
9833
9834         * src/passwd.c, NEWS, man/Attic/passwd.1, man/passwd.1.xml:
9835         remove handle -f, -g and -s options in passwd.
9836
9837         * man/userdel.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/logoutd.8.xml, man/newgrp.1.xml, man/newusers.8.xml, man/pwconv.8.xml, man/sg.1.xml:
9838         use locase in <refentrytitle>.
9839
9840         * man/Attic/pw_auth.3, man/Attic/pw_auth.3.xml, man/Attic/shadow.3, man/shadow.3.xml:
9841         added refmiscinfo class="sectdesc">Library Calls</refmiscinfo> in <refmeta>.
9842
9843         * man/Attic/pwconv.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/Attic/vipw.8, man/newusers.8.xml, man/pwconv.8.xml, man/sulogin.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml, man/vipw.8.xml, man/Attic/chpasswd.8, man/Attic/faillog.8, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmod.8, man/Attic/grpck.8, man/Attic/lastlog.8, man/Attic/logoutd.8, man/Attic/newusers.8, man/chpasswd.8.xml, man/faillog.8.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/grpck.8.xml, man/lastlog.8.xml, man/logoutd.8.xml:
9844         added <refmiscinfo class="sectdesc">System Management Commands</refmiscinfo>
9845         in <refmeta>.
9846
9847         * man/Attic/login.defs.5, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/shadow.5, man/Attic/suauth.5, man/login.defs.5.xml, man/passwd.5.xml, man/porttime.5.xml, man/shadow.5.xml, man/suauth.5.xml, man/Attic/login.access.5, man/limits.5.xml, man/login.access.5.xml, man/Attic/faillog.5, man/Attic/gshadow.5, man/Attic/limits.5, man/faillog.5.xml, man/gshadow.5.xml:
9848         added <refmiscinfo class="sectdesc">File Formats and Conversions</refmiscinfo>
9849         in <refmeta>.
9850
9851         * man/Attic/pwconv.8, man/Attic/suauth.5, man/Attic/vipw.8, man/pwconv.8.xml, man/suauth.5.xml, man/vipw.8.xml:
9852         remove <refentryinfo><date></date></refentryinfo> and <refmiscinfo class='date'> tags.
9853
9854         * man/Attic/newgrp.1, man/Attic/sg.1, man/newgrp.1.xml, man/sg.1.xml:
9855         added <refmiscinfo class="sectdesc">User Commands</refmiscinfo> tag.
9856
9857 2005-10-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9858
9859         * NEWS, configure.in: start work on 4.0.14.
9860
9861 2005-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9862
9863         * NEWS: move release 4.0.13 date to 10-10-2005.
9864
9865         * NEWS:  added infor about removed duplicated pam_start() in chage.
9866
9867         * NEWS: updated.
9868
9869         * man/Makefile.am: added sg.1.xml to man_XMANS.
9870
9871         * man/Attic/chage.1, man/chage.1.xml:
9872         cleanups (by Yuri Kozlov <kozlov.y@gmail.com>).
9873
9874         * man/Attic/newgrp.1, man/newgrp.1.xml:
9875         use <filename> in few more places.
9876
9877         * man/Attic/newgrp.1, man/newgrp.1.xml:
9878         better newgrp description (http://bugs.debian.org/325558).
9879
9880 2005-10-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9881
9882         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
9883         remove using pam_chauthtok().
9884
9885         * src/chsh.c: finish PAM support using pam_start() & co.
9886
9887         * src/chage.c: remove using pam_chauthtok() on finish chage.
9888
9889         * src/chfn.c:
9890         use E_NOPERM in more places. remove using pam_chauthtok() on finish chfn.
9891
9892         * src/chfn.c: cleanups.
9893
9894         * src/chage.c:
9895         removed duplicaded not moved PAM code) was introduced during merge
9896         shadow-4.0.4.1-owl-pam-auth.diff patch).
9897
9898         * src/chfn.c: finish PAM support.
9899
9900 2005-10-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9901
9902         * man/Attic/chfn.1, man/Attic/chsh.1, man/chfn.1.xml, man/chsh.1.xml:
9903         cleanups (by  Alexander Gattin <xrgtn@yandex.ru>).
9904
9905 2005-10-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9906
9907         * NEWS, src/userdel.c:
9908         userdel should not remove the group which is primary for someone else (fix
9909         by Nicolas François <nicolas.francois@centraliens.net> http://bugs.debian.org/295416)
9910
9911 2005-10-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9912
9913         * man/vipw.8.xml, man/Attic/chage.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/faillog.8, man/Attic/grpck.8, man/Attic/lastlog.8, man/Attic/limits.5, man/Attic/login.1, man/Attic/login.access.5, man/Attic/passwd.1, man/Attic/porttime.5, man/Attic/pw_auth.3.xml, man/Attic/shadow.3, man/Attic/su.1, man/Attic/suauth.5, man/chage.1.xml, man/chpasswd.8.xml, man/chsh.1.xml, man/faillog.8.xml, man/groupmems.8.xml, man/grpck.8.xml, man/lastlog.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/passwd.1.xml, man/porttime.5.xml, man/shadow.3.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml:
9914         s/<emphasis remap='B'>/<emphasis>/
9915
9916         * man/Attic/sg.1, man/sg.1.xml: use <command> instead <emphasis>.
9917
9918         * man/newgrp.1.xml, man/sg.1.xml, man/chage.1.xml, man/chsh.1.xml, man/login.defs.5.xml:
9919         s/\.  /\. /
9920
9921         * man/Attic/shadow.5, man/shadow.5.xml:
9922         better document "!" and "*" fields in /etc/shadow
9923         (based on 441_manpages-shadow.5 patch from Debian).
9924
9925         * man/Attic/newgrp.1, man/newgrp.1.xml:
9926         SHADOWPWD was removed (always enabled)
9927         (based on 446_newgrp.1_no_SHADOWPWD patch from Debian).
9928
9929         * po/ru.po: updated for 4.0.13 (by Yuri Kozlov <kozlov.y@gmail.com>).
9930
9931 2005-09-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9932
9933         * NEWS: cleanups.
9934
9935         * man/Attic/vipw.8, man/vipw.8.xml, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/expiry.1, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupmems.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/gshadow.5, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/limits.5, man/Attic/login.1, man/Attic/login.access.5, man/Attic/login.defs.5, man/Attic/logoutd.8, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/pw_auth.3, man/Attic/pw_auth.3.xml, man/Attic/pwck.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/suauth.5, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/chage.1.xml, man/chpasswd.8.xml, man/chsh.1.xml, man/expiry.1.xml, man/faillog.8.xml, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/gshadow.5.xml, man/id.1.xml, man/lastlog.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/login.defs.5.xml, man/logoutd.8.xml, man/newgrp.1.xml, man/newusers.8.xml, man/passwd.1.xml, man/passwd.5.xml, man/porttime.5.xml, man/pwck.8.xml, man/pwconv.8.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml:
9936         next round of cleanups.
9937
9938         * man/Makefile.am: added rules for id.1, pw_auth.3 and sulogin.8.
9939
9940         * libmisc/setupenv.c:
9941         during the changes on libmisc/setupenv.c, a piece of code was moved
9942         without its comment (merge 449_comment_missplaced Debian patch).
9943
9944 2005-09-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9945
9946         * man/Attic/chfn.1, man/Attic/chsh.1, man/Attic/groupadd.8, man/Attic/newusers.8, man/Attic/pwconv.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/chfn.1.xml, man/chsh.1.xml, man/groupadd.8.xml, man/newusers.8.xml, man/pwconv.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml, NEWS:
9947         added missing references to /etc/login.defs and login.defs(5)
9948         (Christian Perrier <bubulle@kheops.frmug.org>).
9949
9950 2005-09-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
9951
9952         * NEWS: s/XSL/XSLT/
9953
9954         * po/pl.po: few updates.
9955
9956         * man/Attic/passwd.1, man/passwd.1.xml:
9957         -i option description is back (lost on rewrite and pointed by
9958         Miroslav Kure <kurem@upcase.inf.upol.cz>).
9959
9960         * po/cs.po:
9961         updated for 4.0.13 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9962
9963 2005-09-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9964
9965         * NEWS: updated.
9966
9967         * configure.in: fixes for correct handle --with{,out}-<feature>.
9968
9969         * configure.in:
9970         use @<:@ @:>@ instead ( ) inside AC_HELP_STRING() and s/feactures/features/
9971         (based on fixes by Mike Frysinger <vapier@gentoo.org>).
9972
9973         * po/da.po: updated for 4.0.13 (by Claus Hindsgaul <claus_h@image.dk>).
9974
9975         * po/es.po: updated for 4.0.13 (by Ruben Porras <nahoo@inicia.es>).
9976
9977 2005-09-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
9978
9979         * NEWS, libmisc/failure.c:
9980         use "%c" in strftime() output (based on patch from
9981         http://bugs.debian.org/89902 by Christian Perrier <bubulle@debian.org>)
9982
9983         * man/Attic/getspnam.3, man/Attic/shadow.3, man/shadow.3.xml:
9984         added <refname>getspnam</refname> to <refnamediv>.
9985
9986         * man/Attic/sg.1, man/sg.1.xml: fixed <cmdsynopsis>.
9987
9988         * man/Attic/sg.1, man/Makefile.am, man/sg.1.xml:
9989         added separated sg(1) man page.
9990
9991 2005-09-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9992
9993         * lib/commonio.c, NEWS:
9994         don't assume selinux is enabled if is_selinux_enabled() returns -1
9995         (merge isSelinuxEnabled FC patch by Jeremy Katz <katzj@redhat.com>).
9996
9997         * po/ro.po: updated (by Sorin Batariuc <sorin@bonbon.net>).
9998
9999 2005-09-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10000
10001         * NEWS: schedule release 4.0.13 to 03-10-2005.
10002
10003 2005-09-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10004
10005         * NEWS, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/expiry.1, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/gshadow.5, man/Attic/lastlog.8, man/Attic/limits.5, man/Attic/login.1, man/Attic/login.defs.5, man/Attic/logoutd.8, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/pwck.8, man/Attic/pwconv.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/suauth.5, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/Attic/vipw.8:
10006         regenerate all roff man pages using DocBook XSL Stylesheets 1.69.1.
10007
10008         * man/logoutd.8.xml: fixed id inside <refentry>.
10009
10010         * man/login.1.xml, man/logoutd.8.xml, man/newgrp.1.xml, man/passwd.1.xml, man/passwd.5.xml, man/porttime.5.xml, man/pwck.8.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml, man/chage.1.xml, man/chfn.1.xml, man/chsh.1.xml, man/expiry.1.xml, man/faillog.5.xml, man/faillog.8.xml, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/gshadow.5.xml, man/id.1.xml, man/lastlog.8.xml, man/limits.5.xml:
10011         added missing <para></para> inside <listitem> tags for pass correctly xmllint.
10012
10013         * man/Attic/login.access.5, man/login.access.5.xml:
10014         rewrited FILES section.
10015
10016         * man/login.access.5.xml: cleanups.
10017
10018 2005-09-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10019
10020         * NEWS, man/Attic/passwd.5, man/passwd.5.xml:
10021         rewrited based on work by Greg Wooledge <greg@wooledge.org>
10022         http://bugs.debian.org/328113
10023
10024 2005-09-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10025
10026         * po/ro.po: updates (by Sorin Batariuc <sorin@bonbon.net>).
10027
10028 2005-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10029
10030         * src/chage.c, src/chfn.c, src/chpasswd.c, src/chsh.c, src/expiry.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/groups.c, src/grpck.c, src/id.c, src/login.c, src/login_nopam.c, src/logoutd.c, src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c, src/su.c, src/suauth.c, src/sulogin.c, src/useradd.c, src/userdel.c, src/usermod.c, src/vipw.c:
10031         remove empty lines after comment.
10032
10033         * src/useradd.c: group all #include.
10034
10035         * po/fr.po:
10036         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
10037
10038 2005-09-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10039
10040         * src/gpasswd.c: remove exit(1) after failure().
10041
10042         * src/usermod.c: consolidate few #ifdef WITH_AUDIT .. #endif sections.
10043
10044 2005-09-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
10045
10046         * src/Makefile.am: added missing $(LDADD) in gpasswd_LDADD.
10047
10048         * NEWS, libmisc/limits.c:
10049         fixed setup max address space limits (added missing break statement in case)
10050         spoted by Lasse Collin <lasse.collin@tukaani.org>
10051         (fix for non-PAM case)
10052
10053         * configure.in: try find and use by default feactures:
10054         with_audit="yes"
10055         with_libcrack="no"
10056         with_libpam="yes"
10057         with_libskey="no"
10058         with_selinux="yes"
10059         Report on finish also S/Key and CrackLib support.
10060
10061         * configure.in: cleanups.
10062
10063         * src/Makefile.am: sort *_LDADD.
10064
10065         * src/Makefile.am: added missing gpasswd_LDADD = $(LIBAUDIT).
10066
10067         * src/groupadd.c, src/groupdel.c, src/groupmod.c, src/useradd.c, src/userdel.c, src/usermod.c, lib/defines.h, lib/prototypes.h, src/chage.c, src/gpasswd.c:
10068         indent code.
10069
10070         * libmisc/Makefile.am: sort libmisc_a_SOURCES elements.
10071
10072         * libmisc/audit_help.c: added shadow copyright text and indent file.
10073
10074         * libmisc/audit_help.c:
10075         patr of auditing support not added on commiting audit changes.
10076
10077         * src/Makefile.am: s/AUDIT/LIBAUDIT/
10078
10079         * configure.in: added reporting on finish is auditing is enabled.
10080         Change to use shared libaudit. Aded missing AC_SUBST(LIBAUDIT).
10081         Break some to log lines.
10082
10083         * src/Makefile.am, src/chage.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/useradd.c, src/userdel.c, src/usermod.c, NEWS, configure.in, lib/defines.h, lib/prototypes.h, libmisc/Makefile.am:
10084         auditing support added. Patch prepared by Peter Vrabec
10085         <pvrabec@redhat.com> basing on work by Steve Grubb from
10086         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159215 Now auditing
10087         support have commands: chage, gpasswd, groupadd, groupdel, groupmod,
10088         useradd, userdel, usermod.
10089
10090         * po/pt.po: finish update (by Christian Perrier <bubulle@debian.org>).
10091
10092 2005-09-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
10093
10094         * po/pt.po, NEWS: updated (by Miguel Figueiredo <elmig@debianpt.org>).
10095
10096 2005-09-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
10097
10098         * src/passwd.c:
10099         fix warning (initialization makes pointer from integer without a cast) in
10100         long_options[] entry.
10101
10102         * po/fr.po, NEWS:
10103         partialy updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
10104
10105 2005-09-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10106
10107         * src/chage.c: indent source sode.
10108
10109         * src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c, NEWS:
10110         change to use new selinux API for selinux_check_passwd_access()
10111         (patch from Fedora by Dan Walsh <dwalsh@redhat.com>).
10112
10113 2005-09-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
10114
10115         * man/Attic/newgrp.1, man/newgrp.1.xml: finished rewrite.
10116
10117         * etc/login.defs: moved from login.defs.linux.
10118
10119         * src/login_nopam.c: use #ident.
10120
10121         * etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, etc/Makefile.am:
10122         remove login.defs.hurd and login.defs.linux.
10123
10124         * src/groupadd.c, src/useradd.c:
10125         as same as in man pages to useradd and groupadd change to 1000 default
10126         GID_MIN and UID_MIN (if not found in login.defs).
10127
10128         * etc/login.defs: s/chkpasswd/chpasswd/
10129
10130 2005-08-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
10131
10132         * man/Makefile.am, man/chsh.1.xml, man/limits.5.xml, man/login.access.5.xml, man/newgrp.1.xml, man/newusers.8.xml:
10133         fixed id= in <refentry>.
10134
10135         * man/Attic/gpasswd.1, man/gpasswd.1.xml:
10136         fixed refentry id (must be 'gpasswd.1').
10137
10138         * man/Makefile.am, man/newgrp.1.xml:
10139         raw version converted from roff using doclifter.
10140
10141         * lib/exitcodes.h: new exit codes:
10142         #define E_PASSWD_NOTFOUND       14      /* not found password file */
10143         #define E_GROUP_NOTFOUND        16      /* not found group file */
10144         #define E_GSHADOW_NOTFOUND      17      /* not found shadow group file */
10145
10146         * man/Attic/chage.1, man/chage.1.xml, lib/exitcodes.h:
10147         change to 15 (from 14) exit code in chage when shadow not found.
10148
10149         * src/Attic/chsh_chkshell.c, src/chage.c, src/chfn.c, src/chpasswd.c, src/chsh.c, src/expiry.c, src/faillog.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/groups.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, src/id.c, src/lastlog.c, src/login.c, src/login_nopam.c, src/logoutd.c, src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c, src/su.c, src/sulogin.c, src/useradd.c, src/userdel.c, src/usermod.c, src/vipw.c, libmisc/pwd_init.c, libmisc/pwdcheck.c, libmisc/rlogin.c, libmisc/salt.c, libmisc/setugid.c, libmisc/setupenv.c, libmisc/shell.c, libmisc/strtoday.c, libmisc/sub.c, libmisc/sulog.c, libmisc/ttytype.c, libmisc/tz.c, libmisc/ulimit.c, libmisc/utmp.c, libmisc/valid.c, libmisc/xmalloc.c, libmisc/addgrps.c, libmisc/age.c, libmisc/basename.c, libmisc/chkname.c, libmisc/chowndir.c, libmisc/chowntty.c, libmisc/console.c, libmisc/copydir.c, libmisc/entry.c, libmisc/env.c, libmisc/failure.c, libmisc/fields.c, libmisc/hushed.c, libmisc/isexpired.c, libmisc/limits.c, libmisc/list.c, libmisc/log.c, libmisc/loginprompt.c, libmisc/mail.c, libmisc/motd.c, libmisc/myname.c, libmisc/obscure.c, libmisc/pam_pass.c, libmisc/pwd2spwd.c, NEWS, lib/Attic/getpass.c, lib/Attic/rcsid.h, lib/Makefile.am, lib/commonio.c, lib/encrypt.c, lib/fputsx.c, lib/getdef.c, lib/groupio.c, lib/gshadow.c, lib/lockpw.c, lib/port.c, lib/pwauth.c, lib/pwio.c, lib/sgetgrent.c, lib/sgetpwent.c, lib/sgetspent.c, lib/sgroupio.c, lib/shadow.c, lib/shadowio.c:
10150         use #ident preprocesor directive istead RCID macro with content similar
10151         to example described in ident(1) man page (modern compilers like latest GCC
10152         removes not used functions by global optimization).
10153         So "ident /usr/bin/passwd" will show again some useable informations.
10154
10155         * man/Makefile.am: added support for regenerate roff files from XML.
10156         Added depeing shadow-man-pages.pot on $(man_XMANS).
10157
10158 2005-08-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
10159
10160         * man/Attic/login.1, man/login.1.xml, NEWS:
10161         added securetty(5) to SEE ALSO section (fixed Debian bug http://bugs.debian.org/325773).
10162
10163         * po/pl.po: more updates.
10164
10165         * configure.in:
10166         typo in handle --with-selinux. Fixes in xsltproc detection.
10167
10168         * autogen.sh:
10169         added --enable-man and --enable-maintainer-mode to configure options.
10170
10171         * man/Attic/chage.1, man/chage.1.xml, NEWS:
10172         added EXIT VALUES section (by Nicolas François <nicolas.francois@centraliens.net>).
10173
10174         * man/Attic/passwd.1, man/passwd.1.xml:
10175         remove "Password expiry information" section (all options are described now
10176         in OPTIONS section). Describe -a and -k options.
10177
10178         * NEWS, src/su.c:
10179         fixed twice copy enviroment which causes auth problems (bug was introduced in 4.0.12;
10180         fix by Nicolas François <nicolas.francois@centraliens.net>).
10181
10182         * src/passwd.c, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po:
10183         s/Incorrect password for `%s'/Incorrect password for %s/ (one phrase for translate less).
10184
10185         * src/login.c, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po:
10186         s/login: failure forking: %s/%s: failure forking: %s/ (one phrase for translate less).
10187
10188         * po/pl.po: partialy updated.
10189
10190 2005-08-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
10191
10192         * lib/exitcodes.h, src/chage.c:
10193         s/E_NOT_SHADOWED/E_SHADOW_NOTFOUND/ and change value of this exit code to 14.
10194
10195         * NEWS, lib/exitcodes.h, src/chage.c:
10196         differentiate the different failure causes by the exit value
10197         This will permit to adduser Debian script to detect if chage failed because the
10198         system doesn't have shadowed passwords (fix for http://bugs.debian.org/317012)
10199         Plain merge 443_chage_exit_values Debian patch.
10200
10201         * man/Attic/pw_auth.3.xml, man/chpasswd.8.xml, man/chsh.1.xml, man/expiry.1.xml, man/faillog.5.xml, man/faillog.8.xml, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/gshadow.5.xml, man/id.1.xml, man/lastlog.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/login.defs.5.xml, man/logoutd.8.xml, man/newusers.8.xml, man/passwd.1.xml, man/passwd.5.xml, man/porttime.5.xml, man/pwck.8.xml, man/pwconv.8.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml, man/userdel.8.xml, man/usermod.8.xml, man/vipw.8.xml, man/chage.1.xml, man/chfn.1.xml:
10202         use tabs in indentation (~10KB less in all xml files).
10203
10204         * po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po:
10205         run "make update-po" and remove obsoleted strings.
10206
10207         * src/expiry.c, src/login.c: remove #if 0 .. #endif code.
10208
10209         * src/login.c: remove #if 1 .. #endif.
10210
10211         * libmisc/obscure.c, libmisc/utmp.c, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, src/chage.c, src/login.c, src/logoutd.c, src/newgrp.c, src/su.c, src/useradd.c, NEWS:
10212         merge 010_more-i18ned-messages Debian patch which adds i18n support for few more messages
10213         (orginaly patch was prepared by Guillem Jover <guillem@debian.org>).
10214
10215         * man/id/chsh.1:
10216         fix .SH (fix merged from 207_id-manpages debian patch).
10217
10218 2005-08-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
10219
10220         * acinclude.m4: add aclocal macros (based on acinclude.m4 from glib):
10221         JH_PATH_XML_CATALOG: checks the location of the XML Catalog,
10222         JH_CHECK_XML_CATALOG: checks if a particular URI appears in the XML catalog.
10223
10224         * man/Attic/useradd.8, man/useradd.8.xml:
10225         cleanups in "Changing the default values" section.
10226
10227         * man/useradd.8.xml:
10228         replace <emphasis remap='I'></emphasis> by <replaceable></replaceable>.
10229         Other minor cleanups.
10230
10231         * configure.in:
10232         fixed missing )] in AC_ARG_WITH(skey, ..) (thank for fix to Yuri Kozlov <kozlov.y@gmail.com>).
10233
10234         * man/Attic/chsh.1, man/Attic/faillog.5, man/Attic/gshadow.5, man/Attic/lastlog.8, man/Attic/limits.5, man/Attic/login.1, man/Attic/login.access.5, man/Attic/login.defs.5, man/Attic/porttime.5, man/Attic/pw_auth.3, man/Attic/pw_auth.3.xml, man/Attic/shadow.3, man/Attic/suauth.5, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/chsh.1.xml, man/faillog.8.xml, man/groupadd.8.xml, man/gshadow.5.xml, man/lastlog.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/login.defs.5.xml, man/porttime.5.xml, man/shadow.3.xml, man/suauth.5.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml:
10235         typos, and change some arguments so they do not match the name of a
10236         command (fixes by Nicolas François <nicolas.francois@centraliens.net>).
10237
10238         * NEWS, libmisc/chkname.c, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
10239         fix regular expression describing alloved login/group names (pointed
10240         by Nicolas François <nicolas.francois@centraliens.net>)
10241         (correct is [a-z_][a-z0-9_-]*[$]).
10242
10243         * man/Attic/useradd.8, man/useradd.8.xml:
10244         remove "Creating New Users" section and merge this directly in DESCRIPTION.
10245         Add <option></option> for -o in EXIT VALUES section.
10246
10247         * po/ru.po, NEWS:
10248         update ru translations (by Yuri Kozlov <kozlov.y@gmail.com>).
10249
10250 2005-08-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10251
10252         * man/Attic/passwd.1, man/passwd.1.xml:
10253         removed "Account maintenance" section.
10254
10255         * man/Attic/passwd.1, man/passwd.1.xml: partialy done rewrite.
10256
10257         * po/ro.po:
10258         some fixes after review of the translation (by Sorin Batariuc <sorin@bonbon.net>).
10259
10260         * man/Attic/lastlog.8, man/lastlog.8.xml:
10261         s/Print help message and exit./Display help message and exit./
10262
10263         * man/Attic/chage.1, man/chage.1.xml: document -h,--help option.
10264
10265         * man/Attic/groupadd.8, man/groupadd.8.xml:
10266         document -h,--help option. added <option></option> for -o in EXIT VALUES.
10267         Cleanups in SYNOPSIS section.
10268
10269         * man/Attic/chage.1, man/Attic/faillog.8, man/chage.1.xml, man/faillog.8.xml:
10270         replace <emphasis remap='I'></emphasis> by <replaceable></replaceable>.
10271
10272         * man/Attic/lastlog.8, man/lastlog.8.xml:
10273         document new -b,--before option.
10274
10275         * po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/it.po, po/ja.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/el.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, src/lastlog.c:
10276         s/lastlog results/lastlog records/ in lastlog usage output.
10277
10278         * man/Attic/lastlog.8, man/lastlog.8.xml:
10279         add "" aroud <command></command>.
10280
10281         * po/vi.po, po/zh_CN.po, po/zh_TW.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, src/lastlog.c:
10282         alphabetic order options in lastlog usage output. Run "make -C po update-po".
10283
10284         * src/lastlog.c, NEWS:
10285         added handle -b option which allow print only lastlog records older than
10286         specified DAYS (fix by <miles@lubin.us>).
10287
10288         * libmisc/salt.c, NEWS:
10289         fixed for use login.defs::MD5_CRYPT_ENAB only if PAM support
10290         is disabled (fix by John Gatewood Ham <zappaman@buraphalinux.org>).
10291
10292 2005-08-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10293
10294         * configure.in:
10295         use AC_HELP_STRING() in AC_ARG_ENABLE() and AC_ARG_WITH().
10296         Exit with error message if configure was runed --with-selinux
10297         and libselinux not found.
10298
10299 2005-08-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10300
10301         * libmisc/chkname.c, NEWS, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
10302         documents in CAVEATS section the limitations shadow places on user and
10303         group names (fix by Mike Frysinger <vapier@gentoo.org>).
10304
10305         * src/passwd.c, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po:
10306         added missing -i, --inactive in usage() output.
10307
10308 2005-08-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
10309
10310         * po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, src/passwd.c, NEWS:
10311         passwd rewrited for use getopt_long().
10312
10313         * man/Attic/chage.1, man/chage.1.xml: /warndays/--warndays/
10314
10315         * man/Attic/pw_auth.3.xml, man/expiry.1.xml, man/faillog.5.xml, man/faillog.8.xml, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/gshadow.5.xml, man/id.1.xml, man/lastlog.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/login.defs.5.xml, man/logoutd.8.xml, man/newusers.8.xml, man/passwd.1.xml, man/passwd.5.xml, man/porttime.5.xml, man/pwck.8.xml, man/pwconv.8.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml, man/vipw.8.xml, man/chage.1.xml, man/chfn.1.xml, man/chpasswd.8.xml, man/chsh.1.xml:
10316         remove trailing spaces.
10317
10318         * src/lastlog.c, src/login.c, src/logoutd.c, src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c, src/suauth.c, src/sulogin.c, src/useradd.c, src/userdel.c, src/usermod.c, src/vipw.c, src/Attic/chsh_chkshell.c, src/chpasswd.c, src/chsh.c, src/expiry.c, src/faillog.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmems.c, src/groupmod.c, src/groups.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, src/id.c:
10319         reorder #includes, indentations and minor cleanups.
10320
10321         * src/newgrp.c: indent code.
10322
10323         * NEWS, src/newgrp.c:
10324         when newgrp process sits between parent and child shells, it should
10325         propagate STOPs from child to parent and CONTs from parent to child,
10326         otherwise e.g. bash's "suspend" command won't work.
10327         Fixed Debian http://bugs.debian.org/314727
10328
10329 2005-08-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10330
10331         * configure.in: typo.
10332
10333         * configure.in:
10334         add display short summary information on finish autoconf script.
10335
10336         * NEWS, configure.in: start work on 4.0.13.
10337
10338 2005-08-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10339
10340         * po/ru.po: updated for 4.0.12 (by Yuri Kozlov <yuray@id.ru>).
10341
10342         * NEWS, po/sk.po:
10343         updated for 4.0.12 (by Peter Mann <Peter.Mann@tuke.sk>).
10344
10345 2005-08-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10346
10347         * po/nl.po, NEWS:
10348         updated for 4.0.12 (by cobaco (aka Bart Cornelis) <cobaco@linux.be>).
10349
10350 2005-08-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10351
10352         * NEWS, po/fi.po:
10353         updated for 4.0.12 (by Tommi Vainikainen <thv+debian@iki.fi>).
10354
10355         * NEWS, po/de.po:
10356         updated for 4.0.12 (by Frank Schmid <frank@cs-schmid.de>).
10357
10358         * po/pt.po, NEWS:
10359         updated for 4.0.12 (by Miguel Figueiredo <elmig@debianpt.org>).
10360
10361 2005-08-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
10362
10363         * po/cs.po:
10364         updated for 4.0.12 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10365
10366         * src/chpasswd.c, src/groupdel.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
10367         remove duplicated #include <pwd.h>.
10368
10369         * po/pl.po: finished update for 4.0.12.
10370
10371         * src/useradd.c, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po:
10372         s/Not copying any file into it./Not copying any file from skel directory into it./
10373
10374         * src/useradd.c, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po:
10375         break warning message longer than 80 characters.
10376
10377         * po/pl.po: updated.
10378
10379         * src/groupadd.c, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po:
10380         fixed missing \n in usage() output.
10381
10382         * lib/getdef.c, src/login.c, src/newgrp.c, NEWS:
10383         remove using login.defs::CLOSE_SESSIONS variable and allways close PAM session.
10384
10385 2005-08-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10386
10387         * NEWS, configure.in:
10388         realy enable shadow group support by default (pointed by
10389         Greg Schafer <gschafer@zip.com.au> and Peter Vrabec <pvrabec@redhat.com>).
10390         Indentations in --help output.
10391
10392         * man/Attic/chage.1, man/chage.1.xml:
10393         s/occurrence/occurence/ (334_chage.1-typo Debian patch).
10394
10395         * man/Attic/chfn.1, man/chfn.1.xml:
10396         s/may only change may only change/may only change/ (based on 336_chfn.1 Debian patch).
10397
10398         * man/it/Makefile.am: cleanups (443_man_it_Makefile.am Debian patch).
10399
10400         * man/Attic/userdel.8, man/userdel.8.xml: s/an NIS client/a NIS client/
10401
10402         * man/Attic/useradd.8, man/useradd.8.xml: s/an NIS group/a NIS group/
10403
10404         * man/Attic/lastlog.8, man/lastlog.8.xml:
10405         s/you have an high UID/you have a high UID/
10406
10407         * man/Attic/lastlog.8, man/lastlog.8.xml:
10408         added missing <para></para> in AUTHORS section (cached by Nicolas).
10409
10410         * po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po:
10411         run "make update-po".
10412
10413         * po/POTFILES.in: added missing libmisc/pwdcheck.c. Sorted.
10414
10415 2005-08-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
10416
10417         * NEWS: s/22-07-2005/22-08-2005/
10418
10419         * NEWS: schedule release 4.0.12 in 22-07-2005.
10420
10421         * libmisc/setupenv.c, man/pl/login.defs.5, NEWS, etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, lib/getdef.c:
10422         removed handle login.defs::QMAIL_DIR variable.
10423
10424         * libmisc/chowntty.c, NEWS:
10425         allow regular user to login on read-only root file system (not only for root).
10426         Patch by Nicolas François <nicolas.francois@centraliens.net>
10427         Fix for http://bugs.debian.org/52069
10428
10429         * NEWS, man/Attic/usermod.8, man/usermod.8.xml:
10430         give the correct range for system users: 0-999 instead of 0-99
10431         (http://bugs.debian.org/286258)
10432
10433         * man/Attic/chage.1, man/chage.1.xml: s/an password/a password/
10434
10435         * man/Attic/chage.1, man/chage.1.xml, src/chage.c, NEWS:
10436         another maxdays fix based on 427_chage_expiry_0 Debian patch
10437         (fix for http://bugs.debian.org/78961).
10438         Better description -1 value passed in -E, -I and -M options.
10439
10440         * src/gpasswd.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, NEWS:
10441         added flushing group nscd cache on exit.
10442
10443         * src/pwck.c, src/pwconv.c, NEWS:
10444         added flushing passwd nscd cache on exit.
10445
10446         * NEWS, src/usermod.c:
10447         fixed handle -p option (patch by Peter Vrabec <pvrabec@redhat.com>).
10448         Indented.
10449
10450         * man/Attic/chage.1, man/chage.1.xml, NEWS, src/chage.c:
10451         use -1 as value for disable password inactivity.
10452         Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
10453         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=109499
10454         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=137498
10455
10456 2005-08-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10457
10458         * src/useradd.c, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, NEWS, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po:
10459         do not copy files from skel directory if home directory exist and write
10460         warning message about not copying skel files.
10461         Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
10462         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143150
10463         https://bugzilla.redhat.com/beta/show_bug.cgi?id=158574
10464         https://bugzilla.redhat.com/beta/show_bug.cgi?id=80242
10465
10466         * po/pl.po: updated.
10467
10468 2005-08-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10469
10470         * src/useradd.c:
10471         s/spoll/spool/ (spoted by Nicolas François <nicolas.francois@centraliens.net>).
10472
10473 2005-08-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
10474
10475         * NEWS, src/su.c:
10476         ignore SIGINT while authenticating. A ^C could defeat the waiting
10477         period and permit brute-force attacks (fixed http://bugs.debian.org/288827).
10478
10479 2005-08-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
10480
10481         * lib/defines.h, NEWS, configure.in:
10482         added require ngettext (added [need-ngettext] to AM_GNU_GETTEXT() parameters)
10483         and stub prototype for ngettext() in lib/prototypes.h (neccessary if shadow
10484         compiled with disabled NLS support)
10485         Based on fixes by Martin Schlemmer <azarah@nosferatu.za.org>.
10486
10487         * src/faillog.c: start using exitcodes.h.
10488
10489         * NEWS, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/expiry.1, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmems.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/gshadow.5, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/login.1, man/Attic/login.access.5, man/Attic/login.defs.5, man/Attic/logoutd.8, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/pw_auth.3, man/Attic/pwck.8, man/Attic/pwconv.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/suauth.5, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/Attic/vipw.8, man/logoutd.8.xml, man/shadow.3.xml, man/sulogin.8.xml:
10490         regenerate all roff man pages using DocBook XSL Stylesheets 1.69.0.
10491
10492         * src/chage.c, src/chpasswd.c, src/newusers.c, src/passwd.c, src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c, src/vipw.c, NEWS:
10493         remove flushing shadow nscd cache (nscd do not caches shadow map).
10494
10495 2005-08-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10496
10497         * src/groupadd.c, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, NEWS:
10498         rewrited groupadd for use getopt_long().
10499
10500         * src/chage.c: indent.
10501
10502         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/userdel.c:
10503         do OPENLOG() before pam_start().
10504
10505         * NEWS, src/groupadd.c: fixed double OPENLOG().
10506
10507         * src/passwd.c, src/vipw.c, src/userdel.c: reorder nscd_flush_cache().
10508
10509         * src/chfn.c, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po:
10510         cleanups in printf() translated messages for make translators work easier.
10511
10512         * NEWS, src/chage.c: added flushing NSS shadow map on exit.
10513
10514         * po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, src/useradd.c:
10515         s/the the/the/
10516
10517         * po/POTFILES.in: removed lib/{grpack,gspack,pwpack,sppack}.c.
10518
10519         * NEWS, src/newusers.c:
10520         added flushing NSS passwd, shadow and group maps.
10521
10522         * NEWS, src/chpasswd.c, src/useradd.c:
10523         added flushing NSS shadow map on exit.
10524
10525         * lib/prototypes.h: removed outdated prototypes for lib/gsdbm.c.
10526
10527         * NEWS, lib/Attic/grpack.c, lib/Attic/gspack.c, lib/Attic/pwpack.c, lib/Attic/sppack.c, lib/Makefile.am, lib/prototypes.h:
10528         remove lib/{grpack,gspack,pwpack,sppack}.c and prototypes from lib/prototypes.h (outdated).
10529
10530         * lib/prototypes.h: removed outdated prototypes from lib/pwdbm.c.
10531
10532 2005-07-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
10533
10534         * NEWS, src/usermod.c: added flushing NSS shadow map.
10535
10536 2005-07-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
10537
10538         * man/Attic/chage.1, man/chage.1.xml:
10539         typo (s/passwordchanges/password changes/).
10540
10541 2005-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10542
10543         * lib/getdef.c, src/su.c:
10544         ENV_SUPATH and ENV_PATH must be used independently to PAM.
10545
10546         * lib/exitcodes.h: added E_BAD_ARG.
10547
10548         * src/gpasswd.c: start use exitcodes.h.
10549
10550         * lib/getdef.c: remove ENV_ROOTPATH def_table[] (not used).
10551
10552 2005-07-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10553
10554         * src/chsh.c: start use exitcodes.h.
10555
10556 2005-07-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
10557
10558         * po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/Makevars, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po:
10559         added --no-location to po/Makevars::XGETTEXT_OPTIONS: shorter .po files.
10560
10561         * NEWS, src/grpck.c, src/pwck.c:
10562         pwck: now pwck OPENLOG with correct name ("pwck" instead "pwsk"),
10563         pwck, grpck: replace all puts() with printf() - it fixes problems with extra blank
10564         lines printed in some messages
10565         (fixes by Alexander Gattin <arg@online.com.ua>)
10566
10567 2005-07-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10568
10569         * po/Makevars: added:
10570         MSGID_BUGS_ADDRESS = kloczek@pld.org.pl
10571
10572 2005-07-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10573
10574         * src/chfn.c: start use #include "exitcodes.h",
10575
10576         * lib/exitcodes.h: cleanups.
10577
10578         * lib/Makefile.am, lib/exitcodes.h, src/chage.c:
10579         start separate all E_* exit codes to lib/exitcodes.h.
10580
10581         * src/passwd.c, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, NEWS, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po:
10582         use separated message "Password set to expire." instead "Password changed."
10583         on "passwd -e" (fix by Christian Perrier <bubulle@debian.org>).
10584
10585         * NEWS, po/fr.po:
10586         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
10587
10588         * NEWS, configure.in: start work on 4.0.12.
10589
10590 2005-07-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10591
10592         * po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, NEWS, configure.in, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po:
10593         4.0.11.1 will be released tmorrow (21-07-2005).
10594
10595         * configure.in, NEWS:
10596         fixed configure.in: now is possible build shadow with enabled/disabled shadow group
10597         support (thanks for report symptoms of the bug to Greg Schafer <gschafer@zip.com.au>).
10598
10599         * po/sv.po, NEWS: update finished (by Per Olofsson <pelle@dsv.su.se>)
10600
10601         * po/sv.po: partialy updated (by Per Olofsson <pelle@dsv.su.se>).
10602
10603 2005-07-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10604
10605         * NEWS, configure.in: start work on 4.0.12.
10606
10607 2005-07-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
10608
10609         * libmisc/sub.c:
10610         fixed compilation warning about incompatible implicit declaration of built-in
10611         function printf: added "#include <stdio.h>".
10612
10613         * src/groupadd.c:
10614         move #ifdef USE_PAM .. #endif #includes outside #ifdef SHADOWGRP .. #endif.
10615
10616         * libmisc/pwdcheck.c:
10617         added missing "#include <stdio.h>" (fix compilation with PAM disabled).
10618
10619         * po/ro.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/pl.po, po/pt_BR.po, po/nl.po, po/nn.po, po/nb.po, po/ko.po, po/ja.po, po/it.po, po/he.po, po/id.po, po/fr.po, po/bs.po, po/ca.po, po/da.po, po/el.po, po/es.po, po/eu.po, po/fi.po:
10620         run "make update-po".
10621
10622         * src/su.c:
10623         move declaration of pamh nad caught variables to #ifdef USE_PAM .. #endif.
10624
10625         * po/pl.po, NEWS: updated pl translation.
10626
10627 2005-07-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10628
10629         * NEWS, po/sk.po:
10630         updated for 4.0.11 (by Peter Mann <Peter.Mann@tuke.sk>).
10631
10632 2005-07-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
10633
10634         * NEWS, po/cs.po:
10635         updated for 4.0.11 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10636
10637 2005-07-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10638
10639         * po/de.po, NEWS:
10640         updated for 4.0.11 (by Frank Schmid <frank@cs-schmid.de>).
10641
10642 2005-07-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
10643
10644         * NEWS, po/pt.po:
10645         updated for 4.0.11 (by Miguel Figueiredo <elmig@debianpt.org>).
10646
10647 2005-07-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10648
10649         * po/stats: reorder gsub().
10650
10651         * po/ru.po: cleanups.
10652
10653         * po/ru.po, NEWS:
10654         updated for 4.0.11 (by Yuri Kozlov <yucoz@yandex.ru>).
10655
10656 2005-07-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10657
10658         * lib/getdef.c:
10659         move MAIL_DIR variable from def_table[] to part independent to USE_PAM
10660         (still used in userdel/usermod).
10661
10662         * NEWS, man/Attic/pwck.8, man/pwck.8.xml:
10663         document -q option (based on Debian patch for fix http://bugs.debian.org/309408)
10664         Rewrited OPTIONS section and better SYNOPSIS.
10665
10666         * NEWS, po/da.po:
10667         - updated for 4.0.11 (by Claus Hindsgaul <claus_h@image.dk>).
10668
10669         * NEWS, src/su.c:
10670         ignore SIGINT while authenticating. A ^C could defeat the waiting period and
10671         permit brute-force attacks. Also ignore SIGQUIT.
10672         Fixed: http://bugs.debian.org/52372 and http://bugs.debian.org/288827
10673
10674         * po/fi.po, NEWS:
10675         - updated for 4.0.11 (by Tommi Vainikainen <thv+debian@iki.fi>).
10676
10677         * po/ro.po: - updated Project-Id-Version field.
10678
10679         * NEWS, po/ro.po:
10680         - updated for 4.0.11 (by Sorin B. <sorin@bonbon.net>).
10681
10682 2005-07-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
10683
10684         * NEWS, man/Attic/lastlog.8, man/lastlog.8.xml:
10685         document that lastlog is a sparse file, and don't need to be rotated.
10686         http://bugs.debian.org/219321
10687
10688         * src/chage.c: use E_USAGE=2 as usage() exit code.
10689
10690         * NEWS, po/es.po:
10691         updated for 4.0.11 (by Ruben Porras <nahoo82@telefonica.net>).
10692
10693         * src/useradd.c: cleanups in usage() oyput.
10694
10695         * po/zh_TW.po, po/vi.po, po/zh_CN.po, po/uk.po, po/tl.po, po/tr.po, po/sv.po, po/sq.po, po/sk.po, po/ro.po, po/ru.po, po/pt.po, po/pt_BR.po, po/pl.po, po/nb.po, po/nl.po, po/nn.po, po/ko.po, po/it.po, po/ja.po, po/he.po, po/id.po, po/fr.po, po/eu.po, po/fi.po, po/es.po, po/da.po, po/de.po, po/el.po, po/bs.po, po/ca.po, po/cs.po:
10696         cleanups in usage() output.
10697
10698         * NEWS: release 4.0.11 is sheduled to 18-06-2005.
10699
10700 2005-07-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10701
10702         * man/Attic/login.1, man/login.1.xml, NEWS:
10703         better explain the respective roles of login, init and getty with regards
10704         to the utmp file (based on 441_manpages-shadow.5 Debian patch)
10705
10706         * man/Attic/su.1, man/groupdel.8.xml, man/su.1.xml, man/Attic/groupdel.8:
10707         s/presense/presence/; s/filesystem/file system/
10708         (sed on 440_manpages-login.1 Debian patch)
10709
10710         * man/pl/Attic/shadowconfig.8, man/pl/Makefile.am, man/ja/Attic/shadowconfig.8, man/ja/Makefile.am, man/it/Attic/shadowconfig.8, man/Attic/shadowconfig.8, man/Attic/shadowconfig.8.xml, man/Makefile.am, NEWS:
10711         removed shadowconfig(8) man page (will be maintained in Debian shadow pkg repository).
10712
10713         * man/it/sg.1: added.
10714
10715         * man/it/Makefile.am: more files in man_MANS.
10716
10717         * man/it/Makefile.am: move pwunconv.8 to man_MANS.
10718
10719         * man/useradd.8.xml, man/Attic/useradd.8:
10720         updated after rewrite for for getopt_long() in useradd (-D and -k options
10721         idescription must be finished).
10722
10723         * src/useradd.c, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, NEWS:
10724         rewrited for use getopt_long().
10725
10726         * po/stats: more gsub().
10727
10728 2005-07-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
10729
10730         * src/newgrp.c:
10731         indent source code and use fix for handle splitted groups unconditionaly.
10732
10733         * lib/nscd.c: indent.
10734
10735         * NEWS, src/newgrp.c:
10736         add fix for handle splitted NIS groups: extends the functionality that,
10737         if the requested group is given, all groups of the same GID are tested for
10738         membership of the requesting user.
10739         (fix by Christian Mudra <C.Mudra@science-computing.de>
10740
10741         * lib/nscd.c, NEWS:
10742         for some reason doing the INVALIDATE call with two write()'s fails.
10743         Do one writev() call instead. http://bugs.gentoo.org/show_bug.cgi?id=80413
10744         (submited by Martin Schlemmer <azarah@gentoo.org>)
10745
10746         * NEWS, lib/nscd.c:
10747         merge nscd-socket-path patch from Fedora: newer glibc's have a different nscd socket
10748         location (/var/run/nscd/socket instead /var/run/.nscd_socket).
10749
10750 2005-07-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10751
10752         * po/stats: improved.
10753
10754         * man/Attic/groupadd.8, man/groupadd.8.xml, NEWS:
10755         document -o option in groupadd(8).
10756
10757         * configure.in: s/'"$<foo>" != "no"'/'"$<foo>" = "yes"'/
10758
10759         * NEWS, configure.in, lib/Makefile.am, lib/pwauth.c:
10760         S/Key support is back.
10761
10762         * po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po:
10763         run "make update-po".
10764
10765         * po/pl.po: updated.
10766
10767         * src/useradd.c: s,key=value,KEY=VALUE,
10768
10769         * src/groupadd.c, NEWS, man/Attic/groupadd.8, man/groupadd.8.xml:
10770         change -O option to -K and document it in man page.
10771
10772         * man/Attic/useradd.8, man/useradd.8.xml, src/useradd.c:
10773         s/NAME=VALUE/KEY=VALUE/; s/key=value/KEY=VALUE/
10774
10775         * src/chfn.c, src/groupadd.c, src/groupmems.c, src/login.c, src/passwd.c, src/vipw.c:
10776         sort cases in switch (flag) {}.
10777
10778         * src/gpasswd.c, src/groupadd.c, src/groupmems.c, src/groupmod.c, src/passwd.c, src/useradd.c, src/usermod.c:
10779         sort getopt() optstring.
10780
10781         * src/useradd.c:
10782         remove A: from getopt() optstring (the same bug as in usermod).
10783
10784         * src/usermod.c:
10785         remove A: from getopt() optstring (it was for handle AUTH_METHODS code but now
10786         it is not used option). Catched by Thorsten Kukuk <kukuk@suse.de>.
10787
10788         * src/usermod.c, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po:
10789         indent source code. Added usermod error message about -a option usage to translated messages.
10790
10791         * po/POTFILES.in: mistake s,chage_chkshell.c,chsh_chkshell.c,
10792
10793         * po/POTFILES.in: s,libmisc/chkshell.c,src/chage_chkshell.c,
10794
10795         * man/Attic/usermod.8, man/usermod.8.xml, src/usermod.c, NEWS:
10796         added -a option. This flag can only be used in conjunction with the -G
10797         option. It cause usermod to append user to the current supplementary group list.
10798         (patch by Peter Vrabec <pvrabec@redhat.com>)
10799
10800         * libmisc/Attic/chkshell.c, libmisc/Makefile.am, src/Attic/chsh_chkshell.c, src/Makefile.am:
10801         move libmisc/chkshell.c to src/chsh_chkshell.c. check_shell() is used only by chsh.
10802
10803 2005-07-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10804
10805         * Attic/acconfig.h, NEWS, configure.in:
10806         finish move all autoheader templates from acconfig.h to configure.in.
10807
10808         * src/chage.c, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, NEWS:
10809         added missing \n in chage error messages.
10810
10811         * po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/bs.po:
10812         run "make update-po".
10813
10814         * src/usermod.c: move all #include in one place.
10815
10816         * src/useradd.c: s/-O/-K/
10817
10818         * man/Attic/useradd.8, man/useradd.8.xml:
10819         cleanups in Note: in -K description.
10820
10821         * NEWS, man/Attic/useradd.8, man/useradd.8.xml, src/useradd.c:
10822         change -O option to -K and document it in man page.
10823
10824         * man/Attic/useradd.8, man/useradd.8.xml:
10825         added separated <cmdsynopsis></cmdsynopsis> for -D description and remove using </srb> tags from
10826         <refsynopsisdiv id='synopsis'>.
10827
10828         * src/login.c:
10829         replace #ifdef USE_PAM .. #endif #ifndef USE_PAN .. #endif by
10830         #ifdef USE_PAM .. #else .. #endif.
10831
10832         * src/su.c: conditiona code reorganization.
10833
10834         * src/login.c: remove one #ifndef USE_PAM .. #endif.
10835
10836         * libmisc/setupenv.c: move setup $MAIL to !USE_PAM.
10837
10838         * libmisc/setupenv.c, src/su.c:
10839         consolidate two sections of code #ifndef USE_PAM to one.
10840
10841         * src/su.c, src/sulogin.c, libmisc/setupenv.c, libmisc/tz.c, src/login.c, NEWS:
10842         fixed erroneous warning messages about some login.defs variables when used with PAM
10843         (fix by DJ Lucas <dj@linuxfromscratch.org>)
10844
10845 2005-07-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
10846
10847         * configure.in, libmisc/getdate.y, libmisc/utmp.c, src/logoutd.c:
10848         remove non-USG code.
10849
10850         * Attic/acconfig.h, configure.in:
10851         start moving all autoheader templates from acconfig.h to configure.in.
10852
10853         * configure.in: remove not used AC_DEFINE(HAVE_LIBCRYPT).
10854
10855         * Attic/acconfig.h, NEWS, configure.in:
10856         stop with error message if crypt() not found. Remove --with{,out}-libcrypt switch.
10857
10858         * src/login.c: fixed use SYSLOG macro.
10859
10860 2005-07-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10861
10862         * src/login_nopam.c: fixed use SYSLOG macro.
10863
10864 2005-07-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
10865
10866         * NEWS, src/login.c:
10867         setup limits and umask (using login.defs ULIMITS and UMASK variables) only when
10868         PAM support is disabled (it is task for pam_limits and pam_umask modules).
10869
10870 2005-06-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
10871
10872         * src/sulogin.c, src/login.c, src/login_nopam.c, NEWS:
10873         use SYSLOG macro instead syslog() which saves the locale, sets the locale to C,
10874         sends the message and restores the locale (fix by Nicolas François <nicolas.francois@centraliens.net>).
10875
10876         * NEWS, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmod.8, man/Attic/userdel.8, man/Attic/usermod.8, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmod.8.xml, man/userdel.8.xml, man/usermod.8.xml:
10877         in SEE ALLSO section added refer to gpasswd(8)
10878         (suggested by Mike Frysinger <vapier@gentoo.org>)
10879
10880         * NEWS, configure.in: start work on 4.0.11.
10881
10882 2005-06-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
10883
10884         * NEWS: +1 day release 4.0.10 date.
10885
10886         * po/pl.po: kill fuzzy.
10887
10888         * po/de.po: partial update by Frank Schmid <frank@cs-schmid.de>.
10889
10890 2005-06-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10891
10892         * po/ca.po: run "make update-po".
10893
10894         * po/sk.po: updated sk translation by Peter Mann <Peter.Mann@tuke.sk>.
10895
10896 2005-06-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10897
10898         * NEWS: typo.
10899
10900 2005-06-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10901
10902         * po/pl.po: typo.
10903
10904         * po/pl.po: updated for 4.0.10.
10905
10906         * po/ru.po, NEWS: updated ru translation by maintainer.
10907
10908         * NEWS: added past releases dates. Cleanups.
10909
10910         * man/Attic/shadowconfig.8: merge version generated from XML file.
10911
10912         * po/ca.po, po/cs.po, po/da.po, po/fi.po, NEWS:
10913         translations updated by maintainers.
10914
10915 2005-06-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10916
10917         * src/chage.c, po/zh_TW.po, po/vi.po, po/zh_CN.po, po/tl.po, po/tr.po, po/uk.po, po/sk.po, po/sq.po, po/sv.po, po/ro.po, po/ru.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/eu.po, po/fi.po, po/fr.po, po/de.po, po/el.po, po/es.po, po/ca.po, po/cs.po, po/da.po, po/bs.po (usage):
10918         s/EXPIRE/EXPIRE_DATE/.
10919
10920         * po/pl.po: start update for 4.0.10.
10921
10922         * src/usermod.c, src/useradd.c, src/userdel.c, src/id.c, src/newgrp.c, src/su.c, po/zh_TW.po, po/zh_CN.po, po/vi.po, po/uk.po, po/tr.po, po/tl.po, po/sv.po, po/sq.po, po/sk.po, po/ru.po, po/pt_BR.po, po/ro.po, po/pt.po, po/pl.po, po/nn.po, po/nl.po, po/nb.po, po/ko.po, po/ja.po, po/it.po, po/id.po, po/he.po, po/fr.po, po/eu.po, po/fi.po, po/es.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po:
10923         s/uid/UID/ in all commnets and messages.
10924
10925         * libmisc/failure.c, libmisc/limits.c, lib/pwio.c:
10926         s/uid/UID/ in comments.
10927
10928         * src/usermod.c, src/useradd.c, src/groupadd.c, src/groupmod.c, src/id.c, src/newgrp.c, po/zh_TW.po, po/zh_CN.po, po/vi.po, po/uk.po, po/tr.po, po/tl.po, po/sv.po, po/sq.po, po/sk.po, po/ru.po, po/ro.po, po/pt_BR.po, po/pt.po, po/pl.po, po/nn.po, po/nl.po, po/nb.po, po/ko.po, po/ja.po, po/it.po, po/he.po, po/id.po, po/fr.po, po/fi.po, po/eu.po, po/es.po, po/el.po, po/da.po, po/de.po, po/cs.po, po/bs.po, po/ca.po, libmisc/limits.c, lib/groupio.c:
10929         s/gid/GID/ in all comments and messages.
10930
10931         * src/gpasswd.c, src/login.c, src/passwd.c, src/chage.c, src/chfn.c, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po:
10932         one message in i18n messages less: use in all places "Permission denied" instead
10933         "permission denied".
10934
10935         * libmisc/getdate.y:
10936         remove extern for gmtime(), localtime() and mktime() and instead add #include <time.h>.
10937
10938         * libmisc/entry.c: removed extern for fgetpwent().
10939
10940         * NEWS, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/expiry.1, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/gshadow.5, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/login.1, man/Attic/login.defs.5, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/pw_auth.3, man/Attic/pwck.8, man/Attic/pwconv.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/Attic/vipw.8:
10941         now most of the man pages now are generated from XML files so in case any submiting
10942         any chages to this resources please make diff fies to XML files.
10943
10944         * man/Attic/pw_auth.3.xml: cleanups.
10945
10946         * man/grpck.8.xml, man/passwd.1.xml:
10947         correctly code EXIT VALUES section using <variablelist>. Cleanups.
10948
10949         * man/shadow.3.xml: cleanups.
10950
10951 2005-06-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10952
10953         * man/ja/Attic/mkpasswd.8, man/ja/Makefile.am, man/pl/Attic/mkpasswd.8, man/pl/Makefile.am:
10954         remove ja and pl mkpasswd.8 man pages.
10955
10956 2005-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
10957
10958         * man/pwck.8.xml, man/useradd.8.xml, man/userdel.8.xml:
10959         correctly code EXIT VALUES section.
10960
10961         * Attic/acconfig.h: removed DES_RPC and OPIE templates.
10962
10963         * src/Attic/mkpasswd.c, src/Makefile.am, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, NEWS, man/Attic/mkpasswd.8, man/Attic/mkpasswd.8.xml, man/Makefile.am, po/POTFILES.in, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po:
10964         removed mkpasswd.
10965
10966         * man/Makefile.am: do not install mkpasswd(8) man page.
10967
10968         * src/Makefile.am: move mkpasswd.c to EXTRA_DIST.
10969
10970         * man/passwd.5.xml:
10971         use <itemizedlist mark='bullet'> for describe passwd fields. Remove outdated
10972         information about additional fields in comment field. Cleanups.
10973
10974         * man/newusers.8.xml: cleanups.
10975
10976         * man/gshadow.5.xml:
10977         use <itemizedlist mark='bullet'> for gshadow fields desscription.
10978
10979         * man/shadow.5.xml: cleanups.
10980
10981         * man/shadow.5.xml:
10982         use <itemizedlist mark='bullet'> for describe shadow fields.
10983
10984         * man/Attic/pw_auth.3.xml: cleanups.
10985
10986         * man/Attic/pw_auth.3.xml: use correct <refname>.
10987
10988         * man/Attic/pw_auth.3.xml: cleanups.
10989
10990         * man/groupdel.8.xml, man/groupmod.8.xml:
10991         correctly code EXIT VALUES section.
10992
10993         * man/groupadd.8.xml: cleanups.
10994
10995         * man/Attic/mkpasswd.8.xml: added missing <variablelist> tag.
10996
10997         * man/usermod.8.xml: cleanups.
10998
10999         * man/usermod.8.xml: remove <sbr/> tags from SYNOPSIS section.
11000
11001         * man/faillog.8.xml: cleanups.
11002
11003         * man/faillog.5.xml:
11004         put struct faillog definition in <programlisting></programlisting>.
11005
11006         * man/chsh.1.xml, man/chpasswd.8.xml: cleanups.
11007
11008         * man/groupadd.8.xml:
11009         seems I found good way for code EXIT VALUES section.
11010
11011         * man/shadow.3.xml:
11012         put meanings of each field spwd struct in <itemizedlist mark='bullet'>.
11013
11014         * man/shadow.3.xml:
11015         place definition of struct spwd in <programlisting></programlisting>.
11016
11017         * NEWS, src/userdel.c:
11018         userdel now deletes user groups from /etc/gshdow as well as /etc/group.
11019         Fix by Nicolas François <nicolas.francois@centraliens.net>.
11020         http://bugs.debian.org/99442
11021
11022         * src/usermod.c, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, NEWS, po/bs.po, po/ca.po, po/cs.po:
11023         fixed bug in usermod ad run "make -C po update-po".
11024         When relocating a user's home directory, don't fail and remove the new
11025         home directory if we can't remove the old home directory for some
11026         reason; the results can be spectularly poort if, for instance, only
11027         the rmdir() fails. Patch prepared by Timo Lindfors <lindi-spamtrap@newmail.com>.
11028         http://bugs.debian.org/166369
11029
11030 2005-06-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
11031
11032         * src/login.c: indent.
11033
11034         * man/Attic/pw_auth.3.xml, man/Attic/shadowconfig.8.xml, man/chage.1.xml, man/faillog.8.xml, man/groupmems.8.xml, man/gshadow.5.xml, man/login.1.xml, man/login.defs.5.xml, man/logoutd.8.xml, man/newusers.8.xml, man/passwd.1.xml, man/passwd.5.xml, man/pwck.8.xml, man/pwconv.8.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml, man/vipw.8.xml:
11035         cleanups.
11036
11037 2005-06-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11038
11039         * man/chage.1.xml, man/chfn.1.xml, man/chpasswd.8.xml, man/chsh.1.xml, man/expiry.1.xml, man/faillog.8.xml, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/gshadow.5.xml, man/id.1.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/login.defs.5.xml, man/logoutd.8.xml, man/faillog.5.xml:
11040         cleanups.
11041
11042         * man/login.1.xml: rewrited FILES section.
11043
11044         * man/id.1.xml, man/lastlog.8.xml, man/gshadow.5.xml: cleanups.
11045
11046         * man/groups.1.xml: typos.
11047
11048         * man/chfn.1.xml, man/expiry.1.xml, man/gpasswd.1.xml: cleanups.
11049
11050 2005-06-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11051
11052         * NEWS:
11053         last patch for UTMPX was submited by by Nicolas François <nicolas.francois@centraliens.net>
11054
11055         * libmisc/failure.c, libmisc/failure.h, NEWS:
11056         use also UTMPX API instead UTMP on failure (login was by affected this when shadow
11057         was builded without PAM support).
11058
11059         * NEWS, src/login.c:
11060         the PAM session needs to be closed as root, thus before change_uid()
11061         http://bugs.debian.org/53570 http://bugs.debian.org/195048 http://bugs.debian.org/211884
11062
11063         * man/Attic/passwd.1, man/passwd.1.xml:
11064         s/compatiblity/compatibility/ (fix by Christian Perrier <bubulle@kheops.frmug.org>).
11065
11066 2005-06-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11067
11068         * NEWS, man/Attic/chfn.1, man/chfn.1.xml:
11069         give more details about the influence of login.defs on what's allowed to
11070         users (based on Debian patches).
11071
11072         * NEWS, src/su.c:
11073         fix syslogs to be less ambiguous. Use old:new format instead of old-new
11074         because '-' can appear in usernames.
11075         http://bugs.debian.org/213592
11076
11077         * NEWS, src/login.c:
11078         made login's -f option also able to use the username after -- if none
11079         was passed as it's optarg
11080         http://bugs.debian.org/53702
11081
11082         * po/POTFILES.in, NEWS, libmisc/Attic/setup.c, libmisc/Makefile.am:
11083         not used now (removed).
11084
11085         * man/Attic/usermod.8, man/usermod.8.xml:
11086         s/inactive_time/inactive_days/ in -f parameter in SYNOPSIS (fix by Christian
11087         Perrier <bubulle@debian.org>).
11088
11089 2005-06-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
11090
11091         * man/Attic/grpck.8, man/grpck.8.xml:
11092         typo: s/incorrectable/uncorrectable/ (by A Costa <agcosta@gis.net>).
11093
11094         * man/Attic/gshadow.5, man/gshadow.5.xml:
11095         typos: s/folowing/following/; s/encryped/encrypted/; s/supercedes/supersedes/
11096         (by A Costa <agcosta@gis.net>).
11097
11098         * man/Attic/shadow.5, man/shadow.5.xml:
11099         typos: s/encryped/encrypted/; s/supercedes/supersedes/
11100         (by A Costa <agcosta@gis.net>)
11101
11102 2005-06-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11103
11104         * src/login.c, NEWS:
11105         check for hushed login and pass PAM_SILENT if true.
11106         http://bugs.debian.org/48002
11107
11108         * src/login.c, NEWS:
11109         fixed loggin of username on succesful login (was using the normal username,
11110         when it should have used pam_user) http://bugs.debian.org/47819
11111
11112 2005-06-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11113
11114         * NEWS, po/zh_TW.po: updated (by Tetralet <tetralet@pchome.com.tw>).
11115
11116         * NEWS, po/ca.po: updated (by Guillem Jover <guillem@debian.org>).
11117
11118         * man/de/passwd.1:
11119         added small comment with marker usefull for translators.
11120
11121 2005-05-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11122
11123         * src/Attic/mkpasswd.c, src/chpasswd.c, src/faillog.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newgrp.c, src/newusers.c, src/passwd.c, src/su.c, src/useradd.c, src/userdel.c, src/usermod.c, lib/encrypt.c, lib/getdef.c, lib/gshadow.c, lib/pwauth.h, lib/shadow.c, libmisc/failure.c, libmisc/isexpired.c, libmisc/salt.c:
11124         indent all.
11125
11126         * src/chage.c, src/chpasswd.c, src/expiry.c, src/login.c, src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c, src/su.c, src/useradd.c, src/userdel.c, src/usermod.c, src/vipw.c, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, lib/Attic/sppack.c, lib/defines.h, lib/lockpw.c, lib/prototypes.h, lib/sgetspent.c, lib/shadow.c, lib/shadowio.c, libmisc/age.c, libmisc/entry.c, libmisc/isexpired.c, libmisc/pwd2spwd.c, libmisc/pwdcheck.c, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, Attic/acconfig.h, NEWS, configure.in:
11127         remove using SHADOWPWD #define so now shadow is allways builded with shadow
11128         password support.
11129
11130 2005-05-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11131
11132         * src/chage.c, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po, NEWS, man/Attic/chage.1, man/chage.1.xml:
11133         rewrite for use getopt_long().
11134
11135 2005-05-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11136
11137         * NEWS, configure.in: start working on 4.0.10.
11138
11139         * man/Makefile.am: remove shadow-man-pages.pot target from all.
11140
11141 2005-05-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
11142
11143         * lib/encrypt.c, NEWS:
11144         fixed passwd segfault in non-PAM connfiguration (submited by Greg Schafer <gschafer@zip.com.au>).
11145
11146         * po/sv.po: upsdate (by Christian Perrier <bubulle@debian.org>).
11147
11148         * NEWS, src/newgrp.c:
11149         fixed NULL pointer dereference - getlogin() and ttyname() can
11150         return NULL which is not checked (http://bugs.debian.org/162303).
11151
11152         * man/Attic/su.1, man/pwconv.8.xml, man/su.1.xml, man/Attic/pwconv.8:
11153         fixed typo (s,similiar,similar,).
11154
11155 2005-05-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11156
11157         * NEWS, po/ro.po: updated by Sorin B. <sorin@bonbon.net>.
11158
11159         * po/ru.po, NEWS: updated by yu-koz <yu-koz@yandex.ru>.
11160
11161 2005-05-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11162
11163         * po/ro.po: few updates by Sorin Batariuc <sorin@bonbon.net>.
11164
11165 2005-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11166
11167         * po/ru.po: updated (by Yuri Kozlov <yuray@id.ru>).
11168
11169 2005-05-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11170
11171         * po/vi.po:
11172         completed translations for HEAD (by Clytie Siddall <clytie@riverland.net.au>).
11173
11174 2005-05-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11175
11176         * NEWS, po/LINGUAS, po/vi.po: added new vi translation.
11177
11178         * NEWS, lib/getdef.c:
11179         leaves the table as it is, and changes from the binary search to
11180         a sequential one (fix by Lucas Correia Villa Real <lucasvr@gobolinux.org>).
11181
11182         * man/Attic/passwd.1, man/passwd.1.xml:
11183         make bold passwd and chfn commands.
11184
11185 2005-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
11186
11187         * man/usermod.8.xml, man/vipw.8.xml: cleanups.
11188
11189 2005-04-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
11190
11191         * man/Attic/shadowconfig.8.xml, man/gpasswd.1.xml, man/groups.1.xml, man/grpck.8.xml, man/login.defs.5.xml, man/passwd.1.xml, man/pwck.8.xml, man/sulogin.8.xml, man/useradd.8.xml:
11192         replace <emphasis remap='B'></emphasis> by <command></command>.
11193
11194         * po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po, NEWS, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, src/lastlog.c:
11195         fixed lastlog --help message (s,--login,--user,) http://bugs.debian.org/249611
11196
11197         * man/Attic/mkpasswd.8.xml, man/faillog.5.xml, man/faillog.8.xml, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/gshadow.5.xml, man/id.1.xml, man/lastlog.8.xml, man/limits.5.xml, man/passwd.1.xml, man/passwd.5.xml, man/porttime.5.xml, man/pwck.8.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml:
11198         use <varlistentry></varlistentry> in FILES section. Cleanups.
11199
11200         * man/expiry.1.xml, man/chsh.1.xml, man/chpasswd.8.xml, man/chfn.1.xml, man/porttime.5.xml, man/Attic/pw_auth.3.xml:
11201         cleanups.
11202
11203         * man/Attic/vipw.8, man/vipw.8.xml:
11204         small fix: s,vi,vi(1), (reported by Helge Kreutzmann <kreutzm@itp.uni-hannover.de> in
11205         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=260636).
11206         s,VISUAL,$VISUAL; s,EDITOR,$EDITOR,
11207
11208 2005-04-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11209
11210         * man/login.1.xml: fixed bold (use <command></command>). Cleanups.
11211
11212         * man/Attic/login.1: fixed typo in bold.
11213
11214         * man/chage.1.xml: fixed italic. Cleanups.
11215
11216         * man/Attic/chage.1: fixed typo in italic.
11217
11218         * man/login.defs.5.xml:
11219         fixed italic (use <filename></filename> istead italic). Cleanups.
11220
11221         * man/Attic/login.defs.5: fixed typo in italic.
11222
11223         * man/vipw.8.xml: fixed italic (use <filename></filename>).
11224
11225         * man/Attic/vipw.8: typo in italic.
11226
11227         * man/Makefile.am:
11228         added target for generate shadow-man-pages.pot. List all now useable xml files
11229         in man_XMANS variable.
11230
11231         * man/pwconv.8.xml:
11232         fixed bold. Use in more places <command></command> istead bold.
11233
11234         * man/Attic/login.defs.5: typo in bold.
11235
11236         * man/su.1.xml:
11237         removed comment. Use <variablelist></variablelist> in Files secstion.
11238         Fixed bold.
11239
11240         * man/Attic/pwconv.8, man/Attic/su.1: typo in bold.
11241
11242 2005-04-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11243
11244         * NEWS, configure.in: start work on 4.0.9.
11245
11246         * po/nl.po: kill fuzzy.
11247
11248         * man/Attic/chage.1:
11249         reverte last commit (by mistake commited experimental version generated from XML file).
11250
11251         * NEWS, po/nl.po:
11252         updated for 4.0.8 (by "cobaco (aka Bart Cornelis)" <cobaco@linux.be>).
11253
11254         * po/tl.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po:
11255         two typos (s,specyfied,specified,; s,maiximum,maximum,).
11256
11257         * NEWS, po/sk.po:
11258         updated for 4.0.8 (by Peter Mann <Peter.Mann@tuke.sk>).
11259
11260         * src/lastlog.c: typo (s,specyfied,specified,)
11261
11262         * src/faillog.c: typo (s,maiximum,maximum,).
11263
11264 2005-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
11265
11266         * man/chage.1.xml, man/chfn.1.xml, man/chsh.1.xml, man/expiry.1.xml, man/gpasswd.1.xml, man/groups.1.xml, man/id.1.xml, man/login.1.xml, man/passwd.1.xml, man/su.1.xml:
11267         added <refmiscinfo class="sectdesc">User Commands</refmiscinfo> in <refmeta></refmeta>.
11268
11269         * man/Attic/mkpasswd.8.xml, man/Attic/pw_auth.3.xml, man/Attic/shadowconfig.8.xml, man/chfn.1.xml, man/chpasswd.8.xml, man/chsh.1.xml, man/expiry.1.xml, man/faillog.5.xml, man/faillog.8.xml, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/gshadow.5.xml, man/id.1.xml, man/lastlog.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/login.defs.5.xml, man/logoutd.8.xml, man/newusers.8.xml, man/passwd.1.xml, man/passwd.5.xml, man/porttime.5.xml, man/pwck.8.xml, man/pwconv.8.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/vigr.8.xml:
11270         Use encoding="UTF-8" and DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN".
11271
11272         * man/userdel.8.xml, man/usermod.8.xml, man/vigr.8.xml, man/vipw.8.xml, man/Attic/mkpasswd.8.xml, man/Attic/pw_auth.3.xml, man/Attic/shadowconfig.8.xml, man/chage.1.xml, man/chfn.1.xml, man/chpasswd.8.xml, man/chsh.1.xml, man/expiry.1.xml, man/faillog.5.xml, man/faillog.8.xml, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/gshadow.5.xml, man/id.1.xml, man/lastlog.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/login.defs.5.xml, man/logoutd.8.xml, man/newusers.8.xml, man/passwd.1.xml, man/passwd.5.xml, man/porttime.5.xml, man/pwck.8.xml, man/pwconv.8.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml, man/useradd.8.xml:
11273         better formation using "xmlindent -l 80 -d 2".
11274
11275 2005-04-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11276
11277         * man/it/Attic/shadowconfig.8, man/it/chsh.1, man/it/expiry.1, man/it/faillog.5, man/it/faillog.8, man/it/getspnam.3, man/it/groups.1, man/it/grpck.8, man/it/grpconv.8, man/it/grpunconv.8, man/it/id.1, man/it/lastlog.8, man/it/login.1, man/it/logoutd.8, man/it/newgrp.1, man/it/porttime.5, man/it/pwck.8, man/it/shadow.3, man/it/shadow.5, man/it/su.1, man/it/vipw.8, NEWS, man/it/Makefile.am, man/it/chage.1, man/it/chfn.1, man/it/chpasswd.8:
11278         updated it man pages: chfn.1, chsh.1, groups.1, grpck.8, grpconv.8, grpunconv.8,
11279         id.1, lastlog.8, login.1, newgrp.1, pwunconv.8, shadow.5, vigr.8, vipw.8.
11280         new it man pages: chage.1, chpasswd.8, expiry.1, faillog.5, faillog.8,
11281         getspnam.3, logoutd.8, porttime.5, pwck.8, shadow.3, shadowconfig.8, su.1.
11282         (by Danilo Piazzalunga <danilopiazza@libero.it>)
11283
11284         * po/uk.po:
11285         cleanups in plural forms (by Roman Festchook <roma@polesye.net>).
11286
11287         * man/Attic/chage.1, man/Attic/mkpasswd.8.xml, man/Attic/pw_auth.3.xml, man/Attic/shadowconfig.8.xml, man/chfn.1.xml, man/chpasswd.8.xml, man/chsh.1.xml, man/expiry.1.xml, man/faillog.5.xml, man/faillog.8.xml, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/gshadow.5.xml, man/id.1.xml, man/lastlog.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/login.defs.5.xml, man/logoutd.8.xml, man/newusers.8.xml, man/passwd.1.xml, man/passwd.5.xml, man/porttime.5.xml, man/pwck.8.xml, man/pwconv.8.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml, man/vipw.8.xml:
11288         reformated using xemacs.
11289
11290 2005-04-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11291
11292         * po/fr.po, NEWS:
11293         updated for 4.0.8 (by Christian Perrier <bubulle@kheops.frmug.org>).
11294
11295         * NEWS, po/eu.po: updated for 4.0.8 (by ^pi^ <piarres@gmail.com>).
11296
11297         * NEWS, po/uk.po:
11298         updated for 4.0.8 (by Roman Festchook <roma@polesye.net>).
11299
11300         * po/cs.po:
11301         updated for 4.0.8 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
11302
11303         * po/da.po, NEWS:
11304         updated for 4.0.8 (by Claus Hindsgaul <claus_h@image.dk>).
11305
11306         * po/ko.po, NEWS:
11307         updated for 4.0.8 (by Changwoo Ryu <cwryu@debian.org>).
11308
11309         * po/fi.po: kill one fuzzy (by Tommi Vainikainen <thv+debian@iki.fi>).
11310
11311 2005-04-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
11312
11313         * man/chpasswd.8.xml: Rewrited by hand & xemacs.
11314
11315         * man/chfn.1.xml: cleanups in <refentry> tag.
11316
11317         * man/chfn.1.xml: Rewrited by hand & xemacs.
11318
11319         * NEWS, po/pt.po:
11320         updated for 4.0.8 (by Miguel Figueiredo <elmig@debianpt.org>).
11321
11322         * po/es.po, NEWS: updated (by Ruben Porras <nahoo@inicia.es>).
11323
11324 2005-04-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11325
11326         * man/Attic/useradd.8:
11327         fixed typos in useadd syntax (in SYNOPSIS section) catched using doclifter.
11328
11329         * man/Attic/mkpasswd.8.xml, man/Attic/pw_auth.3.xml, man/Attic/shadowconfig.8.xml, man/chfn.1.xml, man/chpasswd.8.xml, man/chsh.1.xml, man/expiry.1.xml, man/faillog.5.xml, man/faillog.8.xml, man/getspnam.3.xml, man/gpasswd.1.xml, man/groupadd.8.xml, man/groupdel.8.xml, man/groupmems.8.xml, man/groupmod.8.xml, man/groups.1.xml, man/grpck.8.xml, man/grpconv.8.xml, man/grpunconv.8.xml, man/gshadow.5.xml, man/id.1.xml, man/lastlog.8.xml, man/limits.5.xml, man/login.1.xml, man/login.access.5.xml, man/login.defs.5.xml, man/logoutd.8.xml, man/newusers.8.xml, man/passwd.1.xml, man/passwd.5.xml, man/porttime.5.xml, man/pwck.8.xml, man/pwconv.8.xml, man/pwunconv.8.xml, man/sg.1.xml, man/shadow.3.xml, man/shadow.5.xml, man/su.1.xml, man/suauth.5.xml, man/sulogin.8.xml, man/useradd.8.xml, man/userdel.8.xml, man/usermod.8.xml, man/vigr.8.xml, man/vipw.8.xml:
11330         raw version converted using doclifter.
11331
11332         * configure.in: remove handle --with-lib{opie,skey}.
11333
11334         * man/de/chsh.1:
11335         synced with english version (by Simon Brandmair <sbrandmair@gmx.net>).
11336
11337         * man/Attic/usermod.8: improved -o description.
11338
11339         * man/de/passwd.1:
11340         added translation EXIT VALUES section (by Simon Brandmair <sbrandmair@gmx.net>).
11341
11342         * NEWS, po/it.po:
11343         updated it translation (by Danilo Piazzalunga <danilopiazza@libero.it>).
11344
11345 2005-04-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11346
11347         * po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po:
11348         cleanups.
11349
11350         * po/pl.po: updated.
11351
11352         * src/usermod.c:
11353         use the same error message ("%s: PAM authentication failed\n") on fail
11354         authentication as in other tools.
11355
11356         * po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po:
11357         run "make update-po".
11358
11359         * src/login.c, src/login_nopam.c:
11360         fixed build with disabled PAM support: move bad_time_notify() and check_nologin()
11361         back to src/login.c but use this functions #ifndef USE_PAM.
11362
11363         * NEWS, lib/Makefile.am, lib/pwauth.c:
11364         remove not working OPIE and SKEY support.
11365
11366         * configure.in: typo (s,SELinuux,SELinux,).
11367
11368         * NEWS: typos.
11369
11370         * NEWS: chage, useradd, usermod: reduce multiple OPENLOG() calls.
11371
11372         * src/useradd.c, src/usermod.c: fix multiple OPENLOG() calls.
11373
11374         * src/chage.c: cleanups.
11375
11376         * src/chage.c: fix multiple OPENLOG() calls.
11377
11378         * src/chage.c:
11379         use E_SUCCESS/E_NOPERM #defines instead 0/1 in exit() arguments.
11380
11381 2005-04-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
11382
11383         * src/passwd.c:
11384         adjust also syslog message on usage -S option without permission.
11385         Consolidate SELinix and non-SELinux code.
11386
11387         * po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po, NEWS, src/passwd.c:
11388         fix #61313 Debian bug: "passwd -S root" (as a normal user) should not
11389         display "You may not change the password for root.
11390
11391         * NEWS, man/Attic/passwd.1:
11392         fix #160477 Debian bug: improve -S output description.
11393
11394         * man/de/passwd.1:
11395         new translation by Simon Brandmair <sbrandmair@gmx.net> with merged all
11396         changes between revision 1.2 a 1.5.
11397
11398 2005-04-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11399
11400         * man/Attic/passwd.1, man/pl/passwd.1: bold passwd and chage commands.
11401
11402         * NEWS, src/vipw.c:
11403         fixed race condition in vipw (Debian #242407 bug; fix by Alexander Gattin
11404         <arg@online.com.ua>).
11405
11406         * man/pl/Attic/chage.1.xml, man/pl/chage.1:
11407         synced with english version.
11408
11409         * man/Attic/chage.1, man/chage.1.xml:
11410         add info about what mean -1 passed n expiredate parameter (based on #304542
11411         Debian bug; submited by Federico Grau <grauf@rfa.org>).
11412
11413 2005-04-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11414
11415         * po/fi.po, NEWS:
11416         updated translation (by Tommi Vainikainen <tvainikan@cc.hut.fi>).
11417
11418         * man/hu/passwd.1, man/it/passwd.1, man/ja/passwd.1, man/pl/passwd.1, man/Attic/passwd.1, man/de/passwd.1, man/es/passwd.1:
11419         cleanups and unifications in SEE ALSO section.
11420
11421 2005-04-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11422
11423         * configure.in:
11424         Info documentation says about AC_GNU_SOURCE: "should be called before any
11425         macros that run the C compiler". So move this macro on top configure.in for
11426         avoid autoconf warnings.
11427
11428         * configure.in:
11429         AC_SYS_LARGEFILE() performs checking is fseeko() is avalaible so "fseeko" can
11430         be removed from AC_CHECK_FUNCS() parameters.
11431
11432         * NEWS, configure.in: Remove using AC_PROG_GCC_TRADITIONAL macro.
11433         Add using AC_GNU_SOURCE macro for kill compilation warnings about implicit
11434         declaration of function `fseeko'.
11435
11436         * po/cs.po: killed fuzzy (by Miroslav Kure <kurem@debian.cz>).
11437
11438         * man/ja/newgrp.1, man/pl/newgrp.1, NEWS, man/Attic/newgrp.1, man/hu/newgrp.1:
11439         newgrp uses /bin/sh (not bash).
11440
11441         * man/Attic/gpasswd.1, man/Attic/groupdel.8, man/Attic/groupmems.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/id.1, man/Attic/mkpasswd.8, man/Attic/newgrp.1, man/Attic/pwck.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8:
11442         describe /etc/group in FILES section as "group account information".
11443
11444         * man/Attic/grpck.8:
11445         describe /etc/passwd in FILES section as "user account information".
11446
11447         * po/stats: small script for generate translations statistics.
11448
11449         * NEWS, po/cs.po: Updated by Miroslav Kure <kurem@debian.cz>.
11450
11451         * man/chage.1.xml, man/Attic/chage.1, man/Attic/expiry.1, man/Attic/login.1, man/Attic/mkpasswd.8, man/Attic/newgrp.1, man/Attic/passwd.1, man/Attic/pwck.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/sulogin.8:
11452         describe /etc/shadow in FILES section as "secure user account information".
11453
11454         * man/Attic/newgrp.1:
11455         Reformated paragraph. s,Bourne shell,\fBbash\fR shell,
11456
11457         * NEWS, man/Attic/newgrp.1:
11458         fix #251926, #166173, #113191 Debian bugs: explain why editing /etc/group
11459         (without gshadow) doesn't permit to use newgrp.
11460
11461         * po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po:
11462         added/fixed Plural-Forms: header entries. Run "make update-po".
11463
11464         * po/pl.po:
11465         added Plural-Forms: header entry and updated for last change in
11466         libmisc/failure.c.
11467
11468         * libmisc/failure.c:
11469         break message text with failure login since last login.
11470
11471         * libmisc/failure.c:
11472         Use ngettext instead of string concatenation and static number of cases.
11473         Patch by Tommi Vainikainen <tvainika@cc.hut.fi>.
11474
11475 2005-04-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
11476
11477         * po/cs.po:
11478         new translation maintainer: Miroslav Kure <kurem@debian.cz>.
11479
11480 2005-04-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11481
11482         * po/pl.po: updated for 4.0.8.
11483
11484 2005-04-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11485
11486         * po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po, NEWS, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, src/faillog.c:
11487         changed faillog records display format for allow fit in 80 columns all
11488         faillog atributies.
11489
11490         * po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po:
11491         run "make update-po". Updated pl.po.
11492
11493         * src/faillog.c (usage): typo (s,IDAYS,DAYS,).
11494
11495         * man/Attic/faillog.8, NEWS:
11496         updated after rewrite faillog command for use getopt_long().
11497
11498         * src/faillog.c:
11499         Add handle -h,--help option. Show in usage output information about
11500         -t,--time option. Remove handle -p option.
11501
11502         * po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po:
11503         run "make update-po".
11504
11505         * po/POTFILES.in: updated.
11506
11507         * man/Attic/gpasswd.1: typo (s,fB,\fB,).
11508
11509 2005-04-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
11510
11511         * NEWS, man/ja/login.1:
11512         updated ja man page for Debian #95213 bug (by Kenshi Muto <kmuto@debian.org>).
11513
11514         * src/chage.c, src/chfn.c, src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/grpck.c, src/passwd.c, src/pwck.c, src/useradd.c, src/userdel.c, src/usermod.c, NEWS, lib/Attic/grdbm.c, lib/Attic/gsdbm.c, lib/Attic/pwdbm.c, lib/Attic/spdbm.c, lib/Makefile.am, lib/gshadow.c, lib/shadow.c:
11515         next round of cleanups: removed NDBM code (unused).
11516
11517         * src/login.c: consilidate some !USE_PAM lines.
11518
11519         * src/login.c, src/login_nopam.c:
11520         move bad_time_notify() and check_nologin() to src/login_nopam.c.
11521
11522         * lib/prototypes.h: remove not used login_desrpc() prototype.
11523
11524         * lib/Attic/rad64.c, lib/encrypt.c, lib/prototypes.h, lib/Makefile.am:
11525         remove lib/rad64 with not used c64i() and i64c() functions.
11526
11527         * lib/encrypt.c:
11528         remove "#ifdef SW_CRYPT .. #endif" and "#ifdef DOUBLESIZE .. #endif" unused code.
11529
11530         * lib/encrypt.c: remove "#ifdef MD5_CRYPT .. #endif" unused code.
11531
11532         * libmisc/salt.c:
11533         remove prototypes for *l64a() and add #include <stdlib.h>. Remove unused
11534         now code (old style random salt generator).
11535
11536         * src/chage.c: cleanups.
11537
11538         * src/chpasswd.c:
11539         remove prototypes for *l64a() and add #include <stdlib.h>.
11540
11541         * src/login.c: remove login_fbtab() prototype.
11542
11543         * src/chage.c:
11544         remove prototypes for a64l() and *l64a() and add #include <stdlib.h>.
11545
11546 2005-04-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11547
11548         * man/ru/passwd.5, man/zh_CN/chfn.1, man/zh_CN/chpasswd.8, man/zh_CN/chsh.1, man/zh_CN/groupadd.8, man/zh_CN/groupdel.8, man/zh_CN/groupmod.8, man/zh_CN/useradd.8, man/zh_CN/userdel.8, man/zh_CN/usermod.8, man/zh_TW/chfn.1, man/zh_TW/chsh.1, man/zh_TW/groupadd.8, man/zh_TW/groupdel.8, man/zh_TW/groupmod.8, man/zh_TW/useradd.8, man/zh_TW/userdel.8, man/zh_TW/usermod.8, man/ko/chfn.1, man/ko/chsh.1, man/ko/groups.1, man/ko/id.1, man/ko/login.1, man/ko/passwd.5, man/ko/su.1, man/pt_BR/gpasswd.1, man/pt_BR/groupadd.8, man/pt_BR/groupdel.8, man/pt_BR/groupmod.8, man/pt_BR/shadow.5, man/ja/Attic/mkpasswd.8, man/ja/Attic/pw_auth.3, man/ja/chage.1, man/ja/chfn.1, man/ja/chpasswd.8, man/ja/chsh.1, man/ja/expiry.1, man/ja/faillog.8, man/ja/gpasswd.1, man/ja/groupadd.8, man/ja/groupmod.8, man/ja/groups.1, man/ja/grpck.8, man/ja/id.1, man/ja/lastlog.8, man/ja/limits.5, man/ja/login.1, man/ja/login.access.5, man/ja/login.defs.5, man/ja/newgrp.1, man/ja/passwd.1, man/ja/porttime.5, man/ja/pwck.8, man/ja/shadow.3, man/ja/su.1, man/ja/suauth.5, man/ja/sulogin.8, man/ja/useradd.8, man/ja/userdel.8, man/ja/usermod.8, man/ja/vipw.8, man/hu/chfn.1, man/hu/chsh.1, man/hu/gpasswd.1, man/hu/groups.1, man/hu/id.1, man/hu/login.1, man/hu/newgrp.1, man/hu/passwd.1, man/hu/su.1, man/id/chsh.1, man/id/login.1, man/id/useradd.8, man/it/chfn.1, man/it/chsh.1, man/it/gpasswd.1, man/it/groupadd.8, man/it/groupdel.8, man/it/groupmod.8, man/it/groups.1, man/it/grpck.8, man/it/id.1, man/it/lastlog.8, man/it/login.1, man/it/passwd.5, man/it/shadow.5, man/it/useradd.8, man/it/userdel.8, man/it/usermod.8, man/it/vipw.8, man/de/chfn.1, man/de/chsh.1, man/de/login.1, man/de/passwd.1, man/de/passwd.5, man/de/su.1, man/de/vipw.8, man/es/login.1, man/es/passwd.1, man/es/su.1, man/fr/chage.1, man/fr/chpasswd.8, man/fr/chsh.1, man/fr/faillog.5, man/fr/gpasswd.1, man/fr/groups.1, man/fr/id.1, man/fr/passwd.1, man/fr/passwd.5, man/fr/shadow.5, man/fr/su.1, man/fr/useradd.8, man/fr/userdel.8, man/fr/usermod.8, man/cs/groups.1, man/cs/id.1, man/cs/lastlog.8, man/cs/passwd.5, man/cs/shadow.5, man/cs/su.1, man/pl/Attic/mkpasswd.8, man/pl/Attic/pw_auth.3, man/pl/Attic/shadowconfig.8, man/pl/chage.1, man/pl/chfn.1, man/pl/chpasswd.8, man/pl/chsh.1, man/pl/expiry.1, man/pl/faillog.5, man/pl/faillog.8, man/pl/gpasswd.1, man/pl/groupadd.8, man/pl/groupdel.8, man/pl/groupmems.8, man/pl/groupmod.8, man/pl/groups.1, man/pl/grpck.8, man/pl/id.1, man/pl/lastlog.8, man/pl/limits.5, man/pl/login.1, man/pl/login.access.5, man/pl/login.defs.5, man/pl/logoutd.8, man/pl/newgrp.1, man/pl/newusers.8, man/pl/passwd.1, man/pl/passwd.5, man/pl/porttime.5, man/pl/pwck.8, man/pl/pwconv.8, man/pl/shadow.3, man/pl/shadow.5, man/pl/su.1, man/pl/suauth.5, man/pl/sulogin.8, man/pl/useradd.8, man/pl/userdel.8, man/pl/vipw.8, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/expiry.1, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupmems.8, man/Attic/groupmod.8, man/Attic/grpck.8, man/Attic/lastlog.8, man/Attic/limits.5, man/Attic/login.1, man/Attic/login.defs.5, man/Attic/newgrp.1, man/Attic/passwd.1, man/Attic/porttime.5, man/Attic/pwck.8, man/Attic/shadow.3, man/Attic/su.1, man/Attic/suauth.5, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/usermod.8, man/Attic/vipw.8:
11549         more replaces "-" by "\-" (s,\\-,-,g; s,-,\\-,g).
11550
11551         * man/pl/usermod.8: finish sync with english version.
11552
11553         * man/hu/login.1, man/pl/login.1, NEWS, man/Attic/login.1, man/de/login.1:
11554         removed fragment about abilities pass enviroment variables in login prompt.
11555
11556         * man/Attic/gpasswd.1, man/Attic/newgrp.1:
11557         fixes by Nicolas Nicolas François <nicolas.francois@centraliens.net> (not all
11558         commited).
11559
11560 2005-04-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11561
11562         * man/Attic/login.1, man/Attic/login.access.5, man/Attic/login.defs.5, man/Attic/logoutd.8, man/Attic/mkpasswd.8, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/pw_auth.3, man/Attic/pwck.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/suauth.5, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/Attic/vipw.8, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/expiry.1, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupmems.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/gshadow.5, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/limits.5:
11563         replace all "-" by "\-" (s,\\-,-,; s,-,\\-,).
11564
11565         * man/cs/groups.1: cleanups.
11566
11567         * NEWS, src/su.c:
11568         fixed use of SU_WHEEL_ONLY in su. Now su realy is avalaible for wheel group
11569         members. Thanks to Mike Frysinger <vapier@gentoo.org> for report:
11570         http://bugs.gentoo.org/show_bug.cgi?id=80345
11571
11572         * man/pl/Attic/chage.1.xml:
11573         converted from roff using doclifter. Rewrited by hand. Probably will be
11574         removed after prepare infrastructure for translate man pages using gettext
11575         but temporary I need this for some experiments.
11576
11577         * src/login.c: remove unused #ifded LOGIN_FBTAB .. #endif code.
11578
11579         * configure.in, libmisc/Attic/login_access.c, libmisc/Makefile.am, src/Makefile.am, src/login.c, src/login_nopam.c:
11580         move libmisc/login_access.c to src/login_mopam.c.
11581         Remove using LOGIN_ACCESS #define. Now LOGIN_ACCESS is equal to !USE_PAM.
11582         In src/login_nopam.c will be cumulated non-PAM specyfic login code.
11583
11584         * src/lastlog.c, src/login.c, src/useradd.c, src/usermod.c, libmisc/log.c:
11585         cleanups: remove using #include "lastlog_.h".
11586
11587         * src/login.c: fixed build with PAM support disabled.
11588
11589         * src/login.c: remove "#ifdef HUP_MESG_FILE .. #endif" code.
11590
11591         * src/login.c: reindent using -l80.
11592
11593         * man/Attic/chage.1, man/chage.1.xml:
11594         s/chage/chage command/ in DESCRIPTION.
11595
11596         * man/chage.1.xml:
11597         converted from roff using doclifter. Rewrited by hand.
11598
11599         * man/Attic/chage.1, man/Attic/chfn.1, man/Attic/faillog.8, man/Attic/groupmod.8, man/Attic/pwconv.8, man/Attic/useradd.8, man/Attic/usermod.8:
11600         cleanups.
11601
11602         * man/Attic/pwconv.8: fixed typo: s,fI,\fI,
11603
11604         * po/POTFILES.in: remove libmisc/login_{desrpc,krb}.c.
11605
11606         * lib/getdef.c, libmisc/Attic/login_desrpc.c, libmisc/Attic/login_krb.c, libmisc/Makefile.am, src/login.c, NEWS, autogen.sh, configure.in:
11607         drop never finished kerberos and des_rpc support.
11608
11609         * man/it/chfn.1: cleanups.
11610
11611 2005-04-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
11612
11613         * NEWS, configure.in:
11614         fixed UTMP path detection (by Kelledin <kelledin@users.sf.net>).
11615
11616         * man/fr/chsh.1: typo.
11617
11618         * man/de/Makefile.am, man/de/passwd.5:
11619         imported from Deutscher manpages.
11620
11621         * man/cs/Makefile.am, man/cs/groups.1, man/cs/lastlog.8, man/cs/su.1:
11622         new files imported from Czech man-pages.
11623
11624         * man/pl/faillog.8, man/pl/groupmems.8, man/pl/id.1, man/pt_BR/groupadd.8, man/pt_BR/groupmod.8, man/zh_CN/groupadd.8, man/zh_CN/groupmod.8, man/zh_CN/useradd.8, man/zh_CN/usermod.8, man/zh_TW/groupadd.8, man/zh_TW/groupmod.8, man/zh_TW/useradd.8, man/zh_TW/usermod.8, man/fr/chage.1, man/fr/chpasswd.8, man/fr/passwd.1, man/hu/chsh.1, man/it/groupadd.8, man/it/groupmod.8, man/it/usermod.8, man/ja/chage.1, man/ja/chfn.1, man/ja/chsh.1, man/ja/gpasswd.1, man/ja/groupadd.8, man/ja/groupmod.8, man/ja/login.1, man/ja/passwd.1, man/ja/useradd.8, man/ja/usermod.8, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chsh.1, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/id.1, man/Attic/login.1, man/Attic/passwd.1, man/Attic/useradd.8, man/de/chfn.1, man/de/chsh.1, man/de/login.1, man/de/passwd.1:
11625         cleanups: aded missing \fR.
11626
11627         * man/Attic/gpasswd.1, man/Attic/gshadow.5, man/Makefile.am, NEWS:
11628         added new file (by Nicolas Nicolas François <nicolas.francois@centraliens.net>).
11629
11630 2005-03-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
11631
11632         * man/pl/chage.1, man/pl/chfn.1, man/pl/chsh.1, man/pl/gpasswd.1:
11633         added missing \fR.
11634
11635         * man/pl/groupmod.8: typo: s,\fI,\fR,
11636
11637         * man/pl/login.1, man/pl/passwd.1: cleanups: aded missing \fR.
11638
11639         * man/pl/sulogin.8: cleanups.
11640
11641         * man/pl/useradd.8: cleanups: aded missing \fR.
11642
11643         * man/pl/usermod.8: partialy synced with english version.
11644
11645         * man/Attic/usermod.8: typo.
11646
11647         * NEWS, man/Attic/usermod.8:
11648         fixed #302388 Debian bug: added separated -o option description.
11649
11650         * lib/getdef.c:
11651         FAILLOG_ENAB, LOGIN_STRING moved to code "#ifndef USE_PAM" dependent.
11652
11653         * lib/pwauth.c, lib/pwauth.h: enable pw_auth() only #ifndef USE_PAM.
11654
11655         * src/userdel.c, src/usermod.c, src/vipw.c, src/Attic/mkpasswd.c, src/chage.c, src/chfn.c, src/chpasswd.c, src/chsh.c, src/expiry.c, src/faillog.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmems.c, src/groupmod.c, src/groups.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, src/logoutd.c, src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c, src/su.c, src/suauth.c, src/sulogin.c, src/useradd.c, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, libmisc/Attic/login_access.c, libmisc/Attic/login_krb.c, libmisc/addgrps.c, libmisc/age.c, libmisc/chkname.h, libmisc/chowndir.c, libmisc/chowntty.c, libmisc/copydir.c, libmisc/env.c, libmisc/failure.c, libmisc/failure.h, libmisc/getdate.h, libmisc/hushed.c, libmisc/isexpired.c, libmisc/limits.c, libmisc/loginprompt.c, libmisc/motd.c, libmisc/pam_pass.c, libmisc/pwdcheck.c, libmisc/rlogin.c, libmisc/setugid.c, libmisc/setupenv.c, libmisc/shell.c, libmisc/strtoday.c, libmisc/sulog.c, libmisc/ttytype.c, libmisc/utmp.c, libmisc/xmalloc.c, NEWS, lib/Attic/getpass.c, lib/Attic/grdbm.c, lib/Attic/grpack.c, lib/Attic/gsdbm.c, lib/Attic/gspack.c, lib/Attic/pwdbm.c, lib/Attic/pwpack.c, lib/Attic/rad64.c, lib/Attic/rcsid.h, lib/Attic/spdbm.c, lib/Attic/sppack.c, lib/commonio.c, lib/commonio.h, lib/defines.h, lib/encrypt.c, lib/faillog.h, lib/fputsx.c, lib/getdef.c, lib/getdef.h, lib/groupio.c, lib/groupio.h, lib/gshadow.c, lib/gshadow_.h, lib/lockpw.c, lib/port.c, lib/port.h, lib/prototypes.h, lib/pwauth.c, lib/pwauth.h, lib/pwio.c, lib/pwio.h, lib/sgetgrent.c, lib/sgetpwent.c, lib/sgetspent.c, lib/sgroupio.c, lib/sgroupio.h, lib/shadow.c, lib/shadowio.c, lib/shadowio.h, lib/utent.c:
11656         reindent all source code using -l80.
11657
11658         * libmisc/.indent.pro, src/.indent.pro, lib/.indent.pro: -l80 added.
11659
11660         * lib/gshadow.c, NEWS:
11661         rewrited group count to dynamic (by John Newbigin <jnewbigin@ict.swin.edu.au >).
11662
11663         * po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tl.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po:
11664         run "make update-po".
11665
11666         * src/login.c: use allways "\n%s login: " login prompt.
11667
11668         * src/login.c: removed radius support (even not compiles).
11669
11670         * doc/Attic/README.mirrors, doc/Makefile.am: removed.
11671
11672         * src/userdel.c (update_user): removed next redundant closing }.
11673
11674         * src/userdel.c: remove using unused NO_REMOVE_MAILBOX #define.
11675
11676         * src/userdel.c (update_user): removed redundant closing }.
11677
11678 2005-03-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
11679
11680         * lib/getdef.c:
11681         move PASS_MAX_DAYS, PASS_MIN_DAYS and PASS_WARN_AGE to part PAM not dependent
11682         (used in useradd, pwconv).
11683
11684         * configure.in, src/Makefile.am:
11685         move define LOCALEDIR using AC_DEFINE_UNQUOTED() to src/Makefile.am::AM_CPPFLAGS.
11686
11687         * man/Attic/pwconv.8: typo in bold.
11688
11689         * doc/Attic/INSTALL: removed.
11690
11691         * doc/Attic/README.sun4, doc/Makefile.am: removed outdated README.sun4.
11692
11693 2005-03-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11694
11695         * po/pl.po: put mine data in Last-Translator: field.
11696
11697         * src/newusers.c:
11698         use the same as in useradd default UMASK (022 instead 077) if diffrent not
11699         defined in login.defs.
11700
11701         * NEWS, libmisc/copydir.c:
11702         added SELinux changes (based on Fedora patch).
11703
11704         * NEWS: typo.
11705
11706         * man/Attic/login.defs.5: typo in bold.
11707
11708         * src/chfn.c, src/chsh.c, lib/getdef.c:
11709         move CHFN_AUTH, CHSH_AUTH variables from login.defs to part !USE_PAM dependent.
11710         Use "auth required pam_unix.so" in /etc/pam.d/{chfn,chsh} for force enter password
11711         on use chfn/chsh.
11712
11713         * lib/getdef.c: added CHSH_AUTH variable in def_table[] table.
11714
11715         * src/chsh.c: s/CHFN_AUTH/CHSH_AUTH/
11716
11717         * man/Attic/shadow.5, man/Attic/passwd.5:
11718         add more accurate information about what contains field with encrypted password in
11719         each passwd/shadow line (reported by Mike Brodbelt).
11720
11721         * autogen.sh: reorder.
11722
11723         * lib/getdef.c:
11724         CRACKLIB_DICTPATH, ENV_HZ, ENV_PATH, ENV_ROOTPATH, ENV_SUPATH, ENV_TZ,
11725         ENVIRON_FILE, FTMP_FILE, ISSUE_FILE, LASTLOG_ENAB, MAIL_CHECK_ENAB, MAIL_DIR,
11726         MAIL_FILE, MD5_CRYPT_ENAB, MOTD_FILE, NOLOGINS_FILE, OBSCURE_CHECKS_ENAB,
11727         PASS_ALWAYS_WARN, PASS_CHANGE_TRIES, PASS_MAX_DAYS, PASS_MAX_LEN, PASS_MIN_DAYS,
11728         PASS_MIN_LEN, PASS_WARN_AGE, PORTTIME_CHECKS_ENAB, SU_WHEEL_ONLY, QMAIL_DIR,
11729         QUOTAS_ENAB, ULIMIT variables moved to code "#ifndef USE_PAM" dependent.
11730
11731         * configure.in:
11732         fix importand typo: added missing ",". Now LOGIN_ACCESS realy is defined only
11733         when PAM is not enabled.
11734
11735         * libmisc/obscure.c, libmisc/limits.c:
11736         all functions from this file are "#ifndef USE_PAM" dependent.
11737
11738         * libmisc/setugid.c (change_uid):
11739         removed dead code depndent on "#ifdef BSD".
11740
11741         * libmisc/ttytype.c (ttytype):
11742         removed dead code depend on "defined(SUN) || defined(BSD) || defined(SUN4)".
11743
11744         * src/login.c (setup_tty): remove dead code.
11745
11746         * libmisc/rlogin.c:
11747         fix compilation warning: replace #include <unistd.h> by #include <netdb.h>
11748         where ruserok() is declared.
11749
11750 2005-03-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11751
11752         * po/pl.po: kill one fuzzy entry.
11753
11754 2005-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11755
11756         * NEWS, libmisc/log.c:
11757         fixed create lastlog entry fo users never loged in on non-PAM
11758         variant of login (fix by <oracular@ziplip.com>).
11759
11760 2005-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11761
11762         * NEWS, etc/Attic/login.defs.linux, etc/login.defs, lib/getdef.c, man/pl/login.defs.5:
11763         remove handle login.defs::NOLOGIN_STR (never used).
11764
11765 2005-02-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11766
11767         * man/Attic/shadow.5:
11768         added missing '\&' in line starting with '\.', which causes groff to skip
11769         it entirely (fix submited by Danilo Piazzalunga <danilopiazza@libero.it>).
11770
11771         * TODO: cleanups.
11772
11773 2005-02-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11774
11775         * src/useradd.c, NEWS:
11776         useradd: fixes a potential security problem when mailbox is created in
11777         useradd.
11778         Patch and comment by Koblinger Egmont <egmont@uhulinux.hu>:
11779         Only two arguments are passed to the open() call though it expects three
11780         because O_CREAT is present. Hence the permission of the file first becomes
11781         some random garbage found on the stack, and an attacker can perhaps open
11782         this file and hold it open for reading or writing before the proper
11783         fchmod() is executed. (Actually, we could also pass the final "mode" to
11784         the open() call and then save the consequent fchmod().)
11785
11786 2005-02-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11787
11788         * NEWS, po/LINGUAS, po/tl.po:
11789         added tl translation (fron Debian resources).
11790
11791 2005-02-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11792
11793         * NEWS, src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c:
11794         SELinux changes: added changes in chage, chfn, chsh, passwd for allow
11795         construct more grained user password/accuunt properties on SELinux
11796         policies level. Patch originally based on RH changes (submited by Chris
11797         PeBenito <pebenito@gentoo.org>)
11798
11799 2005-02-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11800
11801         * po/fr.po, NEWS:
11802         updated translation (by Jean-Luc Coulon <jean-luc.coulon@wanadoo.fr>) from
11803         Debian resources.
11804
11805 2005-01-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11806
11807         * NEWS, configure.in: open work on 4.0.8.
11808
11809 2005-01-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11810
11811         * po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po:
11812         "make update-po".
11813
11814 2005-01-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11815
11816         * NEWS, po/it.po:
11817         updated it translations (by Danilo Piazzalunga <danilopiazza@libero.it>).
11818
11819 2005-01-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11820
11821         * libmisc/rlogin.c: remove ruserok() prototyle and #include <unistd.h>.
11822
11823         * lib/getdef.c: remove strtol() prototype (it comes with <stdlib.h>).
11824
11825         * po/da.po, po/es.po, po/nl.po, po/pl.po, po/pt.po:
11826         "Project-Id-Version: shadow 4.0.7".
11827
11828         * NEWS, po/fi.po:
11829         updated fi translation (by Tommi Vainikainen <thv+debian@iki.fi>).
11830
11831 2005-01-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11832
11833         * po/da.po, po/es.po, po/pl.po, po/pt.po: kill fuzzy entries.
11834
11835         * po/nl.po, NEWS:
11836         updated nl translations (by cobaco (aka Bart Cornelis)" <cobaco@linux.be>).
11837
11838         * lib/Makefile.am (libshadow_la_LIBADD): removed snprintf.h.
11839
11840         * NEWS, po/LINGUAS, po/zh_TW.po:
11841         added zh_TW translation (from Debian resources).
11842
11843         * po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po:
11844         "make update-po".
11845
11846         * src/Attic/mkpasswd.c, src/passwd.c, src/userdel.c, src/chage.c, src/chfn.c, src/chsh.c, src/gpasswd.c, src/groups.c, src/login.c:
11847         "less means better" added fixes which makes english texts more consistent
11848         especially with capitalization issues. Based on fixes by Tommi Vainikainen
11849         <thv+debian@iki.fi> (make all text begining from lower case .. not upper).
11850         This patch cuts i18n entries in each po/*po file from 420 to 402.
11851
11852 2005-01-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11853
11854         * NEWS: added pt to updated translations.
11855
11856         * lib/defines.h: reverte last change (mistake).
11857
11858         * po/pt.po:
11859         updated translation by Miguel Figueiredo <elmig@debianpt.org>.
11860
11861 2005-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
11862
11863         * NEWS: typo.
11864
11865         * NEWS: update da, es and pl (100%) translations.
11866
11867         * po/pl.po: finish translations.
11868
11869         * po/da.po: updated translations by Claus Hindsgaul <claus_h@image.dk>.
11870
11871         * NEWS, TODO: Typos found by Claus Hindsgaul <claus_h@image.dk>.
11872
11873         * po/es.po: Updates from Ruben Porras <nahoo@inicia.es>.
11874
11875         * lib/defines.h: - remove usong shadow_.h.
11876
11877         * po/pl.po: kill fuzzy.
11878
11879         * NEWS, lib/Attic/grent.c, lib/Attic/lastlog_.h, lib/Attic/md5.c, lib/Attic/md5.h, lib/Attic/md5crypt.c, lib/Attic/mkdir.c, lib/Attic/putgrent.c, lib/Attic/putpwent.c, lib/Attic/putspent.c, lib/Attic/pwent.c, lib/Attic/rename.c, lib/Attic/rmdir.c, lib/Attic/shadow_.h, lib/Attic/snprintf.c, lib/Attic/snprintf.h, lib/Attic/strcasecmp.c, lib/Attic/strdup.c, lib/Attic/strerror.c, lib/Attic/strstr.c, lib/Makefile.am:
11880         remove unused now files in lib/ directory.
11881
11882         * po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, po/POTFILES.in, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po:
11883         Now correctly shadow passes "make distcheck".
11884
11885         * NEWS: typo.
11886
11887 2005-01-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11888
11889         * src/faillog.c, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sq.po, po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, NEWS:
11890         switch faillog ro use getopt_long().
11891
11892         * etc/pam.d/su: aded line with "session required pam_env.so".
11893
11894 2004-12-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
11895
11896         * man/de/Makefile.am, man/de/vigr.8, man/de/vipw.8, NEWS:
11897         added de vigr(8), vipw(8) man pages (from Debian resources).
11898
11899 2004-12-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
11900
11901         * po/LINGUAS, po/ro.po, po/sq.po, NEWS:
11902         added ro, sq translations (from Debian resources).
11903
11904 2004-12-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11905
11906         * configure.in:
11907         added checing is fseeko() function is avalaibabe in system: added fseeko to
11908         AC_CHECK_FUNCS parameters.
11909
11910         * lib/Makefile.am:
11911         fixed warning message about incorrect try linking non-PIC code with shared
11912         library: removed $(top_builddir)/libmisc/libmisc.a from libshadow_la_LIBADD.
11913
11914         * NEWS:
11915         - final entry about fixed large file support in lastlog and faillog.
11916
11917         * src/vipw.c, lib/Attic/pwent.c, lib/Attic/grent.c:
11918         use fseeko() instead fseek(). This not realuy neccessary because in this
11919         cases fseek() was used for move to begin of file. This only for minimize
11920         external functions count.
11921
11922         * src/faillog.c:
11923         fixes for allow operate on large files by faillog: use fseeko() instead
11924         fseek().
11925
11926         * src/lastlog.c:
11927         fixes for allow operate lastlog on large files: use fseeko() instead fseek()
11928         and do not casrt file offsets to unsigned long (based on large-file patch
11929         from FC).
11930
11931         * src/faillog.c: fixed typo in usage().
11932
11933 2004-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11934
11935         * man/pl/newgrp.1: fixed typo in bold macro.
11936
11937 2004-12-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11938
11939         * man/pl/chpasswd.8: remove bold from NAZWA section.
11940
11941 2004-12-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11942
11943         * src/faillog.c: remove using Prog variable.
11944
11945         * configure.in, NEWS:
11946         fixed large file support: added AC_SYS_LARGEFILE macro to autoconf.
11947
11948         * man/Attic/groupmod.8, man/pl/groupmod.8: separate OPTIONS section.
11949
11950         * man/pl/chpasswd.8: sync with english version.
11951
11952         * man/Attic/chpasswd.8:
11953         bold "chpasswd" command name in CAVEATS section.
11954
11955         * man/Attic/chpasswd.8: s/protect/protected/
11956
11957         * man/pl/lastlog.8: cleanups.
11958
11959         * man/Attic/chpasswd.8, man/Attic/lastlog.8, man/Attic/newusers.8:
11960         remove bold from NAME section.
11961
11962         * man/it/groupadd.8, man/it/useradd.8: separate OPZIONI section.
11963
11964         * man/pl/groupmems.8: fixes in OPCJE section.
11965
11966         * man/Attic/chpasswd.8: more cleanups.
11967
11968 2004-12-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
11969
11970         * man/Attic/chage.1, man/Attic/chfn.1, man/Attic/grpck.8, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/login.1, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/passwd.5, man/Attic/pw_auth.3, man/Attic/pwck.8, man/Attic/pwconv.8, man/Attic/shadowconfig.8, man/Attic/suauth.5, man/Attic/useradd.8:
11971         Fixed varoiuse typos and misspeling based partialy on patch from Bug#141322
11972         from Debian (submited by Christian Perrier <bubulle@debian.org>).
11973
11974         * man/Attic/chpasswd.8: more cleanups.
11975
11976         * man/pl/faillog.8, man/Attic/faillog.8, man/ja/faillog.8:
11977         remove from OPTIONS section information about avalaibability on some systems
11978         faillog database in other location thad listed in FILES section.
11979
11980         * man/Attic/chpasswd.8: updated.
11981
11982         * man/fr/faillog.5:
11983         fixed FICHIERS secttion: corrected change to italic on /var/log/faillog.
11984
11985         * src/faillog.c:
11986         move main() to the end of file and reorder rest functions. Now declararion
11987         finction prototypes can be removed.
11988
11989 2004-12-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11990
11991         * NEWS: updated.
11992
11993         * man/pl/lastlog.8: synced with current english version.
11994
11995         * man/Attic/lastlog.8: use the same style as in chpasswd(8).
11996
11997         * po/uk.po, po/zh_CN.po, po/tr.po, po/sv.po, po/ru.po, po/sk.po, po/pt_BR.po, po/pt.po, po/pl.po, po/nn.po, po/nl.po, po/nb.po, po/ko.po, po/ja.po, po/he.po, po/id.po, po/it.po, po/fi.po, po/fr.po, po/es.po, po/eu.po, po/el.po, po/da.po, po/de.po, po/cs.po, po/ca.po, po/bs.po:
11998         "make update-po" after rewrite lastlog.
11999
12000         * src/lastlog.c: Rewrite for use the same style as in chpasswd.c.
12001         Move open lastlog file after commadline option parsing so now --help option
12002         can be used by user without read access to lastlog file.
12003
12004         * src/chpasswd.c:
12005         s/display this help and exit/display this help message and exit/ in ussage()
12006         output.
12007
12008         * po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po:
12009         "make update-po".
12010
12011         * src/chpasswd.c:
12012         Added handle -h|--help option. Improved and updated ussage() output.
12013
12014 2004-12-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12015
12016         * po/tr.po, po/uk.po, po/zh_CN.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/da.po, po/de.po, po/el.po, po/bs.po, po/ca.po, po/cs.po:
12017         "make update-po" and resolve fuzzy with last change in src/chpasswd.c.
12018
12019         * src/chpasswd.c, NEWS:
12020         switch chpasswd to use getopt_long() and adds a --md5 option
12021         (by Ian Gulliver <ian@penguinhosting.net>).
12022
12023         * NEWS, configure.in: start work on 4.0.7.
12024
12025 2004-11-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12026
12027         * NEWS: cleanups.
12028
12029         * po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, po/bs.po, po/ca.po, po/cs.po, po/da.po:
12030         removed not used translations.
12031
12032         * NEWS, src/su.c:
12033         fix adding of pam_env env variables to enviroment (Martin Schlemmer <azarah@nosferatu.za.org>).
12034
12035         * NEWS, configure.in:
12036         fixed filling MAIL_SPOOL_DIR and MAIL_SPOOL_FILE variables which was allways
12037         empty (Gregorio Guidi <g.guidi@sns.it>)
12038
12039         * NEWS: updated.
12040
12041         * src/useradd.c, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, NEWS, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po:
12042         do not translate variable names from /etc/default/useradd during "useradd -D".
12043
12044 2004-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12045
12046         * man/zh_CN/groupadd.8, man/zh_CN/groupmod.8, man/zh_CN/useradd.8, man/zh_CN/usermod.8, man/zh_TW/groupadd.8, man/zh_TW/groupmod.8, man/zh_TW/useradd.8, man/zh_TW/usermod.8, man/it/groupadd.8, man/it/groupmod.8, man/it/useradd.8, man/it/usermod.8, man/ja/groupadd.8, man/ja/groupmod.8, man/ja/useradd.8, man/ja/usermod.8, man/pl/groupadd.8, man/pl/groupmod.8, man/pl/useradd.8, man/pl/usermod.8, man/pt_BR/groupadd.8, man/pt_BR/groupmod.8, man/Attic/groupadd.8, man/Attic/groupmod.8, man/Attic/useradd.8, man/fr/useradd.8, man/fr/usermod.8, man/id/useradd.8:
12047         correction: groups/users with gid/uid 0 and 999 are reserved for system accounts.
12048
12049         * man/zh_CN/groupmod.8, man/zh_CN/useradd.8, man/zh_CN/usermod.8, man/zh_TW/groupmod.8, man/zh_TW/useradd.8, man/zh_TW/usermod.8, man/id/useradd.8, man/it/groupadd.8, man/it/groupmod.8, man/it/useradd.8, man/it/usermod.8, man/ja/groupadd.8, man/ja/groupmod.8, man/ja/useradd.8, man/ja/usermod.8, man/pl/groupadd.8, man/pl/groupmod.8, man/pl/useradd.8, man/pl/usermod.8, man/pt_BR/groupmod.8, man/Attic/groupadd.8, man/Attic/groupmod.8, man/Attic/useradd.8, man/fr/useradd.8, man/fr/usermod.8:
12050         zgroups/users with gid/uid 0 and 499 are typically reserved for system accounts.
12051
12052 2004-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
12053
12054         * man/pl/Attic/mkpasswd.8, man/pl/chage.1, man/pl/chsh.1, man/pl/faillog.8, man/pl/groupadd.8, man/pl/groupmems.8, man/pl/groupmod.8, man/pl/lastlog.8, man/pl/useradd.8, man/pl/userdel.8, man/pl/usermod.8, man/Attic/chage.1, man/Attic/chsh.1, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupmems.8, man/Attic/lastlog.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8:
12055         separated OPTIONS section.
12056
12057         * lib/commonio.c: reverte last change.
12058
12059         * libmisc/pwdcheck.c:
12060         one word fix .. ommited "else" was removed. Now security bug which allow
12061         unauthorized account properties modification is realy closed.
12062
12063 2004-10-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12064
12065         * lib/commonio.c:
12066         add matchpathcon to create the files correctly when they do not exist (based
12067         on patch from FC).
12068
12069         * man/Attic/passwd.1: fixed two typos ("/" in incorrect place).
12070
12071 2004-10-27  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12072
12073         * etc/pam.d/useradd: - added header
12074
12075         * etc/pam.d/chfn, etc/pam.d/chsh, etc/pam.d/userdel: - fixed header
12076
12077 2004-10-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
12078
12079         * etc/pam.d/chfn, etc/pam.d/chsh, etc/pam.d/userdel:
12080         added missing template/example PAM service config files for chfn, chsh, userdel.
12081
12082         * NEWS, configure.in: start 4.0.6.
12083
12084 2004-10-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12085
12086         * man/pl/Attic/adduser.8, man/pl/Makefile.am, man/Attic/adduser.8, man/Makefile.am, man/fr/Attic/adduser.8, man/fr/Makefile.am, man/id/Attic/adduser.8, man/id/Makefile.am, man/it/Attic/adduser.8, man/it/Makefile.am, man/ja/Attic/adduser.8, man/ja/Makefile.am, NEWS:
12087         remove adduser(8) roff include man page to useradd(8).
12088
12089         * lib/Makefile.am: more fixes for non-inst libmisc.
12090
12091         * libmisc/Makefile.am, src/Makefile.am, NEWS:
12092         change libmisc to private static library.
12093
12094         * etc/pam.d/Makefile.am: typo.
12095
12096 2004-10-24  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12097
12098         * po/pl.po: - more translation/formatting fixes
12099
12100         * po/pl.po: - updated translation
12101
12102         * po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, po/bs.po:
12103         - make update-po, updated usage() translation
12104
12105         * src/useradd.c: - syntax fix for useradd in usage()
12106
12107         * po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po:
12108         - usage() formatting and other fixes
12109
12110         * po/fi.po: - proper UTF
12111
12112         * po/pl.po: - pl translation fixes/updates by Jakub Bogusz
12113
12114 2004-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
12115
12116         * etc/pam.d/chage, etc/pam.d/chpasswd, etc/pam.d/groupadd, etc/pam.d/groupdel, etc/pam.d/groupmod, etc/pam.d/newusers, etc/pam.d/useradd, etc/pam.d/usermod:
12117         use default path to PAM modules.
12118
12119         * etc/pam.d/Attic/shadow, etc/pam.d/Makefile.am, etc/pam.d/chage, etc/pam.d/chpasswd, etc/pam.d/groupadd, etc/pam.d/groupdel, etc/pam.d/groupmod, etc/pam.d/login, etc/pam.d/newusers, etc/pam.d/usermod:
12120         Remove shadow PAM config file. Added PAM config files for: chage, chpasswd,
12121         groupadd, groupdel, groupmod, login, newusers.
12122
12123         * po/zh_CN.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po, po/uk.po:
12124         "make update-po".
12125
12126         * configure.in: reverte previous incorrect commit.
12127
12128         * NEWS, src/su.c:
12129         add pam_open_session() support. If builded without PAM support
12130         propagate $DISPLAY and $XAUTHORITY enviroment variables.
12131         Based on http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-apps/shadow/files/shadow-4.0.4.1-su-pam_open_session.patch?rev=1.1
12132
12133 2004-10-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12134
12135         * configure.in: cleanups.
12136
12137         * lib/defines.h:
12138         define syslog() depending on ENABLE_NLS (not on HAVE_SETLOCALE).
12139
12140 2004-10-23  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12141
12142         * man/fr/Makefile.am: - killed non-existent manpage
12143
12144 2004-10-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12145
12146         * libmisc/copydir.c, NEWS:
12147         when placing symlinks into /etc/skel copy_tree of libmisc/copydir.c will
12148         properly create the symlink in the destination directory but not change the
12149         ownership to the target user/group. This makes httpd Option
12150         SymlinkIfOwnerMatch break for default weg pages including symlinks placed
12151         into /etc/skel/public_html for example.
12152         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=66819
12153
12154 2004-10-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
12155
12156         * src/Makefile.am:
12157         seems I foud CorrectWay(tm) for add some symlinks on install target.
12158
12159         * po/pl.po: more fixes.
12160
12161         * po/pl.po: added missing \n.
12162
12163         * src/chage.c, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, NEWS, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po:
12164         more verbose/human readable -l output. This output is much more beter for
12165         send directly via email for each users as message with account status (for
12166         example as message with warning about account/password expiration).
12167
12168         * configure.in: start prepare for 4.0.5.
12169
12170         * src/Makefile.am, libmisc/Makefile.am, lib/Makefile.am, configure.in:
12171         move LOCALEDIR to autoheader variables. Remove redefining DEFS in
12172         Makefile.am (not neccessary now).
12173
12174         * src/chage.c, src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/grpck.c, src/logoutd.c, src/newusers.c, src/pwck.c, src/useradd.c, src/userdel.c, src/usermod.c, NEWS:
12175         applied OWL shadow-4.0.4.1-owl-pam-auth.diff patch by Solar Designer
12176         <solar@openwall.com>:
12177           Moved the PAM authentication in user management commands after
12178           command-line parsing, made it use separate service names for each command.
12179           Use constant strings rather than argv[0] for syslog ident in the user
12180           management commands.
12181
12182         * man/Attic/useradd.8:
12183         reword the useradd manpage a little to make it more clear. Fix from:
12184         http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-apps/shadow/files/shadow-4.0.4.1-useradd-manpage-update.patch?rev=1.1
12185
12186         * configure.in: added libselinux detection.
12187
12188         * lib/Makefile.am, lib/commonio.c, lib/commonio.h, NEWS, autogen.sh, configure.in:
12189         added SELinux support (basing on patch from Gentoo).
12190
12191         * man/fr/Makefile.am (man_MANS): added getspnam.3.
12192
12193 2004-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12194
12195         * po/pt.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, po/bs.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, src/groupadd.c, src/groupmod.c:
12196         English grammar fix: s/is a not a valid group name/is not a valid group name/
12197         (pointed by Mike Frysinger <vapier@gentoo.org>).
12198
12199 2004-10-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
12200
12201         * NEWS, src/userdel.c:
12202         When removing a user with userdel, userdel always exits 1 (fixed).
12203         Based on http://bugs.gentoo.org/show_bug.cgi?id=66687.
12204
12205 2004-08-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12206
12207         * configure.in:
12208         Use AC_SEARCH_LIBS() for inet_ntoa(), socket(), gethostbyname() probing (instead AC_CHECK_FUNC()).
12209
12210 2004-08-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12211
12212         * man/Makefile.am: shadow(3) man page moved to man_MANS.
12213
12214         * libmisc/ttytype.c: Removed getenv() prototype (it is in <stdlib.h>).
12215
12216         * src/Attic/mkpasswd.c:
12217         Removed fgetsx() prototype (it is in lib/prototypes.h).
12218
12219         * man/it/vigr.8: Fixed typo (s/wipw/vipw/).
12220
12221 2004-08-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12222
12223         * NEWS: Typo.
12224
12225         * po/tr.po, po/uk.po, po/zh_CN.po, po/bs.po, po/cs.po, po/de.po, po/el.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nn.po, po/pl.po, po/pt.po, po/ru.po, po/sk.po, po/sv.po:
12226         Run "make update-po".
12227
12228         * po/ca.po, po/da.po, po/nl.po, po/pt_BR.po: Converted to UTF-8.
12229
12230         * po/LINGUAS: Typo.
12231
12232         * po/nb.po, po/nl.po, po/nn.po, po/pt.po, po/pt_BR.po, po/tr.po, po/zh_CN.po, NEWS, po/LINGUAS, po/bs.po, po/ca.po, po/da.po, po/eu.po, po/he.po, po/id.po:
12233         New translations: bs, ca, da, eu, he, id, nb, nl, nn, pt, pt_BR, tr,
12234         zh_CN (stolen froM Debian)
12235
12236         * man/Attic/grpck.8, man/Attic/mkpasswd.8, man/Attic/pwck.8, man/pl/Attic/mkpasswd.8, man/pl/grpck.8, man/pl/pwck.8:
12237         Corrected section number.
12238
12239 2004-08-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12240
12241         * man/zh_TW/chfn.1, man/zh_TW/chsh.1, man/zh_TW/groupadd.8, man/id/chsh.1, man/id/login.1, man/it/chfn.1, man/pl/chage.1, man/pl/groupadd.8, man/pl/groupmems.8, man/pl/lastlog.8, man/pl/login.1, man/pt_BR/groupadd.8, man/zh_CN/chfn.1, man/zh_CN/chsh.1, man/de/login.1, man/de/su.1, man/fr/chsh.1, man/fr/passwd.1, man/fr/usermod.8, man/hu/chfn.1, man/Attic/chage.1, man/Attic/groupadd.8, man/Attic/groupmems.8, man/Attic/lastlog.8, man/Attic/login.1, man/Attic/usermod.8:
12242         Options description in alphabetical order.
12243
12244         * NEWS, src/login.c:
12245         Applied 036_pam_access_with_preauth.patch Debian patch submited by Bjorn
12246         Torkelsson <Bjorn.Torkelsson@hpc2n.umu.se>: add support for PAM account
12247         management to restrict access using pam_access when login is invoked with -f.
12248
12249 2004-06-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12250
12251         * man/Attic/getspnam.3: added roff link to shadow(3).
12252
12253         * man/Makefile.am (man_MANS): added getspnam.3.
12254
12255 2004-06-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
12256
12257         * NEWS, lib/commonio.c, lib/getdef.c, src/vipw.c:
12258         Applied OWL shadow-4.0.4.1-owl-check-reads.diff patch by Solar Designer.
12259         Add checking for read errors in commonio and vipw/vigr (not doing so could
12260         result in data loss when the records are written back).
12261
12262         * NEWS: Add note about apply shadow-4.0.4.1-owl-tmp.diff OWL patch.
12263
12264         * src/useradd.c, configure.in:
12265         Remove looking for mkstemp() prototype and allways use mkstemp() (removed
12266         using mktemp if mkstemp() not found).
12267         Partialy based on tmp OWL patch by Solar Designer <solar@openwall.com>.
12268
12269         * NEWS, libmisc/pwdcheck.c:
12270         Fixed securirty bug which allow unauthorized account properties modification.
12271         Affected tools: chfn and chsh.
12272         Bug was discovered by Martin Schulze <joey@infodrom.org>.
12273
12274 2004-05-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12275
12276         * NEWS: typo.
12277
12278         * NEWS, po/LINGUAS, po/it.po:
12279         added it translation (by Danilo Piazzalunga <danilopiazza@libero.it>).
12280
12281 2004-05-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12282
12283         * NEWS: typos.
12284
12285         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
12286
12287 2004-05-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12288
12289         * po/sk.po: run "make update-po".
12290
12291         * NEWS, po/LINGUAS, po/sk.po:
12292         added sk translation (by Mann <Peter.Mann@tuke.sk>, submited by Christian
12293         Perrier <bubulle@kheops.frmug.org>).
12294
12295 2004-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12296
12297         * configure.in:
12298         Use autoconf cache variables for file and directory location tests (by
12299         Maciej W. Rozycki  <macro@ds2.pg.gda.pl>).
12300
12301 2004-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12302
12303         * man/Attic/passwd.5:
12304         Correct path directory delimiters (by Maciej W. Rozycki <macro@ds2.pg.gda.pl>).
12305
12306         * libmisc/xmalloc.c (malloc):
12307         Remove the declaration (by Maciej W. Rozycki <macro@ds2.pg.gda.pl>).
12308
12309 2004-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12310
12311         * src/login.c, NEWS:
12312         Fixed handle -f option: now it works correctly without specify "-h
12313         <host>" if open login session localy is required (thanks for help
12314         investigate bug for Krzysztof Kotlenga).
12315
12316         * po/es.po: Updated (by Ruben Porras <nahoo82@telefonica.net>).
12317
12318 2004-04-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12319
12320         * po/cs.po, po/de.po, po/el.po, po/fi.po, po/fr.po, po/ja.po, po/pl.po, po/ru.po, po/sv.po, po/uk.po:
12321         Run "update-po".
12322
12323 2004-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
12324
12325         * po/es.po: Updated to current (by run "update-po").
12326
12327         * po/es.po: Converted to utf-8.
12328
12329         * po/LINGUAS: Added es.
12330
12331         * po/es.po, NEWS:
12332         Added es translation (by Ruben Porras <nahoo82@telefonica.net>).
12333
12334 2004-04-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12335
12336         * po/ko.po, NEWS:
12337         Updated ko translations (by Changwoo Ryu <cwryu@debian.org>).
12338
12339 2004-04-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
12340
12341         * po/fi.po: iconv -f iso8859-9 -t utf8
12342
12343 2004-03-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12344
12345         * libmisc/age.c:
12346         Use endsgent() conditionaly depending on SHADOWGRP (fix submited by Gabor Z.
12347         Papp <gzp@papp.hu>).
12348
12349         * po/LINGUAS, po/fi.po, NEWS:
12350         Added fi translation (by Tommi Vainikainen <thv@iki.fi>).
12351
12352         * README: Fixed shadow and shadow-commit lists on-line archives URLs.
12353
12354 2004-01-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12355
12356         * NEWS, configure.in, man/fr/Makefile.am, man/hu/Makefile.am, man/it/Makefile.am:
12357         New version 4.0.4.1
12358         bug fixes in automake files for generate correct tar ball on "make dist":
12359         added midsiing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
12360
12361         * man/ko/Makefile.am: New version 4.0.4.1
12362         bug fixes in automake files for generate correct tar ball on "make dist":
12363         added missing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
12364
12365         * man/de/Makefile.am, man/es/Makefile.am: New version 4.0.4.1
12366         bug fixes in automake files for generate correct tar ball on "make dist":
12367         added midsiing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
12368
12369         * configure.in: Fixed checking is avalaible st_rdev in struct stat.
12370
12371 2004-01-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
12372
12373         * po/pl.po: Typo.
12374
12375         * man/pl/useradd.8: Cleanups in SYNOPSIS.
12376
12377 2004-01-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12378
12379         * po/pl.po: Cleanups.
12380
12381 2004-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12382
12383         * configure.in: Cleanups after autoupdate.
12384
12385 2004-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12386
12387         * src/groupadd.c, po/sv.po, po/uk.po, po/ru.po, po/ko.po, po/pl.po, po/fr.po, po/ja.po, po/el.po, po/cs.po, po/de.po, man/zh_TW/groupadd.8, man/zh_CN/groupadd.8, man/pt_BR/groupadd.8, man/pl/groupadd.8, man/ja/groupadd.8, man/it/groupadd.8, man/Attic/groupadd.8, NEWS:
12388         Added missing information about -f options in groupadd usage mesage (document
12389         this also in man page).
12390
12391 2003-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12392
12393         * lib/Attic/lastlog_.h, libmisc/log.c, libmisc/utmp.c, src/lastlog.c, src/login.c:
12394         More time() or gettimeofday() prevention overwrite memory on 64bit arch
12395         (partialy based on patch from MDK).
12396
12397         * po/sv.po, po/uk.po, po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po:
12398         Post remove TCFS support "make update-po".
12399
12400         * man/Makefile.am: Removed getspnam.3 from EXTRA_DIST.
12401
12402         * po/POTFILES.in: Removed lib/tcfsio.c.
12403
12404         * lib/Attic/tcfsio.c, lib/Attic/tcfsio.h, lib/Makefile.am, src/passwd.c, src/userdel.c, NEWS, configure.in, doc/Attic/README.pam:
12405         Removed TCFS support (tcfs is dead).
12406
12407         * configure.in:
12408         Added using AM_MAINTAINER_MODE. AC_INIT without parameters.
12409
12410         * Attic/acconfig.h, configure.in:
12411         Cleanups on autoheadres level: use AC_DEFINE(VAR, VAL, [Comment]) for
12412         USE_PAM, HAVE_TCFS and TCFS_GDBM_SUPPORT.
12413
12414         * src/newusers.c, src/useradd.c, Attic/acconfig.h, autogen.sh, lib/Attic/pwpack.c, NEWS:
12415         Remove all old BSD_QUOTA dependent code.
12416
12417 2003-12-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
12418
12419         * lib/Makefile.am, libmisc/Makefile.am, src/Makefile.am:
12420         Removed -I$(top_srcdir) from INCLUDES (isn't neccessary becaus this is in
12421         DEFAULT_INCLUDES) - slightly shorter compile output.
12422
12423         * Makefile.am, configure.in:
12424         Added using AM_GNU_GETTEXT([external]) - removed intl SUBDIRS.
12425         Added locale.h to AC_CHECK_HEADERS() - lib/defines.h have part which depends
12426         on HAVE_LOCALE_H.
12427
12428         * lib/nscd.h: Added missing newline at end of file.
12429
12430         * Attic/acconfig.h: Remove unused (#un)defines.
12431
12432         * autogen.sh: Typo.
12433
12434         * autogen.sh: Much more simpler script - use autoreconf.
12435
12436         * po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po, po/sv.po, po/uk.po:
12437         "make update-po".
12438
12439 2003-12-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12440
12441         * po/LINGUAS: Languages list for gettext 1.12.x.
12442
12443 2003-10-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12444
12445         * po/pl.po: Kill fuzzy entries.
12446
12447 2003-10-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12448
12449         * man/Attic/usermod.8:
12450         Typo: missing "." on end of sentence (submited by Stepan Kasal <kasal@ucw.cz>).
12451
12452 2003-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12453
12454         * po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po, po/sv.po, po/uk.po, po/cs.po, po/de.po, po/el.po, NEWS:
12455         convert all po/*.po files to utf-8.
12456
12457 2003-09-05  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12458
12459         * po/ru.po: - fixed header
12460
12461 2003-07-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12462
12463         * po/pl.po, po/ru.po, po/sv.po, po/uk.po, libmisc/pam_pass.c, po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po:
12464         Otput "passwd: password updated successfully\n" message on successfull
12465         password change (based on Debian changes).
12466
12467         * src/newgrp.c: Remove work around for unsecure gettext.
12468
12469 2003-06-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12470
12471         * src/useradd.c, src/usermod.c:
12472         Added initializing memory in variables when get_groups() function is not called,
12473         and memory allocated for user_groups is not initialized (in both useradd and
12474         usermod when -G options is used and in usermod when -l option is used).
12475         That causing segfaults sometimes.
12476         This fix is importand but not critical because usermod and usermod aren't suid
12477         root.
12478         Problem reported and fixed by Alexey Voinov <voins@altlinux.ru>.
12479
12480 2003-06-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
12481
12482         * man/Attic/login.1: Fixed FILES section.
12483
12484         * src/chfn.c, src/chpasswd.c, src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/grpconv.c, src/grpunconv.c, src/id.c, src/login.c, src/logoutd.c, src/newgrp.c, src/newusers.c, src/passwd.c, src/pwconv.c, src/pwunconv.c, src/su.c, src/suauth.c, src/useradd.c, src/userdel.c, src/usermod.c, src/vipw.c:
12485         Indented.
12486
12487         * src/chage.c: Move *flg variables to global.
12488
12489         * Attic/acconfig.h: Comment for USG.
12490
12491 2003-05-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12492
12493         * man/de/chfn.1, man/de/login.1:
12494         Fixed section name (s/NAME/BEZEICHNUNG/).
12495
12496         * man/de/chfn.1, man/de/chsh.1: Sync FILES section with en version.
12497
12498         * man/Attic/login.1: Typo (s/avr/var/).
12499
12500         * man/de/login.1: Sync FILES section with en man version.
12501
12502         * man/de/chfn.1, man/de/chsh.1, man/de/login.1: Remove ^M from EOL.
12503
12504         * man/de/login.1, man/de/Makefile.am, man/de/chfn.1, man/de/chsh.1, NEWS:
12505         Next round updates from Josef Spillner <josef@ggzgamingzone.org>: update
12506         chsh(1), login(1) and added new chfn(1) german man pages.
12507
12508         * NEWS: Added info about remove d_passwd(5), dialups(5) man pags.
12509
12510 2003-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12511
12512         * NEWS, TODO, src/chfn.c, src/chpasswd.c, src/chsh.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/passwd.c, src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c, src/vipw.c:
12513         One TODO entry gone: fix nscd flushing databases on change (use
12514         per service flushing method instead HUPing nscd process).
12515
12516         * lib/Makefile.am, lib/commonio.c, lib/nscd.c, lib/nscd.h, libmisc/Attic/nscd.c, libmisc/Attic/nscd.h, libmisc/Makefile.am:
12517         Move nscd.{c,h} from libmisc/ to lib/.
12518         Fix warning about implicit declaration of function `nscd_flush_cache' in lib/commonio.c.
12519
12520         * lib/pwauth.h: Fix pw_auth() prototype.
12521
12522         * libmisc/Attic/nscd.c, libmisc/Attic/nscd.h, libmisc/Makefile.am:
12523         Added header file for nscd communication functions.
12524
12525         * libmisc/chkname.c (good_name):
12526         fixed warning about comparison between pointer and integer.
12527
12528         * po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po, po/sv.po, po/uk.po:
12529         "make update-po".
12530
12531         * src/useradd.c (main):
12532         chain create_mail() and small fix in usage message.
12533
12534         * src/userdel.c: Removed AUTH_METHODS code.
12535
12536         * lib/pwauth.c: Fixed pw_auth() prototype.
12537
12538         * src/sulogin.c, src/usermod.c: Removed AUTH_METHODS code.
12539
12540         * po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po, po/sv.po, po/uk.po:
12541         "make update-po".
12542
12543         * src/useradd.c: Indent.
12544
12545         * man/ja/Attic/pwauth.8, man/ja/Makefile.am, man/pl/Attic/pwauth.8, man/pl/Makefile.am, src/passwd.c, src/useradd.c, NEWS, lib/pwauth.c, man/Attic/pwauth.8, man/Makefile.am:
12546         Cleanups continuations: removed old AUTH_METHODS dependent code,
12547         removed also pwauth(8) man page.
12548
12549         * man/pl/Makefile.am (man_MANS): remove d_passwd.5 man page.
12550
12551         * src/useradd.c, src/usermod.c, po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po, po/sv.po, po/uk.po:
12552         Cleanups in usage messages.
12553
12554         * src/newgrp.c: Cleanups in comments.
12555
12556         * po/uk.po, po/sv.po, po/ru.po, po/pl.po, po/ko.po, po/ja.po, po/fr.po, po/el.po, po/de.po, po/cs.po:
12557         "make update-po".
12558
12559         * lib/getdef.c (main): remove gettextize error messages from test code.
12560
12561         * NEWS: Cleanups.
12562
12563 2003-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12564
12565         * src/useradd.c, man/pl/useradd.8, po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po, po/sv.po, po/uk.po, NEWS, TODO, etc/useradd, man/Attic/useradd.8:
12566         Added handle by useradd /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes|no}.
12567         Now on adding user account can be added also created empty user mail
12568         spool. Curent code handle only mailbox.
12569         TODO: add handle create user mail spool in maildir format.
12570
12571         * TODO: Typo.
12572
12573         * src/chage.c (usage): fix missing ")".
12574         (main): updated commented description.
12575
12576         * src/useradd.c: Indent.
12577
12578         * man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8:
12579         Minor cleanups.
12580
12581         * man/Attic/chage.1, man/pl/chage.1:
12582         Rewrite for use claissic list form options descriptions.
12583
12584         * man/pl/groupadd.8:
12585         s/Polecenie groupadd posiada opcje:/Polecenie groupadd posiada następujące opcje:/
12586
12587         * TODO: ALL:
12588         move base passwd/shadow/group/gshadow operation to module for allow write
12589         diffrent backend modules for db, NIS, LDAP and others. Default backend it
12590         will be choose depending on /etc/nsswitch.conf and allow overrride this by
12591         -r <repository> options (where the <repository> can be file, db, nis
12592         nisplus, ldap .. like on /etc/nsswitch.conf in service column).
12593         passwd have old piece of code with handling -r option and it will be good
12594         finish this and propagate on other shadow tools for allow operate on other
12595         user databases by well known tools.
12596
12597         useradd:
12598         add handle /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes,no} for allow
12599         create empty mail spool for added user.
12600
12601         * man/pl/Attic/d_passwd.5, man/pl/Attic/dialups.5: Removed.
12602
12603         * man/Attic/groupmems.8: Close few \fB by add \fR.
12604
12605         * man/Attic/groupadd.8, man/Attic/groupmems.8: Minor cleanups.
12606
12607 2003-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12608
12609         * src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c:
12610         Move non-SHADOWPWD stub code to end of file (like in chage.c) and do not use
12611         gettextized message.
12612
12613         * po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po, po/sv.po, po/uk.po:
12614         "make update-po".
12615
12616         * src/chage.c, NEWS:
12617         Now all code depend on SHADOWPWD. If shadow will not be configured on
12618         autoconf level for using shadow possword chage is olny stub which informs
12619         "chage not configured for shadow password support."
12620
12621         * man/it/Makefile.am: Removed EXTRA_DIST (not neccessary).
12622
12623         * man/es/Makefile.am: Removed groups.1 (doen't exist es groups(1)).
12624
12625         * man/de/Makefile.am (man_MANS): added login.1.
12626
12627         * man/de/Makefile.am: Removed EXTRA_DIST (isn't neccessary now).
12628
12629         * man/hu/Makefile.am, man/ja/Makefile.am, man/ko/Makefile.am, man/pl/Makefile.am, man/de/Makefile.am, man/fr/Makefile.am, NEWS, man/Makefile.am:
12630         Install groups(1) man page (moved from EXTRA_DIST to man_MANS).
12631
12632         * po/.cvsignore:
12633         Added files generated by gettextize from gettext 0.11.5.
12634
12635         * po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po, po/sv.po, po/uk.po:
12636         Updated after removing dialup tools.
12637
12638         * po/POTFILES.in: Removed lib/{dialchk,dialup}.c and src/dpasswd.c.
12639
12640 2003-05-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12641
12642         * libmisc/shell.c (shell): do not gettexitize DEBUG message.
12643
12644         * src/chsh.c, src/grpconv.c, src/login.c, src/logoutd.c, src/sulogin.c, src/vipw.c, libmisc/Attic/login_access.c, libmisc/getdate.y, libmisc/limits.c, libmisc/obscure.c, libmisc/setupenv.c, lib/Attic/getpass.c, lib/pwauth.c:
12645         Removed "#if 0 .. #endif" dead code.
12646
12647         * libmisc/utmp.c: Fixed unterminated #if.
12648
12649         * libmisc/Attic/login_access.c (resolve_hostname):
12650         cleanup: removed #if 1 .. #endif.
12651
12652         * libmisc/.cvsignore: Added getdate.c.
12653
12654         * libmisc/Attic/getdate.c:
12655         Removed - this file is generated by bison/yacc.
12656
12657         * configure.in:
12658         Change file name passwd in AC_INIT argument from lib/dialchk.c to src/passwd.c.
12659
12660         * src/su.c:
12661         Removed dead code (#if 0 .. #endif) with call motd() and mailcheck()
12662         (was commnted because GNU su doesn't do this).
12663
12664 2003-05-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12665
12666         * src/Attic/dpasswd.c, src/login.c, src/Makefile.am, man/pl/Attic/dpasswd.8, man/pl/Makefile.am, man/ja/Attic/dpasswd.8, man/ja/Makefile.am, man/Attic/dpasswd.8, man/Makefile.am, lib/Attic/dialchk.c, lib/Attic/dialchk.h, lib/Attic/dialup.c, lib/Attic/dialup.h, lib/Makefile.am, lib/getdef.c, etc/Attic/login.defs.linux, etc/login.defs, NEWS:
12667         Removed old dpasswd and DIALUPS_CHECK_ENAB login.defs handling code from login.
12668
12669         * doc/Attic/ANNOUNCE, doc/Makefile.am, NEWS: Removed old doc/ANNOUNCE.
12670
12671         * src/login.c, lib/getdef.c, etc/Attic/login.defs.linux, NEWS:
12672         Remove NO_PASSWORD_CONSOLE code.
12673
12674 2003-05-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
12675
12676         * libmisc/pwd2spwd.c, libmisc/utmp.c, libmisc/entry.c, libmisc/isexpired.c, lib/sgetspent.c, lib/shadow.c, lib/Attic/putpwent.c, lib/Attic/pwent.c, lib/Attic/pwpack.c, lib/defines.h, lib/pwio.c, lib/sgetpwent.c, Attic/acconfig.h, configure.in:
12677         Remove old SVR4, ATT_AGE, ATT_COMMENT dependent code.
12678
12679         * src/chage.c:
12680         Remove some ageing code which was not used if SHADOWPWD isn't defined.
12681         Now handling mindays, maxdays and lastday also depends on SHADOWPWD.
12682
12683 2003-05-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
12684
12685         * man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/dpasswd.8, man/Attic/expiry.1, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmems.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/limits.5, man/Attic/login.1, man/Attic/login.access.5, man/Attic/login.defs.5, man/Attic/logoutd.8, man/Attic/mkpasswd.8, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/pwauth.8, man/Attic/pwck.8, man/Attic/pwconv.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/shadowconfig.8, man/Attic/su.1, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/Attic/vipw.8:
12686         Reformated.
12687
12688         * etc/login.defs:
12689         Use FHS 2.x compliant paths to lastlog, sulog, mail spool and also change
12690         ENV_SUPATH to PATH=/sbin:/bin:/usr/sbin:/usr/bin and
12691         ENV_PATH to PATH=/bin:/usr/bin
12692
12693         * old/Attic/Makefile.am, old/Attic/Makefile.linux, old/Attic/Makefile.sun4, old/Attic/Makefile.svr4, old/Attic/Makefile.xenix, old/Attic/config.h.linux, old/Attic/config.h.sun4, old/Attic/config.h.svr4, old/Attic/config.h.xenix, old/Attic/orig-config.h, old/Attic/pwconv-old.8, old/Attic/pwconv-old.c, old/Attic/pwconv.8, old/Attic/pwd.h.m4, old/Attic/pwunconv-old.8, old/Attic/pwunconv-old.c, old/Attic/pwunconv.8, old/Attic/scologin.c, old/Attic/vipw.8:
12694         Removed old stuff.
12695
12696 2003-04-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12697
12698         * po/pl.po, po/ru.po, po/sv.po, po/uk.po, po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po:
12699         make update-po
12700
12701         * src/su.c: Remove not mached #endif after removing ATT_AGE code.
12702
12703         * man/ko/passwd.5: Remove ^M from end of line.
12704
12705         * src/chage.c, src/chpasswd.c, src/login.c, src/newusers.c, src/passwd.c, src/pwunconv.c, src/su.c, src/useradd.c, Attic/acconfig.h, NEWS, configure.in:
12706         Removed old ATT_AGE (account ageing in passwd file) dependent code.
12707
12708         * po/pl.po: Fix chage and lastlog messages.
12709
12710 2003-04-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12711
12712         * libmisc/limits.c, src/logoutd.c:
12713         More utmp/utmpx fixes: use endutend() or endutxend() depending on HAVE_UTMPX_H.
12714
12715         * po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po, po/sv.po, po/uk.po:
12716         Run "make update-po" after remove SVR4 code and fix duplicated entries in sv.po.
12717
12718         * NEWS, src/login.c, src/logoutd.c, src/useradd.c:
12719         Remove old SVR4 and SVR4_SI86_EUA dependent code from login, useradd and
12720         logoutd.
12721
12722 2003-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12723
12724         * man/pl/usermod.8: Remove "OD TŁUMACZA" section.
12725
12726         * man/pl/groupadd.8, man/pl/groupdel.8, man/pl/groupmod.8, man/pl/grpck.8, man/pl/passwd.1, man/pl/pwck.8, man/pl/useradd.8, man/pl/userdel.8, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmod.8, man/Attic/grpck.8, man/Attic/passwd.1, man/Attic/pwck.8, man/Attic/useradd.8, man/Attic/userdel.8:
12727         Added EXIT VALUES section with full description exit codes.
12728
12729         * src/groupadd.c: Typo (s/nut/not/).
12730
12731         * man/Attic/shadowconfig.8: Merge changes from Debian.
12732
12733         * NEWS, man/Attic/passwd.5:
12734         Remove text about password aging from passwd(5) (based on Debian changes).
12735
12736         * po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po, po/sv.po, po/uk.po, src/lastlog.c, man/Attic/lastlog.8, man/it/lastlog.8, man/ja/lastlog.8, man/pl/lastlog.8:
12737         More unification in lastlog command syntax.
12738
12739         * man/Attic/lastlog.8, man/it/lastlog.8, man/ja/lastlog.8, man/pl/lastlog.8:
12740         Unifications in SYNOPSIS.
12741
12742         * man/it/gpasswd.1, man/it/groupadd.8, man/it/groupdel.8, man/it/groupmod.8, man/it/grpck.8, man/it/lastlog.8, man/it/useradd.8, man/it/userdel.8, man/it/usermod.8:
12743         Remove ^M from end of line.
12744
12745         * man/Attic/gpasswd.1, man/Attic/groupadd.8:
12746         Indentation in FILES section.
12747
12748         * src/pwconv.c, src/useradd.c, src/userdel.c:
12749         s/bad command syntax/invalid command syntax/
12750
12751         * src/userdel.c:
12752         Indent by hand (seems indent have problems with complex conditions).
12753
12754         * man/ru/Makefile.am: man_MANS: s#passwd.1#passwd.5#
12755
12756         * po/pl.po: s/nie mogę/nie można/
12757
12758         * po/fr.po: Emoticon removed.
12759
12760         * NEWS, configure.in, man/Makefile.am, man/ru/.cvsignore, man/ru/Makefile.am, man/ru/passwd.5:
12761         Added ru passwd(1) man page from KSI resources.
12762
12763         * man/zh_CN/Makefile.am, man/zh_CN/chfn.1, man/zh_CN/chsh.1, man/zh_TW/Makefile.am, man/zh_TW/chfn.1, man/zh_TW/chsh.1, man/ja/Attic/dpasswd.8, man/ja/Attic/mkpasswd.8, man/ja/Attic/pw_auth.3, man/ja/Attic/pwauth.8, man/ja/Attic/shadowconfig.8, man/ja/Makefile.am, man/ja/chage.1, man/ja/chfn.1, man/ja/chpasswd.8, man/ja/chsh.1, man/ja/expiry.1, man/ja/faillog.5, man/ja/faillog.8, man/ja/gpasswd.1, man/ja/groupadd.8, man/ja/groupdel.8, man/ja/groupmod.8, man/ja/groups.1, man/ja/grpck.8, man/ja/id.1, man/ja/lastlog.8, man/ja/limits.5, man/ja/login.1, man/ja/login.access.5, man/ja/login.defs.5, man/ja/logoutd.8, man/ja/newgrp.1, man/ja/newusers.8, man/ja/passwd.1, man/ja/passwd.5, man/ja/porttime.5, man/ja/pwck.8, man/ja/pwconv.8, man/ja/shadow.3, man/ja/shadow.5, man/ja/su.1, man/ja/suauth.5, man/ja/sulogin.8, man/ja/useradd.8, man/ja/userdel.8, man/ja/usermod.8, man/ja/vipw.8, NEWS, man/cs/Makefile.am, man/cs/id.1:
12764         Added chch(1), chfn(1) man pages from chinese man pages translation
12765         project.
12766         Added id(1) man page czech man pages translation project.
12767         Updated ja man pages and added expiry(1).
12768
12769         * man/hu/groups.1, man/hu/login.1:
12770         Remove info about $HOME/.profile from FILES section (this does not depends
12771         stricte on shadow).
12772
12773         * configure.in, man/Makefile.am, man/es/Makefile.am:
12774         Added es man pages to ac/am suit.
12775
12776         * man/es/.cvsignore, man/hu/.cvsignore, man/pt_BR/.cvsignore, man/zh_CN/.cvsignore, man/zh_TW/.cvsignore:
12777         Added .cvsignore files.
12778
12779         * man/hu/Makefile.am, man/hu/su.1:
12780         Added su(1) man page from hungarian man pages translation project.
12781
12782 2003-04-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12783
12784         * NEWS: Ready for gettext 0.11.5, automake 1.7.4, autoconf 2.57.
12785         Many cleanups and unifications in man pages.
12786
12787         * man/pt_BR/gpasswd.1, man/pt_BR/groupadd.8, man/pt_BR/groupdel.8, man/pt_BR/groupmod.8, man/pt_BR/shadow.5, man/zh_CN/chpasswd.8, man/zh_CN/groupadd.8, man/zh_CN/groupdel.8, man/zh_CN/groupmod.8, man/zh_CN/useradd.8, man/zh_CN/userdel.8, man/zh_CN/usermod.8, man/zh_TW/groupadd.8, man/zh_TW/groupdel.8, man/zh_TW/groupmod.8, man/zh_TW/useradd.8, man/zh_TW/userdel.8, man/zh_TW/usermod.8, man/ko/login.1, man/ko/su.1, man/pl/chage.1, man/pl/chfn.1, man/pl/chsh.1, man/pl/expiry.1, man/pl/gpasswd.1, man/pl/groupmems.8, man/pl/groups.1, man/pl/id.1, man/pl/lastlog.8, man/pl/login.1, man/pl/newgrp.1, man/pl/passwd.1, man/pl/su.1, man/pl/sulogin.8, man/pl/useradd.8, man/pl/usermod.8, man/ja/Attic/mkpasswd.8, man/ja/chage.1, man/ja/chfn.1, man/ja/chsh.1, man/ja/faillog.5, man/ja/faillog.8, man/ja/gpasswd.1, man/ja/groupadd.8, man/ja/groupdel.8, man/ja/groupmod.8, man/ja/groups.1, man/ja/grpck.8, man/ja/id.1, man/ja/lastlog.8, man/ja/limits.5, man/ja/login.1, man/ja/login.access.5, man/ja/logoutd.8, man/ja/newgrp.1, man/ja/passwd.1, man/ja/passwd.5, man/ja/porttime.5, man/ja/pwck.8, man/ja/shadow.3, man/ja/shadow.5, man/ja/su.1, man/ja/suauth.5, man/ja/sulogin.8, man/ja/useradd.8, man/ja/userdel.8, man/ja/usermod.8, man/hu/chsh.1, man/hu/gpasswd.1, man/hu/groups.1, man/hu/login.1, man/hu/newgrp.1, man/hu/passwd.1, man/it/gpasswd.1, man/it/groupadd.8, man/it/groupdel.8, man/it/groupmod.8, man/it/grpck.8, man/it/lastlog.8, man/it/shadow.5, man/it/useradd.8, man/it/userdel.8, man/it/usermod.8, man/cs/shadow.5, man/es/su.1, man/fr/chage.1, man/fr/faillog.5, man/fr/gpasswd.1, man/fr/shadow.5, man/fr/su.1, man/fr/userdel.8, man/fr/usermod.8, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chsh.1, man/Attic/dpasswd.8, man/Attic/expiry.1, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmems.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/limits.5, man/Attic/login.1, man/Attic/login.access.5, man/Attic/logoutd.8, man/Attic/mkpasswd.8, man/Attic/newgrp.1, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/pwck.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/suauth.5, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8:
12788         Fixes: correct utmp/wtmp paths.
12789         Unifications: bold commnanda and italify other file names.
12790         Other minor changes and cleanups and unifications.
12791
12792         * libmisc/limits.c: More utmpx/utmp fixes.
12793
12794         * src/chpasswd.c, src/faillog.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmems.c, src/groupmod.c, src/id.c, src/login.c, src/newgrp.c, src/passwd.c, src/useradd.c, src/userdel.c, src/usermod.c, po/cs.po, po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po, po/sv.po, po/uk.po:
12795         Usage help message unification (s/usage:/Usage:/).
12796
12797         * TODO: Missing "are".
12798
12799         * src/logoutd.c, src/userdel.c, NEWS:
12800         Handle also utmpx if avalaile in userdel and logoutd.
12801
12802 2003-04-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
12803
12804         * src/sulogin.c: Remove unused utent declaration.
12805
12806         * src/sulogin.c, src/login.c:
12807         Remove #include <utmp.h> and <utmpx.h>. This comes with #include "prototypes.h".
12808
12809         * lib/prototypes.h:
12810         "#include <utmp.h>" or "#include <utmpx.h>" depending on HAVE_UTMPX_H.
12811
12812         * libmisc/failure.c:
12813         Remove "#include <utmp.h>" (this is included in failure.h).
12814
12815         * configure.in:
12816         On detect mail spool directory location try first /var/mail.
12817
12818 2003-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
12819
12820         * libmisc/Attic/getdate.c, libmisc/Attic/login_access.c, libmisc/Attic/login_desrpc.c, libmisc/Attic/login_krb.c, libmisc/Attic/nscd.c, libmisc/Attic/setup.c, libmisc/entry.c, libmisc/env.c, libmisc/failure.c, libmisc/fields.c, libmisc/hushed.c, libmisc/isexpired.c, libmisc/limits.c, libmisc/list.c, libmisc/log.c, libmisc/loginprompt.c, libmisc/mail.c, libmisc/motd.c, libmisc/myname.c, libmisc/obscure.c, libmisc/pam_pass.c, libmisc/pwd2spwd.c, libmisc/pwd_init.c, libmisc/pwdcheck.c, libmisc/rlogin.c, libmisc/salt.c, libmisc/setugid.c, libmisc/setupenv.c, libmisc/shell.c, libmisc/strtoday.c, libmisc/sub.c, libmisc/sulog.c, libmisc/ttytype.c, libmisc/tz.c, libmisc/ulimit.c, libmisc/utmp.c, libmisc/valid.c, libmisc/xmalloc.c, libmisc/Attic/chkshell.c, libmisc/addgrps.c, libmisc/age.c, libmisc/basename.c, libmisc/chkname.c, libmisc/chowndir.c, libmisc/chowntty.c, libmisc/console.c, libmisc/copydir.c:
12821         Indent all using current .indent.pro settings.
12822
12823         * po/Makevars: New file neccessary for gettext >=0.11.5.
12824
12825         * man/Makefile.am: Removed getspnam.3 from man_MANS (dos not exist).
12826
12827         * po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po:
12828         Fixes after filtering gettext 0.11.5 (missing headers elements, inforrect
12829         format strings).
12830
12831 2003-04-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12832
12833         * NEWS, man/de/passwd.1:
12834         updated german passwd(1) man page (by Josef Spillner <josef@ggzgamingzone.org>)
12835
12836 2003-03-12  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12837
12838         * po/pl.po: - updated; terminology unification
12839
12840 2003-02-28  Paweł Gołaszewski  <blues@pld.org.pl>
12841
12842         * etc/login.defs: - missing "MD5_CRYPT_ENAB  yes" added
12843
12844 2003-01-20  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12845
12846         * configure.in: - added Makefiles for man/zh_{CN,TW}
12847
12848         * man/Makefile.am, man/zh_CN/Makefile.am, man/zh_CN/chpasswd.8, man/zh_CN/groupadd.8, man/zh_CN/groupdel.8, man/zh_CN/groupmod.8, man/zh_CN/useradd.8, man/zh_CN/userdel.8, man/zh_CN/usermod.8, man/zh_TW/Makefile.am, man/zh_TW/groupadd.8, man/zh_TW/groupdel.8, man/zh_TW/groupmod.8, man/zh_TW/useradd.8, man/zh_TW/userdel.8, man/zh_TW/usermod.8:
12849         - added zh man pages from MDK (2 x 6) and from cman (1)
12850
12851 2003-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12852
12853         * man/ja/shadow.3, man/pl/shadow.3, man/Attic/shadow.3:
12854         sync spwd structure declaration with current glibc declaration (tahnks for
12855         point this bug to Michael Kerrisk <michael.kerrisk@gmx.net>).
12856
12857         * man/pl/faillog.5: s/konsolę/terminal/
12858
12859 2002-12-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12860
12861         * src/Makefile.am: typo (s/EXTRA_DOST/EXTRA_DIST/).
12862
12863 2002-10-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12864
12865         * src/Makefile.am:
12866         fixed making vigr symlink to vipw (not vipw to vigr) in install-exec-hook (fix submited by
12867         Dimitar Zhekov <jimmy@is-vn.bg>).
12868
12869         * debian/Attic/login.copyright, debian/Attic/login.postinst, debian/Attic/login.postrm, debian/Attic/login.preinst, debian/Attic/login.prerm, debian/Attic/logoutd.init, debian/Attic/passwd.conffiles, debian/Attic/passwd.copyright, debian/Attic/passwd.cron, debian/Attic/passwd.init, debian/Attic/passwd.postinst, debian/Attic/passwd.postrm, debian/Attic/porttime, debian/Attic/rules, debian/Attic/secure-su.README, debian/Attic/secure-su.conffiles, debian/Attic/secure-su.copyright, debian/Attic/secure-su.postrm, debian/Attic/secure-su.preinst, debian/Attic/securetty, debian/Attic/shadowconfig.sh, debian/Attic/Makefile.am, debian/Attic/changelog, debian/Attic/checksums, debian/Attic/control, debian/Attic/control.gnu, debian/Attic/control.linux, debian/Attic/login.conffiles, Makefile.am, configure.in:
12870         removed debian directory.
12871
12872 2002-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12873
12874         * NEWS, src/newgrp.c:
12875         Use CLOSE_SESSIONS depending code only when USE_PAM.
12876         The problem was reported by Mattias Webjorn Eriksson using Slackware
12877         8.1 and reproduced it using slackware-current (9.0beta) (fix submited by
12878         Simon Williams <simon@no-dns-yet.org.uk>).
12879
12880 2002-10-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12881
12882         * man/ja/login.1, man/ja/logoutd.8, man/pl/login.1, man/pl/logoutd.8, man/Attic/login.1, man/Attic/logoutd.8, man/hu/login.1:
12883         changed utmp and wtmp files paths (s#/etc/utmp/#/var/run/utmp#; s#/etc/wtmp#/var/log/wtmp#)
12884
12885         * po/ru.po, configure.in: added ru translation (from KSI resources).
12886
12887 2002-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12888
12889         * NEWS, libmisc/failure.c:
12890         libbmisc/failure.c (too_many_failures): incorrect if() condition in non-PAM
12891         dependent code in fail login handling (fixed by Krzysztof Oledzki <ole@ans.pl>).
12892
12893 2002-08-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12894
12895         * man/pl/useradd.8, man/Attic/useradd.8, NEWS:
12896         document useradd and groupadd -M option in en and pl man pages
12897         (by Jakub Mikusek <mick3y@o.k.pl>).
12898
12899         * configure.in: start prepare 4.0.4.
12900
12901 2002-03-18  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12902
12903         * man/ja/Attic/dpasswd.8, man/ja/Attic/shadowconfig.8, man/ja/chpasswd.8, man/ja/faillog.8, man/ja/groupadd.8, man/ja/groupdel.8, man/ja/groupmod.8, man/ja/id.1, man/ja/lastlog.8, man/ja/login.defs.5, man/ja/newusers.8, man/ja/su.1, man/ja/useradd.8, man/ja/userdel.8, man/ja/usermod.8, man/ja/vipw.8:
12904         - updated to man-pages-ja-20020315 (except cvs tags)
12905
12906 2002-03-15  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12907
12908         * TODO: - remove already done pl man updates from the list
12909
12910 2002-03-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
12911
12912         * man/ko/.cvsignore, man/ko/Makefile.am, man/ko/chfn.1, man/ko/chsh.1, man/ko/groups.1, man/ko/id.1, man/ko/login.1, man/ko/newgrp.1, man/ko/passwd.5, man/ko/su.1:
12913         added ko man pages.
12914
12915         * man/de/.cvsignore, man/de/Makefile.am:
12916         automake files for de man pages.
12917
12918         * TODO: updated.
12919
12920         * man/it/.cvsignore, man/it/Makefile.am, man/id/.cvsignore, man/id/Attic/adduser.8, man/id/Makefile.am, man/id/useradd.8, man/Makefile.am, man/cs/.cvsignore, man/cs/Makefile.am, man/fr/.cvsignore, man/fr/Makefile.am, configure.in, NEWS:
12921         added cs, de, fr, id, it, ko man pages to ac/am.
12922
12923 2002-03-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12924
12925         * po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po, po/cs.po, po/de.po, po/el.po:
12926         "make update-po"
12927
12928         * po/de.po, NEWS, configure.in:
12929         added de translation (by Frank Schmid <frank@cs-schmid.de>).
12930
12931         * NEWS: added info about Solar patch for man pages.
12932
12933 2002-03-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12934
12935         * man/it/usermod.8, man/it/vigr.8, man/it/vipw.8, man/it/Attic/adduser.8, man/it/chfn.1, man/it/chsh.1, man/it/gpasswd.1, man/it/groupadd.8, man/it/groupdel.8, man/it/groupmod.8, man/it/groups.1, man/it/grpck.8, man/it/grpconv.8, man/it/grpunconv.8, man/it/id.1, man/it/lastlog.8, man/it/login.1, man/it/newgrp.1, man/it/passwd.1, man/it/passwd.5, man/it/pwconv.8, man/it/pwunconv.8, man/it/shadow.5, man/it/useradd.8, man/it/userdel.8, man/id/Attic/adduser.8, man/id/chsh.1, man/id/login.1, man/fr/Attic/adduser.8, man/fr/chage.1, man/fr/chpasswd.8, man/fr/chsh.1, man/fr/faillog.5, man/fr/gpasswd.1, man/fr/groups.1, man/fr/id.1, man/fr/newgrp.1, man/fr/passwd.1, man/fr/passwd.5, man/fr/shadow.5, man/fr/su.1, man/fr/useradd.8, man/fr/userdel.8, man/fr/usermod.8, man/es/login.1, man/es/passwd.1, man/es/su.1, man/de/chsh.1, man/de/groups.1, man/de/login.1, man/de/passwd.1, man/de/su.1, man/cs/passwd.5, man/cs/shadow.5:
12936         added some raw cs, de, es, fr, id, it man pages from national
12937         man pages translation projects (all man pages not yet added to Makefile.am
12938         files because all need some work).
12939
12940         * man/hu/chfn.1, man/hu/id.1:
12941         added id(1) chfn(1) from hu man pages translation project (it need some work
12942         because this documents describes GNU version id and chfn from util-linux).
12943
12944         * man/hu/Makefile.am, man/hu/login.1:
12945         added login(1) man page from hu man pages translation project.
12946
12947         * po/POTFILES.in: updated (suath.c moved to src/).
12948
12949         * src/Makefile.am: added su_SOURCES with "su.c suauth.c".
12950
12951         * libmisc/Makefile.am:
12952         remove suauth.c from libmisc_la_SOURCES (varialbles and functions from
12953         this file are usesd only in su).
12954
12955         * libmisc/Attic/suauth.c, src/suauth.c: move suauth.c o src/.
12956
12957         * libmisc/Attic/suauth.c:
12958         move "struct passwd pwent" outside #ifdef SU_ACCESS.
12959
12960 2002-03-09  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12961
12962         * man/pl/chage.1, man/pl/chfn.1, man/pl/chsh.1, man/pl/expiry.1, man/pl/gpasswd.1, man/pl/groups.1, man/pl/id.1, man/pl/login.1, man/pl/newgrp.1, man/pl/passwd.1, man/pl/su.1:
12963         - sync with en versions
12964
12965         * man/Attic/login.1, man/Attic/newgrp.1, man/Attic/passwd.1, man/Attic/su.1, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chsh.1, man/Attic/expiry.1, man/Attic/gpasswd.1, man/Attic/groups.1, man/Attic/id.1:
12966         - update to chage.1; formatting/typo fixes
12967
12968 2002-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12969
12970         * po/uk.po, po/ko.po, po/pl.po, po/sv.po, po/ja.po, po/cs.po, po/el.po, po/fr.po:
12971         "make update-po"
12972
12973 2002-03-09  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12974
12975         * man/pt_BR/groupadd.8, man/pt_BR/groupdel.8, man/pt_BR/groupmod.8, man/pt_BR/shadow.5, man/pl/userdel.8, man/pl/usermod.8, man/pl/sulogin.8, man/pl/useradd.8, man/pl/pwconv.8, man/pl/su.1, man/pl/Attic/mkpasswd.8, man/pl/Attic/pwauth.8, man/pl/newgrp.1, man/pl/passwd.5, man/pl/login.defs.5, man/pl/chpasswd.8, man/pl/groupadd.8, man/pl/groupdel.8, man/pl/groupmems.8, man/pl/groupmod.8, man/pl/groups.1, man/pl/grpck.8, man/pl/id.1, man/pl/login.1, man/hu/groups.1, man/hu/newgrp.1, man/ja/Attic/mkpasswd.8, man/ja/Attic/pw_auth.3, man/ja/Attic/pwauth.8, man/ja/groupadd.8, man/ja/groupdel.8, man/ja/groupmod.8, man/ja/groups.1, man/ja/grpck.8, man/ja/id.1, man/ja/lastlog.8, man/ja/login.1, man/ja/login.defs.5, man/ja/newgrp.1, man/ja/passwd.5, man/ja/pwck.8, man/ja/shadow.5, man/ja/su.1, man/ja/sulogin.8, man/ja/useradd.8, man/ja/userdel.8, man/ja/usermod.8, man/ja/vipw.8, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmems.8, man/Attic/groupmod.8:
12976         - further "SEE ALSO" references sorting
12977
12978 2002-03-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
12979
12980         * man/Attic/pwck.8, man/Attic/pwconv.8, man/Attic/shadow.5, man/Attic/su.1, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/Attic/vipw.8, man/Attic/chpasswd.8, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/id.1, man/Attic/login.1, man/Attic/login.defs.5, man/Attic/mkpasswd.8, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/passwd.5, man/Attic/pw_auth.3, man/Attic/pwauth.8, man/Makefile.am:
12981         merged shadow-4.0.0-owl-man.patch by Solar Designer <solar@openwall.com>.
12982
12983         * NEWS: updated for 4.0.3.
12984
12985         * libmisc/Attic/suauth.c, libmisc/utmp.c, src/login.c, src/su.c:
12986         swapped utent dnd pwent efinition/extern and now shadow source can be configured
12987         --with-shared (fix by Dimitar Zhekov <jimmy@is-vn.bg>).
12988
12989 2002-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12990
12991         * configure.in: start prepare 4.0.3.
12992
12993         * src/Makefile.am:
12994         use ln -sf instead ln -s in install-exec-hok (fix pointed by Dimitar Zhekov
12995         <jimmy@is-vn.bg>).
12996
12997 2002-03-02  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12998
12999         * man/pl/passwd.1: sync with en version
13000
13001         * man/Attic/passwd.1: - they -> his/her, user's
13002         - typos
13003         - fix sentence about "writing down"
13004
13005         * man/Attic/passwd.1: relocation by NAKANO Takeo
13006
13007 2002-02-28  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13008
13009         * man/hu/passwd.1: missing "-"
13010
13011         * man/ja/Attic/shadowconfig.8, man/ja/passwd.5, man/ja/shadow.5:
13012         - updated to man-pages-ja-20020215
13013
13014 2002-02-23  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13015
13016         * po/cs.po, po/fr.po, po/pl.po, po/sv.po, po/uk.po, man/pl/useradd.8:
13017         - typos in pl/useradd.8; commented out unsupported -r option description
13018         - useradd "usage" formatting fixes
13019         - fix translation in uk.po
13020
13021 2002-02-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
13022
13023         * configure.in: release 4.0.2.
13024
13025 2002-02-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13026
13027         * Attic/shadow-utils.spec.in, Makefile.am, configure.in, shadow.spec.in:
13028         rename spec file s/shadow-utils.spec/shadow.spec/
13029
13030         * po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/sv.po, po/uk.po:
13031         update-po before release.
13032
13033         * po/ko.po, po/pl.po: cleanups.
13034
13035 2002-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13036
13037         * man/pl/Attic/adduser.8, man/pl/grpconv.8, man/pl/grpunconv.8, man/pl/pwunconv.8, man/pl/sg.1, man/pl/vigr.8, man/ja/Attic/adduser.8, man/ja/grpconv.8, man/ja/grpunconv.8, man/ja/pwunconv.8, man/ja/sg.1, man/ja/vigr.8, man/hu/sg.1, man/Attic/adduser.8, man/Attic/grpconv.8, man/Attic/grpunconv.8, man/Attic/pwunconv.8, man/Attic/sg.1, man/Attic/vigr.8:
13038         placa ".so man<level>/<man_page>.<level>" in roff .so includes (seems some
13039         man page viewers do not handles correctly man documents without subdirectory
13040         name in roff .so incude).
13041
13042 2002-01-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
13043
13044         * po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po, po/cs.po, po/el.po, NEWS:
13045         resolve many fuzzy translations also all this which may cause problems on
13046         displaing long uid/gid.
13047
13048         * src/id.c, po/ko.po, po/pl.po, po/sv.po, po/uk.po, po/cs.po, po/el.po, po/fr.po, po/ja.po:
13049         drop translate some messages in id output (about {,e}{u,g}id).
13050
13051 2002-01-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13052
13053         * README: s#password: cvs#password: [empty password]#
13054
13055 2002-01-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13056
13057         * NEWS: two new entries.
13058
13059         * libmisc/chkname.c (good_name):
13060         allow usernames ending with "$" for allow create machine
13061         acounts for samba (thanks for point this problem in 4.0.1 by
13062         Jerome Borsboom <borsboom@tch.fgg.eur.nl>).
13063
13064         * src/pwck.c, src/useradd.c, po/pl.po, po/sv.po, po/uk.po, po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po:
13065         s/invalid user name `%s'/invalid user name '%s'/
13066
13067 2002-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13068
13069         * configure.in:
13070         fix in libpam_misc detection (removed one "," AC_CHECK_LIB()).
13071         Thanks to Silvan Minghetti for report this.
13072
13073 2002-01-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13074
13075         * NEWS: start prepare to 4.0.2.
13076
13077         * po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po, po/cs.po:
13078         updated.
13079
13080         * configure.in: It is good time to release 4.0.1.
13081
13082         * libmisc/.indent.pro, lib/.indent.pro: added -pcs option.
13083
13084         * TODO: some things goes out other in.
13085
13086         * src/newgrp.c, NEWS:
13087         added ability to log session closes in newgrp (look at long nice comments
13088         inside source code :_) by Joseph Parmelee <jparmele@wildbear.com>.
13089
13090         * src/groupadd.c, src/useradd.c:
13091         next part fixes for handle long UID/GID (by Thorsten Kukuk <kukuk@suse.de>).
13092
13093         * lib/getdef.c, lib/getdef.h:
13094         adeded getdef_unum(): get unsigned numerical value from table of
13095         definitions (Thorsten Kukuk <kukuk@suse.de>).
13096
13097         * NEWS: updated.
13098
13099         * libmisc/isexpired.c:
13100         remove "#if defined(SHADOWPWD)" (not removed during remove AGING).
13101
13102         * etc/Makefile.am: useradd config file added to EXTRA_DIST.
13103
13104 2002-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
13105
13106         * po/sv.po, po/uk.po, po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po:
13107         update.
13108
13109         * src/pwck.c, src/pwconv.c, src/pwunconv.c, src/su.c, src/sulogin.c, src/useradd.c, src/userdel.c, src/usermod.c, src/vipw.c, src/.indent.pro, src/Attic/dpasswd.c, src/Attic/mkpasswd.c, src/chage.c, src/chfn.c, src/chpasswd.c, src/chsh.c, src/expiry.c, src/faillog.c, src/gpasswd.c, src/groupadd.c, src/groupmems.c, src/groupmod.c, src/groups.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, src/id.c, src/lastlog.c, src/login.c, src/logoutd.c, src/newgrp.c, src/newusers.c, src/passwd.c:
13110         Add -pcs to .indent.pro file and reindent all code.
13111         Remove "\n" from all SYSLOG() messages.
13112
13113         * NEWS: s/SuSe/SuSE/
13114
13115 2001-12-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
13116
13117         * man/pl/useradd.8, man/Attic/useradd.8: documment -o option.
13118
13119         * man/pl/usermod.8, man/pl/chfn.1, man/pl/chsh.1, man/pl/groupadd.8, man/pl/groupdel.8, man/pl/groupmod.8, man/pl/groups.1, man/pl/id.1, man/pl/login.1, man/pl/newgrp.1, man/pl/passwd.1, man/pl/su.1, man/pl/useradd.8, man/pl/userdel.8:
13120         correct package name (s/shadow-password/shadow/).
13121
13122         * src/chage.c, src/expiry.c, src/login.c, src/passwd.c, src/su.c, libmisc/age.c, libmisc/isexpired.c, NEWS, configure.in:
13123         Finish integrate AGING code into SHADOWPW.
13124         Remove handle old HAVE_USERSEC_H code.
13125
13126         * po/uk.po: typo.
13127
13128         * man/pl/passwd.1, man/ja/passwd.1, man/Attic/chpasswd.8, man/Attic/dpasswd.8, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/passwd.1:
13129         cleanups.
13130
13131         * src/Attic/dpasswd.c, src/Attic/mkpasswd.c, src/expiry.c, src/grpck.c, src/id.c, src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c, src/chfn.c, src/chsh.c, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po, po/cs.po, po/el.po, po/fr.po, man/Attic/useradd.8:
13132         standarize usage messages syntax.
13133
13134         * man/pl/useradd.8, man/pl/usermod.8, man/pl/vipw.8, man/pl/userdel.8:
13135         removed duplicated man page text.
13136
13137         * src/chage.c, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po, po/cs.po, po/el.po, po/fr.po:
13138         standarize usage meissages syntax.
13139
13140         * src/chage.c, NEWS (main):
13141         merge part Solar shadow-4.0.0-owl-pam-auth.diff patch with reorder
13142         nitialize PAM and checkin is chage is runed by root or not - now chage can be
13143         runed from non-root account for checking by user own accout information.
13144
13145         * src/pwck.c: indent source.
13146
13147         * src/pwck.c (main): remove old work around for Slackware bug.
13148
13149 2001-12-20  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13150
13151         * man/ja/Attic/adduser.8, man/ja/Makefile.am, man/ja/limits.5, man/ja/pwconv.8:
13152         - updated to man-pages-ja-20011215
13153
13154 2001-11-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13155
13156         * src/grpck.c:
13157         remove check for a Slackware bug (make sure GID is not -1; it was special
13158         meaning for some syscalls).
13159
13160         * src/newgrp.c, src/pwck.c, src/su.c, src/useradd.c, src/usermod.c, src/groupadd.c, src/groupmod.c, src/id.c, NEWS:
13161         fixes for handle/print correctly 32bit uid/gid (Thorsten Kukuk <kukuk@suse.de>).
13162
13163         * src/chage.c: - break usage vomment line.
13164
13165         * lib/defines.h:
13166         removed bunch spaces on end line in conditionale #include <errno.h>
13167         which in some cases dissallow compile correctly shadow (thanks for
13168         Silvan Minghetti <bullet@users.sourceforge.net>).
13169
13170 2001-11-17  Michał Moskal  <malekith@pld.org.pl>
13171
13172         * NEWS:
13173         - mention fix for SEGV when using pwck -s on /etc/passwd file with
13174           empty lines in it
13175
13176         * lib/commonio.c:
13177         - installed fix for SEGV when using pwck -s on /etc/passwd file with
13178           empty lines in it
13179
13180 2001-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13181
13182         * libmisc/chkname.c, NEWS:
13183         next merge from Solar patches (shadow-4.0.0-owl-check_names.diff) but only
13184         part this patch with checking login name matching; checking is login
13185         string isn't longer than possible probably it will be good prepare using
13186         _POSIX_LOGIN_NAME_MAX from <bits/posix1_lim.h>
13187
13188 2001-11-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13189
13190         * NEWS: typos.
13191
13192         * NEWS: added info about new hu man pages.
13193
13194         * NEWS: updated.
13195
13196 2001-11-16  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13197
13198         * man/ja/Attic/pw_auth.3, man/ja/Attic/pwauth.8, man/ja/passwd.5, man/ja/porttime.5, man/ja/pwck.8, man/ja/shadow.3, man/ja/shadow.5, man/ja/su.1, man/ja/suauth.5, man/ja/sulogin.8, man/ja/userdel.8, man/ja/usermod.8, man/ja/Attic/dpasswd.8, man/ja/Attic/mkpasswd.8, man/ja/Makefile.am, man/ja/chage.1, man/ja/chfn.1, man/ja/chpasswd.8, man/ja/chsh.1, man/ja/faillog.5, man/ja/faillog.8, man/ja/gpasswd.1, man/ja/groupadd.8, man/ja/groupdel.8, man/ja/groupmod.8, man/ja/grpck.8, man/ja/lastlog.8, man/ja/login.1, man/ja/login.access.5, man/ja/login.defs.5, man/ja/logoutd.8, man/ja/newgrp.1, man/ja/passwd.1:
13199         - updated to man-pages-ja-20011115.tar.gz
13200
13201         * man/ja/groups.1: 3c26de91cfd359c0b7c36ca3cd3e170d  groups.1
13202
13203         * man/ja/grpconv.8: 402190c04b8df45e20afd01e3acd0da4  grpconv.8
13204
13205         * man/ja/grpunconv.8: 402190c04b8df45e20afd01e3acd0da4  grpunconv.8
13206
13207         * man/ja/id.1: 3edc687b1c09bbdd170553f326a71711  id.1
13208
13209         * man/ja/newusers.8: c2ecaa6ddffe07de2c39be3aefb5bcae  newusers.8
13210
13211         * man/ja/pwunconv.8: 402190c04b8df45e20afd01e3acd0da4  pwunconv.8
13212
13213         * man/ja/Attic/shadowconfig.8:
13214         f79300c0db64fd961443177c88605087  shadowconfig.8
13215
13216         * man/ja/useradd.8: 3333b9a2e5a388a472fb05106d65a596  useradd.8
13217
13218         * man/ja/vigr.8: 42825938683e54e391897ea100001af1  vigr.8
13219
13220         * man/ja/vipw.8: 0cb8db0f1f19de7690f0ef9baeceb919  vipw.8
13221
13222 2001-11-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13223
13224         * lib/Attic/getpass.c:
13225         one fix warning from Solar shadow-4.0.0-owl-warnings.diff.
13226
13227         * src/chage.c, lib/defines.h:
13228         move "#include <errno.h>" to /lib/defines.h.
13229
13230         * configure.in: added AC_CHECK_HEADERS(errno.h)
13231
13232         * src/chage.c: apply shadow-4.0.0-owl-chage-drop-priv.diff and
13233         shadow-4.0.0-owl-chage-ro-no-lock.diff by Solar Designer <solar@openwall.com>.
13234         Added locks which are needed when doing r/w accesses, not when running as root.
13235         If root does read-only, there's no lock needed. Added missing
13236         "#include <errno.h>" for above.
13237
13238 2001-11-14  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13239
13240         * configure.in: - added hu directory antry
13241
13242         * man/Makefile.am: - groups.1 moved to EXTRA_DIST
13243         - added hu directory entry
13244
13245         * man/ja/Makefile.am: - sorted
13246         - shadow.3 moved to EXTRA_DIST
13247
13248         * man/pl/Makefile.am: - sorted
13249         - added entries for new pages
13250         - EXTRA_DIST synced with man/Makefile.am
13251
13252         * man/hu/Makefile.am, man/hu/chsh.1, man/hu/gpasswd.1, man/hu/groups.1, man/hu/newgrp.1, man/hu/passwd.1, man/hu/sg.1:
13253         - man pages from Debian
13254
13255         * man/Attic/groupmems.8: - typo
13256
13257         * man/pl/expiry.1, man/pl/groupmems.8: - translated pages
13258
13259 2001-11-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13260
13261         * libmisc/Makefile.am:
13262         fix building with cracklib enabled: $(LIBCRACK) added to libmisc_la_LIBADD.
13263
13264         * src/useradd.c: typo.
13265
13266 2001-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13267
13268         * src/Attic/dpasswd.c, src/gpasswd.c, src/groupadd.c, src/groupmod.c, src/grpck.c, src/lastlog.c, src/login.c, src/passwd.c, src/pwck.c, src/userdel.c, src/usermod.c, src/chage.c, src/chfn.c, src/chsh.c, libmisc/utmp.c:
13269         removed prototypes which are defined in libc header files
13270         (Thorsten Kukuk <kukuk@suse.de>).
13271
13272         * libmisc/Attic/nscd.c, libmisc/Makefile.am, lib/commonio.c:
13273         implemetn better reloading the nscd cache (per NSS map)
13274         by Thorsten Kukuk <kukuk@suse.de>
13275
13276         * src/login.c, libmisc/setupenv.c:
13277         fixed warnings "not used but defined" on compile using gcc 3.0.x
13278         by bulletpr00ph <bullet@users.sourceforge.net>.
13279
13280 2001-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
13281
13282         * NEWS: New entries for 4.0.1.
13283
13284         * po/pl.po: few more pl translations.
13285
13286         * po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po:
13287         "make update-po".
13288
13289         * po/ja.po, po/ko.po, configure.in:
13290         added ja, ko translations found in SuSe.
13291
13292 2001-10-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13293
13294         * src/useradd.c: sort alphabetically *flg variables.
13295
13296         * debian/Attic/Makefile.am, debian/Attic/tar.c: removed.
13297
13298 2001-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13299
13300         * man/ja/Makefile.am, man/ja/sg.1, man/pl/Makefile.am, man/pl/sg.1, man/pl/vigr.8, man/Attic/sg.1, man/Attic/vigr.8, man/Makefile.am:
13301         added vigr(1) man page as roff .so link to vipw(1),                                                                             - added sg(1) man page as roff .so link to newgrp(1).
13302
13303         * src/Makefile.am:
13304         added install symlinks newgrp -> sg, vipw -> vigr in install-exec-hook target.
13305
13306 2001-10-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13307
13308         * lib/Makefile.am (libshadow_la_SOURCES):
13309         reverte last change and added rcsid.h,
13310         (EXTRA_DIST): added missing "\".
13311
13312         * src/Makefile.am: (DEFS):
13313         - fix -DLOCALEDIR in DEFS,
13314         - added -DHAVE_CONFIG_H,
13315         - removed @DEFS@.
13316
13317         * lib/Makefile.am:
13318         added missing shadow_.h file to libshadow_la_SOURCES.
13319
13320 2001-09-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
13321
13322         * Makefile.am (AUTOMAKE_OPTIONS):
13323         version changed to 1.5 and added dist-bzip2.
13324
13325         * lib/Makefile.am, libmisc/Makefile.am, src/Makefile.am:
13326         add .indent.pro to EXTRA_DIST.
13327
13328         * etc/Makefile.am, etc/useradd: add example /etc/defaults/useradd.
13329
13330 2001-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13331
13332         * TODO: last touch.
13333
13334         * TODO: more TODO.
13335
13336         * lib/commonio.c, NEWS:
13337         Fix bug discovered and fixed by Marcel Ritter <Marcel.Ritter@rrze.uni-erlangen.de>
13338         Due to a big buffer size in lib/commonio.c this error does only appear
13339         if a line gets longer than 4096 bytes (there are probably very few people
13340         stumbling across this).
13341         Ths bug can be exposed by trashing /etc/groups file using useradd with script:
13342                 #!/bin/sh
13343                 typeset -i NUM
13344                 NUM=0
13345                 groupadd demogroup
13346                 while [ $NUM -le 1000 ]; do
13347                    useradd -g demogroup -G demogroup -p "NONE" user$NUM
13348                    NUM=$NUM+1
13349                 done
13350
13351 2001-09-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13352
13353         * src/groups.c, src/id.c, src/newgrp.c, src/useradd.c, src/usermod.c, libmisc/addgrps.c, NEWS:
13354         remove limit 32 to groups per user (the same user can belong to
13355         more than 32 groups) by use sysconf(_SC_NGROUPS_MAX) instead constant
13356         NGROUPS_MAX (patch by Radu Constantin Rendec <radu.rendec@ines.ro>)
13357         NOTE: it probably need testing on other system for add some conditionals
13358         for using sysconf(_SC_NGROUPS_MAX) or NGROUPS_MAX constant.
13359
13360 2001-08-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
13361
13362         * etc/pam.d/Makefile.am, etc/pam.d/useradd: added file for useradd.
13363
13364 2001-08-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
13365
13366         * src/useradd.c (set_defaults):
13367         handle correctly error open/create useradd default config
13368         filei (based on orginal post to bugtraq).
13369
13370         * TODO: documment in pt_BR, ja man pages -s {pw,grp}ck option.
13371
13372         * libmisc/sulog.c, NEWS:
13373         remove limit to 6 chars logged tty name (apply 012_libmisc_sulog.c.diff Debian
13374         patch).
13375
13376         * man/pl/Attic/shadowconfig.8, man/Attic/shadowconfig.8:
13377         - aply 021_man_shadowconfig_usr_doc.diff debian patch.
13378
13379         * src/Makefile.am, lib/Makefile.am:
13380         use $(top_builddir) in .la files paths (for allow correct compile if
13381         $(top_builddir) isn't the same as $(top_srcdir)).
13382
13383         * po/.cvsignore, po/Attic/ChangeLog: removed ChangeLog.
13384
13385 2001-08-18  Michał Moskal  <malekith@pld.org.pl>
13386
13387         * src/grpck.c: - fixed getopt() call, thnx to arekm
13388
13389 2001-08-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13390
13391         * NEWS: - include last changes to list changes in version 4.0.0.
13392
13393 2001-08-14  Michał Moskal  <malekith@pld.org.pl>
13394
13395         * NEWS: - mention new -s options
13396
13397         * man/pl/grpck.8, man/pl/pwck.8, man/Attic/grpck.8, man/Attic/pwck.8:
13398         - documented new -s options
13399
13400         * src/grpck.c, src/pwck.c: - added -s option to sort output files
13401
13402         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
13403         - added pw_sort, gr_sort, sgr_sort and spw_sort functions
13404
13405         * lib/commonio.c, lib/commonio.h:
13406         - added commonio_sort{,_wrt} functions
13407
13408 2001-08-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13409
13410         * po/Attic/ChangeLog, po/uk.po, configure.in:
13411         added uk translation (Roman Festchook <roma@polesye.net>).
13412
13413         * src/logoutd.c (mani):
13414         s/ut->ut_libe/ut->ut_user/ on prepare strin with user name for syslog
13415         line (reported by Roman Festchook <roma@polesye.net>).
13416
13417 2001-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13418
13419         * Attic/acconfig.h: - added missing USG.
13420
13421 2001-07-04  Marek Michałkiewicz  <marekm@pld.org.pl>
13422
13423         * lib/commonio.c:
13424         fix buffer overflow (not a security hole) in commonio_setname
13425
13426 2001-06-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
13427
13428         * NEWS: entry about dropping support one argument pam_strerror().
13429
13430         * libmisc/pam_pass.c, src/login.c, src/su.c, Attic/acconfig.h, configure.in, lib/defines.h, lib/pam_defs.h:
13431         drop detecting is pam_strerror() need one or two arguments. Instead using
13432         PAM_STRERROR() macro use directly pam_strerror() function with two arguments.
13433         pam_strerror() with one argument is obsoleted.
13434
13435         * configure.in:
13436         pass display error message if libpam_misc not found in correct argument
13437         AC_CHECK_LIB().
13438
13439         * configure.in:
13440         added checking for libpam_misc if libpam found and if libpam_misc is avalaible
13441         add them to $LIBPAM. Othervise exit fron autoconf script with error message.
13442         Now shadow compiles if pam support is enabled.
13443
13444 2001-06-28  Marek Michałkiewicz  <marekm@pld.org.pl>
13445
13446         * libmisc/copydir.c: fix overwriting existing file (add O_TRUNC)
13447
13448 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13449
13450         * configure.in: remove intl/po2tbl.sed from AC_OUTPUT().
13451
13452         * configure.in:
13453         removed add md5.o md5crypt.o conditionaly to $LIBOBJS (this is obsoleted).
13454         In current version ndling md5 functionality is included conditionaly
13455         inside md5.c and md5crypt.c source files.
13456
13457         * lib/Attic/md5.c: added comments for #endif.
13458
13459         * configure.in: also do not use SU_ACCESS when PAM is used.
13460
13461         * configure.in:
13462         - check pam directly by AC_CHECK_LIB() (PAM from PLD is now fixed an also other
13463           PAM implementation must be fixed for this method checkin is libpam is avalaible;
13464           sorry .. no way this is plain linking procedure bug),
13465         - use AC_DEFINE(LOGIN_ACCES) only when PAM isn't used.
13466
13467 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
13468
13469         * src/Makefile.am:
13470         add LDADD for groupmod and usermod, as they use PAM too
13471
13472         * src/login.c, src/su.c: fix uninitialized variable failcount
13473         skip '*' in pw_shell for subsystem root
13474
13475 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13476
13477         * src/login.c: use "extern int login_access()" only if !USE_PAM.
13478
13479         * src/Makefile.am:
13480         added LDADD rules for programs which uses PAM and cracklib.
13481
13482 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
13483
13484         * libmisc/chowntty.c:
13485         allow root login even on read-only root filesystem
13486
13487         * libmisc/Makefile.am: add -DHAVE_CONFIG_H to DEFS
13488
13489 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13490
13491         * autogen.sh: run configure by default with --disable-desrpc,
13492         fix: --with-libpam (not --with-pam).
13493
13494 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
13495
13496         * libmisc/chowntty.c:
13497         libmisc/chowntty.c (chown_tty): move perror() before syslog() call
13498         which might change errno.
13499
13500         * man/pl/login.defs.5, man/Attic/login.defs.5:
13501         (UMASK): Default value is 077, not 0 - see NEWS for shadow-3.3.2-951106.
13502
13503 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13504
13505         * NEWS, configure.in: prepare for release 4.0.0 version.
13506
13507         * configure.in: remove commented line.
13508
13509 2001-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13510
13511         * po/pl.po: fixed charset (must be iso-8859-2).
13512
13513         * man/Makefile.am, man/ja/.cvsignore, man/ja/Attic/dpasswd.8, man/ja/Attic/mkpasswd.8, man/ja/Attic/pw_auth.3, man/ja/Attic/pwauth.8, man/ja/Makefile.am, man/ja/chage.1, man/ja/chfn.1, man/ja/chpasswd.8, man/ja/chsh.1, man/ja/faillog.5, man/ja/faillog.8, man/ja/gpasswd.1, man/ja/groupadd.8, man/ja/groupdel.8, man/ja/groupmod.8, man/ja/grpck.8, man/ja/lastlog.8, man/ja/login.1, man/ja/login.access.5, man/ja/login.defs.5, man/ja/logoutd.8, man/ja/newgrp.1, man/ja/passwd.1, man/ja/passwd.5, man/ja/porttime.5, man/ja/pwck.8, man/ja/pwconv.8, man/ja/shadow.3, man/ja/shadow.5, man/ja/su.1, man/ja/suauth.5, man/ja/sulogin.8, man/ja/userdel.8, man/ja/usermod.8, configure.in, NEWS:
13514         added ja man pages.
13515
13516 2001-05-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
13517
13518         * src/Attic/shadowconfig.sh, src/Makefile.am, debian/Attic/Makefile.am, debian/Attic/shadowconfig.sh:
13519         move shadowconfig.sh to debian/
13520
13521         * src/Makefile.am: added missing -I${top_srcdir} to INCLUDES.
13522
13523         * lib/Makefile.am: empty DEFS and INCLUDES="-I$(top_srcdir)".
13524
13525         * libmisc/Makefile.am:
13526         empty DEFS and INCLUDES="-I$(top_srcdir) -I$(top_srcdir)/lib".
13527
13528 2001-03-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
13529
13530         * src/.indent.pro, lib/.indent.pro, libmisc/.indent.pro:
13531         directory indent config file is -kr -i8 -bad (indent open this file and
13532         read options if options not specyfied in commnad line).
13533
13534         * autogen.sh (conf_flags): added --with-pam.
13535
13536         * NEWS: start complette next release information.
13537
13538 2001-02-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
13539
13540         * shlib/Attic/Makefile.am, shlib/Attic/Makefile.in.saved: - removed.
13541
13542         * src/Makefile.am, libmisc/Makefile.am, lib/Makefile.am:
13543         Rewrited automake suit for building lib, libmisc and src (now this look much
13544         better). Also for all is now used libtool in proper way.
13545
13546         * configure.in:
13547         - added useing AM_DISABLE_SHARED, AM_ENABLE_STATIC for disable compile shared
13548           libraries and enable static,
13549         - some cosmetics.
13550
13551         * Makefile.am (SUBDIRS): reorder libmisc must be before lib.
13552
13553 2001-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13554
13555         * man/pt_BR/Makefile.am: - added man_MANS to EXTRA_DIST.
13556
13557 2001-01-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
13558
13559         * man/Makefile.am, man/pt_BR/Makefile.am, man/pt_BR/gpasswd.1, man/pt_BR/groupadd.8, man/pt_BR/groupdel.8, man/pt_BR/groupmod.8, man/pt_BR/shadow.5, configure.in:
13560         include pt_BR man pages for gpasswd(1), groupadd(1), groupdel(8),
13561         groupmod(8), shadow(5).
13562
13563 2001-01-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13564
13565         * TODO: - updated.
13566
13567         * man/pl/Attic/dpasswd.8, man/pl/chage.1, man/pl/chfn.1, man/pl/chpasswd.8, man/pl/chsh.1, man/pl/faillog.5, man/pl/faillog.8, man/pl/gpasswd.1, man/pl/groupadd.8, man/pl/groupdel.8, man/pl/groupmod.8, man/pl/groups.1, man/pl/grpck.8, man/pl/id.1, man/pl/lastlog.8, man/pl/login.1, man/pl/newgrp.1, man/pl/newusers.8, man/pl/passwd.1, man/pl/su.1, man/pl/useradd.8, man/pl/userdel.8, man/pl/vipw.8, man/Attic/dpasswd.8, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmems.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/su.1, man/Attic/useradd.8, man/Attic/usermod.8, man/Attic/vipw.8:
13568         many small cleanups, fixes also removed commented obsoleted texts.
13569
13570 2001-01-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
13571
13572         * autogen.sh: add to conf_flags --disable-shared.
13573
13574         * man/pl/Attic/d_passwd.5, man/pl/Attic/dialups.5, man/pl/Attic/dpasswd.8, man/pl/Attic/mkpasswd.8, man/pl/Attic/pw_auth.3, man/pl/Attic/pwauth.8, man/pl/Attic/shadowconfig.8, man/pl/chage.1, man/pl/chfn.1, man/pl/chpasswd.8, man/pl/chsh.1, man/pl/faillog.5, man/pl/faillog.8, man/pl/gpasswd.1, man/pl/groupadd.8, man/pl/groupdel.8, man/pl/groupmod.8, man/pl/groups.1, man/pl/grpck.8, man/pl/id.1, man/pl/lastlog.8, man/pl/limits.5, man/pl/login.1, man/pl/login.access.5, man/pl/login.defs.5, man/pl/logoutd.8, man/pl/newgrp.1, man/pl/newusers.8, man/pl/passwd.1, man/pl/passwd.5, man/pl/porttime.5, man/pl/pwck.8, man/pl/pwconv.8, man/pl/shadow.3, man/pl/shadow.5, man/pl/su.1, man/pl/suauth.5, man/pl/sulogin.8, man/pl/useradd.8, man/pl/userdel.8, man/pl/usermod.8, man/pl/vipw.8, man/Attic/mkpasswd.8, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/pw_auth.3, man/Attic/pwauth.8, man/Attic/pwck.8, man/Attic/pwconv.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/shadowconfig.8, man/Attic/su.1, man/Attic/suauth.5, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/Attic/vipw.8, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/dpasswd.8, man/Attic/expiry.1, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmems.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/limits.5, man/Attic/login.1, man/Attic/login.access.5, man/Attic/login.defs.5, man/Attic/logoutd.8:
13575         put or move to top cemmented Id cvs keyword,
13576         (passwd.1): documment -e option (patch from Debian),
13577         (userdel.1): remove commented obsoleted options.
13578
13579         * man/Makefile.am:
13580         put all files in man_MANS and EXTRA_DIST in alphabethic order.
13581
13582         * src/chpasswd.c, src/pwunconv.c:
13583         remove from comments program description and history logs.
13584
13585         * src/Makefile.am: move groups to bin_PROGRAMS.
13586
13587 2000-12-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13588
13589         * src/su.c: Based on Debian modyfications:
13590         (main): #endif /* USE_PAM */ #ifdef USE_PAM replaced by #else,
13591         (main): removed some dead code (scoped by #if 0 .. #endif).
13592         (main): call to re-establish SIGINT to right place.
13593
13594         * man/pl/passwd.1: Removed SEE ALSO to shadow(3) and passwd(3).
13595
13596         * man/pl/shadow.5, man/Attic/shadow.5: Removed SEE ALSO to shadow(3).
13597
13598         * man/Attic/passwd.1:
13599         Removed SEE ALSO to passwd(3) and commented shadow(3).
13600
13601 2000-12-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13602
13603         * src/useradd.c (main):
13604         use "useradd" instead "shadow in pam_start() parameters - this
13605         allow use separated pam config file for useradd (for example for allow
13606         specified non-root user for add user).
13607
13608 2000-11-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
13609
13610         * TODO: remove write expiry(1) man page.
13611
13612         * man/Attic/expiry.1, man/Makefile.am:
13613         added expiry(1) man page from Debian.
13614
13615         * man/pl/lastlog.8, man/Attic/lastlog.8:
13616         updated man pages for whole dispaly syntax.
13617
13618         * src/lastlog.c (main): fixed command line syntax description.
13619
13620         * src/lastlog.c (main):
13621         display correctly and full current commnad line lastlog syntax
13622         and also output this string using gettext.
13623
13624         * src/lastlog.c (main):
13625         merge src_lastlogin.c patch from debian with use getopt_long()
13626         instead getopt() for add handling --help, --user, --time switches and
13627         dipslay useage message on -h, --help and as default action.
13628
13629 2000-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13630
13631         * src/groupmems.c, po/el.po, po/fr.po, po/pl.po, po/sv.po, po/POTFILES.in, po/cs.po:
13632         added i18n support for src/groupmems.c.
13633
13634         * src/useradd.c:
13635         * (set_defaults): use mkstemp() if avalaible. Othereise use mktemp().
13636
13637         * configure.in: * added checking for mkstemp().
13638
13639         * src/useradd.c: * (set_defaults): use mkstemp() instead mktemp(),
13640         * (mani): fix compilation error in previouse RH patch (removed using nflg).
13641
13642 2000-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13643
13644         * TODO: - groupmems need some work on add PAM and i18n support.
13645
13646         * src/groupmems.c, man/Attic/groupmems.8:
13647         Added raw version groupmems program for administer members of a user's
13648         primary group. groupmems was written by George Kraft IV <gk4@us.ibm.com>
13649         and this tool have BSD license.
13650
13651         * src/Attic/patchlevel.h, src/Makefile.am:
13652         patchlevel.h, Makefile.am: removed patchlevel.h file,
13653         Makefile.am: removed bindir, sbindir (this comes with autoconf).
13654
13655 2000-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13656
13657         * TODO: - write expire man page.
13658
13659 2000-10-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13660
13661         * old/Attic/pwconv-old.8, old/Attic/pwconv.8, old/Attic/pwunconv-old.8, old/Attic/pwunconv.8, man/pl/Attic/mkpasswd.8, man/pl/Attic/pw_auth.3, man/pl/Attic/pwauth.8, man/pl/login.defs.5, man/pl/logoutd.8, man/pl/newgrp.1, man/pl/newusers.8, man/pl/passwd.1, man/pl/porttime.5, man/pl/pwck.8, man/pl/shadow.3, man/pl/su.1, man/pl/sulogin.8, man/pl/useradd.8, man/pl/userdel.8, man/pl/usermod.8, man/pl/Attic/dpasswd.8, man/pl/chage.1, man/pl/chfn.1, man/pl/chpasswd.8, man/pl/chsh.1, man/pl/faillog.5, man/pl/faillog.8, man/pl/groupadd.8, man/pl/groupdel.8, man/pl/groupmod.8, man/pl/groups.1, man/pl/grpck.8, man/pl/id.1, man/pl/lastlog.8, man/pl/login.1, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/dpasswd.8, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/login.1, man/Attic/login.defs.5, man/Attic/logoutd.8, man/Attic/mkpasswd.8, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/pw_auth.3, man/Attic/pwauth.8, man/Attic/pwck.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, debian/Attic/login.copyright, debian/Attic/passwd.copyright, debian/Attic/secure-su.copyright, doc/Attic/ANNOUNCE, doc/Attic/LSM, doc/Attic/README, doc/Attic/README.linux:
13662         Julianne F. Haugh new contact adress.
13663
13664         * NEWS: - summary chanfes for 20001016.
13665
13666         * doc/Attic/README.shadow-paper, doc/Makefile.am:
13667         - removed outdated README.shadow-paper.
13668
13669         * configure.in: - release 20001016.
13670
13671 2000-10-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13672
13673         * man/pl/Makefile.am, man/Makefile.am: fixes in man/{,po}/Makefile.am:
13674         - $(man_MANS) added to EXTRA_DISTS,
13675         - do not install by default groups.1, id.1, pw_auth.3, shadow.3, pwauth.8,
13676           sulogin.8, dpasswd.8 (moved to EXTRA_DISTS),
13677
13678 2000-10-15  Marek Michałkiewicz  <marekm@pld.org.pl>
13679
13680         * lib/commonio.c (reload_nscd): Disable for now because not every
13681         version of nscd can handle it, unless ENABLE_NSCD_SIGHUP defined.
13682
13683 2000-10-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13684
13685         * libmisc/pwdcheck.c, libmisc/Makefile.am: - added missing pwdcheck.c.
13686
13687         * configure.in: - removed old/Makefile from AC_OUTPUT list.
13688
13689 2000-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13690
13691         * README: - fixed information about RO cvs access.
13692
13693         * NEWS: - summary changes description for shadow-20001012.
13694
13695         * configure.in: - release changed to 20001012.
13696
13697         * etc/Makefile.am: - removed shells and suauth from EXTRA_DIST.
13698
13699         * doc/Makefile.am: - removed README.debian from EXTRA_DIST.
13700
13701         * libmisc/Makefile.am: - removed pwdcheck.c from libmisc_a_SOURCES.
13702
13703         * debian/Attic/Makefile.am: - removed FILES from EXTRA_DIST.
13704
13705         * contrib/Makefile.am: - s/udbachk.v012.tgz/udbachk.tgz/
13706
13707         * doc/Makefile.am: - removed CHANGES (this file was moved to ../NEWS).
13708
13709 2000-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13710
13711         * po/Attic/ChangeLog: - add empty file (gettext requires this).
13712
13713 2000-10-10  Arkadiusz Miśkiewicz  <misiek@pld.org.pl>
13714
13715         * README: typos fixed
13716
13717 2000-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13718
13719         * Makefile.am: - added shadow-utils.spec.in to EXTR_DIST.
13720
13721         * redhat/Attic/shadow-utils.spec.in: - obsoleted.
13722
13723         * Attic/stamp-h.in: - removed (this file is autogenerated by autoconf).
13724
13725         * po/pl.po, po/sv.po, po/cs.po, po/el.po, po/fr.po:
13726         - update before release.
13727
13728         * doc/Attic/LSM: - new maintainer and new primary site.
13729
13730         * Makefile.am: - README added to EXTRA_DIST.
13731
13732         * README: - added README with all shadow sites and resources details.
13733
13734         * Attic/shadow-utils.spec.in: - partialy rewrited.
13735
13736         * configure.in: - change version to 20001010.
13737
13738         * Makefile.am: - added NEWS to EXTRA_DIST.
13739
13740         * Makefile.am, TODO: - added TODO.
13741
13742         * doc/Attic/CHANGES, NEWS: - rename doc/CHANGES -> NEWS.
13743
13744 2000-10-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
13745
13746         * redhat/Attic/Makefile.am, redhat/Attic/README, redhat/Attic/shadow-970616-fix.patch, redhat/Attic/shadow-970616-glibc.patch, redhat/Attic/shadow-970616-rh.patch, redhat/Attic/shadow-970616-utuser.patch, redhat/Attic/shadow-970616.login.defs, redhat/Attic/shadow-970616.useradd, redhat/Attic/shadow-utils-970616.spec, Attic/shadow-utils.spec.in, Makefile.am, configure.in:
13747         - remove redhat/ directory with obsoleted files.
13748
13749         * po/.cvsignore, src/.cvsignore, man/.cvsignore, man/pl/.cvsignore, .cvsignore, libmisc/.cvsignore:
13750         - shut up cvs.
13751
13752         * man/Makefile.am: - removed redundant ${man_MANS} from EXTRA_DIST.
13753
13754         * src/useradd.c:
13755         - fix a security bug (adduser could overwrite previously existing
13756           groups (shadow-19990827-group.patch from RH),
13757
13758         * po/cs.po, po/el.po, po/fr.po, po/pl.po, po/sv.po:
13759         - "make updated-po".
13760
13761         * man/pl/Makefile.am, man/pl/grpconv.8, man/pl/grpunconv.8, man/pl/pwunconv.8, man/Attic/grpconv.8, man/Attic/grpunconv.8, man/Attic/pwunconv.8, man/Makefile.am:
13762         - added man pages for grpconv(8), grpunconv(8), pwunconv(8) (.so link to
13763           pwconv(8))
13764
13765         * man/pl/Attic/adduser.8, man/pl/Makefile.am, man/Attic/adduser.8, man/Makefile.am:
13766         - added man page for adduser(8) (.so link to useradd(8)).
13767
13768         * po/Attic/doit:
13769         - removed (in po/Makefile.in.in exist special update-po target).
13770
13771         * etc/pam.d/passwd, etc/pam.d/su: - cosmetics.
13772
13773         * etc/pam.d/Attic/shadow: - sample PAM config file for shadow utils.
13774
13775         * etc/pam.d/Makefile.am: - added shadow to EXTRA_DIST
13776
13777         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
13778         - bind to shadow PAM file instead userdb (mainly PAMimication all shadow
13779           utils is used for proper updating db files but in real this can be used
13780           for perform many other tasks).
13781
13782         * src/Makefile.am: - added linking with @LIBPAM@ all PAMified tools.
13783
13784         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
13785         - added PAM support (bind to common "userdb" PAM authentication description
13786           file).
13787
13788         * src/chage.c: - added PAM support.
13789
13790 2000-10-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13791
13792         * autogen.sh:
13793         - added autogen.sh script which prepare raw source code from cvs to use.
13794
13795 2000-10-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
13796
13797         * man/pl/useradd.8, man/pl/userdel.8, man/pl/usermod.8, man/pl/vipw.8:
13798         - merged changes from PTM.
13799
13800         * man/pl/Makefile.am:
13801         - simplified: use only man_MANS and remaped $(mandir) variable.
13802
13803 2000-09-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13804
13805         * po/cs.po, configure.in:
13806         - added cs translation (Jiri Pavlovsky <Jiri.Pavlovsky@ff.cuni.cz>).
13807
13808 2000-09-05  Marek Michałkiewicz  <marekm@pld.org.pl>
13809
13810         * man/pl/sulogin.8, man/pl/vipw.8, po/el.po, po/fr.po, po/pl.po, po/sv.po, man/pl/Attic/d_passwd.5, man/pl/Attic/dialups.5, man/pl/Attic/dpasswd.8, man/pl/Attic/mkpasswd.8, man/pl/Attic/pw_auth.3, man/pl/Attic/pwauth.8, man/pl/Attic/shadowconfig.8, man/pl/chage.1, man/pl/chfn.1, man/pl/chpasswd.8, man/pl/chsh.1, man/pl/faillog.5, man/pl/faillog.8, man/pl/gpasswd.1, man/pl/groups.1, man/pl/grpck.8, man/pl/id.1, man/pl/lastlog.8, man/pl/limits.5, man/pl/login.1, man/pl/login.access.5, man/pl/login.defs.5, man/pl/logoutd.8, man/pl/newgrp.1, man/pl/newusers.8, man/pl/passwd.1, man/pl/passwd.5, man/pl/porttime.5, man/pl/pwck.8, man/pl/pwconv.8, man/pl/shadow.3, man/pl/shadow.5, man/pl/su.1, man/pl/suauth.5:
13811         *** empty log message ***
13812
13813 2000-09-02  Marek Michałkiewicz  <marekm@pld.org.pl>
13814
13815         * src/groupmod.c, src/grpck.c, src/login.c, src/logoutd.c, src/newgrp.c, src/passwd.c, src/pwck.c, src/su.c, src/sulogin.c, src/useradd.c, src/userdel.c, src/usermod.c, lib/commonio.h, lib/defines.h, lib/groupio.c, lib/pwio.c, lib/sgroupio.c, lib/shadowio.c, man/Attic/usermod.8, po/el.po, po/fr.po, po/pl.po, po/sv.po, redhat/Attic/shadow-utils.spec.in, src/Attic/dpasswd.c, src/chage.c, src/chfn.c, src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, configure.in, debian/Attic/rules, doc/Attic/CHANGES, doc/Attic/LSM, lib/commonio.c:
13816         *** empty log message ***
13817
13818 2000-08-26  Marek Michałkiewicz  <marekm@pld.org.pl>
13819
13820         * contrib/Makefile.am, contrib/groupmems.shar, doc/Attic/LSM, po/el.po, po/fr.po, po/pl.po, po/sv.po, doc/Attic/README.mirrors, src/vipw.c, src/Attic/dpasswd.c, src/Attic/mkpasswd.c, src/Makefile.am, src/chage.c, src/chfn.c, src/chpasswd.c, src/chsh.c, src/expiry.c, src/faillog.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/groups.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, src/id.c, src/lastlog.c, src/login.c, src/logoutd.c, src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c, src/su.c, src/sulogin.c, src/useradd.c, src/userdel.c, src/usermod.c, lib/Attic/dialchk.h, lib/Attic/dialup.h, lib/Attic/rad64.c, lib/Attic/tcfsio.h, lib/Makefile.am, lib/commonio.c, lib/commonio.h, lib/defines.h, lib/encrypt.c, lib/getdef.c, lib/getdef.h, lib/groupio.c, lib/groupio.h, lib/prototypes.h, lib/pwauth.c, lib/pwio.c, lib/pwio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.h, libmisc/Attic/suauth.c, libmisc/chkname.h, libmisc/chowndir.c, libmisc/copydir.c, libmisc/entry.c, libmisc/failure.h, libmisc/getdate.h, libmisc/hushed.c, libmisc/loginprompt.c, libmisc/setupenv.c, libmisc/sulog.c, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/dpasswd.8, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/login.1, man/Attic/login.defs.5, man/Attic/logoutd.8, man/Attic/mkpasswd.8, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/pw_auth.3, man/Attic/pwauth.8, man/Attic/pwck.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/Makefile.am, man/pl/Makefile.am, man/pl/groupadd.8, man/pl/groupdel.8, man/pl/groupmod.8, man/pl/useradd.8, man/pl/userdel.8, man/pl/usermod.8, etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, doc/Attic/ANNOUNCE, doc/Attic/CHANGES, doc/Attic/README, doc/Attic/README.linux, doc/Attic/README.pam, doc/WISHLIST, debian/Attic/login.copyright, debian/Attic/passwd.copyright, debian/Attic/secure-su.copyright, Attic/mkinstalldirs, configure.in, Makefile.am:
13821         *** empty log message ***
13822
13823 1999-08-27  Marek Michałkiewicz  <marekm@pld.org.pl>
13824
13825         * doc/Attic/LSM, po/el.po, po/fr.po, po/pl.po, po/sv.po, debian/Attic/passwd.postinst, lib/Attic/dialchk.c, lib/Attic/getpass.c, lib/getdef.c, lib/pwauth.c, libmisc/limits.c, libmisc/rlogin.c, man/Attic/limits.5, man/Attic/newgrp.1, src/Attic/dpasswd.c, src/chage.c, src/gpasswd.c, src/login.c, src/logoutd.c, src/newgrp.c, src/passwd.c, src/sulogin.c, Attic/acconfig.h, configure.in, debian/Attic/Makefile.am, debian/Attic/changelog, debian/Attic/control.gnu, debian/Attic/control.linux, debian/Attic/login.postrm, debian/Attic/logoutd, debian/Attic/logoutd.init, debian/Attic/passwd.conffiles, debian/Attic/passwd.cron, debian/Attic/passwd.init, debian/Attic/passwd.postrm, debian/Attic/rules, doc/Attic/CHANGES, doc/Attic/README.mirrors, doc/WISHLIST, etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, etc/Makefile.am, lib/defines.h:
13826         *** empty log message ***
13827
13828 1999-07-09  Marek Michałkiewicz  <marekm@pld.org.pl>
13829
13830         * configure.in, contrib/Makefile.am, debian/Attic/changelog, doc/Attic/CHANGES, doc/Attic/LSM, doc/WISHLIST, lib/Attic/strcasecmp.c, lib/prototypes.h, libmisc/Makefile.am, man/Attic/faillog.8, po/el.po, po/pl.po, src/Makefile.am, src/chfn.c, src/chsh.c, src/faillog.c, src/groupmod.c, src/grpconv.c, src/grpunconv.c, src/newgrp.c, src/passwd.c, src/vipw.c:
13831         *** empty log message ***
13832
13833 1999-06-07  Marek Michałkiewicz  <marekm@pld.org.pl>
13834
13835         * redhat/Attic/shadow-utils.spec.in, src/Attic/dpasswd.c, src/Attic/mkpasswd.c, src/Makefile.am, src/chage.c, src/chfn.c, src/chpasswd.c, src/chsh.c, src/expiry.c, src/faillog.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/groups.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, src/id.c, src/lastlog.c, src/login.c, src/logoutd.c, src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c, src/su.c, src/sulogin.c, src/useradd.c, src/userdel.c, src/usermod.c, contrib/Makefile.am, contrib/README, contrib/udbachk.tgz, debian/Attic/changelog, debian/Attic/rules, doc/Attic/CHANGES, doc/Attic/LSM, doc/Attic/README.linux, doc/Attic/README.mirrors, doc/README.platforms, doc/WISHLIST, lib/Attic/getpass.c, lib/Attic/rcsid.h, lib/Makefile.am, lib/fputsx.c, lib/pam_defs.h, lib/prototypes.h, libmisc/Attic/login_desrpc.c, libmisc/pam_pass.c, libmisc/utmp.c, man/Attic/login.1, po/el.po, po/pl.po, Attic/acconfig.h, configure.in:
13836         *** empty log message ***
13837
13838 1999-03-07  Marek Michałkiewicz  <marekm@pld.org.pl>
13839
13840         * po/pl.po, po/el.po, doc/Attic/LSM, src/useradd.c, src/su.c, src/pwconv.c, src/pwck.c, src/passwd.c, src/newusers.c, src/newgrp.c, src/logoutd.c, src/login.c, src/grpconv.c, src/grpck.c, src/groupadd.c, src/gpasswd.c, src/Attic/dpasswd.c, src/chfn.c, src/chage.c, man/Attic/usermod.8, man/Attic/useradd.8, man/Attic/limits.5, man/Attic/chage.1, libmisc/valid.c, libmisc/sub.c, libmisc/strtoday.c, libmisc/setupenv.c, libmisc/obscure.c, libmisc/limits.c, libmisc/env.c, lib/Attic/snprintf.h, lib/getdef.c, lib/encrypt.c, lib/defines.h, etc/Attic/login.defs.linux, doc/WISHLIST, doc/Attic/README.nls, doc/Attic/README.pam, doc/README.platforms, doc/Attic/README.mirrors, doc/Attic/README.linux, doc/Makefile.am, doc/Attic/CHANGES, debian/Attic/tar.c, debian/Attic/rules, debian/Attic/logoutd, debian/Attic/control, debian/Attic/changelog, configure.in:
13841         *** empty log message ***
13842
13843 1998-12-28  Marek Michałkiewicz  <marekm@pld.org.pl>
13844
13845         * src/usermod.c, src/userdel.c, src/useradd.c, src/sulogin.c, src/su.c, src/pwunconv.c, src/pwconv.c, src/pwck.c, src/passwd.c, src/newusers.c, src/newgrp.c, src/Attic/mkpasswd.c, src/logoutd.c, src/login.c, src/lastlog.c, src/id.c, src/grpunconv.c, src/grpconv.c, src/grpck.c, src/groups.c, src/groupmod.c, src/groupdel.c, src/groupadd.c, src/gpasswd.c, src/faillog.c, src/expiry.c, src/Attic/dpasswd.c, src/chsh.c, src/chpasswd.c, src/chfn.c, src/chage.c, po/Attic/doit, po/POTFILES.in, po/el.po, src/Makefile.am, man/Attic/usermod.8, man/Attic/userdel.8, man/Attic/useradd.8, man/Attic/sulogin.8, man/Attic/su.1, man/Attic/shadow.5, man/Attic/shadow.3, man/Attic/pwck.8, man/Attic/pwauth.8, man/Attic/pw_auth.3, man/Attic/porttime.5, man/Attic/passwd.5, man/Attic/passwd.1, man/Attic/newusers.8, man/Attic/newgrp.1, man/Attic/mkpasswd.8, man/Attic/logoutd.8, man/Attic/login.defs.5, man/Attic/login.1, man/Attic/lastlog.8, man/Attic/id.1, man/Attic/grpck.8, man/Attic/groups.1, man/Attic/groupmod.8, man/Attic/groupdel.8, man/Attic/groupadd.8, man/Attic/faillog.8, man/Attic/faillog.5, man/Attic/dpasswd.8, man/Attic/chsh.1, man/Attic/chpasswd.8, man/Attic/chfn.1, man/Attic/chage.1, libmisc/xmalloc.c, libmisc/sub.c, libmisc/Attic/suauth.c, libmisc/shell.c, libmisc/setupenv.c, libmisc/pam_pass.c, libmisc/obscure.c, libmisc/mail.c, libmisc/Attic/login_desrpc.c, libmisc/limits.c, libmisc/failure.c, libmisc/env.c, libmisc/console.c, libmisc/chowntty.c, libmisc/age.c, libmisc/addgrps.c, libmisc/Makefile.am, lib/Attic/strerror.c, lib/pwauth.c, lib/prototypes.h, lib/Attic/getpass.c, lib/getdef.c, lib/Attic/dialchk.c, lib/defines.h, lib/Makefile.am, doc/WISHLIST, doc/README.platforms, doc/Attic/README.mirrors, doc/Attic/README.linux, doc/Attic/README, doc/Attic/LSM, doc/Attic/CHANGES, debian/Attic/secure-su.copyright, debian/Attic/passwd.copyright, debian/Attic/login.copyright, debian/Attic/control, debian/Attic/changelog, configure.in, Attic/acconfig.h, Makefile.am:
13846         *** empty log message ***
13847
13848 1998-07-24  Marek Michałkiewicz  <marekm@pld.org.pl>
13849
13850         * src/passwd.c, src/su.c, src/userdel.c, src/Makefile.am, src/chage.c, src/faillog.c, src/login.c, lib/Attic/tcfsio.c, lib/Attic/tcfsio.h, lib/pwauth.c, libmisc/chowntty.c, libmisc/pam_pass.c, libmisc/setugid.c, etc/pam.d/passwd, etc/pam.d/su, lib/Makefile.am, lib/commonio.c, lib/defines.h, lib/prototypes.h, doc/Attic/README.linux, doc/Attic/README.mirrors, doc/Makefile.am, doc/README.platforms, doc/WISHLIST, etc/Makefile.am, etc/pam.d/Makefile.am, doc/Attic/CHANGES, debian/Attic/changelog, configure.in, Attic/acconfig.h:
13851         *** empty log message ***
13852
13853 1998-06-26  Marek Michałkiewicz  <marekm@pld.org.pl>
13854
13855         * src/passwd.c, src/usermod.c, man/Attic/faillog.8, man/Attic/pwconv.8, src/logoutd.c, lib/Attic/getpass.c, libmisc/copydir.c, doc/Attic/README.linux, doc/Attic/README.mirrors, doc/WISHLIST, lib/commonio.c, debian/Attic/changelog, doc/Attic/CHANGES, configure.in:
13856         *** empty log message ***
13857
13858 1998-05-29  Marek Michałkiewicz  <marekm@pld.org.pl>
13859
13860         * man/Attic/lastlog.8, man/Attic/login.1, src/usermod.c, doc/Attic/CHANGES, doc/Attic/README.linux, etc/Attic/login.defs.linux, lib/defines.h, debian/Attic/changelog, debian/Attic/login.copyright, debian/Attic/login.postinst, debian/Attic/passwd.copyright, debian/Attic/rules, debian/Attic/secure-su.copyright, configure.in, contrib/Makefile.am, contrib/shadow-anonftp.patch:
13861         *** empty log message ***
13862
13863 1998-04-16  Marek Michałkiewicz  <marekm@pld.org.pl>
13864
13865         * src/useradd.c, src/userdel.c, src/usermod.c, src/passwd.c, src/sulogin.c, src/groupdel.c, src/login.c, src/logoutd.c, src/newgrp.c, src/Attic/dpasswd.c, src/chage.c, src/faillog.c, src/gpasswd.c, src/groupadd.c, redhat/Attic/shadow-970616-rh.patch, redhat/Attic/shadow-970616-utuser.patch, redhat/Attic/shadow-970616.login.defs, redhat/Attic/shadow-970616.useradd, redhat/Attic/shadow-utils-970616.spec, src/Makefile.am, libmisc/utmp.c, redhat/Attic/Makefile.am, redhat/Attic/README, redhat/Attic/shadow-970616-fix.patch, redhat/Attic/shadow-970616-glibc.patch, libmisc/Attic/login_desrpc.c, libmisc/limits.c, libmisc/log.c, libmisc/loginprompt.c, libmisc/obscure.c, libmisc/strtoday.c, libmisc/chkname.c, libmisc/chowndir.c, libmisc/copydir.c, libmisc/failure.c, lib/Attic/dialchk.c, lib/Attic/pwpack.c, lib/defines.h, lib/pwauth.c, doc/Attic/CHANGES, doc/Attic/README.linux, doc/WISHLIST, doc/cracklib26.diff, lib/commonio.c, Attic/acconfig.h, configure.in, debian/Attic/tar.c:
13866         *** empty log message ***
13867
13868 1998-04-02  Marek Michałkiewicz  <marekm@pld.org.pl>
13869
13870         * src/groupmod.c, libmisc/sulog.c, lib/sgetspent.c, lib/sgetpwent.c, lib/sgetgrent.c, lib/Attic/putgrent.c, lib/gshadow.c, lib/getdef.c, lib/fputsx.c, lib/commonio.c, doc/Attic/README.linux, doc/Attic/README.mirrors, doc/Attic/CHANGES, configure.in:
13871         *** empty log message ***
13872
13873 1998-01-30  Marek Michałkiewicz  <marekm@pld.org.pl>
13874
13875         * Attic/install-sh, src/userdel.c, src/usermod.c, src/pwconv.c, src/pwunconv.c, src/su.c, src/useradd.c, src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c, src/groupmod.c, src/login.c, src/logoutd.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/chfn.c, src/chpasswd.c, src/chsh.c, src/expiry.c, redhat/Attic/README, redhat/Attic/shadow-utils.spec.in, src/Makefile.am, src/chage.c, man/Attic/login.defs.5, man/Attic/useradd.8, man/Attic/usermod.8, redhat/Attic/Makefile.am, libmisc/pam_pass.c, libmisc/strtoday.c, libmisc/tz.c, libmisc/Attic/login_access.c, libmisc/Attic/login_desrpc.c, libmisc/Attic/login_krb.c, libmisc/obscure.c, libmisc/age.c, libmisc/env.c, libmisc/limits.c, lib/Attic/strstr.c, lib/shadow.c, lib/shadowio.c, lib/shadowio.h, lib/utent.c, lib/Attic/rmdir.c, lib/pwio.c, lib/pwio.h, lib/sgetspent.c, lib/sgroupio.c, lib/Attic/mkdir.c, lib/Attic/putgrent.c, lib/prototypes.h, lib/pwauth.c, lib/Attic/md5crypt.c, lib/Attic/getpass.c, lib/groupio.c, lib/gshadow.c, lib/lockpw.c, lib/commonio.h, lib/defines.h, lib/encrypt.c, lib/getdef.c, lib/getdef.h, doc/Attic/README.mirrors, doc/Attic/automake-1.0.diff, doc/WISHLIST, lib/Makefile.am, lib/commonio.c, doc/Attic/ANNOUNCE, doc/Attic/CHANGES, doc/Attic/README.linux, doc/Makefile.am, doc/README.limits, debian/Attic/Makefile.am, debian/Attic/changelog, debian/Attic/login.copyright, debian/Attic/rules, Attic/mkinstalldirs, Attic/shadow-utils.spec, contrib/README, Attic/acconfig.h, Attic/aclocal.m4, configure.in, Makefile.am:
13876         *** empty log message ***
13877
13878 1998-01-25  Marek Michałkiewicz  <marekm@pld.org.pl>
13879
13880         * Attic/acconfig.h: *** empty log message ***
13881
13882 1997-12-14  Marek Michałkiewicz  <marekm@pld.org.pl>
13883
13884         * doc/Attic/CHANGES, debian/Attic/checksums, debian/Attic/rules, debian/Attic/Makefile.am, src/Makefile.am, src/userdel.c, src/usermod.c, src/pwck.c, src/useradd.c, src/Attic/mkpasswd.c, src/gpasswd.c, src/grpck.c, src/login.c, src/chage.c, src/chfn.c, src/chsh.c, man/Attic/shadowconfig.8, man/Attic/vipw.8, old/Attic/Makefile.am, old/Attic/pwunconv.8, man/Attic/login.defs.5, man/Attic/pwconv.8, man/Attic/pwunconv.8, man/Makefile.am, libmisc/limits.c, libmisc/rlogin.c, lib/Attic/pwdbm.c, lib/Attic/pwent.c, lib/prototypes.h, lib/shadow.c, doc/Attic/LSM, doc/WISHLIST, etc/limits, lib/Attic/grent.c, Attic/shadow-utils.spec, debian/Attic/changelog, configure.in:
13885         *** empty log message ***
13886
13887 1997-12-08  Marek Michałkiewicz  <marekm@pld.org.pl>
13888
13889         * src/userdel.c, src/usermod.c, src/Attic/shadowconfig.sh, src/su.c, src/sulogin.c, src/useradd.c, src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c, src/newgrp.c, src/newusers.c, src/Attic/mkpasswd.c, src/logoutd.c, src/grpconv.c, src/grpunconv.c, src/id.c, src/lastlog.c, src/login.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/groups.c, src/grpck.c, src/Attic/dpasswd.c, src/chsh.c, src/expiry.c, src/faillog.c, src/gpasswd.c, src/Makefile.am, src/chage.c, src/chfn.c, src/chpasswd.c, old/Attic/Makefile.am, old/Attic/pwconv.8, old/Attic/vipw.8, man/Attic/limits.5, man/Attic/pwconv.8, man/Attic/shadowconfig.8, man/Attic/vipw.8, man/Makefile.am, libmisc/tz.c, libmisc/ulimit.c, libmisc/utmp.c, libmisc/valid.c, libmisc/xmalloc.c, libmisc/Attic/suauth.c, libmisc/strtoday.c, libmisc/sub.c, libmisc/sulog.c, libmisc/ttytype.c, libmisc/Attic/setup.c, libmisc/salt.c, libmisc/setugid.c, libmisc/setupenv.c, libmisc/shell.c, libmisc/rlogin.c, libmisc/motd.c, libmisc/myname.c, libmisc/obscure.c, libmisc/pam_pass.c, libmisc/pwd2spwd.c, libmisc/pwd_init.c, libmisc/Attic/login_access.c, libmisc/Attic/login_desrpc.c, libmisc/Attic/login_krb.c, libmisc/loginprompt.c, libmisc/mail.c, libmisc/hushed.c, libmisc/isexpired.c, libmisc/limits.c, libmisc/list.c, libmisc/log.c, libmisc/Attic/getdate.c, libmisc/failure.h, libmisc/fields.c, libmisc/getdate.h, libmisc/getdate.y, libmisc/entry.c, libmisc/env.c, libmisc/failure.c, libmisc/chowndir.c, libmisc/chowntty.c, libmisc/console.c, libmisc/copydir.c, libmisc/Attic/chkshell.c, libmisc/age.c, libmisc/basename.c, libmisc/chkname.c, libmisc/chkname.h, lib/Attic/strdup.c, lib/Attic/strerror.c, lib/Attic/strstr.c, lib/utent.c, libmisc/Makefile.am, libmisc/addgrps.c, lib/Attic/spdbm.c, lib/Attic/sppack.c, lib/sgroupio.c, lib/shadow.c, lib/shadowio.c, lib/Attic/rename.c, lib/Attic/rmdir.c, lib/sgetgrent.c, lib/sgetpwent.c, lib/sgetspent.c, lib/Attic/rad64.c, lib/Attic/pwdbm.c, lib/Attic/pwent.c, lib/Attic/pwpack.c, lib/pwauth.c, lib/pwio.c, lib/Attic/mkdir.c, lib/Attic/putgrent.c, lib/Attic/putpwent.c, lib/Attic/putspent.c, lib/port.c, lib/prototypes.h, lib/Attic/gsdbm.c, lib/Attic/gspack.c, lib/Attic/md5.c, lib/Attic/md5crypt.c, lib/gshadow.c, lib/lockpw.c, lib/Attic/grdbm.c, lib/Attic/grent.c, lib/Attic/grpack.c, lib/groupio.c, lib/Attic/getpass.c, lib/Attic/dialup.c, lib/encrypt.c, lib/fputsx.c, lib/getdef.c, lib/Attic/dialchk.c, lib/Attic/dialchk.h, lib/commonio.c, lib/commonio.h, lib/defines.h, doc/Attic/automake-1.0.diff, etc/Attic/login.defs.linux, etc/limits, lib/Makefile.am, doc/Attic/CHANGES, doc/Attic/README.linux, doc/Attic/README.mirrors, doc/WISHLIST, debian/Attic/login.conffiles, debian/Attic/login.postinst, debian/Attic/passwd.postinst, debian/Attic/porttime, debian/Attic/rules, debian/Attic/secure-su.README, debian/Attic/securetty, contrib/pwdauth.c, debian/Attic/changelog, debian/Attic/control, Attic/acconfig.h, Attic/aclocal.m4, Attic/shadow-utils.spec, configure.in, Makefile.am:
13890         *** empty log message ***
13891
13892 1997-10-01  Marek Michałkiewicz  <marekm@pld.org.pl>
13893
13894         * debian/Attic/changelog, src/chpasswd.c, libmisc/Attic/login_access.c, lib/commonio.h, lib/sgroupio.c, lib/shadowio.c, etc/Attic/login.defs.linux, doc/Attic/CHANGES, doc/Attic/LSM, doc/Attic/README.mirrors, doc/WISHLIST, Attic/shadow-utils.spec:
13895         *** empty log message ***
13896
13897 1997-09-30  Marek Michałkiewicz  <marekm@pld.org.pl>
13898
13899         * src/useradd.c, src/userdel.c, src/usermod.c, src/pwconv.c, src/pwunconv.c, src/su.c, src/newusers.c, src/passwd.c, src/pwck.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, src/login.c, src/groupmod.c, src/Attic/dpasswd.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/chage.c, src/chfn.c, src/chpasswd.c, src/chsh.c, src/Makefile.am, old/Attic/install-sh, old/Attic/pwconv-old.8, old/Attic/pwunconv-old.8, old/Attic/Makefile.am, man/Attic/pwconv.8, man/Attic/pwunconv.8, libmisc/setugid.c, libmisc/shell.c, libmisc/utmp.c, libmisc/mail.c, libmisc/obscure.c, libmisc/pam_pass.c, libmisc/salt.c, libmisc/Attic/login_access.c, libmisc/isexpired.c, libmisc/env.c, libmisc/fields.c, libmisc/addgrps.c, libmisc/chowndir.c, libmisc/chowntty.c, libmisc/console.c, libmisc/copydir.c, lib/Attic/strerror.c, lib/Attic/snprintf.c, lib/Attic/snprintf.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h, lib/Attic/putgrent.c, lib/Attic/pwent.c, lib/pwauth.c, lib/Attic/getpass.c, lib/Attic/grent.c, lib/prototypes.h, lib/commonio.c, lib/commonio.h, lib/defines.h, lib/encrypt.c, lib/getdef.c, lib/Makefile.am, etc/Attic/login.defs.linux, doc/Attic/README.linux, doc/Attic/README.mirrors, doc/WISHLIST, doc/Attic/CHANGES, doc/Attic/LSM, doc/Makefile.am, debian/Attic/rules, debian/Attic/changelog, contrib/adduser.c, configure.in, Attic/acconfig.h:
13900         *** empty log message ***
13901
13902 1997-09-29  Marek Michałkiewicz  <marekm@pld.org.pl>
13903
13904         * man/Attic/chpasswd.8, man/Attic/pwconv.8, man/Attic/pwunconv.8, man/Attic/su.1, man/Makefile.am:
13905         *** empty log message ***
13906
13907 1997-06-16  Marek Michałkiewicz  <marekm@pld.org.pl>
13908
13909         * doc/Attic/console.c.spec, doc/Makefile.am, doc/WISHLIST, doc/console.c.spec.txt, doc/Attic/CHANGES, debian/Attic/changelog, src/Attic/shadowconfig.sh, redhat/Attic/Makefile.am, redhat/Attic/README, redhat/Attic/shadow-970502-config.patch, redhat/Attic/shadow-utils.spec, doc/Attic/README.mirrors, doc/Attic/README.shadow-paper, doc/Attic/README.linux, debian/Attic/login.copyright, debian/Attic/passwd.copyright, debian/Attic/secure-su.copyright, Attic/shadow-utils.spec, Makefile.am, configure.in:
13910         *** empty log message ***
13911
13912 1997-06-01  Marek Michałkiewicz  <marekm@pld.org.pl>
13913
13914         * debian/Attic/changelog, src/userdel.c, src/usermod.c, src/pwck.c, src/pwunconv.c, src/useradd.c, src/grpunconv.c, src/newusers.c, src/passwd.c, src/expiry.c, src/grpconv.c, src/chage.c, src/chfn.c, src/chpasswd.c, src/chsh.c, src/Makefile.am, redhat/Attic/Makefile.am, redhat/Attic/README, redhat/Attic/shadow-970502-config.patch, redhat/Attic/shadow-utils.spec, libmisc/mail.c, libmisc/Attic/login_desrpc.c, lib/pwio.h, lib/shadowio.c, lib/shadowio.h, lib/prototypes.h, lib/pwauth.c, lib/pwio.c, lib/commonio.c, lib/defines.h, doc/Attic/README.linux, doc/WISHLIST, doc/Attic/CHANGES, doc/Attic/INSTALL, Attic/install-sh, Attic/mkinstalldirs, Attic/acconfig.h, Makefile.am, configure.in:
13915         *** empty log message ***
13916
13917 1997-05-02  Marek Michałkiewicz  <marekm@pld.org.pl>
13918
13919         * src/Attic/shadowconfig.sh, src/Makefile.am, man/Makefile.am, libmisc/mail.c, libmisc/salt.c, lib/sgroupio.c, lib/shadowio.c, lib/groupio.c, lib/pwio.c, etc/Makefile.am, doc/WISHLIST, doc/Attic/CHANGES, debian/Attic/shadowconfig, debian/Attic/Makefile.am, debian/Attic/changelog, debian/Attic/control, debian/Attic/rules, configure.in, Attic/configure, shlib/Attic/Makefile.in, man/Attic/Makefile.in, libmisc/Attic/Makefile.in, lib/Attic/Makefile.in, etc/Attic/Makefile.in, doc/Attic/Makefile.in, contrib/Attic/Makefile.in, Attic/Makefile.in, man/Attic/userdel.8, man/Attic/usermod.8, man/Attic/shadow.5, man/Attic/su.1, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/pw_auth.3, man/Attic/pwauth.8, man/Attic/pwck.8, man/Attic/pwconv.8, man/Attic/pwunconv.8, man/Attic/shadow.3, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/login.defs.5, man/Attic/logoutd.8, man/Attic/mkpasswd.8, man/Attic/newgrp.1, man/Attic/limits.5, man/Attic/login.1, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmod.8, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/dpasswd.8, libmisc/valid.c, libmisc/sulog.c, libmisc/ttytype.c, libmisc/tz.c, libmisc/utmp.c, libmisc/Attic/setup.c, libmisc/setupenv.c, libmisc/shell.c, libmisc/strtoday.c, libmisc/sub.c, libmisc/setugid.c, libmisc/obscure.c, libmisc/pwd2spwd.c, libmisc/rlogin.c, libmisc/Attic/login_access.c, libmisc/loginprompt.c, libmisc/motd.c, libmisc/hushed.c, libmisc/isexpired.c, libmisc/limits.c, libmisc/list.c, libmisc/log.c, libmisc/copydir.c, libmisc/entry.c, libmisc/env.c, libmisc/failure.c, libmisc/fields.c, libmisc/age.c, libmisc/chowndir.c, libmisc/chowntty.c, libmisc/console.c, lib/utent.c, lib/Attic/shadow_.h, lib/Attic/spdbm.c, lib/Attic/sppack.c, lib/Attic/strstr.c, lib/shadow.c, lib/sgetpwent.c, lib/sgetspent.c, lib/Attic/pwpack.c, lib/Attic/rad64.c, lib/Attic/rename.c, lib/Attic/rmdir.c, lib/sgetgrent.c, lib/Attic/pwdbm.c, lib/Attic/pwent.c, lib/pwauth.h, lib/Attic/putgrent.c, lib/Attic/putpwent.c, lib/Attic/putspent.c, lib/port.h, lib/pwauth.c, lib/Attic/lastlog_.h, lib/Attic/mkdir.c, lib/lockpw.c, lib/port.c, lib/Attic/grpack.c, lib/Attic/gsdbm.c, lib/Attic/gspack.c, lib/gshadow.c, lib/gshadow_.h, lib/Attic/getpass.c, lib/Attic/grdbm.c, lib/Attic/grent.c, lib/getdef.c, lib/Attic/dialup.h, lib/encrypt.c, lib/faillog.h, lib/fputsx.c, lib/Attic/dialchk.c, lib/Attic/dialup.c, lib/commonio.c, lib/defines.h, etc/Attic/login.defs.linux, etc/login.defs, doc/Attic/README.linux, doc/Attic/LICENSE, doc/Attic/README, doc/Makefile.am, doc/HOWTO, doc/Attic/ANNOUNCE, debian/Attic/secure-su.README, debian/Attic/secure-su.conffiles, debian/Attic/secure-su.copyright, debian/Attic/secure-su.postrm, debian/Attic/secure-su.preinst, debian/Attic/securetty, debian/Attic/passwd.conffiles, debian/Attic/passwd.copyright, debian/Attic/passwd.postinst, debian/Attic/porttime, debian/Attic/login.conffiles, debian/Attic/login.copyright, debian/Attic/login.postinst, debian/Attic/login.postrm, debian/Attic/login.preinst, debian/Attic/login.prerm, debian/Attic/logoutd, Attic/acconfig.h, Attic/config.h.in, Makefile.am, old/Attic/Makefile.in, old/Attic/scologin.c, old/Attic/orig-config.h, old/Attic/pwconv-old.c, old/Attic/pwd.h.m4, old/Attic/pwunconv-old.c, old/Attic/config.h.sun4, old/Attic/config.h.svr4, old/Attic/config.h.xenix, old/Attic/config.h.linux, old/Attic/Makefile.sun4, old/Attic/Makefile.svr4, old/Attic/Makefile.xenix, old/Attic/Makefile.am, old/Attic/Makefile.linux, src/Attic/Makefile.in, src/pwconv.c, src/userdel.c, src/usermod.c, src/useradd.c, src/su.c, src/sulogin.c, src/Attic/pwconv5.c, src/Attic/scologin.c, src/pwck.c, src/pwunconv.c, src/Attic/patchlevel.h, src/newusers.c, src/passwd.c, src/Attic/mkpasswd.c, src/logoutd.c, src/newgrp.c, src/grpunconv.c, src/id.c, src/lastlog.c, src/login.c, src/grpck.c, src/grpconv.c, src/groupdel.c, src/groupmod.c, src/groups.c, src/faillog.c, src/gpasswd.c, src/groupadd.c, src/Attic/dpasswd.c, src/chsh.c, src/expiry.c, src/chfn.c, src/chpasswd.c, src/chage.c:
13920         *** empty log message ***
13921
13922 1997-02-11  Marek Michałkiewicz  <marekm@pld.org.pl>
13923
13924         * src/groupadd.c, src/useradd.c, libmisc/setupenv.c, lib/sgroupio.c, lib/shadowio.c, lib/groupio.c, lib/pwio.c, lib/Makefile.am, lib/commonio.c, doc/Attic/CHANGES, doc/HOWTO, README, configure.in:
13925         *** empty log message ***
13926
13927 1997-01-08  Marek Michałkiewicz  <marekm@pld.org.pl>
13928
13929         * src/groupadd.c, lib/commonio.c, README, src/useradd.c, src/userdel.c, src/usermod.c, src/Attic/pwconv5.c, src/pwconv.c, src/su.c, src/passwd.c, src/pwck.c, src/grpunconv.c, src/login.c, src/logoutd.c, src/newgrp.c, src/grpck.c, src/grpconv.c, src/faillog.c, src/gpasswd.c, src/groupmod.c, src/chage.c, src/chfn.c, src/chsh.c, src/expiry.c, libmisc/ttytype.c, libmisc/utmp.c, libmisc/Attic/suauth.c, libmisc/strtoday.c, libmisc/shell.c, libmisc/failure.c, libmisc/log.c, libmisc/loginprompt.c, libmisc/myname.c, lib/shadowio.h, libmisc/Makefile.am, libmisc/chkname.c, lib/sgetpwent.c, lib/sgroupio.c, lib/sgroupio.h, lib/shadow.c, lib/shadowio.c, lib/Attic/pwent.c, lib/pwio.c, lib/pwio.h, lib/Attic/putgrent.c, lib/groupio.c, lib/groupio.h, lib/gshadow.c, lib/prototypes.h, lib/defines.h, lib/faillog.h, lib/getdef.c, doc/Attic/README.linux, doc/WISHLIST, etc/Attic/login.defs.linux, lib/Makefile.am, doc/Attic/CHANGES, doc/HOWTO, Attic/acconfig.h, configure.in:
13930         *** empty log message ***
13931
13932 1996-10-27  Marek Michałkiewicz  <marekm@pld.org.pl>
13933
13934         * src/usermod.c, src/grpck.c, src/useradd.c, src/userdel.c, src/chsh.c, src/gpasswd.c, libmisc/isexpired.c, libmisc/limits.c, lib/sgroupio.c, lib/shadowio.c, lib/commonio.c, lib/groupio.c, lib/pwio.c, doc/Attic/CHANGES, doc/Attic/README.linux, doc/WISHLIST, Attic/configure, configure.in:
13935         *** empty log message ***
13936
13937 1996-09-25  Marek Michałkiewicz  <marekm@pld.org.pl>
13938
13939         * src/usermod.c, src/sulogin.c, src/useradd.c, src/userdel.c, src/su.c, src/Attic/pwconv5.c, src/newgrp.c, src/passwd.c, src/pwck.c, src/grpck.c, src/login.c, src/logoutd.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/chfn.c, src/chsh.c, src/chage.c, libmisc/strtoday.c, libmisc/env.c, libmisc/fields.c, libmisc/isexpired.c, libmisc/setupenv.c, lib/Attic/rad64.c, lib/getdef.c, lib/prototypes.h, lib/defines.h, etc/Attic/login.defs.linux, doc/Attic/README.linux, doc/WISHLIST, doc/Attic/CHANGES, Attic/configure, configure.in, Attic/config.h.in:
13940         *** empty log message ***
13941
13942 1996-09-20  Marek Michałkiewicz  <marekm@pld.org.pl>
13943
13944         * src/usermod.c, src/su.c, src/sulogin.c, src/useradd.c, src/userdel.c, src/newusers.c, src/passwd.c, src/pwck.c, src/grpck.c, src/login.c, src/logoutd.c, src/newgrp.c, src/groupdel.c, src/groupmod.c, src/Attic/dpasswd.c, src/chsh.c, src/gpasswd.c, src/groupadd.c, src/Attic/Makefile.in, src/chage.c, src/chfn.c, src/Makefile.am, libmisc/Attic/suauth.c, libmisc/shell.c, libmisc/sub.c, libmisc/ttytype.c, libmisc/env.c, libmisc/setugid.c, libmisc/setupenv.c, libmisc/chowntty.c, lib/prototypes.h, lib/getdef.c, doc/Attic/CHANGES, doc/WISHLIST:
13945         *** empty log message ***
13946
13947 1996-09-10  Marek Michałkiewicz  <marekm@pld.org.pl>
13948
13949         * src/su.c, src/sulogin.c, src/usermod.c, src/logoutd.c, src/newgrp.c, src/passwd.c, src/pwconv.c, src/Attic/Makefile.in, src/chfn.c, src/chsh.c, src/grpunconv.c, src/login.c, src/Makefile.am, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/suauth.5, man/Attic/sulogin.8, man/Attic/pw_auth.3, man/Attic/pwauth.8, man/Attic/pwck.8, man/Attic/pwconv.8, man/Attic/pwunconv.8, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/login.defs.5, man/Attic/logoutd.8, man/Attic/mkpasswd.8, man/Attic/newgrp.1, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/login.1, man/Attic/login.access.5, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmod.8, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/dpasswd.8, man/Attic/faillog.5, libmisc/isexpired.c, libmisc/obscure.c, libmisc/setupenv.c, libmisc/utmp.c, libmisc/age.c, lib/Attic/getpass.c, lib/defines.h, lib/getdef.c, etc/Attic/login.defs.linux, etc/limits, etc/login.access, doc/Attic/CHANGES, doc/Attic/README.linux, doc/WISHLIST, contrib/Attic/Makefile.in, contrib/Makefile.am, Attic/configure, configure.in:
13950         *** empty log message ***
13951
13952 1996-08-10  Marek Michałkiewicz  <marekm@pld.org.pl>
13953
13954         * old/Attic/Makefile.am, old/Attic/Makefile.linux, old/Attic/Makefile.sun4, old/Attic/Makefile.svr4, old/Attic/Makefile.xenix, old/Attic/config.h.linux, old/Attic/config.h.sun4, old/Attic/config.h.svr4, old/Attic/config.h.xenix, old/Attic/install-sh, old/Attic/orig-config.h, old/Attic/pwd.h.m4, shlib/Attic/Makefile.am, shlib/Attic/Makefile.in, shlib/Attic/Makefile.in.saved:
13955         New file.
13956
13957         * contrib/adduser-old.c, contrib/adduser.sh, contrib/adduser2.sh, contrib/atudel:
13958         960810 - first version under cvs
13959
13960         * contrib/Attic/Makefile.in, contrib/Makefile.am, contrib/README, contrib/adduser.c, contrib/pwdauth.c, doc/Attic/ANNOUNCE, doc/Attic/CHANGES, doc/Attic/LICENSE, doc/Attic/Makefile.in, doc/Attic/README, doc/Attic/README.linux, doc/Attic/README.sun4, doc/Attic/automake-1.0.diff, doc/Attic/console.c.spec, doc/HOWTO, doc/Makefile.am, doc/README.limits, doc/WISHLIST, etc/Attic/Makefile.in, etc/Attic/login.defs.linux, etc/Makefile.am, etc/login.access, etc/login.defs, old/Attic/Makefile.in, src/Attic/patchlevel.h, src/Attic/pwconv5.c, src/Attic/scologin.c, src/chage.c, src/chfn.c, src/chsh.c, src/expiry.c, src/gpasswd.c, src/groups.c, src/grpconv.c, src/id.c, src/login.c, src/newgrp.c, src/passwd.c, src/pwconv.c, src/pwunconv.c, src/su.c, src/sulogin.c, lib/Attic/dialup.h, lib/Attic/grdbm.c, lib/Attic/grent.c, lib/Attic/grpack.c, lib/Attic/gsdbm.c, lib/Attic/gspack.c, lib/Attic/lastlog_.h, lib/Attic/md5.c, lib/Attic/md5.h, lib/Attic/md5crypt.c, lib/Attic/mkdir.c, lib/Attic/putgrent.c, lib/Attic/putpwent.c, lib/Attic/putspent.c, lib/Attic/pwdbm.c, lib/Attic/pwent.c, lib/Attic/pwpack.c, lib/Attic/rcsid.h, lib/Attic/rename.c, lib/Attic/rmdir.c, lib/Attic/shadow_.h, lib/Attic/spdbm.c, lib/Attic/sppack.c, lib/Attic/strdup.c, lib/Attic/strstr.c, lib/defines.h, lib/faillog.h, lib/getdef.h, lib/groupio.h, lib/gshadow_.h, lib/port.h, lib/prototypes.h, lib/pwauth.h, lib/pwio.h, lib/sgetgrent.c, lib/sgetpwent.c, lib/sgetspent.c, lib/sgroupio.h, lib/shadow.c, lib/shadowio.c, lib/shadowio.h, lib/utent.c, src/Attic/Makefile.in, src/Attic/dpasswd.c, src/Attic/mkpasswd.c, src/Makefile.am, src/chpasswd.c, src/faillog.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/grpck.c, src/lastlog.c, src/logoutd.c, src/newusers.c, src/pwck.c, src/useradd.c, src/userdel.c, src/usermod.c, lib/Attic/Makefile.in, lib/Attic/dialchk.c, lib/Attic/dialup.c, lib/Attic/getpass.c, lib/Attic/rad64.c, lib/Makefile.am, lib/commonio.c, lib/encrypt.c, lib/fputsx.c, lib/getdef.c, lib/groupio.c, lib/gshadow.c, lib/lockpw.c, lib/port.c, lib/pwauth.c, lib/pwio.c, lib/sgroupio.c, libmisc/Attic/login_access.c, libmisc/Attic/login_desrpc.c, libmisc/Attic/login_krb.c, libmisc/Attic/setup.c, libmisc/Attic/suauth.c, libmisc/age.c, libmisc/basename.c, libmisc/chkname.c, libmisc/chowndir.c, libmisc/chowntty.c, libmisc/console.c, libmisc/copydir.c, libmisc/entry.c, libmisc/env.c, libmisc/failure.c, libmisc/fields.c, libmisc/hushed.c, libmisc/isexpired.c, libmisc/limits.c, libmisc/list.c, libmisc/log.c, libmisc/loginprompt.c, libmisc/mail.c, libmisc/motd.c, libmisc/obscure.c, libmisc/pwd2spwd.c, libmisc/rlogin.c, libmisc/salt.c, libmisc/setugid.c, libmisc/setupenv.c, libmisc/shell.c, libmisc/strtoday.c, libmisc/sub.c, libmisc/sulog.c, libmisc/ttytype.c, libmisc/tz.c, libmisc/ulimit.c, libmisc/utmp.c, libmisc/valid.c, libmisc/xmalloc.c, man/Attic/Makefile.in, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/dpasswd.8, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/groupmod.8, man/Attic/groups.1, man/Attic/grpck.8, man/Attic/id.1, man/Attic/lastlog.8, man/Attic/login.1, man/Attic/login.access.5, man/Attic/login.defs.5, man/Attic/logoutd.8, man/Attic/mkpasswd.8, man/Attic/newgrp.1, man/Attic/newusers.8, man/Attic/passwd.1, man/Attic/passwd.5, man/Attic/porttime.5, man/Attic/pw_auth.3, man/Attic/pwauth.8, man/Attic/pwck.8, man/Attic/pwconv.8, man/Attic/pwunconv.8, man/Attic/shadow.3, man/Attic/shadow.5, man/Attic/su.1, man/Attic/suauth.5, man/Attic/sulogin.8, man/Attic/useradd.8, man/Attic/userdel.8, man/Attic/usermod.8, man/Makefile.am, Attic/Makefile.in, Attic/acconfig.h, Attic/aclocal.m4, Attic/config.h.in, Attic/configure, Attic/install-sh, Attic/mkinstalldirs, Attic/stamp-h.in, Makefile.am, README, configure.in, libmisc/Attic/Makefile.in, libmisc/Makefile.am, libmisc/addgrps.c:
13961         New file.
13962