]> granicus.if.org Git - shadow/blob - ChangeLog
743dad7ec463453d70b1162c3efcb36e27b63770
[shadow] / ChangeLog
1 2011-11-19  Nicolas François  <nicolas.francois@centraliens.net>
2
3         * src/faillog.c: The fail_max field is a short, use a short also
4         for the max argument of setmax / setmax_one.
5         * src/faillog.c: Fail with an error message when faillog fails to
6         write to the faillog database.
7
8 2011-11-19  Nicolas François  <nicolas.francois@centraliens.net>
9
10         * man/gpasswd.1.xml: Document the difference between the -r and -R
11         options.
12
13 2011-11-19  Nicolas François  <nicolas.francois@centraliens.net>
14
15         * man/useradd.8.xml, man/groupadd.8.xml, man/usermod.8.xml,
16         man/groupmod.8.xml: Avoid hardcoded values, and reference instead
17         the configuration options (e.g. UID_MIN)
18         * man/groupmod.8.xml, man/usermod.8.xml: Add missing reference to
19         login.defs
20         * man/login.defs.d/UID_MAX.xml, man/login.defs.d/SYS_UID_MAX.xml,
21         man/login.defs.d/GID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
22         Document the default values.
23
24 2011-11-19  Nicolas François  <nicolas.francois@centraliens.net>
25
26         * src/gpasswd.c: Change of group password enforces gshadow
27         password. Set /etc/group password to "x".
28
29 2011-11-16  Peter Vrabec  <pvrabec@redhat.com>
30
31         * NEWS, src/userdel.c, man/userdel.8.xml: Add option -Z/--selinux-user.
32         * libmisc/system.c, lib/prototypes.h, libmisc/Makefile.am: Removed
33         safe_system().
34         * lib/selinux.c, po/POTFILES.in, lib/prototypes.h,
35         lib/Makefile.am: Added helper functions for semanage.
36         * NEWS, README, src/useradd.c, src/usermod.c, src/userdel.c,
37         configure.in: Use libsemanage instead of semanage.
38
39 2011-11-16  Peter Vrabec  <pvrabec@redhat.com>
40
41         * src/Makefile.am: useradd may need the LIBATTR library.
42
43 2011-11-16  Peter Vrabec  <pvrabec@redhat.com>
44
45         * libmisc/copydir.c: Ignore perm_copy_file() errors with errno set
46         to ENOTSUP.
47
48 2011-11-16  Nicolas François  <nicolas.francois@centraliens.net>
49
50         * src/useradd.c: Compilation fix when SHADOWGRP is not enabled.
51         * libmisc/root_flag.c: Add missing #include <stdio.h>
52
53 2011-11-13  Nicolas François  <nicolas.francois@centraliens.net>
54
55         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
56         * po/*.po, man/po/*.po: Updated PO files.
57
58 2011-11-12  Nicolas François  <nicolas.francois@centraliens.net>
59
60         * src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
61         src/chsh.c, src/groupadd.c, src/groupdel.c, src/groupmems.c,
62         src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c,
63         src/usermod.c: Provide the PAM error
64         message instead of our own, and log error to syslog.
65         * src/groupmems.c: Exit with exit rather than fail_exit in usage().
66         * src/newusers.c: Check the number of arguments.
67         * src/newusers.c: Do not create the home directory when it is not
68         changed.
69         * src/useradd.c: Set the group password to "!" rather "x" if there
70         are no gshadow file.
71
72 2011-11-11  Nicolas François  <nicolas.francois@centraliens.net>
73
74         * src/pwck.c: Removed pw_opened.
75         * src/pwck.c: optind cannot be greater than argc.
76         * src/pwck.c: If spw_opened, then is_shadow is implicitly set.
77         * src/pwck.c: Do not report passwd entry without x password and a
78         shadow entry in --quiet mode (no interaction with the caller)
79         * src/pwck.c: Do not check if the last password change is in the
80         future if the time is set to 0.
81
82 2011-11-11  Nicolas François  <nicolas.francois@centraliens.net>
83
84         * libmisc/root_flag.c: Drop privileges before changing root. The
85         --root option should not be used by regular users for suid utils.
86         * libmisc/root_flag.c: Improve error messages.
87
88 2011-11-11  Nicolas François  <nicolas.francois@centraliens.net>
89
90         * src/pwck.c: Compile fix for TCB.
91
92 2011-11-11  Nicolas François  <nicolas.francois@centraliens.net>
93
94         * libmisc/copydir.c: Avoid conflict with glibc. Rename error to
95         error_acl.
96
97 2011-11-11  Nicolas François  <nicolas.francois@centraliens.net>
98
99         * man/newusers.8.xml: Document the optional file argument.
100         * man/newusers.8.xml: Fix the documentation of the inputs' format.
101
102 2011-11-06  Nicolas François  <nicolas.francois@centraliens.net>
103
104         * man/groupmod.8.xml: Document that the primary group of users may
105         be changed by groupmod -g.
106
107 2011-11-06  Nicolas François  <nicolas.francois@centraliens.net>
108
109         * NEWS, src/newusers.c, man/newusers.8.xml: Add --root option.
110
111 2011-11-06  Nicolas François  <nicolas.francois@centraliens.net>
112
113         * src/vipw.c: Remove unused variable a.
114
115 2011-11-06  Nicolas François  <nicolas.francois@centraliens.net>
116
117         * man/generate_mans.mak: The xml-config files do not depend on the
118         Makefile.
119
120 2011-10-31  Nicolas François  <nicolas.francois@centraliens.net>
121
122         * src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c,
123         src/faillog.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c,
124         src/groupmems.c, src/groupmod.c, src/grpconv.c, src/grpunconv.c,
125         src/lastlog.c, src/newusers.c, src/passwd.c, src/pwconv.c,
126         src/pwunconv.c, src/su.c, src/useradd.c, src/userdel.c,
127         src/usermod.c, src/vipw.c: Align and sort options.
128
129 2011-10-31  Nicolas François  <nicolas.francois@centraliens.net>
130
131         * NEWS, src/pwck.c, man/pwck.8.xm, src/grpck.c, man/grpck.8.xml:
132         Add --root option.
133
134 2011-10-31  Nicolas François  <nicolas.francois@centraliens.net>
135
136         * man/limits.5.xml, libmisc/limits.c: Sort limit identifiers.
137         * libmisc/limits.c: Fix support for the K limit identifier.
138         * libmisc/limits.c: Add missing default limit for L and U.
139
140 2011-10-31  Nicolas François  <nicolas.francois@centraliens.net>
141
142         * src/pwck.c, man/pwck.8.xml: Add support for long options.
143         * src/pwck.c, man/pwck.8.xml: Add -h/--help option
144         * src/grpck.c, man/grpck.8.xml: Add support for long options.
145         * src/grpck.c, man/grpck.8.xml: Add -h/--help option
146
147 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
148
149         * src/expiry.c, man/expiry.1.xml: Add support for long options.
150         * src/expiry.c, man/expiry.1.xml: Add -h/--help option
151
152 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
153
154         * src/chfn.c, man/chfn.1.xml: Add support for long options.
155         * src/chfn.c, man/chfn.1.xml: Add -u/--help option
156         * NEWS, src/chfn.c, man/chfn.1.xml: Add --root option.
157
158 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
159
160         * NEWS, src/vipw.c, man/vipw.8.xml: Add --root option.
161
162 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
163
164         * NEWS, src/faillog.c, man/faillog.8.xml: Add --root option.
165         * NEWS, src/lastlog.c, man/lastlog.8.xml: Likewise.
166         * src/faillog.c: Add Prog variable, and prefix error messages with
167         Prog rather than "faillog".
168         * src/lastlog.c: Likewise.
169         * src/lastlog.c: Split usage in smaller messages.
170
171 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
172
173         * NEWS, src/chage.c, man/chage.1.xml: Add --root option. Open
174         audit and syslog after the potential chroot. chage's usage split
175         in smaller messages.
176
177 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
178
179         * src/login.c: re-indent.
180         * src/login.c: Fix support for sub-logins.
181
182 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
183
184         * src/faillog.c, src/chage.c, src/newusers.c, src/su.c: The getopt
185         index of long options is not used.
186
187 2011-10-29  Nicolas François  <nicolas.francois@centraliens.net>
188
189         * lib/prototypes.h, libmisc/Makefile.am, libmisc/root_flag.c,
190         po/POTFILES.in: Add process_root_flag() to process the --root
191         option and chroot so that the chroot config is used and changes
192         are applied to the chroot.
193         * NEWS, src/useradd.c, man/useradd.8.xml: Add --root option. Open
194         audit after the potential chroot.
195         * NEWS, src/userdel.c, man/userdel.8.xml: Add --root option. Open
196         audit and syslog after the potential chroot. userdel's usage split
197         in smaller messages.
198         * NEWS, src/usermod.c, man/usermod.8.xml: Likewise
199         * NEWS, src/groupadd.c, man/groupadd.8.xml: Add --root option. Open
200         audit and syslog after the potential chroot.
201         * src/groupadd.c: Check atexit failures.
202         * src/groupadd.c: Return E_SUCCESS instead of exit'ing at the end
203         of main().
204         * NEWS, src/groupadd.c, man/groupadd.8.xml: Add --root option. Open
205         audit and syslog after the potential chroot.
206         * src/groupmod.c: The getopt index of long options is not used.
207         * src/groupdel.c: Add process_flags().
208         * src/groupdel.c, man/groupdel.8.xml: Add --help option.
209         * NEWS, src/groupdel.c, man/groupdel.8.xml: Add --root option. Open
210         audit and syslog after the potential chroot.
211         * src/groupdel.c: Check atexit failures.
212         * NEWS, src/pwconv.c, src/pwunconv.c, src/grpconv.c,
213         src/grpunconv.c, man/pwconv.8.xml: Add --root option.
214         * src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c:
215         Add --help option.
216         * src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c:
217         Add process_flags() and usage().
218         * NEWS, src/chpasswd.c, man/chpasswd.8.xml, src/chgpasswd.c,
219         man/chgpasswd.8.xml: Add --root option.
220         * src/chpasswd.c, src/chgpasswd.c: The getopt index of long
221         options is not used.
222         * NEWS, src/passwd.c, man/passwd.1.xml: Add --root option.
223         passwd's usage split in smaller messages.
224         * src/passwd.c: Call sanitize_env() before setting the locales.
225         * NEWS, src/groupmems.c, man/groupmems.8.xml: Add --root option.
226         Open syslog after the potential chroot.
227         * src/groupmems.c: The getopt index of long options is not used.
228         * NEWS, src/chsh.c, man/chsh.1.xml: Add --root option.
229         chsh's usage split in smaller messages.
230         * src/chsh.c: The getopt index of long options is not used.
231         * NEWS, src/gpasswd.c, man/gpasswd.1.xml: Add --root option.
232         * src/gpasswd.c: The getopt index of long options is not used.
233
234 2011-10-22  Nicolas François  <nicolas.francois@centraliens.net>
235
236         * man/ja/Makefile.am, man/fr/Makefile.am, man/ru/Makefile.am,
237         man/sv/Makefile.am, man/pl/Makefile.am, man/zh_CN/Makefile.am,
238         man/it/Makefile.am, man/Makefile.am: Include man_nopam in
239         EXTRA_DIST only when USE_PAM (they are already in man_MANS
240         otherwise).
241
242 2011-10-22  Nicolas François  <nicolas.francois@centraliens.net>
243
244         * man/su.1.xml: Document that su -c does not providea controlling
245         terminal.
246
247 2011-10-18  Nicolas François  <nicolas.francois@centraliens.net>
248
249         * src/newusers.c: Fix typo.
250         * src/useradd.c: Likewise.
251         * lib/nscd.c: Remove unused variable.
252         * lib/prototypes.h, libmisc/cleanup.c, lib/spawn.c, src/chage.c:
253         Add splint annotations.
254         * src/sulogin.c (main): env is only used when USE_PAM is not set.
255
256 2011-10-15  Nicolas François  <nicolas.francois@centraliens.net>
257
258         * man/login.defs.d/LOGIN_STRING.xml: Fix typo.
259
260 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
261
262         * lib/prototypes, libmisc/basename.c (Basename): Input is a
263         constant string.
264         * lib/prototypes.h, lib/spawn.h, lib/spawn.c, src/userdel.c,
265         lib/nscd.c, lib/Makefile.am: Delete spawn.h. Move from spawn.h to
266         prototypes.h.
267         * src/userdel.c: Remove unused variables.
268         * lib/nscd.c: Remove unused header files.
269         * lib/nscd.c: Add the program name to error messages.
270         * lib/nscd.c: Indicate when nscd does not terminate normally (signal).
271         * lib/spawn.c: Updated header.
272         * lib/spawn.c: Flush stdout and stderr to avoid inheriting from
273         ongoing buffers.
274         * lib/spawn.c: Avoid implicit conversion of pointer to boolean.
275         * lib/spawn.c: Replace perror by a complete message.
276         * lib/spawn.c: Continue to wait for the child if another child
277         terminates.
278         * lib/prototypes.h: The name field from cleanup_info_mod is a
279         constant string. (username).
280
281 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
282
283         * libmisc/cleanup.c: Spawn children should no trigger cleanup
284         actions. Make sure only the parent (initial caller) perform the
285         cleanup actions.
286
287 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
288
289         * libmisc/salt.c (SHA_salt_rounds): It is statically ensured that
290         the format fits in rounds_prefix.
291         * libmisc/loginprompt.c: Likewise.
292
293 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
294
295         * src/grpconv.c: Fail if not called correctly.
296         * src/grpconv.c: At the end of main, the passwd and shadow files
297         are locked. No need to check before unlocking. No need to set the
298         lock as false neither since there cannot be anymore failures.
299
300 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
301
302         * src/chage.c: EPOCH is not needed, it's converted to -1 by
303         strtoday(). But we need to support "-1" specifically.
304         * src/chage.c: Fix usage: LOGIN is mandatory.
305         * src/chage.c: Display disabled expiry or last change as "-1"
306         instead of 1969-12-31. 1969-12-31 is still supported as input from
307         the user.
308         * src/chage.c: Exit cleanly with fail_exit() (lock files were not
309         removed).
310
311 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
312
313         * src/useradd.c: Remove def_file. It was always set to
314         USER_DEFAULTS_FILE.
315         * src/useradd.c: Fix cut&paste issue causing bad warning when
316         the useradd.default file contains an invalid INACTIVE= value.
317         * src/useradd.c: Added missing end of line for rename errors.
318         * src/useradd.c: Added -D synopsis to the usage message.
319         * src/useradd.c: Do not scale_age(-1), just use -1.
320         * src/useradd.c: Added FIXME to be fixed later.
321         * src/useradd.c: Allow -e -1 when there is no shadow file.
322         * src/useradd.c: Fail, but do not print the usage message when the
323         -e argument is not valid.
324         * src/useradd.c: No need to check for oflg since uflg is
325         already checked.
326
327 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
328
329         * src/su.c: Too much const were added on 2011-08-15. pw in
330         save_caller_context() is allocated and freed.
331         * src/su.c: Added missing #endif indication
332         * src/su.c (save_caller_context): password only needed if
333         SU_ACCESS and !USE_PAM.
334
335 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
336
337         * src/usermod.c: date_to_str() is always called with negativ set
338         to "never", remove this argument.
339         * src/usermod.c: Added missing cast for gr_free argument.
340
341 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
342
343         * src/pwconv.c: Fail if not called correctly.
344         * src/pwconv.c: At the end of main, the passwd and shadow files
345         are locked. No need to check before unlocking.
346
347 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
348
349         * src/newusers.c: Initially set the passwd's password to '*'
350         instead of 'x'. Only when it is confirmed that a shadow entry is
351         (will be) added, set the passwd's password to 'x'.
352         * src/newusers.c: An invalid line is an error. A failure needs to
353         be reported.
354
355 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
356
357         * src/gpasswd.c: Remove log_gpasswd_success_gshadow(). Writing in
358         gshadow is the last sub-task.
359
360 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
361
362         * src/chsh.c: No needto remove lines tarting with '#' from
363         /etc/shells. This is already done by getusershell() and these
364         shell would fail the access(X_OK) test.
365
366 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
367
368         * man/generate_mans.mak: Fix the generation of translated man
369         pages. xml2po removed the comment from empty headers and the
370         config was no more inserted.
371
372 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
373
374         * man/chage.1.xml: The LOGIN argument is not optional.
375         * man/login.defs.d/QUOTAS_ENAB.xml: Document the dependency
376         between /etc/limits and QUOTAS_ENAB.
377
378 2011-08-20  Nicolas François  <nicolas.francois@centraliens.net>
379
380         * po/POTFILES.in: Added lib/spawn.c.
381
382 2011-08-20  Jonathan Nieder  <jrnieder@gmail.com>
383
384         * lib/Makefile.am: Added lib/spawn.c and lib/spawn.h.
385         * lib/nscd.c, lib/spawn.c, lib/spawn.h: It is not possible to
386         differentiate between an nscd failure, and a failure to execute
387         due to no nscd with posix_spawn. Use our own run_command routine.
388         * src/userdel.c: Use run_command()
389
390 2011-08-15  Nicolas François  <nicolas.francois@centraliens.net>
391
392         * src/groupmod.c: Ignore return value from snprintf.
393         * src/groupmod.c: Add static qualifier to the cleanup structures.
394         * src/groupmod.c: Check atexit failures.
395
396 2011-08-15  Nicolas François  <nicolas.francois@centraliens.net>
397
398         * src/usermod.c: Do not assign static to NULL.
399         * src/usermod.c (date_to_str): buf needs to be unique (e.g.
400         independent from negativ), and is an out buffer.
401         * src/usermod.c: Ignore return value from snprintf, and force
402         nul-termination of buffer.
403         * src/usermod.c: Improve memory management.
404         * src/usermod.c: An audit bloc was not reachable, moved above on
405         success to move the home directory.
406         * src/usermod.c: Ignore close() return value for the mailbox
407         (opened read only).
408
409 2011-08-15  Nicolas François  <nicolas.francois@centraliens.net>
410
411         * src/su.c: Added const modifiers.
412         * lib/prototypes: Synchronize splint annotations.
413
414 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
415
416         * src/su.c: Add splint annotations.
417         * src/su.c: Set caller_on_console as boolean.
418         * src/su.c: Ignore return value from fputs (usage) / puts (prompt).
419         * src/su.c: Improved memory management.
420
421 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
422
423         * src/chgpasswd.c, src/chpasswd.c, src/newusers.c: Replace cflg by
424         a test on crypt_method.
425
426 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
427
428         * libmisc/chowndir.c: Add splint annotations.
429         * src/chgpasswd.c: Likewise.
430         * src/chpasswd.c: Likewise.
431         * src/newusers.c: Likewise.
432         * libmisc/salt.c, lib/prototypes.h (crypt_make_salt): Likewise.
433
434 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
435
436         * lib/gshadow_.h: Fix typo in comment.
437
438 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
439
440         * lib/prototypes.h, libmisc/getgr_nam_gid.c: getgr_nam_gid()
441         returns an allocated structure.
442
443 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
444
445         * src/su.c: Add annotations to indicate that su_failure() does
446         not return.
447
448 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
449
450         * lib/commonio.c: Display PID as unsigned long.
451
452 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
453
454         * src/useradd.c: Remove unused Zflg.
455
456 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
457
458         * src/chgpasswd.c: Fix typo sp -> sg. sg_namp -> sg_name
459         * src/chgpasswd.c: Always update the group file when SHADOWGRP is
460         not enabled.
461
462 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
463
464         * src/newgrp.c: Fix typo in notreached annotation.
465
466 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
467
468         * src/usermod.c: Add annotations to indicate that fail_exit() does
469         not return.
470         * src/usermod.c: Fix typo in notreached annotation.
471
472 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
473
474         * libmisc/find_new_uid.c: free (used_uids) on return.
475         * libmisc/find_new_gid.c: free (used_gids) on return.
476
477 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
478
479         * lib/commonio.c: Fix NIS commit from 2011-07-14.
480
481 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
482
483         * NEWS, src/chpasswd.c: Create a shadow entry if the password is
484         set to 'x' in passwd and there are no entry in shadow for the
485         user.
486         * NEWS, src/chgpasswd.c: Create a gshadow entry if the password is 
487         set to 'x' in group and there are no entry in gshadow for the 
488         group.
489
490 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
491
492         * src/pwunconv.c: Exit after printing usage when arguments or
493         options are provided.
494         * src/pwunconv.c: Re-indent.
495         * src/pwunconv.c: Open the shadow file read only.
496         * src/grpunconv.c: Exit after printing usage when arguments or
497         options are provided.
498         * src/grpunconv.c: Open the gshadow file read only.
499
500 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
501
502         * src/chgpasswd.c: Fix typo.
503
504 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
505
506         * NEWS, src/login.c: Do not log in utmp / utmpx / wtmp when PAM is
507         enabled. This is already done by pam_lastlog. Note that
508         pam_lastlog can only log the parent PID, not the PID of the
509         process forked by login.
510
511 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
512
513         * src/chpasswd.c: Add annotations to indicate that usage() does
514         not return.
515         * src/chpasswd.c: Reindent.
516         * src/chpasswd.c: Remove dead code. No need to set crypt_method
517         to NULL when it is already NULL. sflg is only set if crypt_method
518         is not NULL.
519
520 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
521
522         * src/lastlog.c: Add annotations to indicate that usage() does not
523         return.
524
525 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
526
527         * src/faillog.c: Add annotations to indicate that usage() does not
528         return.
529         * src/faillog.c: Fix message: this is faillog, not lastlog.
530         * src/faillog.c: Check that there are no extra arguments after
531         parsing the options.
532
533 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
534
535         * src/chgpasswd.c: Add annotations to indicate that usage() does
536         not return.
537         * src/chgpasswd.c: Split usage in smaller parts. Those parts are
538         already translated for chpasswd. Usage is now closer to
539         chpasswd's.
540         * src/chgpasswd.c: Remove dead code. No need to set crypt_method
541         to NULL when it is already NULL. sflg is only set if crypt_method
542         is not NULL.
543
544 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
545
546         * src/expiry.c: Remove dead code.
547         * src/expiry.c: Improve comments.
548
549 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
550
551         * src/grpck.c: Added comments.
552         * src/grpck.c: Avoid implicit conversion of pointer to boolean.
553         * src/grpck.c: Remove dead code. argc cannot be lower than optind.
554         Avoid checking twice in a row for NULL != list[i].
555
556 2011-07-22  Nicolas François  <nicolas.francois@centraliens.net>
557
558         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Fail in case of
559         invalid configuration. 
560         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Updated
561         comments.
562         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Be more strict
563         on the loop stop conditions. Stop if we passed the limit, even if
564         the limit itself was never noticed.
565
566 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
567
568         * man/po/fr.po: Fix some spacing issues due to configuration
569         variants.
570
571 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
572
573         * src/passwd.c: Overflow when computing the number of days based
574         on the scaling. Use of long long needed.
575
576 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
577
578         * NEWS, lib/commonio.h, lib/commonio.c: Additional messages to
579         indicate why locking failed.
580         * NEWS, lib/commonio.c: Fix the sort algorithm in case of NIS. NIS
581         entries were dropped.
582         * lib/commonio.c: NIS entries can start by '+' or '-'.
583
584 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
585
586         * NEWS, src/groupmod.c: When the gshadow file exists but there are
587         no gshadow entries, an entry is created if the password is changed
588         and group requires a shadow entry.
589
590 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
591
592         * src/usermod.c: Fix typo in comment.
593         * src/usermod.c (move_home): It is always an error to use -m if
594         the new home directory already exist (independently from the
595         existence of the old home directory did not exist)
596         * src/usermod.c (process_flags): Report usage if no options are
597         provided. Update the error message.
598         * src/usermod.c (process_flags): Check option compatibility and
599         dependency before options are discarded when no changes are
600         requested.
601         * src/usermod.c (process_flags): Check for oflg is not needed to
602         check if changes are needed.
603         * src/usermod.c: usage() does not return. Add annotations.
604         * src/usermod.c (update_gshadow): is_member was computed twice.
605         * src/usermod.c (update_group, update_gshadow): Reduce complexity
606         and document checks. Some checks were always true/false within
607         their call context.
608         * NEWS, src/usermod.c; man/usermod.8.xml: When the shadow file
609         exists but there are no shadow entries, an entry has to be created
610         if the password is changed and passwd requires a shadow entry, or
611         if aging features are used (-e or -f). Document this and also that
612         -e and -f require a shadow file.
613         * man/usermod.8.xml: Document behavior of an empty EXPIRE_DATE.
614         * man/usermod.8.xml: Document that the mail spool might have to be
615         renamed (as for the homedir)
616         * src/usermod.c (new_pwent): Document that pw_locate will not fail
617         because getpwnam returned successfully.
618         * src/usermod.c (process_flags): Do not display the usage in case
619         of an invalid -f value (similar to -e).
620         * src/usermod.c (process_flags): Indicate that the user name is
621         invalid, instead of just a 'field'.
622
623 2011-07-08  Nicolas François  <nicolas.francois@centraliens.net>
624
625         * src/groupadd.c: Fix typo in comment.
626         * src/userdel.c: Fix typo from 2011-06-04. Report failure on the
627         mailfile instead of user_home.
628         * lib/fields.c: Fixed typo from 2010-02-15. field instead of cp
629         ought to be checked.
630         * src/vipw.c: Use Prog instead of progname. This is needed since
631         Prog is used in the library.
632         * configure.in: Fix typo. libcrack default is 'no'.
633         * src/groupmod.c: Avoid implicit conversion of pointer to boolean.
634         * src/groupmod.c: osgrp can be set only if pflg || nflg. No need
635         to check for pflg || nflg again
636
637 2011-07-08  Nicolas François  <nicolas.francois@centraliens.net>
638
639         * man/*.xml, man/config.xml.in: Add source and version
640         information. This reduce the amount of warnings during the
641         manpages generation.
642
643 2011-06-25  Nicolas François  <nicolas.francois@centraliens.net>
644
645         * man/passwd.1.xml: Added reference to chpasswd(8).
646         * man/po/ru.po: Add space between option and argument.
647
648 2011-06-16  Francisco Javier Cuadrado  <fcocuadrado@gmail.com>
649
650         * po/es.po: Spanish translation
651
652 2011-06-16  Nicolas François  <nicolas.francois@centraliens.net>
653
654         * libmisc/isexpired.c: Added parenthesis.
655         * libmisc/env.c: Added comments.
656         * libmisc/env.c: Avoid implicit conversion of pointer to boolean.
657
658 2011-06-16  Nicolas François  <nicolas.francois@centraliens.net>
659
660         * src/su.c: environ is provided by <unistd.h>.
661         * src/su.c: Added function prototypes.
662         * src/su.c: Rename shellstr parameter to shellname to avoid
663         collision with static variable.
664         * NEWS, src/su.c: Added support for PAM modules which change
665         PAM_USER.
666
667 2011-06-13  Nicolas François  <nicolas.francois@centraliens.net>
668
669         * src/su.c (prepare_pam_close_session): Extract the creation of a
670         child and listening for signal in the parent from run_shell().
671         prepare_pam_close_session() is now executed before the creation of
672         the pam session and before the UID is changed. This allows to
673         close the session as root.
674         * src/su.c: Also drop the controlling terminal when PAM is not
675         used.
676         * src/su.c: Remove run_shell().
677         * src/su.c: After prepare_pam_close_session() there is no need to
678         close the session in the child. Added pam_setcred to
679         prepare_pam_close_session().
680
681 2011-06-12  Nicolas François  <nicolas.francois@centraliens.net>
682
683         * src/su.c (save_caller_context): Extract from main() the code
684         used to save the caller's context.
685         * src/su.c: Split check_perms() in to a PAM (check_perms_pam) and
686         a non-PAM (check_perms_nopam) version.
687         * src/su.c: Cleanup check_perms_nopam().
688         * src/su.c: Merge environment setting blocks after the creation of
689         the session.
690         * src/su.c: Close the password databases together with syslog.
691         * src/su.c: Extract command line processing from main().
692         * src/su.c: Extract export of environment from main().
693
694 2011-06-10  Nicolas François  <nicolas.francois@centraliens.net>
695
696         * src/su.c: Group some of the environment processing blocks. The
697         definition of shellstr, PATH and IFS is not influenced (getenv,
698         getdef, restricted_shell) by and does not influence (addenv does
699         not change environ) the authentication. And the authentication
700         did not overwrite those definitions. This will ease an extraction
701         from the big main() function.
702         * src/su.c: Move definition of change_environment and shellstr
703         after the switch to the final subsystem. The previous architecture
704         forced to always change the environment (the shell starts with a
705         '*' and was thus restricted, and change_environment could not be
706         reset to false).
707         * src/su.c: No need to change the user's shell in case of
708         subsystem root. Update the comments.
709         * src/su.c: Define shellstr before the environment so that
710         restricted_shell is called only once. This will allow moving the
711         environment definition after the switch to the new user.
712         * src/su.c: Extract the authentication from the main function.
713         * lib/prototypes.h, src/suauth.c, src/su.c (check_su_auth): Do not
714         use the pwent global variable to communicate between APIs of
715         different files. Added boolean parameter su_to_root to
716         check_su_auth().
717         * src/su.c (check_perms): Return the passwd entry of the finally
718         authenticated user. Remove usage of the pwent variable.
719         * src/su.c: The password of the caller is the one from the
720         spwd structure only if the passwd's password is 'x'.
721         * src/su.c: Cleanup local variables.
722
723 2011-06-10  Nicolas François  <nicolas.francois@centraliens.net>
724
725         * src/su.c: Updating pwent after expire() is not useful. Only the
726         password information may have changed and they are not used
727         anymore afterwards.
728         * src/su.c: No need to call expire() if there are no shadow entry.
729         No need to convert a passwd entry into an spwd entry in that case.
730
731 2011-06-12  Thomas Blein  <tblein@tblein.eu>
732
733         * man/po/fr.po: French manpages translation
734
735 2011-06-05  Nicolas François  <nicolas.francois@centraliens.net>
736
737         * NEWS, src/su.c: Do not forward the controlling terminal to
738         commands executed with -c. This prevents tty hijacking which could
739         lead to execution with the caller's privileges. This required to
740         forward signals from the terminal (SIGINT, SIGQUIT, SIGTSTP) to
741         the executed command.
742
743 2011-06-05  Nicolas François  <nicolas.francois@centraliens.net>
744
745         * NEWS, src/userdel.c: Do not remove a group with the same name as
746         the user (usergroup) if this group isn't the user's primary group.
747
748 2011-06-04  Nicolas François  <nicolas.francois@centraliens.net>
749
750         * NEWS, src/userdel.c: Check the existence of the user's mail
751         spool before trying to remove it. If it does not exist, a warning
752         is issued, but no failure.
753
754 2011-06-03  Nicolas François  <nicolas.francois@centraliens.net>
755
756         * src/sulogin.c: Added Prog, needed because of the last xmalloc()
757         change.
758
759 2011-06-03  Nicolas François  <nicolas.francois@centraliens.net>
760
761         * man/zh_CN/, man/zh_CN/Makefile.am: Added directory, and zh_CN
762         Makefile.
763         * man/Makefile.am: Build zh_CN pages.
764         * man/generate_translations.mak: Add config.xml to CLEANFILES.
765         * man/po/zh_CN.po: limits, groups, faillog, expiry should not be
766         translated (command name, file name), also this broke the build
767         system as they are used to derive manpage names.
768
769 2011-06-02  Peter Vrabec  <pvrabec@redhat.com>
770
771         * src/lastlog.c, src/faillog.c: Fix underflows causing wrong entry
772         to be displayed.
773
774 2011-06-02  Nicolas François  <nicolas.francois@centraliens.net>
775
776         * libmisc/xmalloc.c: Harmonize message.
777
778 2011-06-02  Peter Vrabec  <pvrabec@redhat.com>
779
780         * libmisc/find_new_uid.c, libmisc/find_new_gid.c: Add missing
781         memory allocation check.
782
783 2011-06-02  Cal Peake  <cp@absolutedigital.net>
784
785         * NEWS, libmisc/addgrps.c: Fix allocator loop. Continue to
786         getgroups() when getgroups fails (-1) with errno==EINVAL.
787
788 2011-06-01  Simon Brandmair  <sbrandmair@gmx.net>
789
790         * man/newusers.8.xml, man/suauth.5.xml, man/suauth.5.xml,
791           man/logoutd.8.xml, man/chgpasswd.8.xml, man/groups.1.xml,
792           man/faillog.5.xml, man/login.defs.d/MD5_CRYPT_ENAB.xml,
793           man/login.defs.d/DEFAULT_HOME.xml,
794           man/login.defs.d/LOGIN_RETRIES.xml,
795           man/login.defs.d/MD5_CRYPT_ENAB.xml,
796           man/login.defs.d/PORTTIME_CHECKS_ENAB.xml, 
797           man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml:
798           Fix typos
799         * man/po/de.po: German translation of manpages completed
800
801 2011-05-23  Innocent De Marchi  <tangram.peces@gmail.com>
802
803         * po/ca.po: Catalan translation completed
804
805 2011-04-22  Miguel Figueiredo  <elmig@debianpt.org>
806
807         * po/pt.po: Portuguese translation completed
808
809 2011-04-22  Thomas Blein  <tblein@tblein.eu>
810
811         * po/fr.po: French translation completed
812
813 2011-04-16  Holger Wansing  <linux@wansing-online.de>
814
815         * po/de.po: German translation completed
816
817 2011-04-15  Fred Maranhão  <fred.maranhao@gmail.com>
818
819         * po/pt_BR.po: Brazilian Portuguese translation completed
820
821 2011-04-10  Yuri Kozlov  <yuray@komyakino.ru>
822
823         * po/ru.po: Russian translation completed
824
825 2011-04-07  Daniel Nylander  <po@danielnylander.se>
826
827         * po/sv.po: Swedish translation completed
828
829 2011-04-07  Joe Dalton  <joedalton2@yahoo.dk>
830
831         * po/da.po: Danish translation completed
832
833 2011-04-05  Timur Birsh  <taem@linukz.org>
834
835         * po/kk.po: Kazakh translation completed
836
837 2011-04-05  NAKANO Takeo  <nakano@st.seikei.ac.jp>
838
839         * po/ja.po: Japanese translation completed
840
841 2011-03-30  YunQiang Su  <wzssyqa@gmail.com>
842
843         * man/po/zh_CN.po: convert Simplified Chinese translation 
844           of manpages to gettext
845         * po/zh_CN.po: Simplified Chinese translation completed
846
847 2010-02-15  Nicolas François  <nicolas.francois@centraliens.net>
848
849         * man/ru/Makefile.am: Remove double inclusion of $(man_nopam)
850
851 2010-02-15  Nicolas François  <nicolas.francois@centraliens.net>
852
853         * libmisc/user_busy.c, src/userdel.c, src/usermod.c: Warn in
854         user_busy() rather than in src/userdel.c or src/usermod.c to
855         provide more accurate failure cause (user is logged in or user
856         still executes processes).
857
858 2010-02-15  Nicolas François  <nicolas.francois@centraliens.net>
859
860         * lib/groupio.c, lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: Check
861         entry validity before commits to databases.
862         * libmisc/fields.c, libmisc/Makefile.am, lib/fields.c,
863         lib/Makefile.am, po/POTFILES.in: fields.c moved from libmisc to
864         lib.
865         * lib/fields.c: Fail if input pointer is NULL.
866
867 2010-02-13  Nicolas François  <nicolas.francois@centraliens.net>
868
869         * NEWS, src/chfn.c, src/chsh.c: Fix CVE-2011-0721: forbid \n in
870         gecos or shell.
871
872 2011-02-12  Nicolas François  <nicolas.francois@centraliens.net>
873
874         * autogen.sh: Restore original autoreconf (see 2010-08-29's change
875         for autogen.sh)
876         * configure.in, man/po/Makefile.in.in, man/po/Makefile.in:
877         Makefile.in.in replaced by Makefile.in to avoid config.status
878         issues when there are multiple po directories.
879         * man/po/LINGUAS: Adapted to above change.
880         * man/po/POTFILES.in, man/po/XMLFILES: POTFILES.in replaced by
881         XMLFILES.
882         * man/Makefile.am: generate_mans.deps shall be included by make,
883         not automake.
884
885 2010-11-19  Nicolas François  <nicolas.francois@centraliens.net>
886
887         * NEWS, libmisc/console.c: Fix CONSOLE parser. This caused login
888         to hang when CONSOLE was configured with a colon separated list of
889         TTYs.  See http://bugs.gentoo.org/show_bug.cgi?id=324419
890
891 2010-09-05  Nicolas François  <nicolas.francois@centraliens.net>
892
893         Integrate review comments from Julien Cristau
894         * libmisc/copydir.c: Missing parenthesis in comment.
895         * libmisc/chowndir.c: Fixed memory leak on failed realloc().
896         * libmisc/chowndir.c: Make sure the buffer for the path is large
897         enough.
898         * libmisc/remove_tree.c: Remove check for NULL before free().
899
900 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
901
902         * man/po/fr.po: Fix 2 fuzzy strings.
903
904 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
905
906         * NEWS, src/usermod.c: Accept options in any order (username not
907         necessarily at the end)
908
909 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
910
911         * autogen.sh: Expand autoreconf to avoid running autopoint.
912
913 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
914
915         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
916         * po/*.po, man/po/*.po: Updated PO files.
917
918 2010-08-28  Brian M. Carlson  <sandals@crustytoothpaste.ath.cx>
919
920         * man/chsh.1.xml: Fix comma splice.
921
922 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
923
924         * lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
925         selinux_file_context renamed set_selinux_file_context.
926         * lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
927         Added reset_selinux_file_context.
928         * src/useradd.c: Check the return value of
929         set_selinux_file_context and reset_selinux_file_context.
930         * libmisc/copydir.c: Check the return value of
931         reset_selinux_file_context.
932
933 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
934
935         * src/su.c: Fix handling of environment variables when
936         the environment is not changed. In particular, this makes su
937         behave as documented regarding PATH and IFS (i.e. they are reset)
938         when -p is provided.
939
940 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
941
942         * man/su.1.xml: Fix typo.
943
944 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
945
946         * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
947         src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
948         src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
949         src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
950         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/chage.c,
951         src/groupadd.c, src/login.c, src/grpconv.c, src/groups.c,
952         src/grpunconv.c, src/chsh.c: Prog changed to a constant string.
953
954 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
955
956         * libmisc/limits.c: Avoid implicit conversion of integer to
957         boolean.
958         * libmisc/basename.c: Avoid implicit conversion of pointer to
959         boolean.
960         * libmisc/basename.c, lib/prototypes.h (Basename): Return a
961         constant string.
962         * libmisc/basename.c, libmisc/obscure.c, lib/prototypes.h,
963         libmisc/xmalloc.c, libmisc/getdate.h, libmisc/system.c,
964         libmisc/getgr_nam_gid.c, libmisc/failure.c, libmisc/valid.c: Add
965         splint annotations.
966         * libmisc/chowndir.c: Avoid memory leak.
967         * libmisc/chowndir.c: Do not check *printf/*puts return value.
968         * libmisc/chowntty.c: Avoid implicit conversion between integer
969         types.
970         * libmisc/obscure.c: Return a bool when possible instead of int.
971         * libmisc/shell.c: Do not check *printf/*puts return value.
972         * libmisc/shell.c: Do not check execle return value.
973         * libmisc/setupenv.c: Avoid implicit conversion between integer
974         types.
975         * libmisc/xmalloc.c: size should not be zero to avoid returning
976         NULL pointers.
977         * libmisc/hushed.c: Do not check *printf/*puts return value.
978         * libmisc/system.c: Avoid implicit conversion of integer to
979         boolean. safe_system last argument is a boolean.
980         * libmisc/system.c: Check return value of dup2.
981         * libmisc/system.c: Do not check *printf/*puts return value.
982         * libmisc/system.c: Do not check execve return value. 
983         * libmisc/salt.c: Do not check *printf/*puts return value.
984         * libmisc/loginprompt.c: Do not check gethostname return value.
985         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not check
986         gr_rewind/pw_rewind return value.
987         * libmisc/ttytype.c: Limit the number of parsed characters in the
988         sscanf format.
989         * libmisc/ttytype.c: Test if a type was really read.
990         * libmisc/sub.c: Do not check *printf/*puts return value.
991         * libmisc/sub.c: Avoid implicit conversion of integer to boolean.
992         * src/userdel.c: Fix typo in comment.
993         * src/userdel.c: Avoid implicit conversion of boolean to integer.
994         * src/userdel.c: safe_system last argument is a boolean.
995         * src/newusers.c: Avoid implicit conversion of boolean to integer.
996         * src/newusers.c: Avoid implicit conversion of integer to boolean.
997         * src/usermod.c: Add brackets.
998         * src/usermod.c: Avoid implicit conversion of characters or
999         integers to booleans.
1000         * src/vipw.c: Avoid implicit conversion of integer to boolean.
1001         * src/su.c: Avoid implicit conversion of integer to boolean.
1002         * src/su.c: Add brackets.
1003         * src/useradd.c: Avoid implicit conversion of characters or
1004         integers to booleans.
1005
1006 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
1007
1008         * libmisc/obscure.c, lib/prototypes.h (obscure): Return a bool
1009         instead of an int.
1010         * libmisc/obscure.c, libmisc/tz.c, src/passwd.c, lib/encrypt.c,
1011         libmisc/copydir.c, lib/prototypes.h: Add splint annotations.
1012         * libmisc/tz.c: Fix some const issues.
1013         * libmisc/tz.c: Avoid multi-statements lines.
1014         * libmisc/tz.c: Add brackets.
1015         * libmisc/copydir.c: Do not check *printf/*puts return value.
1016         * libmisc/copydir.c: Fail if we cannot set or reset the SELinux
1017         fscreate context.
1018         * libmisc/copydir.c: Use xmalloc instead of malloc.
1019         * libmisc/copydir.c: Do not check lutimes return value
1020         * src/vipw.c: Avoid implicit conversion of integer to boolean.
1021         * src/su.c (iswheel): Return a bool instead of an int.
1022         * src/passwd.c: Remove insert_crypt_passwd(). Use xstrdup instead.
1023         * src/passwd.c: Return constant strings when sufficient.
1024         * src/passwd.c: Do not check *printf/*puts return value.
1025         * src/passwd.c: Avoid implicit conversion of character to boolean.
1026         * src/passwd.c: Do not check sleep return value.
1027         * src/sulogin.c: Do not check *printf/*puts return value.
1028         * lib/encrypt.c: Do not check fprintf return value.
1029
1030 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1031
1032         * src/passwd.c: Fix a const issue.
1033         * src/passwd.c: Avoid multi-statements lines.
1034         * src/sulogin.c: Fix a const issue.
1035
1036 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1037
1038         * libmisc/copydir.c, lib/prototypes.h: Caller can choose not to
1039         copy the extended attributes (the SELinux context is hence reset)
1040         * src/usermod.c: Copy the extended attributes.
1041         * src/useradd.c: Only reset the SELinux context.
1042
1043 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1044
1045         * configure.in: Fixed typo.
1046
1047 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1048
1049         * libmisc/console.c, libmisc/motd.c, libmisc/setupenv.c,
1050         libmisc/sulog.c, libmisc/hushed.c, libmisc/failure.c,
1051         libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/obscure.c,
1052         libmisc/pam_pass_non_interractive.c, src/userdel.c, src/login.c,
1053         lib/commonio.c, lib/commonio.h, libmisc/setugid.c,
1054         libmisc/setupenv.c: Fix some const issues.
1055         * libmisc/motd.c: Avoid multi-statements lines.
1056         * libmisc/motd.c: Support long MOTD_FILE.
1057         * libmisc/list.c, lib/prototypes.h: Revert previous change.
1058         dup_list and is_on_list are used with members as defined for the
1059         group structure, and thus even if the list is not modified, the
1060         list elements cannot be constant strings.
1061         * libmisc/system.c: Avoid C++ comments.
1062         * src/vipw.c: WITH_TCB cannot be tested inside a gettextized
1063         string. Split the Usage string.
1064         * lib/commonio.h: Re-indent.
1065
1066 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1067
1068         * libmisc/audit_help.c (audit_logger):pgname is not used. We let
1069         audit find out the name of the program.
1070         * libmisc/audit_help.c: Re-indent.
1071
1072 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1073
1074         * lib/groupio.c: Avoid implicit conversion from signed to unsigned.
1075
1076 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1077
1078         * lib/commonio.c: Make sure there are no NULL pointer dereference.
1079
1080 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1081
1082         * libmisc/remove_tree.c: Ignore snprintf return value.
1083
1084 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1085
1086         * lib/prototypes.h, libmisc/list.c: dup_list() and is_on_list() do
1087         not change the members of the list they receive. Added const
1088         qualifiers.
1089
1090 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1091
1092         * src/usermod.c: Re-indent.
1093
1094 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1095
1096         * lib/commonio.c: Avoid multi-statements lines.
1097
1098 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1099
1100         * man/po/fr.po: Fix a typo.
1101
1102 2010-06-24  Baurzhan Muftakhidinov  <baurthefirst@gmail.com>
1103
1104         * NEWS, po/kk.po: Updated Kazakh translation.
1105
1106 2010-04-12  Nicolas François  <nicolas.francois@centraliens.net>
1107
1108         * man/po/fr.po: Fix some typos. Minor updates: 886t70f187u.
1109
1110 2010-04-12  Nicolas François  <nicolas.francois@centraliens.net>
1111
1112         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1113         * po/*.po, man/po/*.po: Updated PO files.
1114
1115 2010-04-05  Nicolas François  <nicolas.francois@centraliens.net>
1116
1117         * man/newusers.8.xml, man/useradd.8.xml, man/groupadd.8.xml,
1118         man/login.defs.d/UMASK.xml, man/login.defs.d/CREATE_HOME.xml,
1119         man/login.defs.d/LOGIN_RETRIES.xml: Fix typos: choosen, overriden,
1120         bahavior.
1121
1122 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
1123
1124         * man/usermod.8.xml: Document changes of ownerships.
1125
1126 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
1127
1128         * man/vipw.8.xml: Fix formatting typo.
1129         * man/vipw.8.xml: Document the login.defs parameters only when tcb
1130         is enabled.
1131
1132 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
1133
1134         * src/useradd.c: spool is a constant string.
1135         * src/useradd.c: Set the new copy_tree's paramater 'copy_root' to false 
1136
1137 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
1138
1139         * src/usermod.c: move_home() is only called if mflg is set.
1140         * src/usermod.c: Fail is -m is provided but the old home directory
1141         is not a directory.
1142         * src/usermod.c: Use the previous improvement of copy_tree to
1143         provide better error diagnosis.
1144         * src/usermod.c: When rename() is used, also change the ownership.
1145         * src/usermod.c: Do not change the ownership of the root directory
1146         twice.
1147         * src/usermod.c: When -u is provided, only change the ownership of
1148         the home directory if it is a directory.
1149         * src/usermod.c: Also change ownerships when -g is used.
1150
1151 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
1152
1153         * lib/prototypes.h, libmisc/copydir.c: Add the old UID and GID to
1154         copy_tree to detect when ownership shall be changed.
1155         * libmisc/copydir.c: Document the behavior when the IDs are set to
1156         -1.
1157         * lib/prototypes.h, libmisc/copydir.c (copy_tree): Add parameter
1158         copy_root.
1159         * libmisc/copydir.c: error() and ctx can be static.
1160         * libmisc/copydir.c (copy_hardlink): Remove parameter src.
1161
1162 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
1163
1164         * libmisc/chowndir.c: Dynamically allocate memory to support
1165         path longer than 1024 characters.
1166         * libmisc/chowndir.c: Fix typos in documentation.
1167         * libmisc/chowndir.c: Support and document the behavior when a old
1168         or new ID is set to -1.
1169         * libmisc/chowndir.c: Improved error detection when chown fails.
1170         * libmisc/chowndir.c: Harmonize error handling strategy when an
1171         error occurs: stop changing ownership as soon as an error was
1172         detected.
1173
1174 2010-04-03  Nicolas François  <nicolas.francois@centraliens.net>
1175
1176         * man/hu/passwd.5: Fix formatting typo.
1177         * man/id/login.1: Likewise.
1178
1179 2010-03-31  Nicolas François  <nicolas.francois@centraliens.net>
1180
1181         * man/vipw.8.xml: When TCB is enabled, vipw uses login.defs.
1182
1183 2010-03-31  Nicolas François  <nicolas.francois@centraliens.net>
1184
1185         * NEWS, libmisc/copydir.c: When a hardlink is detected, the
1186         original hardlink should not be removed.
1187
1188 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
1189
1190         * po/POTFILES.in, libmisc/Makefile.am, lib/prototypes.h,
1191         libmisc/remove_tree.c, libmisc/copydir.c: Split remove_tree()
1192         outside of copydir.c to avoid linking against libacl or libattr.
1193
1194 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
1195
1196         * src/su.c: shell's name must be -su when a su fakes a login.
1197
1198 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
1199
1200         * NEWS, configure.in, libmisc/copydir.c, man/useradd.8.xml,
1201         man/usermod.8.xml, src/Makefile.am: Added support for ACLs and
1202         Extended Attributes.
1203
1204 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
1205
1206         * libmisc/copydir.c: Document the sections closed by #endif
1207
1208 2010-03-27  Nicolas François  <nicolas.francois@centraliens.net>
1209
1210         * man/vipw.8.xml: Add section ENVIRONMENT.
1211
1212 2010-03-26  Nicolas François  <nicolas.francois@centraliens.net>
1213
1214         * etc/login.defs: Updated description of UMASK to indicate its
1215         usage by pam_umask.
1216         * man/login.defs.d/UMASK.xml: Likewise.
1217
1218 2010-03-25  Nicolas François  <nicolas.francois@centraliens.net>
1219
1220         * man/login.1.xml: login does not check for new mails in PAM
1221         enabled versions. This is done by pam_mail.
1222
1223 2010-03-25  Nicolas François  <nicolas.francois@centraliens.net>
1224
1225         * NEWS, src/chpasswd.c, man/chpasswd.8.xml, man/login.defs.5.xml:
1226         PAM enabled versions: restore the -e option to allow restoring
1227         passwords without knowing those passwords. Restore together the -m
1228         and -c options.
1229
1230 2010-03-23  Nicolas François  <nicolas.francois@centraliens.net>
1231
1232         * src/su.c, src/vipw.c, src/newgrp.c: When the child is
1233         interrupted, stop ourself with a SIGSTOP signal.
1234
1235 2010-03-23  Nicolas François  <nicolas.francois@centraliens.net>
1236
1237         * src/newgrp.c: Limit the scope of variable pid.
1238         * src/login_nopam.c: Limit the scope of variables end, lineno, i,
1239         str_len.
1240         * src/logoutd.c: Limit the scope of variable c.
1241         * src/vipw.c: Re-indent.
1242         * src/vipw.c: Close the file after the creation of the backup.
1243         * src/useradd.c (set_default): Close input file on failure.
1244         * src/useradd.c: Limit the scope of variables spool, file, fd, gr,
1245         gid, mode.
1246         * src/passwd.c: Limit the scope of variables last and ok.
1247         * src/chage.c: Fix typo (non breaking space).
1248         * src/login.c: Limit the scope of variables erasechar killchar, c,
1249         failed.
1250         * src/groups.c: Limit the scope of variable ngroups, pri_grp, i.
1251         * src/id.c: Limit the scope of variable i.
1252
1253 2010-03-22  Nicolas François  <nicolas.francois@centraliens.net>
1254
1255         * lib/utent.c (getutline): Remove getutline(). This function is
1256         no more used.
1257         * lib/groupmem.c: Limit the scope of variable i.
1258         * lib/shadow.c: Avoid implicit conversion of pointers and integers
1259         to booleans.
1260         * lib/shadow.c: Added brackets.
1261         * libmisc/limits.c: Limit the scope of variable tmpmask.
1262         * libmisc/copydir.c: Close opened file on failure.
1263         * libmisc/loginprompt.c: Limit the scope of variable envc.
1264         * libmisc/find_new_uid.c, libmisc/find_new_gid.c: Limit the scope
1265         of variable id.
1266
1267 2010-03-21  Nicolas François  <nicolas.francois@centraliens.net>
1268
1269         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Detect some
1270         misconfigurations of UID_MIN, UID_MAX, SYS_UID_MIN, SYS_UID_MAX (and
1271         the GID equivalents)
1272
1273 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
1274
1275         * NEWS, configure.in: Next version will be 4.1.5.
1276         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1277         * po/*.po, man/po/*.po: Updated PO files.
1278
1279 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
1280
1281         * libmisc/limits.c: Re-indent to make pmccabe happy.
1282
1283 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
1284
1285         * man/generate_translations.mak, man/generate_mans.mak: Fix
1286         distcheck. All manpages generation code shall be enclosed in
1287         ENABLE_REGENERATE_MAN conditions.
1288
1289 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
1290
1291         * man/useradd.8.xml: Do not document the features which are not
1292         working.
1293         * man/useradd.8.xml: Fix typo: -u was meant instead of -o.
1294         * man/useradd.8.xml: Document that the default behavior depends on
1295         CREATE_HOME.
1296
1297 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
1298
1299         * lib/groupio.c: Fix memory management insplit_groups().
1300
1301 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
1302
1303         * libmisc/strtoday.c: Empty dates indicate a disabled date, this is
1304         not an error.
1305
1306 2010-03-19  Nicolas François  <nicolas.francois@centraliens.net>
1307
1308         * src/useradd.c, lib/commonio.c, po/POTFILES.in: Fix typos.
1309         * libmisc/limits.c: Removed unused variable.
1310
1311 2010-03-19  Nicolas François  <nicolas.francois@centraliens.net>
1312
1313         * lib/commonio.c: Stop sorting entries when we reach the first
1314         NIS line.
1315
1316 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1317
1318         * src/chsh.c: Even for root, warn if an invalid shell is
1319         specified. Alioth#311305
1320
1321 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1322
1323         * man/limits.5.xml: Document the selection of the limits when
1324         multiple lines match the user.
1325
1326 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1327
1328         * libmisc/limits.c: Re-indent.
1329         * libmisc/limits.c: Reformat the documentation. Avoid personal
1330         comments.
1331         * man/limits.5.xml: Document the new features.
1332
1333 2010-03-18  Thomas Orgis  <thomas@orgis.org>
1334
1335         * NEWS, libmisc/limits.c: Fix parsing of limits.
1336         * NEWS, libmisc/limits.c: Add support for infinite limits.
1337         * NEWS, libmisc/limits.c: Add support for @group syntax.
1338
1339 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1340
1341         * lib/tcbfuncs.h: Re-indent.
1342         * lib/tcbfuncs.h: Explicitly indicate function taking a void
1343         parameter.
1344
1345 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1346
1347         * src/useradd.c: When exiting because of a failure, warn if an
1348         home directory created, but cannot be removed.
1349
1350 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1351
1352         * libmisc/chowndir.c: Re-indent.
1353         * libmisc/chowndir.c: Avoid assignment in comparisons.
1354         * libmisc/chowndir.c: Added brackets and parenthesis.
1355
1356 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1357
1358         * libmisc/strtoday.c: Add support for numerical dates, assuming
1359         they are already specified in number of days since Epoch. Return
1360         -2 in case of errors to support the specification of -1.
1361         * src/usermod.c, src/useradd.c: Adapt to the new error value of
1362         strtoday().
1363         * src/chage.c:  Remove isnum(). Adapt to the new error value of
1364         strtoday(). Support for numerical dates is moved to strtoday().
1365
1366 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1367
1368         * man/po/fr.po: Harmonize name of parameters.
1369
1370 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1371
1372         * NEWS: Indicate which tools support TCB.
1373
1374 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1375
1376         * src/pwck.c: Unlock the password and shadow files when there is a
1377         failure to prepare the update in memory.
1378
1379 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1380
1381         * src/pwck.c: Only log to SYSLOG when acting on system files.
1382
1383 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1384
1385         * src/pwck.c: Document the sections closed by #endif
1386         * src/pwck.c, man/pwck.8.xml: No alternative shadow file can be
1387         given when USE_TCB is enabled.
1388         * src/pwck.c: Remove the -s option from the usage when USE_TCB is
1389         enabled. The option is still supported, but has no effect, as
1390         documented in the manpage.
1391
1392 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1393
1394         * src/pwck.c: Do not use pwd_file and spw_file. Always use the
1395         dbname() functions.
1396
1397 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1398
1399         * src/pwck.c: Re-indent.
1400
1401 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1402
1403         * src/userdel.c, src/usermod.c, src/vipw.c, src/useradd.c,
1404         src/pwck.c, src/chage.c, lib/shadowio.c: Explicitly use the
1405         SHADOWTCB_FAILURE return code instead of 0 or implicit conversion
1406         to booleans.
1407
1408 2010-03-18  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
1409
1410         * src/pwck.c: Add support for TCB.
1411         * src/pwck.c: Use spw_dbname() instead of spw_file since TCB
1412         changes from a file to another depending on the user. Also use
1413         pw_dbname() for consistency.
1414
1415 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
1416
1417         * src/faillog.c: Re-indent.
1418
1419 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
1420
1421         * lib/tcbfuncs.h: Added type shadowtcb_status.
1422         * lib/tcbfuncs.h, lib/tcbfuncs.c: Return a shadowtcb_status
1423         instead of an int.
1424         * lib/tcbfuncs.c: Do not return in OUT_OF_MEMORY.
1425         * lib/tcbfuncs.c: Only FreeBSD specify that the returned buffer is
1426         NULL in case of failure. The return value of asprintf shall be
1427         checked.
1428         * lib/tcbfuncs.c: Avoid implicit conversion of pointers or
1429         integers to booleans.
1430         * lib/tcbfuncs.c: Avoid assignments in comparisons.
1431         * lib/tcbfuncs.c: Do not free path before its last use.
1432         * lib/tcbfuncs.c: Include shadowio.h, needed for the
1433         spw_setdbname's prototype.
1434         * lib/tcbfuncs.c: Ignore fflush() return value.
1435         * lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.
1436         * lib/tcbfuncs.c: Avoid integer to char conversions.
1437         * lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.
1438         * lib/tcbfuncs.c: Removed dead return.
1439         * lib/tcbfuncs.c: move_dir() and shadowtcb_move() need a non NULL
1440         stored_tcb_user.
1441         * lib/tcbfuncs.c: Avoid implicit int to mode_t conversion.
1442         * lib/tcbfuncs.c: Added brackets and parenthesis.
1443         * lib/tcbfuncs.c: Re-indent.
1444
1445 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
1446
1447         * lib/commonio.c: Avoid implicit conversion of pointers to
1448         booleans.
1449         * lib/commonio.c: Ignore the return value of close when a
1450         failure is reported.
1451
1452 2010-03-16  Nicolas François  <nicolas.francois@centraliens.net>
1453
1454         * man/faillog.8.xml: Document the behavior in display mode of the
1455         -a option.
1456         * NEWS, man/faillog.8.xml, src/faillog.c: Extend the -a option to
1457         the non-display mode. This changes the default behavior of the -l,
1458         -m, -r, -t options when -a is not specified (restrict to existing
1459         users).
1460
1461 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1462
1463         * man/chage.1.xml, man/login.defs.5.xml, man/pwck.8.xml,
1464         man/pwconv.8.xml, man/useradd.8.xml, man/userdel.8.xml,
1465         man/usermod.8.xml, man/vipw.8.xml: Document the usage of the
1466         TCB_AUTH_GROUP, TCB_SYMLINKS, and USE_TCB configuration
1467         parameters.
1468         * man/pwconv.8.xml, man/pwck.8.xml: Document the behavior when
1469         USE_TCB is enabled.
1470
1471 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1472
1473         * po/POTFILES.in, lib/tcbfuncs.c: Add more strings for
1474         translation.
1475         * lib/tcbfuncs.c: Indicate the name of the program in error
1476         messages. Avoid perror.
1477         * src/useradd.c: Re-indent.
1478         * src/useradd.c: Add more strings for translation. Indicate the
1479         name of the program in error messages.
1480         * src/userdel.c: Re-indent.
1481         * src/userdel.c: Add more strings for translation. Indicate the
1482         name of the program in error messages.
1483
1484 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1485
1486         * src/usermod.c: user_newname and user_newid cannot be used to
1487         test if the username or ID is changed. lflg and uflg should be
1488         used instead.
1489
1490 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1491
1492         * src/userdel.c: Avoid perror. Give more verbose warnings.
1493
1494 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1495
1496         * man/Makefile.am: Indicate that man/generate_mans.deps is
1497         generated.
1498
1499 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1500
1501         * lib/commonio.c: Re-indent.
1502         * lib/commonio.c: Document the sections closed by #endif
1503         * lib/commonio.c: Added brackets.
1504         * lib/commonio.c: Avoid implicit conversion of integer to
1505         booleans.
1506
1507 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1508
1509         * src/userdel.c: Re-indent.
1510         * src/userdel.c: Added brackets.
1511         * src/userdel.c: Avoid implicit conversion of pointers to
1512         booleans.
1513
1514 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1515
1516         * lib/shadowio.c: Re-indent.
1517         * lib/shadowio.c: Added brackets and parenthesis.
1518         * lib/shadowio.c: Document the sections closed by #endif
1519         * lib/shadowio.c: Avoid negation of comparisons.
1520         * lib/shadowio.c: Avoid implicit conversion of integer to booleans
1521         and booleans to integers.
1522
1523 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1524
1525         * src/useradd.c: Re-indent.
1526         * src/useradd.c: Added brackets.
1527         * src/useradd.c: Avoid implicit conversion of integers to
1528         booleans.
1529         * src/useradd.c: Harmonize error messages.
1530
1531 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1532
1533         * src/vipw.c: Document the sections closed by #endif
1534         * src/vipw.c: Avoid implicit conversion of pointers or integers to
1535         booleans.
1536         * src/vipw.c: Added brackets and parenthesis.
1537         * src/vipw.c: Limit the definition of some variables and macros to
1538         the WITH_TCB scope.
1539         * src/vipw.c: Avoid assignment in comparisons.
1540         * src/vipw.c: Replace PASSWD_FILE (resp. GROUP_FILE and
1541         SGROUP_FILE) by pw_dbname () (resp. gr_dbname () and sgr_dbname ()).
1542         This is more consistent with the shadow file handling and may be
1543         useful to allow edition of another partition's files.
1544
1545
1546 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1547
1548         * src/usermod.c: Re-indent.
1549         * src/usermod.c: Avoid implicit conversion of pointers to
1550         booleans.
1551         * src/usermod.c: Added parenthesis.
1552
1553 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1554
1555         * src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.
1556
1557 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
1558
1559         * src/userdel.c: Re-indent.
1560         * src/userdel.c: Avoid implicit conversion of pointers to
1561         booleans.
1562         * src/userdel.c: Document the sections closed by #endif
1563
1564 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
1565
1566         * src/pwconv.c: Only check USE_TCB if configured WITH_TCB.
1567
1568 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
1569
1570         * libmisc/copydir.c: Added parenthesis.
1571
1572 2010-02-14  Michael Bunk  <mb@computer-leipzig.com>
1573
1574         * NEWS, lib/gshadow.c: Fix parsing of gshadow entries.
1575
1576 2010-01-30  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
1577
1578         * NEWS: Add support for TCB.
1579         * lib/tcbfuncs.h, lib/tcbfuncs.c, lib/Makefile.am: New library to
1580         support TCB.
1581         * lib/prototypes, libmisc/copydir.c (remove_tree): Add boolean
1582         parameter remove_root.
1583         * configure.in: Add conditional WITH_TCB.
1584         * src/userdel.c, src/usermod.c: Add support for TCB. Update call to
1585         remove_tree().
1586         * src/pwconv.c, src/pwunconv.c: Should not be used with TCB enabled.
1587         * src/vipw.c: Add support for TCB. Update call to remove_tree().
1588         * src/useradd.c: Add support for TCB. Open the shadow file outside
1589         of open_files().
1590         * src/chage.c: Add support for TCB.
1591         * src/Makefile.am: Install passwd sgid shadow when TCB is enabled.
1592         * lib/getdefs.c, man/vipw.8.xml, man/login.defs.5.xml,
1593         man/login.defs/TCB_AUTH_GROUP.xml, man/login.defs/USE_TCB.xml,
1594         man/login.defs/TCB_SYMLINKS.xml, man/generate_mans.mak,
1595         man/generate_mans.deps, man/Makefile.am: New configuration
1596         parameters: TCB_AUTH_GROUP, TCB_SYMLINKS, USE_TCB.
1597         * lib/shadowio.c, lib/commonio.c: Add support for TCB.
1598
1599 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
1600
1601         * libmisc/env.c: Fix sanitize_env() noslash support. This fixes
1602         Alioth#311740.
1603
1604 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
1605
1606         * src/su.c: Do not sanitize the environment. This breaks
1607         --preserve-environment. This sanitation was disabled on Debian
1608         since quite some time with no reported issues, and sanitize_env()
1609         documentation agrees that it should be useless as all modern
1610         Unixes will handle setuid executables properly. This fixes
1611         Alioth#312287.
1612
1613 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
1614
1615         * libmisc/setupenv.c: Fix typo from 2009-11-01.
1616
1617 2010-01-24  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
1618
1619         * configure.in: Add support for TCB in configure.in. Actual TCB
1620         support will follow.
1621
1622 2009-11-05  Nicolas François  <nicolas.francois@centraliens.net>
1623
1624         * NEWS, src/groupmod.c: Fixed groupmod when configured with
1625         --enable-account-tools-setuid.
1626
1627 2009-11-01  Nicolas François  <nicolas.francois@centraliens.net>
1628
1629         * NEWS, man/login.defs.d/ENV_SUPATH.xml, libmisc/setupenv.c:
1630         Harmonize other paths and documentation with previous
1631         change.
1632
1633 2009-11-01  Michel Hermier  <michel.hermier@gmail.com>
1634
1635         * src/su.c: Set the default ENV_SUPATH to
1636         /sbin:/bin:/usr/sbin:/usr/bin (i.e. PATH when no ENV_SUPATH is
1637         specified).
1638
1639 2009-10-15  Thorsten Kukuk  <kukuk@suse.de>
1640
1641         * src/faillog.c, man/faillog.8.xml: Harmonize long option in code
1642         and documentation. Use --lock-secs instead of --lock-time.
1643
1644 2009-10-05  Miroslav Kure  <kurem@upcase.inf.upol.cz>
1645
1646         * po/cs.po: updated to 412t
1647
1648 2009-09-29  Clytie Siddall  <clytie@riverland.net.au>
1649
1650         * po/vi.po: updated to 412t
1651
1652 2009-09-27  Miroslav Kure  <kurem@upcase.inf.upol.cz>
1653
1654         * po/cs.po: updated to 411t1f
1655
1656 2009-09-24  Christian Perrier  <bubulle@debian.org>
1657
1658         * man/po/fr.po: Updated French translation to 835t99f165
1659
1660 2009-09-24  Clytie Siddall  <clytie@riverland.net.au>
1661
1662         * po/vi.po: updated to 348t30f34u
1663
1664 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1665
1666         * lib/commonio.c: Avoid pre-decrement operator (--n). Add some
1667         comments.
1668         * libmisc/cleanup.c: Fix off by one in an assertion.
1669
1670 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1671
1672         * src/su.c: Fix indentation.
1673         * src/su.c: Add more messages for translation.
1674         * src/su.c: Ignore kill() return value when sending the TERM
1675         signal. If it fails, a KILL should be sent anyway.
1676
1677 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1678
1679         * NEWS, src/su.c: When su receives a signal, wait for the child to
1680         terminate (after sending a SIGTERM), and kill it only if it did
1681         not terminate by itself. No delay will be enforced if the child
1682         cooperates. See http://bugs.gentoo.org/282094
1683         * NEWS, man/su.1.xml: Document su's exit values.
1684
1685 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1686
1687         * src/useradd.c: The default value for the CREATE_MAIL_SPOOL
1688         variable (i.e. if CREATE_MAIL_SPOOL= is specified without any
1689         values) is "no", not DCREATE_MAIL_SPOOL ("CREATE_MAIL_SPOOL=").
1690
1691 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1692
1693         * src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead.
1694         For consistency, change HOME, INACT, EXPIRE, SKEL, and
1695         CREATE_MAIL_SPOOL to DHOME, DINACT, DEXPIRE, DSKEL, and
1696         DCREATE_MAIL_SPOOL.
1697
1698 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1699
1700         * src/newusers.c: Prefer #ifdef over #if.
1701
1702 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1703
1704         * configure.in: We do not use SETPGRP_VOID, and already assume
1705         that setpgrp has a void argument. Remove AC_FUNC_SETPGRP to ease
1706         cross compiling.
1707
1708 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
1709
1710         * man/generate_translations.mak, man/generate_mans.mak,
1711         po/Makefile.in.in: Removing and restoring the config.xml file
1712         broke parallel builds. Build the manpages based on *.xml-config
1713         files instead of *.xml files.  The *.xml do not include config.xml
1714         anymore, which permits to run xml2po without needing to remove
1715         config.xml. The config.xml is restored in the *.xml-config files.
1716         * man/groupadd.8.xml: Implementation of the above.
1717         * man/generate_mans.deps: Updated dependencies
1718
1719 2009-09-07  Steve Grubb  <sgrubb@redhat.com>
1720
1721         * libmisc/limits.c: Fix the format to match the unsigned long
1722         variable in argument.
1723         * libmisc/utmp.c: Fix tests. tmptty is a variable stack. ut_host
1724         is an array of the ut structure. None of them can be NULL.
1725
1726 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
1727
1728         * lib/shadowmem.c: Only copy the required fields of the struct
1729         spwd. (start with the primitive types)
1730         * lib/shadowmem.c: Avoid memzero() on a possibly NULL pointer.
1731         * lib/groupmem.c: Only copy the required fields of the struct
1732         group. (start with the primitive types)
1733         * lib/groupmem.c: Avoid memzero() on a possibly NULL pointer.
1734         * lib/groupmem.c: Free gr_mem in addition to its elements.
1735         * lib/sgroupio.c: The struct sgrp has no primitive types to be
1736         copied initially.
1737         * lib/sgroupio.c: Avoid memzero() on a possibly NULL pointer.
1738         * lib/sgroupio.c: Free sg_mem and sg_add in addition to their
1739         elements.
1740         * lib/pwmem.c: Only copy the required fields of the struct
1741         passwd. (start with the primitive types)
1742
1743 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
1744
1745         * lib/sgroupio.h: Harmonize splint annotations of sgr_locate()
1746         prototype with the one used in its definition.
1747
1748 2009-09-07  Steve Grubb  <sgrubb@redhat.com>
1749
1750         * libmisc/copydir.c, lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
1751         Fix some memory leaks.
1752
1753 2009-09-06  Nicolas François  <nicolas.francois@centraliens.net>
1754
1755         * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c,
1756         src/chpasswd.c, src/groupmems.c, src/usermod.c, src/chgpasswd.c,
1757         src/vipw.c, src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c,
1758         src/groupadd.c, src/chage.c, src/faillog.c, src/chsh.c: Use
1759         booleans for tests.
1760         * src/userdel.c, src/gpasswd.c, src/groupmems.c, src/usermod.c,
1761         src/groupmod.c, src/passwd.c: Use a break even after usage().
1762
1763 2009-09-05  Nicolas François  <nicolas.francois@centraliens.net>
1764
1765         * src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd
1766         Usage string. It was changed anyway to add the --help option.
1767
1768 2009-09-05  Mike Frysinger  <vapier@gentoo.org>
1769
1770         * NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c,
1771         src/newusers.c, src/chpasswd.c, src/groupmems.c, src/usermod.c,
1772         src/chgpasswd.c, src/vipw.c, src/su.c, src/useradd.c,
1773         src/groupmod.c, src/passwd.c, src/groupadd.c, src/chage.c,
1774         src/faillog.c, src/chsh.c: If someone uses the -h/--help options,
1775         the usage should not go to stderr nor should the utility exit with
1776         non-zero status. All of the shadow utils do just this
1777         unfortunately, so convert them over to sanity.
1778         * man/groupmems.8.xml, man/gpasswd.1.xml: Added option -h/--help.
1779
1780 2009-09-05  Nicolas François  <nicolas.francois@centraliens.net>
1781
1782         * src/useradd.c: Fixed wrong format string.
1783         * lib/gshadow.c: Removed declaration of unused variable.
1784
1785 2009-08-30  Mike Frysinger  <vapier@gentoo.org>
1786
1787         * man/generate_mans.mak, man/generate_translations.mak: Provide an
1788         useful error message when --enable-man is not enabled and the
1789         translated manpages are not generated.
1790
1791 2009-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1792
1793         * man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They
1794         break the groff formatting.
1795
1796 2009-07-24  Nicolas François  <nicolas.francois@centraliens.net>
1797
1798         * po/fr.po: Fix typos, based on reviews by the Debian French
1799         translation team.
1800
1801 2009-07-24  Nicolas François  <nicolas.francois@centraliens.net>
1802
1803         * NEWS, configure.in: Prepare for the next release 4.1.4.2.
1804         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1805         * po/*.po, man/po/*.po: Updated PO files.
1806
1807 2009-07-23  Nicolas François  <nicolas.francois@centraliens.net>
1808
1809         * configure.in: Fixed definition of the SHELL configuration.
1810
1811 2009-07-23  Nicolas François  <nicolas.francois@centraliens.net>
1812
1813         * etc/login.defs: SYS_GID_MIN /SYS_UID_MIN changed from 100 to
1814         101. GID 100 seems to be used statically.
1815
1816 2009-07-22  Nicolas François  <nicolas.francois@centraliens.net>
1817
1818         * libmisc/shell.c, src/su.c: Execute the scripts with "sh -"
1819         rather than "sh".
1820
1821 2009-07-22  Nicolas François  <nicolas.francois@centraliens.net>
1822
1823         * configure.in, libmisc/shell.c, libmisc/setupenv.c, src/newgrp.c,
1824         src/su.c: Let the system shell be configurable.
1825
1826 2009-07-20  Nicolas François  <nicolas.francois@centraliens.net>
1827
1828         * NEWS, src/su.c, libmisc/shell.c: Added support for shells being a
1829         shell script without a shebang.
1830
1831 2009-07-19  Jean-Louis Dupond  <info@dupondje.be>
1832
1833         * po/nl.po: Fix obvious mistake in Dutch translation.
1834
1835 2009-07-18  Peter Vrabec  <pvrabec@redhat.com>
1836
1837         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not use
1838         getpwent / getgrent for system accounts. Trying the low-IDs with
1839         getpwuid / getgrgid should be more efficient on LDAP configured
1840         systems with many accounts.
1841         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Since
1842         system accounts are allocated from SYS_?ID_MIN to SYS_?ID_MAX in
1843         reverse order, accounts are packed close to SYS_?ID_MAX if
1844         SYS_?ID_MIN is already used but there are still dome gaps.
1845
1846 2009-07-05  Piarres Beobide  <pi+debian@beobide.net>
1847
1848         * po/eu.po: Updated Basque translation.
1849
1850 2009-06-20  Nicolas François  <nicolas.francois@centraliens.net>
1851
1852         * man/fi/Makefile.am: Stop distributing the Finnish translation of
1853         passwd.1 (outdated).
1854
1855 2009-06-20  Nicolas François  <nicolas.francois@centraliens.net>
1856
1857         * man/pwck.8.xml: The shadow file is optional.
1858         * man/pwck.8.xml: Updated description of the checks. Added
1859         description of the shadow checks.
1860         * man/pwck.8.xml: Updated description of the checks.
1861
1862 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1863
1864         * man/po/fr.po: Fixed typo (forunis)
1865
1866 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1867
1868         * lib/fputsx.c: Compare the result of fgets() with the provided
1869         buffer instead of NULL.
1870
1871 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1872
1873         * lib/gshadow.c: Removed limitation on the length of the gshadow
1874         lines.
1875         * lib/gshadow.c: Compare the result of fgetsx() with the provided
1876         buffer instead of NULL.
1877
1878 2009-06-11  Nicolas François  <nicolas.francois@centraliens.net>
1879
1880         * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetgrnam.c,
1881         libmisc/xgetpwuid.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c: Do
1882         not limit the size of the buffer to hold the group or user
1883         structure. It used to be limited to 16k, which caused issues with
1884         groups having many users.
1885
1886 2009-06-11  Nicolas François  <nicolas.francois@centraliens.net>
1887
1888         * src/su.c, man/su.1.xml: The default behavior (without -p or
1889         --login) is to copy most of the environment variables. Revert a
1890         previous change and update the documentation.
1891
1892 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1893
1894         * man/passwd.5.xml, man/shadow.5.xml: Document the passwd- and
1895         shadow- files.
1896
1897 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1898
1899         * NEWS, src/su.c: Preserve the DISPLAY and XAUTHORITY environment
1900         variables, even with --login. This was not the case before in the
1901         PAM version.
1902
1903 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1904
1905         * src/useradd.c, src/groupmod.c, src/groupadd.c, src/faillog.c:
1906         Fix typos. Take this opportunity to split the usage messages into
1907         smaller messages (one per option).
1908         * src/pwck.c: Fix typo.
1909
1910 2009-06-05  Petri Koistinen  <petri.koistinen@iki.fi>
1911
1912         * man/passwd.1.xml: The short option for --mindays is -n, not -m.
1913
1914 2009-06-04  Mike Frysinger  <vapier@gentoo.org>
1915
1916         * .gitignore, man/.gitignore, src/.gitignore: Added .gitignore
1917         files.
1918
1919 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1920
1921         * man/su.1.xml: Use <option> for the login.defs options.
1922         * man/su.1.xml: Improve the documentation of the su behavior
1923         regarding environment variables.
1924         * man/su.1.xml: Document that the login.defs file is used.
1925
1926 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1927
1928         * man/login.1.xml: Document that the login.defs file is used.
1929
1930 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1931
1932         * man/login.defs.d/ENVIRON_FILE.xml: Document the format for
1933         comments.
1934
1935 2009-05-26  Nicolas François  <nicolas.francois@centraliens.net>
1936
1937         * man/gpasswd.1.xml: Ease the translation of the refpurpose.
1938         * man/gpasswd.1.xml: Fix typo, shorten sentences.
1939
1940 2009-05-26  Nicolas François  <nicolas.francois@centraliens.net>
1941
1942         * man/pwck.8.xml, man/grpck.8.xml: Move the SEE ALSO section at
1943         the end.
1944
1945 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1946
1947         * src/vipw.c: Make sure opened files are closed.
1948
1949 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1950
1951         * man/chpasswd.8.xml, man/grpck.8.xml, man/newgrp.1.xml,
1952         man/passwd.1.xml, man/sg.1.xml: Avoid a spurious comma.
1953
1954 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1955
1956         * NEWS: New placeholder for the next release.
1957
1958 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1959
1960         * po/fr.po: Updated French translation.
1961
1962 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1963
1964         * NEWS: Prepare the next release.
1965         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1966         * po/*.po, man/po/*.po: Updated PO files.
1967
1968 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1969
1970         * man/passwd.1.xml: passwd -u does not reset the expiry field.
1971
1972 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1973
1974         * man/po/fr.po: Updated some strings.
1975
1976 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1977
1978         * NEWS, src/newgrp.c: Return the exit status of the child. Thanks
1979         to Lionel Elie Mamane.
1980
1981 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1982
1983         * src/usermod.c: Added warnings for absolute symlinks which could
1984         be broken by rename().
1985
1986 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1987
1988         * NEWS, src/userdel.c: Report errors to remove the user's mailbox.
1989         * NEWS, src/userdel.c: When USERGROUPS_ENAB is enabled, remove the
1990         user's group when the user was the only member. This is still not
1991         complete, as the user could have been specified twice in the
1992         members.
1993         * NEWS, src/userdel.c: Do not fail when -r is used and the home
1994         directory does not exist.
1995
1996 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1997
1998         * libmisc/copydir.c: Added warning for relative symlinks.
1999         * libmisc/copydir.c (remove_tree): There is no need to check if
2000         the root argument exist. opendir() will report this.
2001
2002 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
2003
2004         * man/faillog.8.xml: Minor updates.
2005
2006 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
2007
2008         * man/faillog.5.xml: Split a long paragraph. Typo fixes.
2009
2010 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
2011
2012         * man/gpasswd.1.xml: Minor updates.
2013
2014 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
2015
2016         * man/gshadow.5.xml: Updated documentation.
2017
2018 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
2019
2020         * man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
2021         Harmonize formatting of login.defs and default/useradd variables.
2022         Use an <option> tag.
2023         * man/usermod.8.xml: Added reference to gshadow(5).
2024         * man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the
2025         USERDEL_CMD example.
2026
2027 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
2028
2029         * src/su.c: Use a boolean instead of 0.
2030
2031 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
2032
2033         * man/usermod.8.xml: Fixed typos.
2034
2035 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
2036
2037         * configure.in: Next version will be 4.1.4.1.
2038
2039 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
2040
2041         * man/newusers.8.xml: Added notes regarding the ownership of
2042         files.
2043
2044 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2045
2046         * man/groupmod.8.xml: Split the -g option description into smaller
2047         paragraphs.
2048
2049 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2050
2051         * man/usermod.8.xml: Ownership of the mailbox is also changed with
2052         the -u option.
2053
2054 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2055
2056         * man/useradd.8.xml: When no passwords are provided, the password
2057         is disabled, not the account.
2058
2059 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2060
2061         * man/newusers.8.xml, man/chpasswd.8.xml, man/useradd.8.xml,
2062         man/groupadd.8.xml, man/usermod.8.xml, man/chgpasswd.8.xml,
2063         man/groupmod.8.xml: Added warning: passwords set with these tools
2064         may not respect the password policy.
2065
2066 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2067
2068         * man/groupadd.8.xml: Fixed formatting issue.
2069
2070 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2071
2072         * man/userdel.8.xml: Added warning for files that could remain
2073         owner by the removed user.
2074
2075 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2076
2077         * man/useradd.8.xml: Fix formatting typo.
2078
2079 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2080
2081         * man/groupdel.8.xml: Move the warning on filesystems checks to
2082         the CAVEAT section.
2083
2084 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2085
2086         * man/login.defs.d/GID_MAX.xml: Fixed typo. useradd was specified
2087         twice.
2088
2089 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2090
2091         * man/groupadd.8.xml, man/useradd.8.xml: names may also contain
2092         digits.
2093
2094 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2095
2096         * man/shadow.5.xml: What is important in shadow is not the
2097         encryption, but that the file is not world readable.
2098
2099 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2100
2101         * man/po/fr.po: Updated French translation. Thanks to ABBAS
2102         Belkacem for the login.defs update.
2103
2104 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2105
2106         * man/usermod.8.xml: Split the CAVEAT section in paragraphs.
2107         Updated information on the user_busy check.
2108
2109 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2110
2111         * man/userdel.8.xml: Document that -f may force the deletion of a
2112         busy user.
2113
2114 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2115
2116         * NEWS, src/usermod.c: Check if the user is busy when the user's
2117         UID, name or home directory is changed.
2118
2119 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2120
2121         * src/userdel.c, libmisc/user_busy.c, libmisc/Makefile.am,
2122         lib/prototypes.h: Move user_busy() to libmisc/user_busy.c.
2123         * NEWS, libmisc/user_busy.c: On Linux, do not check if an user is
2124         logged in with utmp, but check if the user is running some
2125         processes. If not on Linux, continue to search for an utmp record,
2126         but make sure the process recorded in the utmp entry is still
2127         running.
2128
2129 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2130
2131         * man/usermod.8.xml: Document the -m/--move-home option.
2132
2133 2009-05-17  Nicolas François  <nicolas.francois@centraliens.net>
2134
2135         * src/userdel.c (user_busy): Check if the process registered in
2136         utmp is still running. This avoids rejecting the removal of an
2137         user when UTMP was not updated and indicate that the user is still
2138         logged in.
2139
2140 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
2141
2142         * NEWS, libmisc/console.c (console): Remove the leading /dev/ from
2143         the tty before comparing with the lines specified by CONSOLE.
2144         * src/su.c: Do not remove the /dev/ prefix since it is done by
2145         console().
2146
2147 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
2148
2149         * man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE
2150         file.
2151
2152 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
2153
2154         * NEWS, src/login.c: Fix failure of non PAM enabled versions when
2155         an empty username is entered after a first prompt.
2156
2157 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
2158
2159         * src/passwd.c: Added missing end of line at the end of success
2160         messages.
2161
2162 2009-05-16  sacha  <sachall@infonie.fr>
2163
2164         * po/fr.po: Fixed typo in the vipw usage string.
2165
2166 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
2167
2168         * libmisc/shell.c: Removed invalid code that executed the user's
2169         shell as a shell script when the direct execution of the user's
2170         shell failed with ENOEXEC and the user's shell has a shebang. The
2171         interpreter might not be the right one.  Executing the user's
2172         shell with sh -c might be better, but I'm not sure we should try
2173         harder when there is a failure. Note: the removed code was only
2174         included #ifndef __linux__.
2175
2176 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
2177
2178         * man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed
2179         when the group is used by other users, not the user.
2180
2181 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
2182
2183         * src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the
2184         USERDEL_CMD script example from the source code to the
2185         documentation.
2186
2187 2009-05-11  Nicolas François  <nicolas.francois@centraliens.net>
2188
2189         * man/newusers.8.xml: PAM enabled version: describe how passwords
2190         are updated and how newusers behave in case of error.
2191
2192 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
2193
2194         * NEWS, configure.in: New release will be 4.1.4.
2195         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
2196         * po/*.po, man/po/*.po: Updated PO files.
2197
2198 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
2199
2200         * libmisc/copydir.c: Added prototype of readlink_malloc(), and
2201         readlink_malloc() changed to static.
2202
2203 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
2204
2205         * src/su.c: Avoid redeclaration of root_pw.
2206
2207 2009-05-10  NAKANO Takeo  <nakano@webmasters.gr.jp>
2208
2209         * po/ja.po: Updated Japanese translation.
2210
2211 2009-05-10  Jean-Luc Coulon (f5ibh)  <jean-luc.coulon@wanadoo.fr>
2212
2213         * po/fr.po: Updated French translation.
2214
2215 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
2216
2217         * lib/commonio.c: Avoid PATH_MAX. On glibc, we can use realpath
2218         with a NULL argument.
2219         * src/useradd.c: Replace PATH_MAX by a fixed constant. The buffer
2220         was not meant as a storage for a path.
2221         * src/useradd.c, src/newusers.c, src/chpasswd.c: Better detection
2222         of fgets errors. Lines shall end with a \n, unless we reached the
2223         end of file.
2224         * libmisc/copydir.c: Avoid PATH_MAX. Support file paths with any
2225         length. Added readlink_malloc().
2226
2227 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
2228
2229         * src/pwck.c: Warn if an user has an entry in passwd and shadow,
2230         and the password field in passwd is not 'x'.
2231         * src/grpck.c: Warn if a group has an entry in group and gshadow,
2232         and the password field in group is not 'x'.
2233
2234 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
2235
2236         * man/login.defs.d/ENCRYPT_METHOD.xml,
2237         man/login.defs.d/MD5_CRYPT_ENAB.xml,
2238         man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Updated note for PAM
2239         enabled versions. These variables are only used for group
2240         passwords in this case.
2241
2242 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
2243
2244         * man/chpasswd.8.xml: Sorted options alphabetically.
2245
2246 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
2247
2248         * NEWS, src/newusers.c, src/Makefile.am: Added support for
2249         changing the passwords with PAM.
2250         * src/newusers.c: Split the usage string in smaller parts to
2251         allow enabling single parts.
2252         * man/newusers.8.xml: Indicate the options and configuration
2253         variables valid for PAM and non-PAM versions.
2254         * man/newusers.8.xml: Added pointer to /etc/pam.d/chpasswd.
2255
2256 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
2257
2258         * src/userdel.c: Remove duplicate definitions of exit codes.
2259
2260 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2261
2262         * libmisc/non_interactive_pam_conv.c,
2263         libmisc/pam_pass_non_interractive.c, libmisc/Makefile.am: Renamed.
2264         * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
2265         non_interactive_password and non_interactive_pam_conv do not need
2266         to be externally visible.
2267         * libmisc/pam_pass_non_interractive.c: Added declaration of
2268         ni_conv.
2269         * libmisc/pam_pass_non_interractive.c: Only compile ifdef USE_PAM.
2270         * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
2271         Added do_pam_passwd_non_interractive().
2272         * src/chpasswd.c: Use do_pam_passwd_non_interractive().
2273
2274 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2275
2276         * libmisc/pam_pass.c: Removed comment regarding pam_misc. This is
2277         checked by configure.in.
2278
2279 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2280
2281         * man/login.defs.5.xml: PAM enabled chpasswd do not use any
2282         configuration variable from login.defs.
2283
2284 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2285
2286         * man/passwd.1.xml: Differentiate the files used for PAM and
2287         non-PAM versions.
2288
2289 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2290
2291         * man/chpasswd.8.xml: Describe how chpasswd behaves in case of error.
2292         * man/chpasswd.8.xml: Describe the PAM enabled chpasswd behavior.
2293         * man/chpasswd.8.xml: Differentiate the files and configurations
2294         used for PAM and non-PAM versions.
2295
2296 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2297
2298         * src/login.c: failcount does not need to be signed.
2299
2300 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2301
2302         * src/Makefile.am: PAM enabled chpasswd now needs to be linked to
2303         the PAM library, even if --enable-account-tools-setuid is not
2304         used.
2305
2306 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2307
2308         * src/chpasswd.c: Added the line number when an error is reported
2309         instead of only the username.
2310         * src/chpasswd.c: PAM enabled chpasswd may change the password
2311         database (for the user where the password update succeeded) even
2312         if there were a failure for one user. Do not indicate that changes
2313         were ignored.
2314
2315 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2316
2317         * src/passwd.c: Exit immediately when unlocking a password would
2318         result in a passwordless account. This avoid printing a success
2319         message after the warning.
2320
2321 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2322
2323         * src/nologin.c: Include <stdlib.h> to get EXIT_FAILURE.
2324
2325 2009-05-04  Nicolas François  <nicolas.francois@centraliens.net>
2326
2327         * NEWS, configure.in: Fix build failure on non-PAM enabled system
2328         when --without-pam is not specified.
2329
2330 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2331
2332         * lib/commonio.c: Ignore the return values of fclose() and
2333         unlink() in case of failure of fopen_set_perms() or
2334         create_backup().
2335         * lib/commonio.c: Should the backup file be unlink'ed in case of
2336         failure of create_backup()?
2337
2338 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2339
2340         * lib/getulong.c: Added splint annotations.
2341
2342 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2343
2344         * src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c,
2345         src/userdel.c, src/chpasswd.c, src/grpck.c, src/gpasswd.c,
2346         src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
2347         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
2348         src/groupadd.c, src/chage.c, src/login.c, src/faillog.c,
2349         src/sulogin.c, src/chsh.c, src/pwconv.c: Added splint annotations.
2350         * src/userdel.c, src/pwconv.c, src/lastlog.c, src/grpck.c,
2351         src/vipw.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/login.c,
2352         src/sulogin.c, src/usermod.c: Use return instead of exit at the
2353         end of main().
2354         * src/gpasswd.c, src/passwd.c, src/faillog.c: Use the exitcodes.h
2355         exit codes.
2356         * src/chpasswd.c: Added missing ||.
2357         * src/nologin.c: Do not include exitcodes.h.
2358         * src/nologin.c: Added brackets.
2359         * src/nologin.c: Avoid assignments in comparisons.
2360
2361 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2362
2363         * libmisc/getgr_nam_gid.c, lib/get_gid.c, lib/get_pid.c,
2364         lib/get_uid.c: Added splint annotations.
2365
2366 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2367
2368         * lib/exitcodes.h: Define E_SUCCESS as EXIT_SUCCESS. Added FIXMEs.
2369         * libmisc/chowntty.c, libmisc/rlogin.c, libmisc/sub.c,
2370         src/newusers.c, libmisc/sulog.c, libmisc/system.c, src/logoutd.c,
2371         src/groups.c, src/id.c, lib/encrypt.c, libmisc/audit_help.c,
2372         libmisc/limits.c: Return EXIT_FAILURE instead of 1, and
2373         EXIT_SUCCESS instead of 0.
2374         * libmisc/audit_help.c: Replace an fprintf() by fputs().
2375         * libmisc/audit_help.c: Remove documentation of the audit_logger
2376         returned values. The function returns void.
2377         * libmisc/system.c: Only return status if waitpid succeeded.
2378         Return -1 otherwise.
2379
2380 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2381
2382         * NEWS, src/chpasswd.c: Added support for changing the passwords
2383         with PAM.
2384         * src/chpasswd.c: Split the usage string in smaller parts to
2385         allow enabling single parts.
2386         * src/chpasswd.c: Do not set a global lock on the password files.
2387         This is done by PAM each time a password is updated.
2388
2389 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2390
2391         * lib/defines.h: Include <utmpx.h> and <utmp.h> to define
2392         USER_NAME_MAX_LENGTH.
2393
2394 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2395
2396         * src/login.c: Change a snprintf() to strncpy(). There are no
2397         format.
2398
2399 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2400
2401         * src/passwd.c: Harmonize status report at the end of passwd.
2402         Prefix the messages with "passwd: ", only indicate a password
2403         change if the password was actually changed, and password
2404         properties changed otherwise.
2405
2406 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2407
2408         * src/chgpasswd.c, src/newusers.c: There is no need to test for 0
2409         after getopt_long. No options have flag != NULL.
2410
2411 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2412
2413         * lib/prototypes.h: Replace #if by #ifdef
2414         * libmisc/Makefile.am, lib/prototypes.h,
2415         libmisc/non_interactive_pam_conv.c: Added
2416         non_interactive_pam_conv() and non_interactive_password.
2417
2418 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2419
2420         * libmisc/utmp.c, src/userdel.c, src/logoutd.c: Replace #if by #ifdef
2421
2422 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2423
2424         * src/vipw.c: Harmonize messages.
2425
2426 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2427
2428         * src/lastlog.c: Replace atoi() by getulong().
2429
2430 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2431
2432         * libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
2433
2434 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2435
2436         * libmisc/rlogin.c: Replace atoi() by getulong().
2437
2438 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2439
2440         * libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2441
2442 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2443
2444         * libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
2445         are no more needed.
2446
2447 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2448
2449         * libmisc/limits.c: Replace strtol() by getlong().
2450         * libmisc/limits.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2451
2452 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2453
2454         * man/groupmod.8.xml, man/usermod.8.xml, man/groupadd.8.xml,
2455         man/useradd.8.xml: Added note to warn about insecurity in using
2456         --password.
2457         * man/groupmod.8.xml: Removed not regarding default if --password
2458         is not used. This was a cut&paste from groupadd.8.xml.
2459         * man/passwd.1.xml: Split some paragraphs.
2460         * man/passwd.1.xml: Recommend other encryption methods than DES.
2461
2462 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2463
2464         * src/login.c: Move update_utmp() after the PID or session ID
2465         changed in order to get more accurate data in UTMP. This also
2466         fixes "exec login" when login in installed setuid.
2467
2468 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2469
2470         * src/login.c: Reuse a string and avoid an untranslated message
2471         "Login incorrect".
2472
2473 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2474
2475         * src/login.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2476         * src/login.c: Avoid name clash between global variables and the
2477         update_utmp() arguments.
2478
2479 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2480
2481         * src/groupadd.c, lib/commonio.c, lib/groupio.c: Added missing
2482         include of <assert.h>
2483
2484 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2485
2486         * lib/prototypes.h: Replace HAVE_UTMPX_H by USE_UTMPX.
2487         * lib/prototypes.h, libmisc/log.c: Added splint annotations.
2488         * libmisc/log.c: Added SYSLOG warning when lseek fails (should not
2489         happen).
2490
2491 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2492
2493         * libmisc/mail.c, libmisc/copydir.c: Added missing include of
2494         <assert.h>
2495
2496 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2497
2498         * libmisc/env.c: Added assertions on the snprintf results.
2499
2500 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2501
2502         * NEWS, configure.in: Added configure option --enable-utmpx,
2503         disabled by default. This defines USE_UTMPX, which should be used
2504         instead of HAVE_UTMPX_H.
2505         * libmisc/utmp.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2506         * libmisc/utmp.c: Removed old comment on HAVE_STRUCT_UTMP_UT_ID
2507         and UTMPX support.
2508
2509 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2510
2511         * man/po/fr.po: Fix typo.
2512
2513 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2514
2515         * src/newgrp.c: Close the databases before changing the UDI and
2516         GID.
2517
2518 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2519
2520         * libmisc/myname.c: Updated splint annotations.
2521
2522 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2523
2524         * lib/commonio.c: Added splint annotations.
2525         * lib/commonio.c: old_context should be local to commonio_close(),
2526         not global.
2527
2528 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2529
2530         * src/passwd.c: Do not freecon strings duplicated with strdup.
2531         Also avoid allocation of memory.
2532         * src/passwd.c: Use SYSLOG instead of syslog.
2533
2534 2009-04-25  Miroslav Kure  <kurem@upcase.inf.upol.cz>
2535
2536         * po/cs.po: Updated to 352T7f8u
2537
2538 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2539
2540         * lib/commonio.h, lib/commonio.c: Added splint annotations.
2541         * lib/commonio.c: Do not assumes eptr is always notnull.
2542
2543 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2544
2545         * NEWS, po/pt.po: Updated Portuguese translation.
2546
2547 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2548
2549         * libmisc/copydir.c: Added splint annotations.
2550         * libmisc/copydir.c: Added assert to help splint.
2551         * libmisc/copydir.c: Free allocated structures in cas of failure.
2552         * libmisc/copydir.c: Avoid implicit conversion of pointers to
2553         booleans.
2554         * libmisc/copydir.c: Use buffers of size PATH_MAX instead of 1024
2555         for filenames.
2556         * libmisc/copydir.c: Use fchmod and fchown to change the mode of
2557         the opened file.
2558         * libmisc/copydir.c: Indicate the mode to open(), even if we chmod
2559         later.
2560
2561 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2562
2563         * lib/prototypes.h: Added prototypes of getulong() and get_pid().
2564         * lib/prototypes.h: Added splint annotations.
2565
2566 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2567
2568         * lib/commonio.c: Use get_pid() instead of strtol.
2569         * lib/commonio.c: Replace an int by a size_t.
2570
2571 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2572
2573         * lib/commonio.h: Added splint annotations.
2574
2575 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2576
2577         * lib/sgroupio.c: Free allocated structures on failure.
2578         * lib/sgroupio.c: Added splint annotations.
2579
2580 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2581
2582         * lib/Makefile.am, lib/get_pid.c, lib/getulong.c: Added get_pid()
2583         and getulong().
2584
2585 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2586
2587         * lib/getlong.c: Do not check for NULL string but empty string.
2588
2589 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2590
2591         * lib/groupio.c: Updated splint annotations.
2592         * lib/groupio.c: Added assert to help splint.
2593
2594 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2595
2596         * src/useradd.c: Check assumptions on snprintf().
2597         * src/useradd.c: Replace peror by an strerror and avoid an
2598         intermediate buffer.
2599         * src/useradd.c: Save errno between the failure and the report by
2600         perror/strerror.
2601         * src/useradd.c: Prefer xmalloc to malloc.
2602
2603 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2604
2605         * src/lastlog.c: Remove function calls from within assert().
2606
2607 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2608
2609         * libmisc/obscure.c: Change some int to size_t.
2610
2611 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2612
2613         * libmisc/console.c: Use a less disturbing construct for splint.
2614
2615 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2616
2617         * libmisc/limits.c: Parse the limits, umask, nice, maxlogin, file
2618         limit with getlog() / getulong(). This also means, in case of
2619         non-PAM enabled systems, that the umask specified on the GECOS
2620         fields should start with a 0 if specified in octal. (it used to be
2621         force to octal). Do the appropriate cast and range checking.
2622
2623 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2624
2625         * libmisc/salt.c: In case gettimeofday() fails, get some entropy
2626         from the PID.
2627
2628 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2629
2630         * libmisc/setupenv.c: Prefer snprintf to sprintf, even if a small
2631         context indicates no issues.
2632         * libmisc/setupenv.c: Avoid implicit conversion of pointers to
2633         booleans.
2634
2635 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2636
2637         * libmisc/loginprompt.c: Prefer snprintf to sprintf, even if a
2638         small context indicates no issues.
2639
2640 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2641
2642         * src/faillog.c: Remove function calls from within assert().
2643
2644 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2645
2646         * libmisc/mail.c: Ignore the return value of puts().
2647         * libmisc/mail.c: Prefer snprintf to sprintf, even if a small
2648         context indicates no issues.
2649
2650 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2651
2652         * lib/commonio.c, lib/commonio.h, lib/groupio.c, lib/groupio.h,
2653         lib/pwio.c, lib/pwio.h, lib/shadowio.c, lib/shadowio.h: Added
2654         splint annotations. The *_locate() and *_next() functions
2655         currently return an observer. As the structure are often modified
2656         by the caller, it could maybe be changed to exposed later. (and
2657         non-const)
2658
2659 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2660
2661         * lib/pwauth.c: Use a boolean for wipe_clear_pass and use_skey.
2662         * lib/pwauth.c: Added splint annotations.
2663         * lib/pwauth.c: Added brackets and parenthesis.
2664         * lib/pwauth.c: Avoid assignments in comparisons.
2665         * lib/pwauth.c: Avoid implicit conversion of pointers or
2666         characters to booleans.
2667
2668 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2669
2670         * src/groupmod.c: Cast ID to ulongs and use ulong formats for IDs.
2671
2672 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2673
2674         * src/newgrp.c: Added splint annotations.
2675         * src/newgrp.c: audit_buf is only used in newgrp. Make it static.
2676         * src/newgrp.c: Ignore the return value of fputs().
2677         * src/newgrp.c: Use exit(EXIT_FAILURE) instead of exit(1).
2678
2679 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2680
2681         * libmisc/pwdcheck.c (passwd_check): The progname is not used.
2682         * libmisc/pwdcheck.c: Ignore the return value of sleep().
2683         * libmisc/pwdcheck.c: Use exit(EXIT_FAILURE) instead of exit(1).
2684
2685 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2686
2687         * libmisc/setupenv.c: Avoid assignments in comparisons.
2688         * libmisc/setupenv.c: Added brackets and parenthesis.
2689         * libmisc/setupenv.c: Ignore the return value of fclose (file
2690         opened read-only)
2691         * libmisc/setupenv.c: Ignore the return value of puts().
2692         * libmisc/setupenv.c: Avoid implicit conversion of pointers to
2693         booleans.
2694
2695 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2696
2697         * libmisc/find_new_gid.c, libmisc/find_new_uid.c,
2698         libmisc/isexpired.c, src/groupadd.c, lib/pwauth.h, lib/groupmem.c,
2699         lib/shadowmem.c, lib/pwmem.c, lib/prototypes.h: Added splint
2700         annotations.
2701
2702 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2703
2704         * libmisc/loginprompt.c: Use exit(EXIT_FAILURE) instead of
2705         exit(1).
2706         * libmisc/loginprompt.c: Avoid implicit conversion of pointers to
2707         booleans.
2708         * libmisc/loginprompt.c: Ignore return value of putc().
2709
2710 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2711
2712         * libmisc/env.c, libmisc/age.c: Added splint annotations.
2713         * libmisc/age.c: Added brackets and parenthesis.
2714         * libmisc/age.c: Ignore the return value of fclose (file opened
2715         read-only)
2716         * libmisc/age.c: Ignore puts() return value.
2717         * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
2718         * libmisc/age.c: Avoid assignments in comparisons.
2719
2720 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2721
2722         * lib/fputsx.c, lib/gshadow.c, lib/commonio.h: Added splint
2723         annotations.
2724
2725 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2726
2727         * lib/get_gid.c: gidstr should not be NULL, but the check was
2728         meant to make sure it is not empty.
2729         * lib/get_uid.c: Likewise.
2730
2731 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2732
2733         * lib/getdef.c: Added splint annotations.
2734         * lib/getdef.c: Ignore fputs() return value.
2735         * lib/getdef.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
2736
2737 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2738
2739         * src/faillog.c: Added splint annotations.
2740         * src/faillog.c: Cast ID to ulongs and use ulong formats for IDs.
2741         * src/faillog.c: Ignore fflush() return value.
2742         * src/faillog.c: Added parenthesis.
2743
2744 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2745
2746         * src/grpck.c: Ignore puts return value.
2747         * src/grpck.c: Avoid variable format string.
2748
2749 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2750
2751         * src/lastlog.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
2752         * src/lastlog.c: Added splint annotations.
2753         * src/lastlog.c: Avoid global pwent.
2754         * src/lastlog.c: Cast ID to ulongs and use ulong formats for IDs.
2755         * src/lastlog.c: Avoid assignment in comparisons.
2756         * src/lastlog.c: Ignore fclose() return value since the file is
2757         only opened for reading.
2758
2759 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2760
2761         * src/newgrp.c: Added assertion to guide splint (and me).
2762
2763 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2764
2765         * libmisc/find_new_gid.c: Use booleans instead of char fo
2766         used_gids.
2767         * libmisc/find_new_gid.c: Use getdef_ulong and cast to git_t to
2768         get GID values.
2769         * libmisc/find_new_gid.c: Use UL as a prefix for ulong values.
2770         * libmisc/find_new_uid.c: Likewise.
2771
2772 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2773
2774         * libmisc/yesno.c: Ignore the return value of puts.
2775
2776 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2777
2778         * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
2779         * libmisc/age.c: The return value of execl() is not used.
2780
2781 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2782
2783         * libmisc/xgetXXbyYY.c, libmisc/myname.c, libmisc/getgr_nam_gid.c,
2784         libmisc/salt.c, libmisc/list.c, libmisc/cleanup.c, src/login.c,
2785         lib/getdef.h, lib/groupio.c, lib/getlong.c, lib/gshadow_.h,
2786         lib/sgroupio.c, lib/shadowio.c, lib/pwio.c, lib/commonio.h,
2787         lib/fputsx.c, lib/prototypes.h: Added splint annotations.
2788         * lib/groupio.c: Avoid implicit conversion of pointers to
2789         booleans.
2790         * lib/groupio.c: Free allocated buffers in case of failure.
2791
2792 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2793
2794         * lib/defines.h: Added splint definitions to replace <locale.h>
2795
2796 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2797
2798         * libmisc/utmp.c, libmisc/age.c, libmisc/shell.c, lib/groupio.c,
2799         lib/groupio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c,
2800         lib/pwio.c, lib/commonio.c, lib/shadowio.h, lib/pwio.h,
2801         lib/commonio.h, lib/prototypes.h: Added splint annotations.
2802
2803 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2804
2805         * libmisc/utmp.c: Only set ut_time and ut_tv if gettimeofday()
2806         succeeds.
2807
2808 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2809
2810         * libmisc/utmp.c: Fix the check for empty host in prepare_utmp()
2811         and prepare_utmpx().
2812
2813 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2814
2815         * libmisc/utmp.c: The ut argument of prepare_utmp() and
2816         prepare_utmpx () might be NULL. ut_id needs to be forged in that
2817         case.
2818
2819 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2820
2821         * libmisc/utmp.c: Removed old documentation of setutmp().
2822
2823 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2824
2825         * libmisc/utmp.c: Use xmalloc() rather than malloc().
2826
2827 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2828
2829         * libmisc/utmp.c: The name returned by ttyame() needs to be copied
2830         locally.
2831
2832 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2833
2834         * src/login.c: Added assert()s for NULL (or ! NULL) username, and
2835         pwd. This helps splint.
2836         * src/login.c: Added splint annotations.
2837
2838 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2839
2840         * src/login.c: After login_prompt(), do not check for unset
2841         username, but for empty username.
2842
2843 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2844
2845         * lib/defines.h: Define USER_NAME_MAX_LENGTH, based on utmp and
2846         default to 32.
2847         * libmisc/chkname.c: Use USER_NAME_MAX_LENGTH.
2848         * src/login.c: Use USER_NAME_MAX_LENGTH instead of the default 32.
2849         username also needs to be bigger than USER_NAME_MAX_LENGTH because
2850         it has to be nul-terminated.
2851
2852 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2853
2854         * src/login.c: Use xmalloc() instead of malloc().
2855
2856 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2857
2858         * src/login.c: Ignore the return value of puts(), fputs(),
2859         strftime().
2860
2861 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2862
2863         * src/login.c: timeout, delay, and retries should be unsigned.
2864         * src/login.c: Ignore the return value of alarm() and sleep().
2865
2866 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2867
2868         * src/login.c: If we cannot get the terminal configuration, do not
2869         change the terminal configuration. setup_tty() is just a best
2870         effort configuration of the terminal.
2871         * src/login.c: Ignore failures when setting the terminal
2872         configuration.
2873         * src/login.c: Fail if the ERASECHAR or KILLCHAR configurations
2874         are not compatible with a cc_t type.
2875
2876 2009-04-22  Paul Szabo  <psz@maths.usyd.edu.au>
2877
2878         * src/login.c: utent might be NULL after get_current_utmp().
2879
2880 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2881
2882         * src/login.c: Removed temp_shell. No more used.
2883         * src/login.c: lastlog is only used #ifndef USE_PAM
2884         * src/login.c: Rename lastlog to ll to avoid name clash with the
2885         lastlog type.
2886
2887 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2888
2889         * src/login.c: Added update_utmp() to group the prepare_utmp and
2890         setutmp (and the utmpx versions).
2891
2892 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2893
2894         * src/login.c: Do not include netdb.h. gethostbyname() is no more
2895         called from within login.c. Also UT_ADDR does not exist anymore.
2896
2897 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2898
2899         * src/login.c: Check if login is run with effective root
2900         privileges. This should be more helpful to users than a failure to
2901         find an utmp entry or failure to access a file.
2902
2903 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2904
2905         * libmisc/utmp.c: Reworked. Get rid of Linux specific stuff. Get rid
2906         of global utent/utxent variables. Only reuse the ut_id and maybe
2907         the ut_host fields from utmp.
2908         * lib/prototypes.h, libmisc/utmp.c: Removed checkutmp(),
2909         setutmp(), setutmpx().
2910         * lib/prototypes.h, libmisc/utmp.c: Added get_current_utmp(),
2911         prepare_utmp(), prepare_utmpx(), setutmp(), setutmpx().
2912         * libmisc/utmp.c (is_my_tty): Only compare the name of the utmp
2913         line with ttyname(). (No stat of the two terminals to compare the
2914         devices).
2915         * libmisc/utmp.c: Use getaddrinfo() to get the address of the
2916         host.
2917         * configure.in: Check for getaddrinfo().
2918         * configure.in: Use AC_CHECK_MEMBERS to check for the existence of
2919         fields in the utmp/utmpx structures.
2920         * configure.in: Reject systems with utmpx support but no ut_id
2921         field in utmp. This could be fixed later if needed.
2922         * src/login.c: Use the new utmp functions. This also simplifies
2923         the failtmp() handling.
2924         * src/login.c: passwd_free() renamed to pw_free() and
2925         shadow_free() renamed to spw_free()
2926
2927 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2928
2929         * NEWS, configure.in: Enable --enable-account-tools-setuid by
2930         default for PAM builds, as it used to be before the introduction
2931         of this option.
2932
2933 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2934
2935         * etc/pam.d/Makefile.am: Distribute all pam.d files, even if
2936         ACCT_TOOLS_SETUID is not enabled.
2937
2938 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2939
2940         * lib/shadowmem.c: Added spw_free().
2941         * lib/shadowio.c: Use spw_free() for shadow_free().
2942         * lib/groupmem.c: Added gr_free().
2943         * lib/groupio.c: Use gr_free() for group_free().
2944         * lib/pwmem.c: Include define.h before prototypes.h
2945         * lib/pwmem.c: Added pw_free().
2946         * lib/pwio.c: Use pw_free() for passwd_free().
2947         * lib/sgroupio.c: Added sgr_free().
2948         * lib/sgroupio.c: Use sgr_free() for gshadow_free().
2949         * lib/prototypes.h: Added gr_free(), pw_free(), sgr_free(),
2950         spw_free().
2951
2952 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2953
2954         * libmisc/shell.c: Add brackets and parenthesis.
2955         * libmisc/shell.c: Avoid assignments in comparisons.
2956         * libmisc/shell.c: Re-indent.
2957
2958 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2959
2960         * lib/defines.h: Added MIN and MAX macros.
2961         * libmisc/salt.c: Removed MIN and MAX macros.
2962
2963 2009-04-20  Sven Joachim  <svenjoac@gmx.de>
2964
2965         * NEWS, src/lastlog.c: Fix regression causing empty reports.
2966         Get the size of the file before printing the entries.
2967
2968 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2969
2970         * src/login.c: Get rid of pwent. pwd is sufficient as long as it
2971         is always coming from xgetpwnam. There is no need to copy pwd to
2972         pwent, this was not a good idea anyway as the strings from pwd
2973         were not duplicated.
2974         * src/login.c: Always free the pwd and spwd structure when we
2975         retrieve a new one. This will clear the password of the previous
2976         user from the memory.
2977         * src/login.c: user_passwd is used to keep point to the password
2978         of the user being authenticated.
2979         * src/login.c: (non PAM) Fail if the user's entry cannot be found
2980         after the user updated her password (if expire() requested an
2981         update).
2982         * src/login.c: If the user does not exist on the system, there is
2983         no need to build a pwd structure (with shell).
2984
2985 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2986
2987         * src/login.c: ttytype already checks for TTYTYPE_FILE and TERM.
2988         Just call ttytype.
2989
2990 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2991
2992         * src/login.c: Open the PAM session before pam_setcred and before
2993         initgroups. This is more consistent with rfc86.0.
2994
2995 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2996
2997         * src/login.c: Added helper functions get_pam_user() and
2998         get_failent_user().
2999
3000 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3001
3002         * src/login.c: Added parameter to check_nologin. This will help
3003         getting rid of the global pwent variable.
3004
3005 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3006
3007         * src/login.c: Added comments.
3008         * src/login.c: Close the user and group files before dropping root
3009         privileges.
3010
3011 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3012
3013         * src/login.c: We do not need to keep the old umask. Discard the
3014         umask() return value.
3015
3016 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3017
3018         * libmisc/hushed.c, lib/prototypes.h, src/login.c: Change the
3019         hushed() prototype to take a username instead of a passwd
3020         structure in argument. The passwd entry is retrieved withing
3021         hushed().
3022
3023 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3024
3025         * libmisc/setugid.c: Updated comments.
3026
3027 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3028
3029         * libmisc/failure.h, libmisc/failure.c, src/login.c: Added
3030         username as first parameter of failtmp to avoid issues with
3031         non-null terminated ut_user, unavailability of ut_user, incomplete
3032         username (that should not happen currently).
3033
3034 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3035
3036         * libmisc/ttytype.c: Add brackets and parenthesis.
3037         * libmisc/ttytype.c: Avoid assignments in comparisons.
3038
3039 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3040
3041         * lib/pwio.c, lib/shadowio.c, lib/groupio.c, lib/sgroupio.c: Fill
3042         the password fields with zeros before they are freed.
3043
3044 2009-04-19  Changwoo Ryu  <cwryu@debian.org>
3045
3046         * po/ko.po: Updated Korean translation.
3047
3048 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
3049
3050         * NEWS, src/login.c: Also check if the authentication token of the
3051         user has to be updated in case the user was already authenticated.
3052
3053 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
3054
3055         * src/login.c: fflg is already restricted to root. Move
3056         pam_acct_mgmt(), in case of fflg, earlier. This is equivalent and
3057         simplifies the code.
3058
3059 2009-04-19  Paul Szabo  <psz@maths.usyd.edu.au>
3060
3061         * libmisc/utmp.c: Always call endutent or endutxent when setutent
3062         or setutxent were used.
3063
3064 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
3065
3066         * src/login.c: Added comment to make sure PAM_RHOST or PAM_TTY do
3067         not get set to unsanitized values.
3068
3069 2009-04-17  Paul Szabo  <psz@maths.usyd.edu.au>
3070
3071         * NEWS, src/login.c: Do not trust the current utmp entry's ut_line
3072         to set PAM_TTY.
3073         * libmisc/utmp.c: Do not trust the current utmp entry's ut_line.
3074         Always set ut_line based on ttyname(0).
3075
3076 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
3077
3078         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
3079         * po/*.po, man/po/*.po: Updated PO files.
3080         * configure.in: Updated version number.
3081
3082 2009-04-15  Peter Vrabec  <pvrabec@redhat.com>
3083
3084         * NEWS, src/userdel.c: Fixed SE Linux support. semanage should be
3085         called at the end.
3086         * src/useradd.c: Always call selinux_update_mapping() (i.e.
3087         semanage), not only when -Z is used.
3088
3089 2009-04-15  Peter Vrabec  <pvrabec@redhat.com>
3090
3091         * NEWS, srclib/getlong.c: Fix parsing of octal numbers.
3092
3093 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
3094
3095         * NEWS, src/login.c: Fix segfault when no user is provided on the
3096         command line.
3097
3098 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
3099
3100         * README, libmisc/system.c: Was contributed by Dan Walsh.
3101
3102 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
3103
3104         * NEW, src/vipw.c: SE Linux: Set the default context to the
3105         context of the file being edited. This ensures that the backup
3106         file inherit from the file's context.
3107
3108 2009-04-14  Nicolas François  <nicolas.francois@centraliens.net>
3109
3110         * man/usermod.8.xml: There are no default values for --inactive
3111         and --gid. If the options are no provided, the original values are
3112         not changed.
3113
3114 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3115
3116         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
3117         * po/*.po, man/po/*.po: Updated PO files.
3118
3119 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3120
3121         * src/su.c: If there are no root account, or if the root account
3122         has an UID != 0, default to the first UID 0 account.
3123
3124 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3125
3126         * src/login.c: Restore the echoctl, echoke, onclr flags to the
3127         terminal termio flags. Reset echoprt, noflsh, tostop. This
3128         behavior seems to have change by mistake in earlier releases
3129         (4.0.8, for no obvious reason).
3130
3131 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3132
3133         * src/login.c: Fix the count of failures before login exits in
3134         case of PAM enabled configurations.
3135
3136 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3137
3138         * man/passwd.1.xml: Document that passwd uses PAM to authenticate
3139         and change passwords on PAM-enabled builds.
3140
3141 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3142
3143         * src/newusers.c: Add more information to the mkdir and chown
3144         failure messages.
3145
3146 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3147
3148         * man/po/fr.po: Updated some login.defs entries. Thanks to
3149         Belkacem Abbas.
3150
3151 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3152
3153         * man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml,
3154         man/login.defs.d/CONSOLE_GROUPS.xml: Fix typos.
3155
3156 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3157
3158         * man/es/Makefile.am: Disable the distribution of Spanish
3159         manpages. They are outdated. Please contact
3160         pkg-shadow-devel@lists.alioth.debian.org if you wish to provide
3161         updates.
3162
3163 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3164
3165         * src/usermod.c, src/useraddd.c: Fix the usage string so that it
3166         does not change depending on the configure option. Use a format.
3167
3168 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3169
3170         * src/gpasswd.c: Fix the usage of the unused macro.
3171
3172 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3173
3174         * lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A
3175         shadow entry is now sufficient for agecheck. Remove the first
3176         passwd entry parameter.
3177
3178 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3179
3180         * src/useradd.c, src/usermod.c: Only call selinux_update_mapping()
3181         if Zflg is set.
3182         * src/userdel.c: Rename argv to args to avoid nameclash with the
3183         main() parameters.
3184
3185 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3186
3187         * libmisc/getgr_nam_gid.c: Added support for NULL argument.
3188         * libmisc/chowntty.c: Reuse getgr_nam_gid(), and get rid of atol().
3189
3190 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
3191
3192         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: For system
3193         accounts, return the first unused ID, starting from the max value.
3194         This could be useful later to increase the static IDs range.
3195
3196 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
3197
3198         * NEWS, src/useradd.c, man/useradd.8.xml: add -Z option to map
3199         SELinux user for user's login.
3200         * NEWS, src/usermod.c, man/usermod.8.xml: Likewise.
3201         * libmisc/system.c, libmisc/Makefile.am, lib/prototypes.h: Added
3202         safe_system(). Used to run semanage.
3203         * lib/prototypes.h, libmisc/copydir.c: Make a
3204         selinux_file_context() an extern function.
3205         * libmisc/copydir.c: Reset SELinux to create files with default
3206         contexts at the end of copy_tree().
3207         * NEWS, src/userdel.c: Delete the SELinux user mapping for user's
3208         login.
3209
3210 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
3211
3212         * src/useradd.c (get_defaults): Close the default file after the
3213         default values were read.
3214
3215 2009-04-11  Christian Perrier  <bubulle@debian.org>
3216
3217         * po/sk.po: Slovak translation updated. Thanks to Ivan Masár
3218
3219 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3220
3221         * lib/Makefile.am, lib/prototypes.h: Added sgetspent.c.
3222
3223 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3224
3225         * po/POTFILES.in: Added missing files. Sorted.
3226
3227 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3228
3229         * lib/getdef.c: Use getlong instead of strtol/strtoul.
3230         * libmisc/getlong, lib/getlong.c, libmisc/Makefile.am,
3231         lib/Makefile.am: getlong.c moved from libmisc/ to lib/.
3232
3233 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3234
3235         * lib/shadow.c: Replace strtol() by getlong(). Also detect more
3236         issues in a numerical shadow entry field.
3237
3238 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3239
3240         * lib/sgetspent.c: Only compile ifndef HAVE_SGETSPENT
3241
3242 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3243
3244         * lib/sgetspent.c: Replace strtol() by getlong(). Also detect more
3245         issues in a numerical shadow entry field.
3246
3247 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3248
3249         * src/chage.c: More strtol() replaced by getlong().
3250         * src/chage.c: expdays renamed to expdate. It is a date, even if
3251         expressed in a number of days since Jan 1, 1970.
3252         * src/chage.c: Likewise: lastday renamed to lstchgdate. Also fix
3253         the --lastday documentation.
3254
3255 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3256
3257         * lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
3258         NOT defined.
3259
3260 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3261
3262         * src/passwd.c: Replace getnumber() by getlong(). This permits to
3263         get rid of another strtol().
3264
3265 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3266
3267         * libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed
3268         for strtol and errno, and do not include "defines.h" (not needed).
3269
3270 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3271
3272         * src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c,
3273         libmisc/Makefile.am, lib/prototypes.h: Moved getgr_nam_gid() from
3274         src/useradd.c and src/usermod.c to libmisc/getgr_nam_gid.c.
3275
3276 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3277
3278         * src/useradd.c: Re-indent.
3279         * src/useradd.c: Use getlong instead of get_number.
3280         * src/useradd.c: Get rid of strtol.
3281         * src/useradd.c: Provide better warning in case a default GROUP or
3282         INACTIVE value is not valid in /etc/default/useradd.
3283
3284 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3285
3286         * src/usermod.c: Re-indent.
3287         * src/usermod.c: Specifying a inactivity value < -1 is not valid.
3288
3289 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3290
3291         * configure.in: Prepare the next 4.1.3 release.
3292         * po/*.po, man/po/*.po: Updated PO files.
3293
3294 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3295
3296         * lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to
3297         ifndef USE_PAM.
3298         * lib/prototypes.h: Remove the declaration of add_cons_grps(). The
3299         function does not exist.
3300         * libmisc/setugid.c libmisc/age.c (setup_uid_gid): is_console is
3301         never set ifndef USE_PAM. Change the prototype of setup_uid_gid()
3302         when USE_PAM is not defined. This permits to remove add_groups
3303         from PAM builds.  setup_uid_gid is already subject to
3304         HAVE_INITGROUPS.
3305         * libmisc/pwd2spwd.c (pwd_to_spwd): pwd_to_spwd() is not used in
3306         PAM builds.
3307
3308 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
3309
3310         * src/passwd.c: do_update_age is only used ifndef USE_PAM. Make it
3311         more explicit.
3312
3313 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
3314
3315         * src/useradd.c: Set errno to 0 before calling strtol.
3316
3317 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
3318
3319         * libmisc/isexpired.c: If there are no shadow entry, there is no
3320         need to convert the password entry to a shadow entry. The password
3321         is valid.
3322
3323 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
3324
3325         * man/usermod.8.xml: Split some paragraphs into smaller units.
3326
3327 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
3328
3329         * man/shadow.5.xml: Rewrote to mention the meaning of special
3330         values.
3331
3332 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
3333
3334         * libmisc/pwd2spwd.c, src/chpasswd.c, src/newusers.c,
3335         src/passwd.c, src/pwck.c, src/pwconv.c, src/useradd.c,
3336         src/usermod.c: On Jan 01, 1970, do not set the sp_lstchg field to
3337         0 (which means that the password shall be changed during the next
3338         login), but use -1 (password aging disabled).
3339         * src/passwd.c: Do not check sp_min if sp_lstchg is null or -1.
3340
3341 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
3342
3343         * src/chage.c: When no shadow entry exist, the default sp_lstchg
3344         value should be -1 (no aging) rather than 0 (password must be
3345         changed).
3346         * src/chage.c: For password expiration and inactivity, indicate
3347         that the password must be changed when sp_lstchg is null rather
3348         than indicating that expiration and inactivity are not enabled.
3349
3350 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
3351
3352         * libmisc/isexpired.c: Document the isexpired return value.
3353
3354 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
3355
3356         * libmisc/age.c: Return a specific message when sp_lstchg is null.
3357
3358 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
3359
3360         * lib/sgetpwent.c, lib/sgetgrent.c: Use get_uid and get_gid to
3361         validate the UIDs or GIDs instead of atoi/strtol.
3362
3363 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
3364
3365         * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
3366         lib/get_gid.c, lib/get_uid.c, lib/Makefile.am: get_uid.c and
3367         get_gid.c moved from libmisc/ to lib/.
3368
3369 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
3370
3371         * src/grpck.c (check_members): When a member is removed, do not
3372         increase the index.
3373         * src/grpck.c: Fix typo in messages and comments.
3374
3375 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
3376
3377         * lib/commonio.c: Call fsync before closing the backup file. This
3378         ensures that the backup file is flushed to the storage medium.
3379         * src/useradd.c: Likewise for the default file, faillog, lastlog,
3380         and mail spool.
3381         * src/usermod.c: Likewise for the faillog and lastlog file.
3382         * src/vipw.c: Likewise for the backup file.
3383         * libmisc/sulog.c: Likewise for the su log.
3384
3385 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3386
3387         * src/groupmod.c: Embed gshadow related cleanup in #ifdef
3388         SHADOWGRP.
3389
3390 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3391
3392         * src/usermod.c: get_number() replaced by getlong().
3393         * src/usermod.c: When the user is renamed, make sure we do not
3394         override an user with the same name (in passwd or shadow).
3395
3396 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3397
3398         * src/gpasswd.c: log_gpasswd_success_gshadow is in the cleanup
3399         stack only when the shadow group file is present.
3400
3401 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3402
3403         * NEWS, src/userdel.c: Make sure the user exists in the shadow
3404         database before calling spw_remove().
3405         * NEWS, src/userdel.c: When the user's group is removed, make sure
3406         the group is in the gshadow database before calling sgr_remove().
3407         * src/userdel.c: Improve warning's wording.
3408
3409 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3410
3411         * libmisc/cleanup.c: Fix del_cleanup. The arguments were not
3412         desynchronized with the cleanup functions.
3413         * libmisc/cleanup.c: cleanup_function_args is an array of void
3414         pointer, not strings.
3415
3416 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3417
3418         * libmisc/find_new_gid.c: Fix find_new_gid() the current group
3419         database was not taken into account.
3420
3421 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3422
3423         * libmisc/addgrps.c: Fix compilation warnings.
3424
3425 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3426
3427         * man/po/Makefile.in.in: xml2po cannot exclude one entity for
3428         expansion. Make sure config.xml does not exist when the POT file
3429         is created in order to keep the configurations in the POT file
3430         * man/generate_translations.mak: make sure config.xml does not
3431         exist neither when the translated XML is generated. Add the
3432         missing %config; (strip out by xml2po). and make sure config.xml
3433         is present when the translated manpage is generated.
3434         * man/generate_mans.mak: config.xml is needed for the generation
3435         of manpages (already in the .deps for the English manpages, but
3436         needed for the translations).
3437         * man/Makefile.am: Added missing CREATE_HOME.xml.
3438
3439 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3440
3441         * etc/login.defs: Added note for PAM enabled configurations.
3442
3443 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3444
3445         * man/Makefile.am: Compute the dependencies for building the
3446         manpages.
3447         * man/generate_mans.deps: Added Makefile dependency rules.
3448
3449 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3450
3451         * libmisc/addgrps.c: Fix warnings.
3452
3453 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3454
3455         * man/po/fr.po: Added missing space.
3456
3457 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3458
3459         * man/lastlog.8.xml: Document that there might be entries, for
3460         deleted users, that are not displayed.
3461
3462 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3463
3464         * man/chgpasswd.8.xml, man/chpasswd.8.xml: Fix the man page in
3465         case SHA crypt is not supported.
3466
3467 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3468
3469         * man/vipw.8.xml: MAX_MEMBERS_PER_GROUP is not used by vipw and
3470         vigr.
3471
3472 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3473
3474         * man/login.defs.5.xml: Indicate that sg uses the same variables
3475         as newgrp.
3476         * man/login.defs.5.xml: vipw does not use any variable.
3477         * man/login.defs.5.xml: In PAM enabled configurations, login still
3478         uses some login.defs variables.
3479
3480 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3481
3482         * man/usermod.8.xml: use a <replaceable> instead of a
3483         <emphasis remap='I'>.
3484
3485 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3486
3487         * man/newusers.8.xml: Document the behavior of newusers for each
3488         field.
3489         * man/newusers.8.xml: Do not add the note on PAM on non-PAM
3490         enabled configurations.
3491
3492 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
3493
3494         * src/newusers.c: Make sure the SHA related variables are not
3495         compiled when disabled at configuration time.
3496         * src/newusers.c: Added FIXME
3497         * src/chpasswd.c: Make sure the SHA related variables is not
3498         compiled when disabled at configuration time.
3499         * src/chgpasswd.c: Make sure the SHA related variables is not
3500         compiled when disabled at configuration time.
3501         * src/chgpasswd.c: Fix the test for getlong() failure.
3502         * src/useradd.c, man/useradd.8.xml: Added long name for the -l
3503         option: --no-log-init.
3504         * src/faillog.c: Added support for the specification of a range of
3505         users with -u.
3506         * src/faillog.c: Do not call print_one() for users which do not
3507         exist.
3508         * src/faillog.c: Make sure the user's entry is not outside the
3509         faillog file and initialize the faillog structure in that case.
3510         * src/faillog.c: Move print_one() closer to print().
3511         * src/faillog.c: reset(), setmax(), set_locktime() can also change
3512         entries of user which do not exist.
3513         * src/faillog.c: reset(), setmax() and set_locktime() shall not
3514         create entries for users which have no entries if the value has to
3515         be set to 0.
3516         * src/faillog.c: reset(), setmax() and set_locktime(): better
3517         handling of users whose entry is outside the faillog file.
3518         * src/faillog.c: Improved option handling. Options can now be
3519         specified in any order.
3520         * src/faillog.c: Improved warnings when options are not
3521         compatible or when the faillog cannot be open with the right mode.
3522         * src/faillog.c: Only fstat the faillog file once.
3523         * man/faillog.8.xml: Improved documentation.
3524
3525 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
3526
3527         * src/gpasswd.c: Remove the documentation of options from the
3528         main() documentation. It will always be outdated here.
3529
3530 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
3531
3532         * src/lastlog.c: lastlog variable renamed to ll to avoid name
3533         clash with the structure.
3534         * src/lastlog.c: check the offset in print_one() so that it is
3535         used for the display of one entry or a set of entries.
3536         * src/lastlog.c: Do not loop over the whole user database when -u
3537         is used with a single user.
3538         * src/lastlog.c: Check the size of the lastlog file so that we
3539         can identify failures to read.
3540
3541 2009-03-13  Mike Frysinger  <vapier@gentoo.org>
3542
3543         * libmisc/salt.c: Removed l64a prototype. The libc declaration is
3544         non static, but the internal definition is static.
3545
3546 2009-03-09  Nicolas François  <nicolas.francois@centraliens.net>
3547
3548         * src/gpasswd.c: log_gpasswd_success_gshadow only exists ifdef
3549         SHADOWGRP.
3550
3551 2009-03-08  Nicolas François  <nicolas.francois@centraliens.net>
3552
3553         * libmisc/getlong.c: Make sure the getlong argument is not empty.
3554         * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
3555         lib/prototypes.h: Added get_uid() and get_gid() to parse user and
3556         group IDs.
3557         * NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set
3558         to -1.
3559         * NEWS, src/newusers.c, src/usermod.c, src/useradd.c,
3560         src/groupmod.c, src/groupadd.c: Make sure no user or group are
3561         created with an ID set to -1.
3562
3563 2009-03-07  Nicolas François  <nicolas.francois@centraliens.net>
3564
3565         * contrib/adduser-old.c, contrib/adduser.c: Do not use the target
3566         of snprintf in one of the format's parameters.
3567
3568 2009-03-07  Nicolas François  <nicolas.francois@centraliens.net>
3569
3570         * man/groupmems.8.xml: groupmems does not create new user.
3571
3572 2009-03-03  Nicolas François  <nicolas.francois@centraliens.net>
3573
3574         * NEWS, po/LINGUAS, po/kk.po: Added Kazakh translation. Thanks to
3575         Timur Birsh <taem@linukz.org>.
3576
3577 2009-02-22  Nicolas François  <nicolas.francois@centraliens.net>
3578
3579         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Avoid calling
3580         getgrent()/getpwent() after they return NULL. This caused LDAP to
3581         return at the beginning of the group/user entries.
3582
3583 2009-01-27  Nicolas François  <nicolas.francois@centraliens.net>
3584
3585         * man/nologin.8.xml: Fix typo (HYSTORY -> HISTORY).
3586
3587 2009-01-26  Nicolas François  <nicolas.francois@centraliens.net>
3588
3589         * NEWS, src/gpasswd.c: Only report success to audit and syslog
3590         when the changes are committed to the system. Do not log failure
3591         for on-memory changes to audit or syslog. Make sure failures and
3592         inconsistencies will be reported in case of unexpected failures
3593         (e.g. malloc failures). Only specify an audit message if it is not
3594         implicitly implied by the type argument. Removed fail_exit
3595         (replaced by atexit(do_cleanups)). Log failures in case of
3596         permission denied.
3597
3598 2009-01-19  Nicolas François  <nicolas.francois@centraliens.net>
3599
3600         * man/login.defs.d/UMASK.xml: Indicate how UMASK is used and
3601         limitations.
3602         * man/limits.5.xml: Remove space before an end of tag.
3603         * man/useradd.8.xml, man/login.defs.d/CREATE_HOME.xml,
3604         man/login.defs.5.xml: Document the CREATE_HOME variable.
3605         * etc/login.defs: Improve the documentation of UMASK.
3606
3607 2009-01-06  Sebastian Rick Rijkers  <srrijkers@gmail.com>
3608
3609         * NEWS, src/su.c: Preserve COLORTERM in addition to TERM when su
3610         is called with the -l option.
3611
3612 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3613
3614         * libmisc/chkname.c: Use a bool when possible instead of integers.
3615         * libmisc/chkname.c: Add brackets and parenthesis.
3616
3617 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3618
3619         * man/groupadd.8.xml, configure.in, man/config.xml.in: Use the
3620         real group name length limit in the documentation.
3621
3622 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3623
3624         * src/Makefile.am: Only link with the needed library. When
3625         compiled with PAM support, chfn, chsh, login, newgrp, passwd, and
3626         su do not need the libcrypt library.
3627
3628 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3629
3630         * libmisc/cleanup_group.c: Fix compilation when compiled without
3631         shadow group support.
3632
3633 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3634
3635         * src/groupdel.c: Remove the fail_exit () declaration.
3636
3637 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
3638
3639         * src/gpasswd.c: Fix the support for usernames with arbitrary
3640         length.
3641
3642 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
3643
3644         * src/groupadd.c, src/groupdel.c, src/groupmod.c: Re-indent.
3645         * src/groupmod.c: Do not add the command synopsis to the main ()
3646         documentation. This avoids outdated information.
3647         * libmisc/chkname.c: Remove outdated comments.
3648
3649 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
3650
3651         * libmisc/audit_help.c: Added audit_logger_message() to log
3652         messages not related to an account.
3653         * lib/prototypes.h, libmisc/cleanup.c, libmisc/cleanup_group.c,
3654         libmisc/cleanup_user.c, libmisc/Makefile.am: Added stack of
3655         cleanup functions to be executed on exit.
3656         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c: Only
3657         report success to audit and syslog when the changes are committed
3658         to the system. Do not log failure for on-memory changes to audit
3659         or syslog. Make sure failures and inconsistencies will be reported
3660         in case of unexpected failures (e.g. malloc failures). Only
3661         specify an audit message if it is not implicitly implied by the
3662         type argument. Removed fail_exit (replaced by atexit(do_cleanups)).
3663
3664 2008-12-15  Nicolas François  <nicolas.francois@centraliens.net>
3665
3666         * NEWS, src/gpasswd.c: Added support usernames with arbitrary
3667         length.
3668
3669 2008-11-27  Mike Frysinger  <vapier@gentoo.org>
3670
3671         * configure.in: Fix the "$enable_acct_tools_setuid" = "yes" test.
3672
3673 2008-11-27  Mike Frysinger  <vapier@gentoo.org>
3674
3675         * NEWS, configure.in, libmisc/chkname.c: make group max length a
3676         configure option.  The configure behavior encoded is:
3677         <no option> -> default of 16 (like today);
3678         --with-group-name-max-length -> default of 16;
3679         --without-group-name-max-length -> no max length;
3680         --with-group-name-max-length=n > max is set to n.
3681
3682 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3683
3684         * src/su.c: (!USE_PAM) Provide visible information indicating that
3685         su was denied.
3686
3687 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3688
3689         * man/su.1.xml: Fix the su synopsis. username is referenced in the
3690         manpage, not LOGIN.
3691         * man/ja/login.1: Fix the path of the utmp and wtmp files.
3692
3693 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3694
3695         * libmisc/chowntty.c: Improve the logs for fchown and fchmod
3696         failures.
3697         * libmisc/chowntty.c: Only closelog() when failure cause an exit.
3698
3699 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3700
3701         * NEWS, libmisc/chowntty.c: Fix a race condition that could lead to
3702         gaining ownership or changing mode of arbitrary files.
3703         * NEWS, libmisc/chowntty.c, libmisc/utmp.c: is_my_tty() moved from
3704         utmp.c to chowntty.c. checkutmp() now only uses an existing utmp
3705         entry if the pid matches and ut_line matches with the current tty.
3706         This fixes a possible DOS when entries can be forged in the utmp
3707         file.
3708         * libmisc/chowntty.c, src/login.c, lib/prototypes.h: Remove the
3709         tty argument from chown_tty. chown_tty always changes stdin and
3710         does not need this argument anymore.
3711
3712 2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>
3713
3714         * man/gshadow.5.xml, man/shadow.5.xml, man/passwd.5.xml,
3715         man/grpck.8.xml: Sorted SEE ALSO references.
3716         * man/gshadow.5.xml: Added reference to grpck(8) and grpconv(8).
3717         * man/pwck.8.xml: Added reference to grpck(8).
3718         * man/shadow.5.xml: Added reference to pwck(8).
3719         * man/passwd.5.xml: Added reference to pwck(8).
3720         * man/grpck.8.xml: Added reference to pwck(8).
3721
3722 2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>
3723
3724         * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence
3725         header.
3726
3727 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3728
3729         * src/login.c: Always check the return value of the pam_* APIs.
3730
3731 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3732
3733         * src/login.c: Use a dynamic buffer for usernames.
3734         * src/login.c: Copy the name of the user authenticated by PAM to
3735         username. This simplify later logging (avoid USE_PAM
3736         conditional).
3737         * src/login.c: Check that no username is specified with -r.
3738         * src/login.c: Make sure a username is specified with -f.
3739         * src/login.c: Explicitly tag the end of the #ifdef RLOGIN
3740         sections.
3741         * src/login.c: Erase the username later since it it used for the
3742         fake password check (in case of empty password).
3743         * src/login.c, man/login.1.xml: the username is not an optional
3744         parameter of -f. Fix the getopt optstring, remove the parsing of
3745         username in the -f processing block, and remove unnecessary checks
3746         (username cannot be parsed twice anymore), better documentation of
3747         the synopsis.
3748
3749 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3750
3751         * src/login.c: Existence of pam_user was already checked. pwd was
3752         already copied to pwent. Remove duplicated code.
3753
3754 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3755
3756         * src/login.c: check_flags() renamed process_flags(). All flag
3757         processing blocs moved to process_flags().
3758
3759 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3760
3761         * src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.
3762
3763 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3764
3765         * src/login.c: Add missing closing }. This was probably never
3766         noticed because UT_ADDR is never defined.
3767         * src/login.c: Re-indent.
3768
3769 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3770
3771         * src/login.c: Do not mix USE_PAM and !USE_PAM code.
3772
3773 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3774
3775         * src/login.c: Use failent_user to log to audit. username is the
3776         caller, not the user login tries to authenticate.
3777         * src/login.c: Use pwd->pw_name instead of pwd->pw_uid. This might
3778         be more precise (name must be unique, uid might not be).
3779
3780 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3781
3782         * man/passwd.1.xml: passwd cannot change the full name of the
3783         user, the user's login shell; but it can change the account or
3784         password validity period. Thanks to Reuben Thomas.
3785
3786 2008-09-14  Nicolas François  <nicolas.francois@centraliens.net>
3787
3788         * src/useradd.c: Added missing declaration of Mflg.
3789         * src/pwck.c: Only unlock files if they were locked before (e.g.
3790         not in read-only mode).
3791         * src/pwck.c: Quote the username in error messages (harmonization
3792         with other messages).
3793         * libmisc/find_new_gid.c: Fixed typo (s/grp->gr_gid/group_id/).
3794         * libmisc/find_new_gid.c: Likewise.
3795
3796 2008-09-13  Nicolas François  <nicolas.francois@centraliens.net>
3797
3798         * libmisc/setugid.c, src/login_nopam.c, src/suauth.c,
3799         lib/getdef.c: Replace the %m format string by strerror(). This
3800         avoids errno to be reset between the system call error and the
3801         report function.
3802
3803 2008-09-13  Nicolas François  <nicolas.francois@centraliens.net>
3804
3805         * lib/commonio.c: Ignore the return value of umask() when the mask
3806         is set to the old value.
3807
3808 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
3809
3810         * NEWS, etc/login.defs: New CREATE_HOME variable to tell useradd
3811         to create a home directory for new users.
3812         * src/useradd.c, man/useradd.8.xml: New -M/--no-create-home option
3813         and CREATE_HOME usage. System accounts are not impacted by
3814         CREATE_HOME.
3815         * man/useradd.8.xml: Indicate that a new group is created by
3816         default.
3817         * src/useradd.c: Removed TODO item (moved to the TODO file).
3818
3819 2008-09-11  Miroslav Kuře  <kurem@debian.cz>
3820
3821         * po/cs.po: Updated Czech translation.
3822
3823 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
3824
3825         * man/login.defs.d/USERGROUPS_ENAB.xml: Fix typo: new <para> tag
3826         before the previous one is closed. This caused a missng
3827         explanation for USERGROUPS_ENAB.
3828
3829 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
3830
3831         * man/groupadd.8.xml: Remove the list of (short) options from the
3832         SYNOPSIS. Replaced with [options] for consistency with other tools
3833         and maintainability.
3834
3835 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3836
3837         From RedHat's patch shadow-4.1.2-sysAccountDownhill.patch
3838         Thanks to Peter Vrabec.
3839         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Build an
3840         index of used IDs to avoid a database request for each id in the
3841         allowed range (when the highest allowed ID is already used).
3842         This speedups the addition of users or groups when the highest
3843         allowed ID is already used. The additional memory usage of the
3844         tools should be acceptable when UID_MAX/SYS_UID_MAX are set to a
3845         reasonable number.
3846
3847 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3848
3849         * configure.in: Fix the dependency of ACCT_TOOLS_SETUID on
3850         USE_PAM. Build failed with --without-libpam.
3851
3852 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3853
3854         * libmisc/copydir.c, configure.in: Check for the presence of
3855         st_mtim and st_mtimensec, as for st_atim and st_atimensec.
3856         * libmisc/copydir.c: Call utimes() after closing the file.
3857
3858 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3859
3860         * src/gpasswd.c: Document the long options in the usage.
3861
3862 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3863
3864         * NEWS: Added configure --enable-account-tools-setuid (default) /
3865         --disable-account-tools-setuid options. This permits to disable
3866         the PAM authentication of the caller for chage, chgpasswd,
3867         chpasswd, groupadd, groupdel, groupmod, newusers, useradd,
3868         userdel, and usermod.  This authentication is not necessary when
3869         these tools are not installed setuid root.
3870         * configure.in: Added option --enable-account-tools-setuid to
3871         enable/disable the usage of PAM to authenticate the callers of
3872         account management tools: chage, chgpasswd, chpasswd, groupadd,
3873         groupdel, groupmod, useradd, userdel, usermod.
3874         * src/Makefile.am: Do not link the above tools with libpam if
3875         account-tools-setuid is disabled.
3876         * src/userdel.c, src/newusers.c, src/chpasswd.c, src/usermod.c,
3877         src/groupdel.c, src/chgpasswd.c, src/useradd.c, src/groupmod.c,
3878         src/groupadd.c, src/chage.c: Implement ACCT_TOOLS_SETUID
3879         (--enable-account-tools-setuid).
3880         * etc/pam.d/Makefile.am: Install the pam service file for the
3881         above tools only when needed.
3882
3883 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3884
3885         * libmisc/tz.c: tz() is only used when USE_PAM is not defined.
3886         * lib/prototypes.h: Indicate functions whose presence depends on
3887         the USE_PAM flag.
3888
3889 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3890
3891         * src/groupmems.c: Call open_files() and close_files().
3892         * src/groupmems.c: Always call check_perms(), which takes care of
3893         checking if --list is used.
3894
3895 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3896
3897         * libmisc/obscure.c: Compare characters to '\0', not NULL.
3898
3899 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3900
3901         * lib/defines.h: Do not include <config.h>. This complicate
3902         undefining some configuration macros when the file is included
3903         multiple times.
3904         * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
3905         libmisc/xgetgrgid.c, libmisc/xgetgrnam.c, libmisc/xgetspnam.c:
3906         Include <config.h> from teh compiled C file, not the included
3907         getXXbyYY.c.
3908
3909 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3910
3911         * src/userdel.c, src/newusers.c, src/chpasswd.c, src/chfn.c,
3912         src/groupmems.c, src/usermod.c, src/groupdel.c, src/chgpasswd.c,
3913         src/useradd.c, src/groupmod.c, src/groupadd.c, src/chage.c,
3914         src/chsh.c: Simplify the PAM error handling. Do not keep the pamh
3915         handle, but terminate the PAM transaction as soon as possible if
3916         there are no PAM session opened. If the username cannot be
3917         determined, report it as such (not a PAM authentication failure).
3918         * src/useradd.c, src/userdel.c, src/usermod.c: It is no more
3919         needed to initialize retval to PAM_SUCCESS.
3920
3921 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3922
3923         * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
3924         src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
3925         src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
3926         src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
3927         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
3928         src/groupadd.c, src/chage.c, src/login.c, src/grpconv.c,
3929         src/groups.c, src/grpunconv.c, src/chsh.c: Prog is now global (not
3930         static to the file) so that it can be used by the helper functions
3931         of libmisc.
3932         * lib/prototypes.h: Added extern char *Prog.
3933         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Indicate the
3934         program name with the warning.
3935
3936 2008-09-05  Nicolas François  <nicolas.francois@centraliens.net>
3937
3938         * configure.in: Check if AUDIT_ADD_USER, AUDIT_DEL_USER,
3939         AUDIT_ADD_GROUP, and AUDIT_DEL_GROUP are defined in <libaudit.h>.
3940
3941 2008-09-04  Nicolas François  <nicolas.francois@centraliens.net>
3942
3943         * src/useradd.c: Fix comment of lflg: it is also used for faillog.
3944
3945 2008-09-04  Nicolas François  <nicolas.francois@centraliens.net>
3946
3947         * NEWS, src/groupmems.c, man/groupmems.8.xml: Document the long
3948         options.
3949
3950 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3951
3952         * lib/prototypes.h, libmisc/audit_help.c: Define new type
3953         shadow_audit_result for the result argument of audit_logger().
3954         This permits stronger type checking and a better readability of
3955         the results (SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS constants).
3956         * src/groupadd.c, src/groupdel.c, src/useradd.c, src/userdel.c:
3957         Use the SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS results instead
3958         of 0 or 1 in audit_logger().
3959
3960 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3961
3962         * src/userdel.c: Log failures to remove the mailbox to syslog and
3963         audit.
3964         * src/userdel.c: Log successful removal of home directory to audit
3965         only in case of success.
3966         * src/userdel.c: Move the audit log of failure to remove the home
3967         directory before the call to function that may exit.
3968         * src/userdel.c: Document that errors is only used to count errors
3969         during the removal of the home directory.
3970
3971 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3972
3973         * src/useradd.c: Log errors to syslog in grp_update() since
3974         changes have started to be reported to syslog.
3975         * src/userdel.c: Fix some result parameters sent to
3976         audit_logger().
3977
3978 2008-09-02  Nicolas François  <nicolas.francois@centraliens.net>
3979
3980         * NEWS: Following changes from a patch contributed by Steve Grubb
3981         <sgrubb@redhat.com>
3982         * src/groupadd.c: Log to audit with type AUDIT_ADD_GROUP instead
3983         of AUDIT_USER_CHAUTHTOK.
3984         * src/groupdel.c: Log to audit with type AUDIT_DEL_GROUP instead 
3985         of AUDIT_USER_CHAUTHTOK.
3986         * src/useradd.c: Log to audit with type AUDIT_ADD_USER /
3987         AUDIT_ADD_GROUP / AUDIT_USYS_CONFIG instead of
3988         AUDIT_USER_CHAUTHTOK.
3989         * src/useradd.c: Add missing logs to audit.
3990         * src/userdel.c: Log to audit with type AUDIT_DEL_USER /
3991         AUDIT_DEL_GROUP instead of AUDIT_USER_CHAUTHTOK.
3992         * src/userdel.c: Add missing logs to audit.
3993
3994 2008-08-31  Nicolas François  <nicolas.francois@centraliens.net>
3995
3996         * src/groupmems.c: Remove duplicated gr_open().
3997
3998 2008-08-30  Nicolas François  <nicolas.francois@centraliens.net>
3999
4000         * man/useradd.8.xml: Document the /etc/default/useradd variables.
4001         * man/useradd.8.xml: Fix the documentation of the GROUP variable
4002         (and -g/--gid option).
4003         * man/useradd.8.xml: Document that -o is only valid with -u
4004
4005 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4006
4007         * shadow.spec.in: Fix the source (new FTP).
4008
4009 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4010
4011         * src/su.c: Add brackets and parenthesis.
4012         * src/su.c: Avoid implicit conversion of pointers to booleans.
4013
4014 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4015
4016         * libmisc/list.c: Remove historical comment.
4017         * libmisc/list.c: Added assertions for non NULL parameters.
4018
4019 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4020
4021         * src/pwconv.c, src/pwunconv.c: Fail if unexpected parameters are
4022         provided.
4023
4024 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4025
4026         * src/passwd.c: Add brackets and parenthesis.
4027         * src/passwd.c: Avoid implicit conversion of pointers to booleans.
4028         * src/passwd.c: Avoid assignments in comparisons.
4029
4030 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4031
4032         * NEWS, src/groupmems.c, man/groupmems.8.xml: Added support for
4033         shadow groups.
4034         * src/groupmems.c: Use fail_exit() instead of exit().
4035
4036 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4037
4038         * src/groupmems.c: The grp structure returned by gr_locate is a
4039         const. Duplicate this structure before working on it.
4040         * src/groupmems.c: Do not fail and do not display warnings if a
4041         close failure happens with the --list option. (Files are opened
4042         read-only).
4043         * src/groupmems.c: Avoid mixed declarations and code.
4044
4045 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4046
4047         * src/gpasswd.c: Replace the 'valid' variable by is_valid to avoid
4048         clashes with the valid() function.
4049
4050 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4051
4052         * libmisc/obscure.c: Add brackets and parenthesis.
4053         * libmisc/obscure.c: Avoid implicit conversion of pointers / chars to
4054         booleans.
4055         * libmisc/obscure.c: Simplify the list of if.
4056
4057 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4058
4059         * src/passwd.c: Fix a typo in the Usage string.
4060
4061 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4062
4063         * src/grpconv.c, src/groups.c: Name the parameters in the
4064         prototypes of the static functions.
4065         * src/grpconv.c, src/grpunconv.c, src/logoutd.c: Fail if
4066         unexpected parameters are provided.
4067         * src/grpconv.c, src/grpunconv.c: Indicate that argc is not used
4068         in the no SHADOWGRP version.
4069
4070 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4071
4072         * src/chgpasswd.c, src/chpasswd.c: Removed variable ok, which is
4073         no more used.
4074
4075 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4076
4077         * src/chage.c: Fix the format for long integers (from %ul to %lu).
4078
4079 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4080
4081         * libmisc/utmp.c: Mark the line and host arguments of setutmp() as
4082         not used in the __linux__ version.
4083
4084 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4085
4086         * lib/nscd.c: Avoid redefinition of _GNU_SOURCE.
4087
4088 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4089
4090         * configure.in: Indentation fix.
4091         * configure.in, src/login.c: Do not use HAVE_PAM_FAIL_DELAY, but
4092         HAS_PAM_FAIL_DELAY, to avoid a redefinition with Linux PAM.
4093
4094 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
4095
4096         * src/groupmems.c: Added functions add_user(), remove_user(), and
4097         purge_members() to ease the support of gshadow.
4098
4099 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
4100
4101         * src/expiry.c: Use Basename for Prog.
4102         * src/expiry.c: Added missing OPENLOG.
4103
4104 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
4105
4106         * lib/nscd.c: Make sure the file is not empty when configured
4107         without nscd support.
4108
4109 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
4110
4111         * configure.in: Remove the USE_NSCD AM_CONDITIONAL (USE_NSCD is
4112         not used in any Makefile.am).
4113         * configure.in: Make sure posix_spawn is present when configured
4114         with nscd support.
4115
4116 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4117
4118         * lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Added brackets and
4119         parenthesis.
4120         * lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Avoid assignments
4121         in comparisons.
4122
4123 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4124
4125         * libmisc/mail.c: Added brackets and parenthesis.
4126         * libmisc/mail.c: Avoid assignments in comparisons.
4127
4128 2008-08-26  Tobias Poschwatta  <tp@fonz.de>
4129
4130         * NEWS: Added support for uclibc.
4131         * configure.in, libmisc/copydir.c: futimes() and lutimes() are not
4132         standard. Check if they are implemented before using them. Do not
4133         set the time of links if lutimes() does not exist, and use
4134         utimes() as a replacement for futimes().
4135         * configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd and
4136         --without-nscd flags to support systems without nscd.
4137         * lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c:
4138         Include <sys/types.h> before <pwd.h> and <grp.h>. It is necessary
4139         for the definition of uid_t and gid_t.
4140         * lib/pwmem.c: do not include <pwd.h>, "pwio.h" is sufficient
4141         here.
4142         * configure.in: Check if the stat structure has a st_atim or
4143         st_atimensec field.
4144         * libmisc/copydir.c: Conditionally use the stat's st_atim and
4145         st_atimensec fields.
4146
4147 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4148
4149         * src/groupmems.c: Handle the options alphabetically.
4150
4151 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4152
4153         * src/groupmems.c: When removing an user, check if deluser is on
4154         the list, not adduser. This fixes a segmentation fault for every
4155         call of groupmems -d.
4156         * libmisc/list.c: Add assertions to help identifying these issues.
4157         * libmisc/list.c: Avoid implicit conversion of pointers to
4158         booleans.
4159
4160 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4161
4162         * NEWS, src/groupmems.c: Use the "groupmems" PAM service name
4163         instead of "groupmod".
4164
4165 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4166
4167         * src/chfn.c: Merge some translated messages.
4168         * src/groupmems.c, src/groupadd.c, src/gpasswd.c, src/chsh.c,
4169         src/chfn.c: Harmonize *_update() failure messages.
4170         * src/groupmems.c: Harmonize gr_close() failure messages.
4171         * src/newgrp.c: Harmonize "unknown GID" messages.
4172         * src/newusers.c: Move the pwd declaration to a inner block scope.
4173
4174 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4175
4176         * src/useradd.c: Harmonize some error messages.
4177         * src/userdel.c: Add log to syslog when the mail file could not be
4178         removed.
4179         * src/userdel.c: Give more context an error message (merge with
4180         perror()).
4181         * src/usermod.c: Harmonize some error messages.
4182
4183 2008-08-25  Nicolas François  <nicolas.francois@centraliens.net>
4184
4185         * src/groupmems.c: Check the return value of gr_update().
4186         * src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
4187         src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupmems.c,
4188         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
4189         src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c,
4190         src/useradd.c, src/userdel.c, src/usermod.c: Harmonize the error
4191         message sent to stderr in case of *_update () failure.
4192         * src/chage.c, src/chsh.c, src/groupadd.c, src/passwd.c: Do not
4193         log to syslog when pw_update() or spw_update() fail.
4194         * src/newusers.c: Do not log specific error message to stderr when
4195         sgr_update() fails.
4196         * src/pwconv.c: Remove duplicated definition of Prog.
4197
4198 2008-08-25  Nicolas François  <nicolas.francois@centraliens.net>
4199
4200         * src/chfn.c, src/chsh.c, src/expiry.c, src/gpasswd.c,
4201         src/newgrp.c, src/passwd.c, src/su.c: Use the same stderr and
4202         syslog warnings when the username cannot be determined.
4203         * src/newgrp.c: Reuse the same stderr message for groups which do
4204         not exist in the system.
4205
4206 2008-08-21  Nicolas François  <nicolas.francois@centraliens.net>
4207
4208         * src/usermod.c: Log errors while *_close to syslog.
4209
4210 2008-08-21  Nicolas François  <nicolas.francois@centraliens.net>
4211
4212         * src/grpconv.c: Use Basename for the definition of Prog. Prog
4213         needs a file visibility.
4214         * src/grpunconv.c: Likewise.
4215
4216 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
4217
4218         * src/chfn.c: Do not exit on pw_unlock failures.
4219         * src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c,
4220         src/vipw.c: Open syslog with the right identification name.
4221         * src/vipw.c: Log unlock errors to syslog.
4222         * src/vipw.c: Log edits to syslog.
4223         * src/chage.c, src/chfn.c, src/chsh.c, src/gpasswd.c,
4224         src/groupadd.c, src/groupdel.c, src/groupmod.c, src/grpconv.c,
4225         src/grpunconv.c, src/passwd.c, src/pwck.c, src/pwunconv.c,
4226         src/useradd.c, src/usermod.c: Harmonize the syslog levels. Failure
4227         to close or unlock are errors. Failure to open files are warnings.
4228
4229 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
4230
4231         * src/newusers.c: Open syslog with the right identification name.
4232         * src/newusers.c: Mark the files as locked only if they are really
4233         locked (i.e. if shadow is not enabled, the files are not locked).
4234
4235 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
4236
4237         * NEWS, src/gpasswd.c: Use getopt_long instead of getopt. Added
4238         support for long options --add (-a), --delete (-d),
4239         --remove-password (-r), --restrict (-R), --administrators (-A),
4240         and --members (-M) 
4241         * man/gpasswd.1.xml: Document the new long options.
4242         * src/gpasswd.c: The sgrp structure is only used if SHADOWGRP is
4243         defined.
4244
4245 2008-08-18  Nicolas François  <nicolas.francois@centraliens.net>
4246
4247         * src/grpck.c: Added function fail_exit(). Check failure to unlock
4248         files. Report errors to stderr and syslog, but continue.
4249         * src/grpconv.c: Check failure to unlock files. Report errors to
4250         stderr and syslog, but continue.
4251
4252 2008-08-18  Nicolas François  <nicolas.francois@centraliens.net>
4253
4254         * src/passwd.c: Check failure to unlock files. Report errors to
4255         stderr and syslog, but continue.
4256
4257 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
4258
4259         * src/chfn.c, src/chgpasswd.c, src/chpasswd.c, src/gpasswd.c,
4260         src/groupadd.c, src/groupdel.c, src/groupmems.c, src/groupmod.c,
4261         src/grpconv.c, src/grpunconv.c, src/newusers.c, src/pwconv.c,
4262         src/pwunconv.c, src/useradd.c, src/userdel.c: Harmonize the name
4263         of the variables keeping the lock status, to match the shadow
4264         library prefixes.
4265
4266 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
4267
4268         * src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c,
4269         src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmems.c,
4270         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
4271         src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
4272         src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c: In
4273         case of a lock failure, indicate to the user that she can try
4274         again later. Do not log to syslog.
4275
4276 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
4277
4278         * NEWS, src/passwd.c: For compatibility with other passwd version,
4279         the --lock an --unlock options do not lock or unlock the user
4280         account anymore.  They only lock or unlock the user's password.
4281         * man/passwd.1.xml: Document above change. Document how an account
4282         can be locked and what a password lock means.
4283
4284 2008-08-15  Nicolas François  <nicolas.francois@centraliens.net>
4285
4286         * man/groupadd.8.xml: Fix the regular expression for group policy.
4287         The final $ character is optional.
4288         * man/groupadd.8.xml: Likewise.
4289         * man/groupadd.8.xml: Indicate the maximum size of usernames.
4290
4291 2008-08-15  Nicolas François  <nicolas.francois@centraliens.net>
4292
4293         * man/po/pl.po: Fix typo in the Polish translation (see
4294         http://bugs.debian.org/491460)
4295
4296 2008-08-13  Nicolas François  <nicolas.francois@centraliens.net>
4297
4298         * man/pl/Makefile.am: Do not build the Polish translation of
4299         login.1 and su.1 (not enough translated). See
4300         http://bugs.debian.org/491460
4301
4302 2008-08-13  Nicolas François  <nicolas.francois@centraliens.net>
4303
4304         * man/shadow.5.xml: Fix typo. The password must be changed before
4305         the maximum number of days, not after.
4306
4307 2008-08-09  Nicolas François  <nicolas.francois@centraliens.net>
4308
4309         * src/groupmems.c: Harmonize the unlock failure messages.
4310
4311 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4312
4313         * src/pwck.c: Added fail_exit().
4314         * src/pwck.c: Report failure to unlock files to stderr and
4315         syslog.
4316         * src/pwck.c: Report failure to sort to stderr, and exit with
4317         E_CANTSORT.
4318         * man/pwck.8.xml: Document return code 6 (E_CANTSORT).
4319
4320 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4321
4322         * src/vipw.c: Report failures to remove files to stderr.
4323         * src/vipw.c: Report failures to unlock files to stderr.
4324
4325 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4326
4327         * NEWS, src/groupmems.c: Added syslog support.
4328         * src/groupmems.c: members() renamed display_members() to
4329         avoid name clash with its members argument.
4330         * src/groupmems.c: Report failure to unlock to syslog.
4331         * src/groupmems.c: Harmonize error messages.
4332         * src/groupmems.c: Report failures to write the new group file to
4333         syslog (gr_close() failure).
4334         * src/groupmems.c: Don't use fail_exit for non-failure exit.
4335
4336 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4337
4338         * src/chsh.c: Added fail_exit().
4339         * src/chsh.c: Use fail_exit() instead of exit(), this avoid
4340         calling closelog() every times.
4341         * src/chsh.c: Ignore the return value or pam_end().
4342         * src/chsh.c: Simplify the PAM error handling.
4343         * src/chsh.c: Report failure to unlock files to stderr and
4344         syslog.
4345
4346 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4347
4348         * src/chpasswd.c: Added fail_exit().
4349         * src/chpasswd.c: Added support for syslog.
4350         * src/chpasswd.c: Report failure to unlock files to stderr and
4351         syslog.
4352         * src/chpasswd.c: Simplify the PAM error handling.
4353         * src/chpasswd.c: Report failure during *_close() to syslog.
4354         * src/chpasswd.c: Ignore the return value or pam_end().
4355
4356 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4357
4358         * src/chgpasswd.c: Added fail_exit().
4359         * src/chgpasswd.c: Added support for syslog.
4360         * src/chgpasswd.c: Report failure to unlock files to stderr and
4361         syslog.
4362         * src/chgpasswd.c: Simplify the PAM error handling.
4363         * src/chgpasswd.c: Report failure during *_close() to syslog.
4364         * src/chgpasswd.c: Ignore the return value or pam_end().
4365
4366 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4367
4368         * src/userdel.c: Report failure to remove entries from group or
4369         gshadow to stderr.
4370         * src/userdel.c: Fail in case of failure during the write of a
4371         user or group database. Report errors to syslog.
4372         * src/userdel.c: Do not unlock non locked files.
4373         * src/userdel.c: Report failure to unlock the passwd or shadow
4374         file to stderr and syslog.
4375
4376 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4377
4378         * src/pwunconv.c: Report failure to unlock the passwd or shadow
4379         file to stderr and syslog.
4380
4381 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4382
4383         * src/usermod.c: Report failure to unlock files to stderr and
4384         syslog.
4385
4386 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4387
4388         * src/newusers.c: Report failure to unlock files to stderr and
4389         syslog.
4390         * src/newusers.c: In case of error when files are open or closed,
4391         indicate the failing file.
4392         * src/newusers.c: Do not try to unlock the files manually since
4393         this is done in fail_exit.
4394
4395 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4396
4397         * src/chage.c: Report failure to unlock the passwd or shadow file
4398         to stderr and syslog.
4399
4400 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4401
4402         * src/pwconv.c: Report failure to unlock the passwd or shadow file
4403         to stderr and syslog.
4404         * src/pwconv.c: Report failure to chmod the backup file.
4405
4406 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4407
4408         * src/grpunconv.c: Report failure to unlock the group or gshadow
4409         files to stderr and syslog.
4410
4411 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4412
4413         * src/chfn.c: Added fail_exit(). Check if the passwd file is
4414         locked. Report failures to unlock to stderr and syslog.
4415         * src/chfn.c: Is case of failure, use fail_exit() rather than
4416         exit().
4417         * src/chfn.c: Ignore the return value of pam_end().
4418
4419 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4420
4421         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h,
4422         lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
4423         Added *_dbname() functions to retrieve the name of the databases.
4424         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h,
4425         lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
4426         *_name() functions renamed *setname().
4427         * src/grpck.c, src/pwck.c: Likewise.
4428         * lib/groupio.h, lib/pwio.h, lib/sgroupio.h, lib/shadowio.h: Added
4429         the name of the arguments to the prototypes.
4430         * src/chage, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
4431         src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c,
4432         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
4433         src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
4434         src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c:
4435         Harmonize the error & syslog messages in case of failure of the
4436         *_lock(), *_open(), *_close(), *_unlock(), *_remove() functions.
4437         * src/chgpasswd.c, src/chpasswd.c, src/usermod.c: Avoid
4438         capitalized messages.
4439         * src/chpasswd.c, src/useradd.c, src/usermod.c: Harmonize messages
4440         in case of inexistent entries.
4441         * src/usermod.c:  Harmonize messages in case of already existing
4442         entries.
4443         * src/newusers.c, src/useradd.c: Simplify PAM error handling.
4444         * src/useradd.c: Report failures to unlock files (stderr, syslog,
4445         and audit). But do not fail (continue).
4446         * src/useradd.c (open_files): Do not report to syslog & audit
4447         failures to lock or open the databases. This might be harmless,
4448         and the logs were not already informed that a change was
4449         requested.
4450         * src/usermod.c: It's not the account which is unlocked, but its
4451         password.
4452
4453 2008-08-02  Nicolas François  <nicolas.francois@centraliens.net>
4454
4455         * src/groupadd.c: Harmonize error & syslog messages.
4456         * src/groupadd.c: Add logging to syslog & audit on lock/unlock
4457         failures.
4458         * src/groupadd.c: Only call gr_unlock() and sgr_unlock() in the
4459         group or gshadow files were previously locked.
4460         * src/groupadd.c: Make sure failures are reported to syslog/audit
4461         after the change is mentioned.
4462         * src/groupmod.c: Harmonize error & syslog messages.
4463         * src/groupmod.c: Add logging to syslog & audit on lock/unlock
4464         failures.
4465         * src/groupmod.c: Make sure issues are reported to syslog or audit
4466         after the change is mentioned.
4467         * src/groupdel.c: Harmonize error & syslog messages.
4468         * src/groupdel.c: Add logging to syslog & audit on lock/unlock
4469         failures.
4470         * src/groupdel.c: Only call gr_unlock() and sgr_unlock() in the
4471         group or gshadow files were previously locked.
4472         * src/groupdel.c: Simplify the handling of PAM errors.
4473
4474 2008-08-01  Nicolas François  <nicolas.francois@centraliens.net>
4475
4476         * src/gpasswd.c: Harmonize error & syslog messages.
4477         * src/gpasswd.c: Warn and log to syslog and audit when group or
4478         gshadow cannot be unlocked, but do not fail.
4479
4480 2008-08-01  Nicolas François  <nicolas.francois@centraliens.net>
4481
4482         * src/chfn.c, src/chsh.c, src/groupdel.c, src/groupmems.c,
4483         src/groupmod.c, src/grpck.c, src/login.c, src/logoutd.c,
4484         src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c,
4485         src/suauth.c, src/useradd.c, src/userdel.c, src/usermod.c,
4486         src/vipw.c: Complete the switch from the `' quotation style to ''.
4487         Do it also in SYSLOG messages. Quote some parameters. All this
4488         permits to merge some messages.
4489
4490 2008-07-30  Lukáš Kuklínek  <lkukline@redhat.com>
4491
4492         * src/groupmems.c: Only check if the adduser user exists when an
4493         user is specified with -a.
4494
4495 2008-07-30  Nicolas François  <nicolas.francois@centraliens.net>
4496
4497         * src/groupmems.c: Fix the groupmems' usage message. The -D option
4498         is in fact -p.
4499
4500 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4501
4502         * src/groupmems.c: Replace an if test by an else.
4503
4504 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4505
4506         * src/groupmems.c: Ignore the return value of fputs().
4507
4508 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4509
4510         * src/groupmems.c (whoami): Make sure usr and grp are not NULL
4511         before dereferencing them.
4512
4513 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4514
4515         * src/groupmems.c: Use xstrdup() rather than strdup().
4516
4517 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4518
4519         * src/groupmems.c: Add parenthesis.
4520         * src/groupmems.c: Avoid implicit conversion of pointers / chars to
4521         booleans.
4522
4523 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4524
4525         * NEWS, src/groupmems.c: Allow everybody to list the users of a group.
4526         This information is publicly available in /etc/group.
4527         * NEWS, src/groupmems.c: Open /etc/group read only for the -l option.
4528
4529 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4530
4531         * man/groupmems.8.xml: Sort options alphabetically.
4532
4533 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4534
4535         * src/groupmems.c (check_perms): Simplify. Always call pam_end()
4536         at the end of the authentication.
4537
4538 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4539
4540         * src/groupmems.c: Add fail_exit() to remove the group lock file
4541         in case of failure. Replace the calls to exit() by fail_exit().
4542
4543 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4544
4545         * src/groupmems.c: Reduce the number of checks. Isolate the
4546         parameters setting and permissions checking.
4547
4548 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4549
4550         * src/groupmems.c: Add functions process_flags() and check_perms()
4551         from code of main().
4552         * src/groupmems.c: Harmonize the failure message in case of PAM
4553         failure with the other programs.
4554
4555 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4556
4557         * src/groupmems.c: Remove isgroup(), which always returns TRUE.
4558
4559 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4560
4561         * src/groupmems.c: Reuse the functions from libmisc/list.c to deal
4562         with user lists. addtogroup() was broken when realloc() move the
4563         memory area.
4564         * src/groupmems.c: Report failures with the name of the program.
4565
4566 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4567
4568         * src/groupmems.c: EXIT_READ_GROUP changed to EXIT_INVALID_GROUP.
4569         * src/groupmems.c: EXIT_INVALID_USERNAME changed to EXIT_INVALID_USER.
4570
4571 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
4572
4573         * src/groupmems.c: Really use booleans.
4574         * src/groupmems.c: Change isroot() to a macro that returns a
4575         boolean.
4576
4577 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
4578
4579         * lib/defines.h: Make sure the booleans are defined before using
4580         them.
4581
4582 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
4583
4584         * src/groupmems.c: Added Prog global variable to indicate the name
4585         of the program in error messages.
4586
4587 2008-07-22  Lukáš Kuklínek  <lkukline@redhat.com>
4588
4589         * NEWS, src/groupmems.c: Check if the user added to group actually
4590         exist. RedHat bug #455603
4591         * NEWS, src/groupmems.c: Check if the group exists in the group
4592         local database (/etc/group). RedHat bug #456088
4593
4594 2008-07-22  Nicolas François  <nicolas.francois@centraliens.net>
4595
4596         * lib/prototypes.h: Fix getrange prototype.
4597
4598 2008-07-21  Seraphim Mellos  <mellos@ceid.upatras.gr>
4599
4600         * README, NEWS, configure.in, lib/pam_defs.h, src/login.c: Add
4601         support for OpenPAM.
4602
4603 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
4604
4605         * src/chage.c: Ignore the return value of pam_end() before exiting.
4606         * src/chage.c: Ignore return values of strftime(), snprintf(),
4607         puts(), printf(), and fputs().
4608         * src/chage.c: Check the return value of asctime().
4609
4610 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
4611
4612         * lib/gshadow.c: Avoid assignments in comparison.
4613
4614 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
4615
4616         * ChangeLog, NEWS, src/login.c: Re-inject the changes from 4.1.2.1.
4617
4618 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
4619
4620         * src/usermod.c: Do not call usr_update() if it will have no
4621         effects. This avoid checking if the user exists in the local passwd
4622         file if not necessary, and thus allow to add LDAP users to local
4623         groups. (The user is already checked against the system
4624         configuration with getpwnam()). Thanks to Dan Kopecek.
4625
4626 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
4627
4628         * src/usermod.c: Split update_files() into update_lastlog() and
4629         update_faillog(). Report errors (but don't fail) if the file
4630         exist, but open(), lseek(), read(), write(), or close() fails.
4631         * src/usermod.c: Add brackets and parenthesis.
4632         * src/usermod.c: Ignore the return value of pam_end() before
4633         exiting.
4634         * src/usermod.c: Ignore the return value of strftime(),
4635         snprintf(), and puts().
4636         * src/usermod.c: Check the return value of gmtime() and asctime(),
4637         and output the raw time_t on failures.
4638
4639 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
4640
4641         * libmisc/setugid.c: Add brackets.
4642
4643 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
4644
4645         * libmisc/env.c: Avoid implicit conversion of pointers / chars to
4646         booleans.
4647         * libmisc/env.c: Add brackets and parenthesis.
4648         * libmisc/env.c: Ignore the return value of puts() and fputs().
4649         * libmisc/env.c: Avoid multi-statements lines.
4650
4651 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
4652
4653         * libmisc/utmp.c: Avoid implicit conversion of pointers / chars to
4654         booleans.
4655         * libmisc/utmp.c: Add brackets and parenthesis.
4656         * libmisc/utmp.c: Exit with the EXIT_FAILURE status code in case
4657         of failure.
4658         * libmisc/utmp.c: Avoid assignments in comparisons.
4659         * lib/prototypes.h, libmisc/utmp.c: Change setutmp()'s prototype
4660         to return an int because pututline() and pututxline() may fail.
4661
4662 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
4663
4664         * libmisc/audit_help.c: Added one string for translation.
4665         * po/POTFILES.in: Added libmisc/audit_help.c,
4666         libmisc/find_new_gid.c, libmisc/find_new_uid.c, libmisc/getlong.c,
4667         libmisc/getrange.c, libmisc/xgetXXbyYY.c, and libmisc/yesno.c.
4668         Removed libmisc/find_new_ids.c
4669
4670 2008-06-16  Nicolas François  <nicolas.francois@centraliens.net>
4671
4672         * src/useradd.c: If the faillog file exist, warn in case of
4673         failure when open(), lssek(), write() or close() fails when the
4674         new user's faillog entry is reset.
4675         * src/useradd.c: Ditto for the lastlog entry.
4676
4677 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4678
4679         * libmisc/limits.c: Add brackets and parenthesis.
4680         * libmisc/limits.c: Avoid implicit conversion of pointers /
4681         integers to booleans.
4682         * libmisc/limits.c: Ignore the return value of umask(). We will
4683         never return to the original umask.
4684         * libmisc/limits.c: Avoid multi-statements lines.
4685         * libmisc/limits.c: Added default to a switch(). Report invalid
4686         limit strings to syslog.
4687         * libmisc/limits.c: Ignore the return value of fclose().
4688         /etc/limits is open read-only.
4689         * libmisc/limits.c: Ignore the return value of fputs() and
4690         sleep().
4691         * libmisc/limits.c: Check the return value of nice() and
4692         set_filesize_limit(), and report errors to syslog.
4693
4694 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4695
4696         * libmisc/ulimit.c, lib/prototypes.h: Return failures of
4697         set_filesize_limit(). Change the prototype to return an int
4698         instead of void.
4699
4700 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4701
4702         * libmisc/failure.c: Try to close the open file if a failure
4703         occured during lseek(), read() or write().
4704
4705 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4706
4707         * libmisc/log.c: Check return values. If lseek() failed, avoid
4708         reading or writing at an unspecified location. Log to syslog in
4709         case of failure.
4710         * libmisc/log.c: Use the right casts.
4711
4712 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4713
4714         * libmisc/find_new_ids.c, libmisc/find_new_gid.c,
4715         libmisc/find_new_uid.c, libmisc/Makefile.am, lib/prototypes.h:
4716         Split find_new_ids.c into find_new_gid.c and find_new_uid.c to
4717         ease the description of login.defs variables in the different
4718         tools.
4719
4720 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4721
4722         * libmisc/failure.c: Ignore the return value of strftime() and
4723         printf().
4724         * libmisc/failure.c: Fix syslog call. The UID is not available.
4725         User the username specified in the utmp/utmpx entry.
4726
4727 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4728
4729         * lib/defines.h: Avoid implicit conversion of pointers to
4730         booleans.
4731         * lib/defines.h: Ignore return values of setlocale() except the
4732         first call.
4733         * lib/defines.h: Fix a splint observer warning by using an
4734         intermediate variable (old_locale).
4735
4736 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4737
4738         * libmisc/failure.c: Check return values. If lseek() failed, avoid
4739         reading or writing at an unspecified location. Log to syslog in
4740         case of failure when reading a faillog entry or writing in
4741         faillog or btmp.
4742         * libmisc/failure.c: Check if the file exist before opening it.
4743         * libmisc/failure.c: Log failures of open() and close() when
4744         necessary.
4745
4746 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4747
4748         * lib/prototypes.h: Add the getrange() prototype.
4749         * lib/prototypes.h: Fix the valid_field() prototype (does not
4750         return an bool).
4751         * lib/prototypes.h: Fix the valid() prototype (it does return a
4752         bool).
4753
4754 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4755
4756         * lib/getdef.c: Fix the getdef_ulong() prototype.
4757         * lib/getdef.h: Fix the getdef_ulong() prototype.
4758
4759 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4760
4761         * src/lastlog.c: Use getrange to parse the range of users.
4762         * src/lastlog.c: umin and umax do not need to be signed long. Use
4763         an unsigned long which might be needed to parse a GID or UID. Add
4764         the has_umin and has_umax to replace the -1 values.
4765         * src/lastlog.c: Cast dates to time_t.
4766         * src/lastlog.c: Prefix lastlog errors with "lastlog: ".
4767
4768 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4769
4770         * libmisc/getlong.c: Reset errno before calling strtol().
4771         Otherwise, errno could be already set to ERANGE.
4772
4773 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4774
4775         * libmisc/Makefile.am, libmisc/getrange.c: Added function to parse
4776         a range (useful for lastlog).
4777
4778 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4779
4780         * src/chsh.c: <signal.h> is not needed.
4781
4782 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4783
4784         * lib/prototypes.h: Define AUDIT_NO_ID to (unsigned int) -1. This
4785         value should be used when the ID should not be considered.
4786         * lib/prototypes.h: Fix the prototype of do_rlogin() according to
4787         earlier changes.
4788
4789 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4790
4791         * lib/shadow.c: Use SHADOW_SP_FLAG_UNSET for the initial
4792         value of spwd.sp_flag.
4793         * lib/shadow.c: Add brackets.
4794         * lib/shadow.c: Avoid implicit conversion of pointers to
4795         booleans.
4796         * lib/shadow.c: The size argument of fgets is an int, not a
4797         size_t.
4798
4799 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4800
4801         * lib/commonio.c: len should be typed ssize_t as it is the return
4802         of read(), and is compared to 0. Cast to size_t when necessary.
4803
4804 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4805
4806         * libmisc/find_new_ids.c: Use getdef_ulong to retrieve UIDs/GIDs
4807         from login.defs. Type constants to long integers.
4808
4809 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4810
4811         * lib/gshadow.c: Use a bool when possible instead of int integers.
4812         * lib/gshadow.c: Remove __setsgNIS() -never used).
4813         * lib/gshadow.c: Avoid multi-statements lines.
4814         * lib/gshadow.c: Avoid assignments in comparisons.
4815         * lib/gshadow.c: ptr[nelem] is a string. Initialize it to NULL
4816         instead of '\0'.
4817         * lib/gshadow.c: Add brackets and parenthesis.
4818         * lib/gshadow.c: The size argument of strncpy is a size_t and the
4819         size argument of fgets is an int.
4820
4821 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4822
4823         * lib/groupio.c: Add brackets.
4824         * lib/groupio.c: Make sure malloc receives a size_t.
4825         * lib/groupio.c: Avoid multi-statements lines.
4826
4827 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4828
4829         * lib/sgetspent.c: Use SHADOW_SP_FLAG_UNSET for the initial
4830         value of spwd.sp_flag.
4831
4832 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4833
4834         * lib/getdef.h, lib/getdef.c: Add getdef_ulong().
4835         * lib/getdef.c: Added TODOs because of lack of error checking.
4836         * lib/getdef.c: The size argument of fgets is an int, not a
4837         size_t.
4838         * lib/getdef.c: Avoid multi-statements lines.
4839
4840 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4841
4842         * src/id.c: Make sure malloc receives a size_t.
4843         * src/id.c: Use a %lu format and cast group and user IDs to
4844         unsigned long integers.
4845
4846 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4847
4848         * src/sulogin.c: Ignore the return value of signal().
4849
4850 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4851
4852         * src/groups.c: sys_ngroups is only used when HAVE_GETGROUPS is
4853         defined.
4854
4855 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4856
4857         * src/faillog.c: Ignore return value of time() when use with a
4858         non NULL argument.
4859         * src/faillog.c: Use a %lu format and cast number of days to
4860         unsigned long integers.
4861         * src/faillog.c: Cast dates to time_t.
4862
4863 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4864
4865         * src/login.c: Ignore the return value of signal().
4866         * src/login.c: Use a %lu format and cast group and user IDs to
4867         unsigned long integers.
4868         * src/login.c: Ignore return value of setlocale(),
4869         bindtextdomain(), and textdomain().
4870
4871 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4872
4873         * src/chage.c: Add the arguments' names in the functions
4874         prototypes.
4875         * src/chage.c: The ID argument of audit_logger is an unsigned
4876         int. Use AUDIT_NO_ID instead of -1.
4877         * src/chage.c: print_date() received a time_t.
4878         * src/chage.c: Use SHADOW_SP_FLAG_UNSET for the initial
4879         value of spwent.sp_flag.
4880
4881 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4882
4883         * src/groupadd.c: The ID argument of audit_logger is an unsigned
4884         int. Use AUDIT_NO_ID instead of -1.
4885         * src/groupadd.c: Cast the parsed GID/UID to a gid_t/uid_t.
4886
4887 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4888
4889         * src/pwck.c: Use a %lu format and cast group and user IDs to
4890         unsigned long integers.
4891         * src/pwck.c: Cast number of days to a long integer.
4892         * src/pwck.c: Use the SCALE macro instead of (24L * 3600L)
4893         for the values to be set in /etc/shadow.
4894         * src/pwck.c: Use SHADOW_SP_FLAG_UNSET for the initial
4895         value of spent.sp_flag.
4896
4897 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4898
4899         * src/passwd.c: Ignore return value of time() when use with a
4900         non NULL argument.
4901         * src/passwd.c: Cast number of days to a long integer.
4902
4903 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4904
4905         * src/groupmod.c: The ID argument of audit_logger is an unsigned
4906         int. Use AUDIT_NO_ID instead of -1.
4907         * src/groupmod.c:  Use a %lu format and cast group and user IDs to
4908         unsigned long integers.
4909         * src/groupmod.c: Cast the parsed GID/UID to a gid_t/uid_t.
4910
4911 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4912
4913         * src/useradd.c: The ID argument of audit_logger is an unsigned
4914         int. Use AUDIT_NO_ID instead of -1.
4915         * src/useradd.c: Cast the parsed GID/UID to a gid_t/uid_t.
4916         * src/useradd.c: The size argument of fgets is an int, not a
4917         size_t.
4918         * src/useradd.c: Cast number of days to a long integer.
4919         * src/useradd.c: Use SHADOW_SP_FLAG_UNSET for the initial
4920         value of spent.sp_flag.
4921         * src/useradd.c: Use a %lu format and cast group and user IDs to
4922         unsigned long integers.
4923
4924 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4925
4926         * src/su.c: fork() and waitpid() return a pid_t, not an int.
4927         * src/su.c: Add brackets and parenthesis.
4928         * src/su.c: Ignore the return value of signal().
4929
4930 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4931
4932         * src/groupdel.c: The ID argument of audit_logger is an unsigned
4933         int. Use AUDIT_NO_ID instead of -1.
4934
4935 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4936
4937         * src/expiry.c: Ignore the return value of signal().
4938
4939 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4940
4941         * src/newusers.c: Fix the check for GID/UID validity.
4942         * src/newusers.c: Comment why we use both getgrgid() and
4943         gr_locate_gid().
4944         * src/newusers.c: Cast the parsed GID/UID to a gid_t/uid_t.
4945         * src/newusers.c: Cast the number of days to a long integer.
4946         * src/newusers.c: Use SHADOW_SP_FLAG_UNSET for the initial
4947         value of spent.sp_flag.
4948         * src/newusers.c: The size argument of fgets is an int, not a
4949         size_t.
4950
4951 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4952
4953         * src/usermod.c: Cast dates to time_t, and number of days to a
4954         long integer.
4955         * src/usermod.c: Cast UIDs and GIDs to uid_t and gid_t after
4956         checking the ranges.
4957         * src/usermod.c: The ID argument of audit_logger is an unsigned
4958         int.
4959         * src/usermod.c: read() returns a ssize_t.
4960         * src/usermod.c: Cast the return value of malloc and make sure it
4961         receives a size_t.
4962
4963 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4964
4965         * src/logoutd.c: Ignore return value of time() when use with a
4966         non NULL argument.
4967
4968 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4969
4970         * src/pwconv.c: Use SHADOW_SP_FLAG_UNSET for the initial
4971         value of sp.sp_flag.
4972         * src/pwconv.c: Cast number of days to a long integer.
4973
4974 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4975
4976         * src/gpasswd.c: The ID argument of audit_logger is an unsigned
4977         int.
4978         * src/gpasswd.c: Ignore the return value of signal(). The signal
4979         handlers are only changed for the last steps of gpasswd, and there
4980         is no need to restore them.
4981
4982 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4983
4984         * src/userdel.c: The ID argument of audit_logger is an unsigned
4985         int.
4986         * src/userdel.c: fork() and wait() return a pid_t, not an int.
4987
4988 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4989
4990         * src/newgrp.c: Use a %lu format and cast group and user IDs to
4991         unsigned long integers.
4992         * src/newgrp.c: The ID argument of audit_logger is an unsigned
4993         int.
4994         * src/newgrp.c: Ignore the return value of signal() (the signal
4995         handlers are assumed to be the default one and are restored
4996         later).
4997         * src/newgrp.c: Do not checl if a pid_t is < 0, check if equal
4998         to (pid_t)-1.
4999
5000 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5001
5002         * libmisc/isexpired.c: Cast number of days to a long integer.
5003         * libmisc/isexpired.c: Add brackets and parenthesis.
5004
5005 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5006
5007         * libmisc/copydir.c: Do not specify a size of arrays in the
5008         prototypes.
5009         * libmisc/copydir.c: Use a size_t for the length of strings.
5010         * libmisc/copydir.c: Cast the return value of malloc().
5011         * libmisc/copydir.c: The size argument of write() is a size_t.
5012
5013 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5014
5015         * libmisc/pwd2spwd.c: Cast number of days to a long integer.
5016         * libmisc/pwd2spwd.c: Use SHADOW_SP_FLAG_UNSET for the initial
5017         value of sp.sp_flag.
5018
5019 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5020
5021         * lib/defines.h: Include <config.h> since it uses the macro that
5022         might be defined in this header file.
5023         * lib/defines.h: Prefer checking if HAVE_LOCALE_H or ENABLE_NLS
5024         are defined (rather than set to non 0).
5025         * lib/defines.h: The dummy implementations of bindtextdomain() and
5026         textdomain() should return a pointer. Return NULL instead of
5027         /* empty */
5028         * lib/defines.h: Define SHADOW_SP_FLAG_UNSET, to be used for the
5029         initialization of sp_flag field of the shadow structures.
5030         * lib/defines.h: Define LC_ALL, needed even if HAVE_LOCALE_H is
5031         not defined.
5032
5033 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5034
5035         * libmisc/sulog.c: Ignore the return value of umask() when the
5036         mask is restored.
5037         * libmisc/sulog.c: Add brackets.
5038         * libmisc/sulog.c: Ignore return value of time() when use with a
5039         non NULL argument.
5040
5041 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5042
5043         * libmisc/log.c: Avoid assignments in comparisons.
5044         * libmisc/log.c: Add brackets and parenthesis.
5045         * libmisc/log.c: read() returns a ssize_t (note size_t).
5046         * libmisc/log.c: Avoid implicit conversion of pointers to
5047         booleans.
5048         * libmisc/log.c: Ignore return value of time() when use with a
5049         non NULL argument.
5050
5051 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5052
5053         * libmisc/strtoday.c: Avoid implicit conversion of pointers to
5054         booleans.
5055         * libmisc/strtoday.c: Add brackets and parenthesis.
5056
5057 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5058
5059         * libmisc/salt.c: Use a size_t for the size of strings instead of
5060         unsigned int.
5061         * libmisc/salt.c: Add brackets and parenthesis.
5062         * libmisc/salt.c: Avoid assignments in comparisons.
5063
5064 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5065
5066         * libmisc/age.c: fork() and wait() return a pid_t, not an int.
5067         * libmisc/age.c: Avoid implicit conversion of pointers to
5068         booleans.
5069         * libmisc/age.c: Avoid assignments in comparisons.
5070         * libmisc/age.c: Ignore the return value of printf(), puts(),
5071         fputs() and fflush().
5072         * libmisc/age.c: Add brackets and parenthesis.
5073         * libmisc/age.c: Cast the return value of time() to long and
5074         converted to a date.
5075
5076 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5077
5078         * libmisc/rlogin.c: The size argument of read() is a size_t.
5079         Propagate this time to the callers (the get_remote_string() and
5080         do_rlogin() functions).
5081         * libmisc/rlogin.c: Add brackets and parenthesis.
5082         * libmisc/rlogin.c: Avoid multi-statements lines.
5083         * libmisc/rlogin.c: Avoid assignments in comparisons.
5084         * libmisc/rlogin.c: Avoid implicit conversion of pointers to
5085         booleans.
5086
5087 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5088
5089         * libmisc/failure.c: Avoid assignments in comparisons.
5090         * libmisc/failure.c: read() returns a ssize_t.
5091         * libmisc/failure.c: Add brackets and parenthesis.
5092         * libmisc/failure.c: Ignore return value of time() when use with a
5093         non NULL argument.
5094
5095 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5096
5097         * libmisc/chowntty.c: Avoid assignments in comparisons.
5098         * libmisc/chowntty.c: Avoid implicit conversion of pointers to
5099         booleans.
5100         * libmisc/chowntty.c: Add brackets and parenthesis.
5101
5102 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5103
5104         * libmisc/audit_help.c: Add brackets.
5105
5106 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5107
5108         * libmisc/addgrps.c: Avoid implicit conversion of pointers to
5109         booleans.
5110         * libmisc/addgrps.c: Add brackets.
5111
5112 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5113
5114         * libmisc/utmp.c: Avoid implicit conversion of pointers to
5115         booleans.
5116
5117 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5118
5119         * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c,
5120         libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/tz.c,
5121         src/login_nopam.c, src/chpasswd.c, src/chgpasswd.c, lib/port.c:
5122         The size argument of fgets is an int, not a size_t.
5123         * libmisc/loginprompt.c: Ignore the return value from signal()
5124         when the signal handlers are restored.
5125         * src/chpasswd.c: Cast the return value of time() to a long
5126         integer.
5127         * src/chpasswd.c: Use the SCALE macro instead of (24L * 3600L)
5128         for the values to be set in /etc/shadow.
5129
5130 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5131
5132         * src/pwck.c: Use a bool when possible instead of int integers.
5133         * src/pwck.c: Avoid implicit conversion of integers to booleans.
5134
5135 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5136
5137         * src/su.c: Use a bool when possible instead of int integers.
5138         * src/su.c: Add brackets and parenthesis.
5139         * src/su.c: Avoid implicit conversion of pointers / integers
5140         / chars to booleans.
5141         * src/su.c: Ignore the return value of pam_end() before
5142         exiting.
5143         * src/su.c: Avoid assignments in comparisons.
5144         * src/su.c: Avoid multi-statements lines.
5145
5146 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5147
5148         * lib/prototypes.h, libmisc/valid.c: Change the prototype of
5149         valid() to return a bool.
5150         * libmisc/valid.c: Add parenthesis.
5151
5152 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5153
5154         * lib/commonio.c: Add brackets and parenthesis.
5155         * lib/commonio.c: Check the result of fgets().
5156         * lib/commonio.c: Avoid implicit conversion of pointers to
5157         booleans.
5158
5159 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5160
5161         * lib/prototypes.h: Fix the prototypes to match earlier changes.
5162
5163 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5164
5165         * lib/nscd.c: Include defines.h.
5166         * lib/nscd.c: Always warn when the nscd cache cannot be flushed.
5167         * lib/nscd.c: Avoid assignments in comparisons.
5168         * lib/nscd.c: Ignore the return value of fputs() when printing
5169         errors.
5170
5171 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5172
5173         * lib/port.c: Add brackets and parenthesis.
5174         * lib/port.c: Change isttytime() prototype to return a bool.
5175         * lib/port.c: Ignore the return value of fclose () (file open
5176         read-only).
5177         * lib/port.c: Avoid multi-statements lines.
5178
5179 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5180
5181         * src/id.c: Ignore the return value of fputs(), puts(), putchar(),
5182         and printf().
5183         * src/id.c: Ignore return value of setlocale(),
5184         bindtextdomain(), and textdomain().
5185         * src/id.c: Add brackets and parenthesis.
5186         * src/id.c: Avoid implicit conversion of pointers / integers
5187         to booleans.
5188
5189 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5190
5191         * src/chsh.c: Use a bool when possible instead of int integers.
5192         * src/chsh.c: restricted_shell() renamed is_restricted_shell().
5193         check_shell() renamed shell_is_listed().
5194         * src/chsh.c: Ignore return value of setlocale(),
5195         bindtextdomain(), and textdomain().
5196         * src/chsh.c: Avoid implicit conversion of pointers / integers
5197         to booleans.
5198         * src/chsh.c: Ignore the return value of pam_end() before
5199         exiting.
5200
5201 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5202
5203         * src/grpunconv.c: Use a bool when possible instead of int
5204         integers.
5205         * src/grpunconv.c: Add brackets and parenthesis.
5206         * src/grpunconv.c: Ignore return value of setlocale(),
5207         bindtextdomain(), and textdomain().
5208         * src/grpunconv.c: Avoid implicit conversion of pointers / integers
5209         to booleans.
5210
5211 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5212
5213         * src/sulogin.c: Ignore return value of setlocale(),
5214         bindtextdomain(), and textdomain().
5215         * src/sulogin.c: Avoid implicit conversion of pointers / integers
5216         / chars to booleans.
5217         * src/sulogin.c: Avoid assignments in comparisons.
5218         * src/sulogin.c: Ignore the return value of alarm().
5219
5220 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5221
5222         * src/groups.c: Use a bool when possible instead of int integers.
5223         * src/groups.c: Add brackets and parenthesis.
5224         * src/groups.c: Avoid implicit conversion of pointers / integers
5225         to booleans.
5226         * src/groups.c: Avoid assignments in comparisons.
5227         * src/groups.c: Ignore the return value of putchar(), printf()
5228         * src/groups.c: Ignore return value of setlocale(),
5229         bindtextdomain(), and textdomain().
5230
5231 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5232
5233         * src/grpconv.c: Use a bool when possible instead of int integers.
5234         * src/grpconv.c: Add brackets and parenthesis.
5235         * src/grpconv.c: Ignore return value of setlocale(),
5236         bindtextdomain(), and textdomain().
5237         * src/grpconv.c: Avoid implicit conversion of pointers / integers
5238         to booleans.
5239
5240 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5241
5242         * src/faillog.c: Use a bool when possible instead of int integers.
5243         * src/faillog.c: Avoid implicit conversion of pointers / integers
5244         / chars to booleans.
5245         * src/faillog.c: Ignore return value of setlocale(),
5246         bindtextdomain(), and textdomain().
5247         * src/faillog.c: Add brackets and parenthesis.
5248
5249 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5250
5251         * src/login.c: Avoid multi-statements lines.
5252         * src/login.c: Ignore the return value of pam_end() before
5253         exiting.
5254         * src/login.c: Use a bool when possible instead of int integers.
5255         * src/login.c: Add brackets and parenthesis.
5256         * src/login.c: Ignore the return values of fflush(), putchar(), puts().
5257         * src/login.c: Ignore the return value of fclose() for read-only
5258         files.
5259         * src/login.c: Avoid assignments in comparisons.
5260         * src/login.c: Ignore return value of setlocale(),
5261         bindtextdomain(), and textdomain().
5262         * src/login.c: Avoid implicit conversion of pointers / integers
5263         / chars to booleans.
5264
5265 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5266
5267         * src/chage.c: Use a bool when possible instead of int integers.
5268         * src/chage.c: Ignore return value of setlocale(),
5269         bindtextdomain(), and textdomain().
5270
5271 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5272
5273         * src/groupadd.c: Use a bool when possible instead of int
5274         integers.
5275         * src/groupadd.c: Add brackets and parenthesis.
5276         * src/groupadd.c: Avoid implicit conversion of pointers / integers
5277         / chars to booleans.
5278         * src/groupadd.c: Ignore return value of setlocale(),
5279         bindtextdomain(), and textdomain().
5280         * src/groupadd.c: Ignore the return value of pam_end() before
5281         exiting.
5282
5283 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5284
5285         * src/pwck.c: Use a bool when possible instead of int integers.
5286         * src/pwck.c: Ignore return value of setlocale(),
5287         bindtextdomain(), and textdomain().
5288
5289 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5290
5291         * src/passwd.c: Use a bool when possible instead of int integers.
5292         * src/passwd.c: Avoid assignments in comparisons.
5293         * src/passwd.c: Add brackets and parenthesis.
5294         * src/passwd.c: Avoid implicit conversion of pointers / integers /
5295         chars to booleans.
5296         * src/passwd.c: Move the "context_t c" declaration at the
5297         beginning check_selinux_access.
5298         * src/passwd.c: Ignore return value of setlocale(),
5299         bindtextdomain(), and textdomain().
5300
5301 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5302
5303         * src/groupmod.c: Use a bool when possible instead of int
5304         integers.
5305         * src/groupmod.c: Avoid assignments in comparisons.
5306         * src/groupmod.c: Add brackets and parenthesis.
5307         * src/groupmod.c: Avoid implicit conversion of pointers / integers
5308         / chars to booleans.
5309         * src/groupmod.c: Use a %lu format to print GIDs, and cast the GID
5310         to (unsigned long int).
5311         * src/groupmod.c: Ignore return value of setlocale(),
5312         bindtextdomain(), and textdomain().
5313         * src/groupmod.c: Ignore the return value of pam_end() before
5314         exiting.
5315
5316 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5317
5318         * src/su.c: Ignore return value of setlocale(),
5319         bindtextdomain(), and textdomain().
5320
5321 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5322
5323         * src/useradd.c: Use a bool when possible instead of int integers.
5324         * src/useradd.c: Avoid implicit conversion of pointers / integers
5325         / chars to booleans.
5326         * src/useradd.c: Add brackets and parenthesis.
5327         * src/useradd.c: Avoid assignments in comparisons.
5328         * src/useradd.c: Ignore the return value of fclose() for read-only
5329         files.
5330         * src/useradd.c: Ignore the return value of fflush() before
5331         closing the files.
5332         * src/useradd.c: Avoid multi-statements lines.
5333         * src/useradd.c: Ignore return value of setlocale(),
5334         bindtextdomain(), and textdomain().
5335         * src/useradd.c: Ignore the return value of pam_end() before
5336         exiting.
5337
5338 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5339
5340         * src/vipw.c: Use a bool when possible instead of int integers.
5341         * src/vipw.c: Ignore the return value of umask(), when the mask is
5342         set again to the old value.
5343         * src/vipw.c: Avoid implicit conversion of pointers / integers to
5344         booleans.
5345         * src/vipw.c: Add brackets and parenthesis.
5346         * src/vipw.c: Avoid assignments in comparisons.
5347         * src/vipw.c: Ignore return value of setlocale(),
5348         bindtextdomain(), and textdomain().
5349         * src/vipw.c: Add missing termination of the longopts parameter
5350         for getopt_long().
5351
5352 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5353
5354         * src/chgpasswd.c: Use a bool when possible instead of int
5355         integers.
5356         * src/chgpasswd.c: Ignore return value of setlocale(),
5357         bindtextdomain(), and textdomain().
5358         * src/chgpasswd.c: Avoid implicit conversion of integers to
5359         booleans.
5360
5361 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5362
5363         * src/groupdel.c: Use a bool when possible instead of int
5364         integers.
5365         * src/groupdel.c: Avoid implicit conversion of pointers / integers to
5366         booleans.
5367         * src/groupdel.c: Avoid assignments in comparisons.
5368         * src/groupdel.c: Ignore the return value of pam_end() before
5369         exiting.
5370         * src/groupdel.c: Ignore return value of setlocale(),
5371         bindtextdomain(), and textdomain().
5372
5373 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5374
5375         * src/expiry.c: Ignore return value of setlocale(),
5376         bindtextdomain(), and textdomain().
5377         * src/expiry.c: Add brackets and parenthesis.
5378         * src/expiry.c: Avoid assignments in comparisons.
5379         * src/expiry.c: Avoid implicit conversion of pointers to booleans.
5380
5381 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5382
5383         * src/pwunconv.c: Use a bool when possible instead of int
5384         integers.
5385         * src/pwunconv.c: Add brackets and parenthesis.
5386         * src/pwunconv.c: Ignore return value of setlocale(),
5387         bindtextdomain(), and textdomain().
5388         * src/pwunconv.c: Avoid implicit conversion of pointers / integers
5389         / chars to booleans.
5390         * src/pwunconv.c: Avoid assignments in comparisons.
5391
5392 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5393
5394         * src/usermod.c: Use a bool when possible instead of int integers.
5395         * src/usermod.c: Add brackets and parenthesis.
5396         * src/usermod.c: Avoid implicit conversion of pointers / integers
5397         / chars to booleans.
5398         * src/usermod.c: Avoid assignments in comparisons.
5399         * src/usermod.c: Ignore return value of setlocale(),
5400         bindtextdomain(), and textdomain().
5401         * src/usermod.c: Ignore the return value of pam_end() before
5402         exiting.
5403
5404 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5405
5406         * src/groupmems.c: Move the declaration of option_index and
5407         long_options before the blocks of code.
5408         * src/groupmems.c: Ignore return value of setlocale(),
5409         bindtextdomain(), and textdomain().
5410         * src/groupmems.c: Ignore the return value of pam_end() before
5411         exiting.
5412
5413 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5414
5415         * src/chfn.c: Use a bool when possible instead of int integers.
5416         * src/chfn.c: Avoid implicit conversion of integers / chars to
5417         booleans.
5418         * src/chfn.c: Ignore return value of setlocale(),
5419         bindtextdomain(), and textdomain().
5420
5421 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5422
5423         * src/logoutd.c: Use a bool when possible instead of int integers.
5424         * src/logoutd.c: Avoid implicit conversion of pointers / integers
5425         / chars to booleans.
5426         * src/logoutd.c: Ignore return value of setlocale(),
5427         bindtextdomain(), and textdomain().
5428         * src/logoutd.c: Add brackets and parenthesis.
5429
5430 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5431
5432         * src/chpasswd.c: Use a bool when possible instead of int
5433         integers.
5434         * src/chpasswd.c: Avoid implicit conversion of pointers / integers
5435         / chars to booleans.
5436         * src/chpasswd.c: Ignore return value of setlocale(),
5437         bindtextdomain(), and textdomain().
5438
5439 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5440
5441         * src/pwconv.c: Use a bool when possible instead of int integers.
5442         * src/pwconv.c: Add brackets and parenthesis.
5443         * src/pwconv.c: Ignore return value of setlocale(),
5444         bindtextdomain(), and textdomain().
5445         * src/pwconv.c: Avoid implicit conversion of pointers / integers /
5446         chars to booleans.
5447
5448 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5449
5450         * NEWS, src/newusers.c: Implement the -r, --system option.
5451         * src/newusers.c: Use a bool when possible instead of int
5452         integers.
5453         * src/newusers.c: Avoid implicit conversion of pointers / integers
5454         / chars to booleans.
5455         * src/newusers.c: Ignore the return value of pam_end() before
5456         exiting.
5457         * src/newusers.c: Ignore return value of setlocale(),
5458         bindtextdomain(), and textdomain().
5459         * src/newusers.c: Avoid multi-statements lines.
5460         * src/newusers.c: Add brackets and parenthesis.
5461
5462 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5463
5464         * src/gpasswd.c: Use a bool when possible instead of int integers.
5465         * src/gpasswd.c: Avoid implicit conversion of pointers / integers
5466         / chars to booleans.
5467         * src/gpasswd.c: Ignore the return value of putchar() and fflush()
5468         before exiting.
5469         * src/gpasswd.c: check_list() renamed is_valid_user_list(), and
5470         return a bool.
5471         * src/gpasswd.c: Ignore return value of setlocale(),
5472         bindtextdomain(), and textdomain().
5473
5474 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5475
5476         * src/grpck.c: Use a bool when possible instead of int integers.
5477         * src/grpck.c: Ignore return value of setlocale(),
5478         bindtextdomain(), and textdomain().
5479
5480 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5481
5482         * src/lastlog.c: Use a bool when possible instead of int integers.
5483         * src/lastlog.c: Avoid implicit conversion of pointers / integers
5484         / chars to booleans.
5485         * src/lastlog.c: Add brackets and parenthesis.
5486         * src/lastlog.c: Ignore return value of setlocale(),
5487         bindtextdomain(), and textdomain().
5488
5489 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5490
5491         * src/userdel.c: Use a bool for the is_shadow_pwd, is_shadow_grp,
5492         deleted_user_group, was_member, was_admin, and the
5493         options' flags.
5494         * src/userdel.c: Change path_prefix() prototype to return a bool.
5495         * src/userdel.c: Ignore return value of setlocale(),
5496         bindtextdomain(), and textdomain().
5497         * src/userdel.c: Ignore the return value from pam_end() since we
5498         are exiting anyway just afterwards.
5499         * src/userdel.c: Avoid implicit conversion of pointers /
5500         integers / chars to booleans.
5501         * src/userdel.c: Add brackets and parenthesis.
5502         * src/userdel.c: Avoid assignments in comparisons.
5503         * src/userdel.c: Do not ignore the return value of the *_unlock()
5504         functions.
5505
5506 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5507
5508         * src/login_nopam.c: Do not use the YES and NO macros. Use the
5509         booleans true and false instead. Change the prototypes of
5510         list_match(), user_match(), from_match(), and string_match()
5511         accordingly. Also use booleans internally.
5512         * src/login_nopam.c: Add brackets and parenthesis.
5513         * src/login_nopam.c: Avoid implicit conversion of pointers /
5514         integers / chars to booleans.
5515         * src/login_nopam.c: Avoid assignments in comparisons.
5516
5517 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5518
5519         * src/newgrp.c: Use a bool for is_newgrp, notfound, needspasswd,
5520         initflag, and cflag.
5521         * src/newgrp.c: Add brackets and parenthesis.
5522         * src/newgrp.c: Avoid implicit conversion of pointers / integers /
5523         chars to booleans.
5524         * src/newgrp.c: Avoid multi-statements lines.
5525         * src/newgrp.c: Ignore return value of setlocale(),
5526         bindtextdomain(), and textdomain().
5527         * src/newgrp.c: Avoid assignments in comparisons.
5528
5529 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5530
5531         * libmisc/list.c: Change is_on_list() prototype to return a bool.
5532
5533 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5534
5535         * libmisc/find_new_ids.c: Change find_new_uid() and find_new_gid()
5536         prototypes to use a bool for their first argument (sys_user /
5537         sys_group).
5538
5539 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5540
5541         * libmisc/console.c: Change is_listed() prototype to return a bool.
5542         The default parameter should also be a bool.
5543         * libmisc/console.c: Add brackets and parenthesis.
5544         * libmisc/console.c: Avoid assignments in comparisons.
5545         * libmisc/console.c: Change console() prototype to return a bool.
5546
5547 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5548
5549         * lib/sgetspent.c: Add brackets and parenthesis.
5550         * lib/sgetspent.c: Avoid assignments in comparisons.
5551         * lib/sgetspent.c: Avoid implicit conversion of pointers / chars
5552         to booleans.
5553         * lib/sgetspent.c: Avoid multi-statements lines.
5554
5555 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5556
5557         * lib/sgetpwent.c: Avoid implicit conversion of pointers / chars to
5558         booleans.
5559         * lib/sgetpwent.c: Add brackets and parenthesis.
5560         * lib/sgetpwent.c: Return NULL instead of 0.
5561         * lib/sgetpwent.c: Do not check twice if fields[2] and fields[3]
5562         are not empty.
5563         * lib/sgetpwent.c: Avoid assignments in comparisons.
5564
5565 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5566
5567         * libmisc/getdate.y: abbrev is a bool.
5568         * libmisc/getdate.y: Avoid implicit conversion of pointers / chars /
5569         integers to booleans.
5570
5571 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5572
5573         * lib/prototypes.h: Fix prototypes according to earlier changes
5574         (usage of the bool type).
5575         * lib/prototypes.h: Add the arguments' name to the prototypes.
5576
5577 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5578
5579         * lib/groupio.h: Add protection against multiple inclusions.
5580
5581 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5582
5583         * lib/pwio.h: Add protection against multiple inclusions.
5584         * lib/pwio.c: The changed, isopen, locked, and readonly fields
5585         of the db are booleans.
5586
5587 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5588
5589         * lib/shadowio.h, lib/shadowio.c: spw_file_present returns a bool.
5590         * lib/shadowio.h: Add protection against multiple inclusions.
5591         * lib/shadowio.c: The changed, isopen, locked, and readonly fields
5592         of the db are booleans.
5593
5594 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5595
5596         * lib/sgroupio.c: Avoid assignments in comparisons.
5597         * lib/sgroupio.c: Add brackets.
5598         * lib/sgroupio.c: Avoid implicit conversion of pointers / integers
5599         to booleans.
5600         * lib/sgroupio.c: The changed, isopen, locked, and readonly fields
5601         of the db are booleans.
5602         * lib/sgroupio.h, lib/sgroupio.c: sgr_file_present returns a bool.
5603         * lib/sgroupio.h: Add protection against multiple inclusions.
5604
5605 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5606
5607         * lib/gshadow.c: nis_used and nis_bound are booleans.
5608         * lib/gshadow.c: Avoid implicit conversion of pointers / integers
5609         to booleans.
5610         * lib/gshadow.c: Avoid assignments in comparisons.
5611         * lib/gshadow.c: Add brackets.
5612
5613 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5614
5615         * lib/groupio.c: The changed, isopen, locked, and readonly fields
5616         of the db are booleans.
5617         * lib/groupio.h: Add protection against multiple inclusion.
5618
5619 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5620
5621         * lib/sgetgrent.c: Avoid implicit conversion of pointers / chars
5622         to booleans.
5623         * lib/sgetgrent.c: Avoid assignments in comparisons.
5624         * lib/sgetgrent.c: Add brackets.
5625
5626 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5627
5628         * lib/encrypt.c: Avoid implicit conversion of pointers to
5629         booleans.
5630         * lib/encrypt.c: Add parenthesis.
5631
5632 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5633
5634         * lib/port.c: Avoid implicit conversion of pointers / integers /
5635         chars to booleans.
5636         * lib/port.c: Avoid multiple statement on the same line.
5637         * lib/port.c: Add brackets and parenthesis.
5638         * lib/port.c: Avoid assignments in comparisons.
5639         * lib/port.c: Fix typo comparision -> comparison (in comment).
5640
5641 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5642
5643         * lib/fputsx.c: Add brackets.
5644         * lib/fputsx.c: Avoid assignments in comparisons.
5645         * lib/fputsx.c: Avoid implicit conversion of pointers / integers /
5646         chars to booleans.
5647
5648 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5649
5650         * lib/commonio.h: commonio_entry.changed, commonio_db.changed,
5651         commonio_db.isopen, commonio_db.locked, and commonio_db.readonly
5652         are no booleans.
5653         * lib/commonio.h: Include defines.h to get the definition of bool.
5654         * lib/commonio.h: commonio_present returns a bool
5655         * lib/commonio.c: Implement above changes.
5656         * lib/commonio.c: add argument names in prototypes.
5657         * lib/commonio.c: name_is_nis returns a bool.
5658         * lib/commonio.c: nscd_need_reload is a bool.
5659         * lib/commonio.c: Improve types (use size_t / pid_t when needed
5660         instead of int).
5661         * lib/commonio.c: Avoid assignments in comparisons.
5662         * lib/commonio.c: Add brackets and parenthesis.
5663         * lib/commonio.c: Avoid implicit conversion of pointers / integers
5664         to booleans
5665         * lib/commonio.c: The return values of utime is not checked on
5666         purpose.
5667
5668 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5669
5670         * libmisc/isexpired.c: ARGSUSED is no more needed (shadow is
5671         always supported).
5672         * libmisc/isexpired.c: Avoid implicit conversion of pointers to
5673         booleans.
5674         * libmisc/isexpired.c: Add brackets and parenthesis.
5675
5676 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5677
5678         * libmisc/sulog.c (sulog): The success argument is a bool.
5679         * libmisc/sulog.c: The return values of fflush is not checked on
5680         purpose.
5681         * libmisc/sulog.c: Indicate that some return values should be
5682         checked.
5683
5684 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5685
5686         * libmisc/ttytype.c: Avoid implicit conversion of pointers /
5687         integers to booleans.
5688         * libmisc/ttytype.c: Avoid assignments in comparisons.
5689         * libmisc/ttytype.c: Add brackets and parenthesis.
5690         * libmisc/ttytype.c: The return values of fclose is not checked on
5691         purpose.
5692
5693 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5694
5695         * libmisc/mail.c: Avoid implicit conversion of pointers to
5696         booleans.
5697         * libmisc/mail.c: Avoid assignments in comparisons.
5698
5699 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5700
5701         * libmisc/loginprompt.c: Avoid implicit conversion of pointers /
5702         chars to booleans.
5703         * libmisc/loginprompt.c: Add brackets.
5704         * libmisc/loginprompt.c: Avoid assignments in comparisons.
5705         * libmisc/loginprompt.c: The return values of fclose and fflush
5706         are not checked on purpose.
5707
5708 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5709
5710         * libmisc/setupenv.c: Avoid implicit conversion of chars to
5711         booleans.
5712
5713 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5714
5715         * libmisc/copydir.c: selinux_checked, selinux_enabled, and set_orig
5716         are now booleans.
5717
5718 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5719
5720         * libmisc/setugid.c (setup_uid_gid): The is_console argument is now
5721         a bool.
5722         * libmisc/setugid.c: Avoid implicit conversion of integers /
5723         pointers to booleans.
5724         * libmisc/setugid.c: Add brackets.
5725
5726 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5727
5728         * libmisc/pam_pass.c (do_pam_passwd): The silent and
5729         change_expired are no booleans instead of int.
5730         * libmisc/pam_pass.c: The return value of pam_end is not checked
5731         on purpose.
5732
5733 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5734
5735         * libmisc/getlong.c: Avoid implicit conversion of pointers / chars
5736         to booleans.
5737         * libmisc/getlong.c: Add brackets.
5738
5739 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5740
5741         * libmisc/valid.c: Avoid implicit conversion of pointers / chars
5742         to booleans.
5743         * libmisc/valid.c: Add brackets.
5744
5745 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5746
5747         * libmisc/yesno.c: yes_or_no returns a bool instead of int.
5748         * libmisc/yesno.c: Avoid implicit conversion of pointers to
5749         booleans.
5750         * libmisc/yesno.c: The return value of fflush is not checked
5751         on purpose.
5752
5753 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5754
5755         * libmisc/age.c: Avoid implicit conversion of integers to
5756         booleans.
5757
5758 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5759
5760         * libmisc/rlogin.c: Avoid assignments in comparisons.
5761         * libmisc/rlogin.c: Avoid implicit conversion of integers to
5762         booleans.
5763         * libmisc/rlogin.c: Add brackets.
5764
5765 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5766
5767         * libmisc/failure.c (failcheck): The failed argument is a bool.
5768         * libmisc/failure.h: Likewise.
5769         * libmisc/failure.c (too_many_failures): too_many_failures returns
5770         a bool.
5771         * libmisc/failure.c: Add notes about unchecked return values.
5772         * libmisc/failure.c: Avoid assignments in comparisons.
5773         * libmisc/failure.c: Add brackets.
5774
5775 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5776
5777         * libmisc/myname.c: Avoid assignments in comparisons.
5778         * libmisc/myname.c: Avoid implicit conversion of pointers / chars
5779         to booleans.
5780         * libmisc/myname.c: Add brackets.
5781
5782 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5783
5784         * libmisc/utmp.c (checkutmp): Change picky argument's type to
5785         bool.
5786         * libmisc/utmp.c: Use bool when possible (found_utmpx,
5787         found_utmp).
5788         * libmisc/utmp.c: Add note about unchecked return values.
5789
5790 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5791
5792         * libmisc/addgrps.c: Change type of added to bool.
5793         * libmisc/addgrps.c: Avoid implicit conversion of pointers to
5794         booleans.
5795
5796 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5797
5798         * libmisc/hushed.c: hushed returns a bool instead of int.
5799         * libmisc/hushed.c: Avoid assignments in comparisons.
5800         * libmisc/hushed.c (hushed): Change type of found to bool.
5801         * libmisc/hushed.c: Add brackets.
5802         * libmisc/hushed.c: Always check if the user or the shell is in
5803         the file. Do not check the first character of the line first. This
5804         is simpler and match better with the HUSHLOGIN_FILE documentation.
5805
5806 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5807
5808         * lib/getdef.h, lib/getdef.c: getdef_bool returns a bool instead
5809         of int.
5810         * lib/getdef.c: Change typo of def_loaded to bool.
5811         * lib/getdef.c: Add brackets.
5812         * lib/getdef.c: Avoid assignments in comparisons.
5813
5814 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5815
5816         * libmisc/chowntty.c: is_my_tty returns a bool.
5817         * libmisc/chowntty.c: Avoid implicit conversion of integers to
5818         booleans.
5819         * libmisc/chowntty.c: Add brackets.
5820
5821 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5822
5823         * libmisc/chowndir.c: Avoid assignment in comparisons, implicit
5824         comparison of integers to booleans.
5825         * libmisc/chowndir.c: The return value of closedir is not checked
5826         on purpose.
5827         * libmisc/chowndir.c: Add brackets.
5828
5829 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5830
5831         * libmisc/chkname.h, libmisc/chkname.c: check_group_name (resp.
5832         check_user_name) renamed to is_valid_user_name (resp.
5833         is_valid_group_name). is_valid_user_name and is_valid_group_name
5834         return a bool.
5835         * src/grpck.c, src/newusers.c, src/usermod.c, src/useradd.c,
5836         src/groupmod.c, src/pwck.c, src/groupadd.c: Use is_valid_user_name
5837         and is_valid_group_name, following above change.
5838         * libmisc/chkname.c: Avoid implicit conversion of chars to
5839         booleans. Add brackets and parenthesis.
5840
5841 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5842
5843         * libmisc/xmalloc.c: Avoid implicit conversion of integers /
5844         pointers to booleans.
5845         * libmisc/xgetXXbyYY.c: Likewise.
5846
5847 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5848
5849         * configure.in, lib/defines.h: Allow usage of booleans in the
5850         source.
5851
5852 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5853
5854         * configure.in: Allow --disable-man and --enable-man=no.
5855
5856 2008-06-26  Nicolas François  <nicolas.francois@centraliens.net>
5857
5858         Prepare the 4.1.2.1 release
5859         * NEWS: set the release date.
5860         * man/po/*.po, po/*.po: Updated PO files.
5861         * configure.in: Set the version to 4.1.2.1.
5862
5863 2008-06-26  Nicolas François  <nicolas.francois@centraliens.net>
5864
5865         * NEWS, src/login.c: Fix an "audit log injection" vulnerability in
5866         login. This is similar to CVE-2008-1926 (util-linux-ng's login).
5867         This vulnerability makes it easier for attackers to hide
5868         activities by modifying portions of log events, e.g. by appending
5869         an addr= statement to the login name.
5870         * lib/prototypes.h: Added definition of AUDIT_NO_ID.
5871
5872 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5873
5874         Prepare the 4.1.2 release
5875         * NEWS: set the release date.
5876         * man/po/*.po, po/*.po: Updated PO files.
5877         * configure.in: Set the version to 4.1.2.
5878
5879 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5880
5881         * po/Makevars, man/po/Makefile.in.in: Run msgmerge with
5882         --previous. (This requires gettext >= 0.16)
5883
5884 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5885
5886         * libmisc/copydir.c (remove_tree): As we always use remove_tree
5887         followed by rmdir to remove the directory itself, delete also the
5888         root directory in remove_tree.
5889         * src/userdel.c, src/usermod.c: Do not call rmdir after
5890         remove_tree.
5891
5892 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5893
5894         * libmisc/copydir.c (remove_tree): Make sure unlink is successful
5895         when removing files.
5896
5897 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5898
5899         * libmisc/pwdcheck.c: Simply passwd_check since it's never used
5900         when configured with PAM support.
5901
5902 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5903
5904         Fix compiler warnings:
5905         * libmisc/audit_help.c: Include prototypes.h to get the prototype
5906         of audit_help_open.
5907         * libmisc/salt.c: Use booleans instead of negating integers.
5908         * src/passwd.c: Declare the check_selinux_access prototype and
5909         avoid name clashes (change_user -> changed_user; change_uid ->
5910         changed_uid; access -> requested_access)
5911         * libmisc/list.c: Avoid assignments in comparisons, assignments
5912         with post increments (x++), use of integers as booleans, and
5913         explicitly mark blocks with brackets.
5914         * libmisc/fields.c: Likewise.
5915         * libmisc/copydir.c: Likewise.
5916         * libmisc/fields.c: Add comments.
5917         * libmisc/copydir.c: Mark function whose return value is not
5918         checked as such.
5919
5920 2008-05-23  Nicolas François  <nicolas.francois@centraliens.net>
5921
5922         * libmisc/pam_pass.c: Use fputs rather than fprintf for constant
5923         strings.
5924
5925 2008-05-21  Nicolas François  <nicolas.francois@centraliens.net>
5926
5927         * man/login.1.xml: Indicate that login should be executed with
5928         "exec login" if called from a shell.
5929
5930 2008-05-21  Nicolas François  <nicolas.francois@centraliens.net>
5931
5932         * man/passwd.1.xml: Remove the advices for the choice of a good
5933         password (they are debatable). Point to
5934         http://en.wikipedia.org/wiki/Password_strength instead.
5935
5936 2008-05-20  Nicolas François  <nicolas.francois@centraliens.net>
5937
5938         * NEWS, libmisc/salt.c (SHA_salt_size): Seed the RNG, and fix a
5939         overflow. These caused the SHA salt size to always be 8 bytes,
5940         instead of being in the 8-16 range. Thanks to Peter Vrabec
5941         pvrabec@redhat.com for noticing.
5942         * NEWS, libmisc/salt.c (SHA_salt_rounds): Seed the RNG with
5943         seedRNG instead of srand, and fix the same overflow. This caused
5944         the number of rounds to always be the smallest one.
5945
5946 2008-05-20  Nicolas François  <nicolas.francois@centraliens.net>
5947
5948         * man/newusers.8.xml man/groupmems.8.xml man/groupdel.8.xml
5949         man/useradd.8.xml man/groupadd.8.xml man/newgrp.1.xml man/sg.1.xml
5950         man/chgpasswd.8.xml man/groupmod.8.xml: Tag the section which
5951         require --enable-shadowgrp accordingly.
5952
5953 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5954
5955         * man/login.defs.5.xml: SHA_CRYPT_MAX_ROUNDS and
5956         SHA_CRYPT_MIN_ROUNDS can only exist if configured with
5957         --with-sha-crypt.
5958
5959 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5960
5961         * NEWS, man/useradd.8.xml: Document the -k, --skel option, and
5962         update the -m, --create-home documentation.
5963
5964 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5965
5966         * man/useradd.8.xml: Sort options.
5967
5968 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5969
5970         * lib/getdef.c: SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can
5971         only exist if configured with --with-sha-crypt.
5972         * man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Likewise.
5973
5974 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5975
5976         * libmisc/salt.c: Document the section closed by #endif
5977
5978 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5979
5980         * src/useradd.c: Fix formatting.
5981
5982 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5983
5984         * NEWS, man/useradd.8.xml: Document the -r, --system option.
5985         * NEWS, man/groupadd.8.xml: Document the -r, --system option.
5986         * NEWS, man/newusers.8.xml: Document the -r, --system option.
5987         * NEWS, man/newusers.8.xml: Document the -c, --crypt-method and
5988         -s, --sha-rounds options.
5989
5990 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5991
5992         Import Debian patch 487_passwd_chauthtok_failed_message
5993         * libmisc/pam_pass.c: Be more verbose and indicate that the
5994         password was not changed when pam_chauthtok fails (in addition to
5995         the PAM error, which may not be comprehensible for the users).
5996
5997 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5998
5999         Import Debian patch 434_login_stop_checking_args_after--
6000         * NEWS, src/login.c (check_flags): Stop checking the arguments
6001         after --. The later options will be sent to the shell, and do not
6002         need to be checked.
6003
6004 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
6005
6006         * src/vipw.c, src/su.c, src/newgrp.c: Harmonize the children's
6007         SIGSTOP handling. Raise the signal which stopped the child instead
6008         of always SIGSTOP.
6009
6010 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
6011
6012         Import Debian patch 406_vipw_resume_properly.
6013         Thanks to Dean Gaudet.
6014         * NEWS, src/vipw.c: Resume properly after ^Z.
6015
6016 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
6017
6018         * lib/getdef.c, lib/lockpw.c, lib/utent.c, lib/sgetgrent.c,
6019         lib/getdef.h, lib/pwauth.c, lib/sgetspent.c, lib/pwauth.h,
6020         lib/port.c, lib/encrypt.c, lib/groupio.c, lib/shadowmem.c,
6021         lib/port.h, lib/groupio.h, lib/groupmem.c, lib/exitcodes.h,
6022         lib/gshadow.c, lib/gshadow_.h, lib/sgroupio.c, lib/sgroupio.h,
6023         lib/shadowio.c, lib/pwio.c, lib/sgetpwent.c, lib/commonio.c,
6024         lib/faillog.h, lib/shadowio.h, lib/pwio.h, lib/pam_defs.h,
6025         lib/pwmem.c, lib/commonio.h, lib/shadow.c, lib/fputsx.c,
6026         lib/prototypes.h, libmisc/xmalloc.c, libmisc/limits.c,
6027         libmisc/entry.c, libmisc/console.c, libmisc/ulimit.c,
6028         libmisc/xgetXXbyYY.c, libmisc/chkname.c, libmisc/pwd2spwd.c,
6029         libmisc/xgetpwnam.c, libmisc/basename.c, libmisc/chkname.h,
6030         libmisc/chowndir.c, libmisc/audit_help.c, libmisc/chowntty.c,
6031         libmisc/hushed.c, libmisc/xgetpwuid.c, libmisc/getdate.h,
6032         libmisc/addgrps.c, libmisc/xgetgrgid.c, libmisc/utmp.c,
6033         libmisc/myname.c, libmisc/failure.c, libmisc/find_new_ids.c,
6034         libmisc/env.c, libmisc/rlogin.c, libmisc/age.c, libmisc/failure.h,
6035         libmisc/xgetgrnam.c, libmisc/yesno.c, libmisc/valid.c,
6036         libmisc/getlong.c, libmisc/obscure.c, libmisc/pam_pass.c,
6037         libmisc/motd.c, libmisc/salt.c, libmisc/setugid.c,
6038         libmisc/fields.c, libmisc/xgetspnam.c, libmisc/shell.c,
6039         libmisc/copydir.c, libmisc/setupenv.c, libmisc/strtoday.c,
6040         libmisc/loginprompt.c, libmisc/list.c, libmisc/pwd_init.c,
6041         libmisc/log.c, libmisc/mail.c, libmisc/ttytype.c,
6042         libmisc/pwdcheck.c, libmisc/sub.c, libmisc/sulog.c,
6043         libmisc/isexpired.c, libmisc/tz.c, src/newgrp.c, src/userdel.c,
6044         src/lastlog.c, src/grpck.c, src/gpasswd.c, src/newusers.c,
6045         src/pwconv.c, src/chpasswd.c, src/logoutd.c, src/chfn.c,
6046         src/groupmems.c, src/usermod.c, src/pwunconv.c, src/expiry.c,
6047         src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
6048         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
6049         src/groupadd.c, src/nologin.c, src/chage.c, src/login.c,
6050         src/suauth.c, src/faillog.c, src/grpconv.c, src/groups.c,
6051         src/sulogin.c, src/grpunconv.c, src/chsh.c, src/id.c: Make sure
6052         every source files are distributed with a copyright and license.
6053         Files with no license use the default 3-clauses BSD license. The
6054         copyright were mostly not recorded; they were updated according to
6055         the Changelog. "Julianne Frances Haugh and contributors" changed
6056         to "copyright holders and contributors".
6057
6058 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
6059
6060         * NEWS, libmisc/sulog.c: If the SULOG_FILE does not exist when an
6061         su session is logged, make sure the file is created with group
6062         root, instead of using the group of the caller.
6063
6064 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
6065
6066         * NEWS, libmisc/fields.c, src/chfn.c, man/chfn.1.xml: Allow
6067         non-US-ASCII characters in the GECOS fields ("name", "room
6068         number", and "other info" fields).
6069
6070 2008-04-17  Nicolas François  <nicolas.francois@centraliens.net>
6071
6072         * NEWS, src/newgrp.c: Fix compilation failure when compiled with
6073         audit support. Thanks to Mike Frysinger for reporting it.
6074
6075 2008-04-16  Nicolas François  <nicolas.francois@centraliens.net>
6076
6077         Ensure that getpwent() is used in setpwent(), getpwent(),
6078         endpwend() sequences (ditto for getgrent(), getspent(), and
6079         getsgent()). The only real (minor) issue was in login, which kept
6080         the passwd file open.
6081         * libmisc/entry.c: Remove unneeded setspent() and endspent() (only
6082         getspnam is called in the middle).
6083         * libmisc/find_new_ids.c: Make sure to close the password and
6084         group files with endpwent() and endgrent().
6085         * libmisc/pwdcheck.c: Remove unneeded endspent() (only getspnam()
6086         is called before).
6087         * src/lastlog.c, src/passwd.c, src/groupmod.c, src/faillog.c,
6088         src/groups.c: Make sure to close
6089         the password file with endpwent().
6090         * src/login.c: Remove unneeded setpwent() (only xgetpwnam is
6091         called before).
6092         * src/login.c, src/newgrp.c: Fix typos in comments.
6093
6094 2008-04-16  Nicolas François  <nicolas.francois@centraliens.net>
6095
6096         * NEWS, configure.in: Fix the detection of the audit, pam, and
6097         selinux. Fail if the feature is requested but the library (or
6098         header file) could not be found. If nothing is specified, enable
6099         the feature only if we can find the library (or header file).
6100         * configure.in: Document --with-selinux as "yes if found" rather
6101         than "autodetected" for consistency with other options.
6102
6103 2008-04-04  Mark Rosenstand  <mark@borkware.net>
6104
6105         * NEWS, etc/pam.d/Makefile.am: Add chfn, chsh, and userdel to
6106         $(pamd_files). Remove the duplicate useradd. And sort
6107         alphabetically.
6108
6109 2008-04-04  Nicolas François  <nicolas.francois@centraliens.net>
6110
6111         * NEWS: Prepare next release, 4.1.2.
6112
6113 2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
6114
6115         * NEWS, configure.in: Prepare release 4.1.1
6116         * NEWS: Fix the release date of 4.1.0. Was in 2007, not 2008.
6117
6118 2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
6119
6120         * po/fr.po: Update according to the file under review.
6121         Thanks to Jean-Luc Coulon.
6122
6123 2008-04-01  Holger Wansing  <linux@wansing-online.de>
6124
6125         * po/de.po: updated to 431t
6126
6127 2008-03-31  Piarres Beobide  <pi+debian@beobide.net>
6128
6129         * po/eu.po: updated to 431t
6130
6131 2008-03-30  Leandro Azevedo  <leorock182@gmail.com>
6132
6133         * po/pt_BR.po: updated to 360t71f
6134
6135 2008-03-30  Mehmet Türker <mturker@innova.com.tr>
6136
6137         * po/tr.po: updated to 431t
6138
6139 2008-03-30  Clytie Siddall  <clytie@riverland.net.au>
6140
6141         * po/vi.po: updated to 431t
6142
6143 2008-03-30  Daniel Nylander  <yeager@ubuntu.com>
6144
6145         * po/sv.po: updated to 431t
6146
6147 2008-03-29  helix84 <helix84@centrum.sk>
6148
6149         * po/sk.po: updated to 431t
6150
6151 2008-03-27  Danilo Piazzalunga  <danilopiazza@gmail.com>
6152
6153         * po/it.po: updated to 431t
6154
6155 2008-03-26  Nicolas François  <nicolas.francois@centraliens.net>
6156
6157         * TODO: Added entries regarding SE Linux.
6158
6159 2008-03-26  Russell Coker  <russell@coker.com.au>
6160
6161         * src/passwd.c, NEWS: Make SE Linux tests more strict, when the
6162         real UID is 0 SE Linux checks will be performed.
6163
6164 2008-03-24  Yuri Kozlov  <kozlov.y@gmail.com>
6165
6166         * po/ru.po: updated to 431t
6167
6168 2008-03-23  Miguel Figueiredo  <elmig@debianpt.org>
6169
6170         * po/pt.po: updated to 431t
6171
6172 2008-03-21  Changwoo Ryu  <cwryu@debian.org>
6173
6174         * po/ko.po: updated to 431t
6175
6176 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
6177
6178         * man/login.defs.5.xml: Fix manpages generation. The SYS_GID_MAX
6179         and SYS_UID_MAX entities were not defined.
6180
6181 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
6182
6183         * src/faillog.c: Fix minor compilation warning (assignment used as
6184         a comparison).
6185
6186 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
6187
6188         * lib/prototypes.h, src/login.c: login_access() is used in
6189         src/login.c, and defined in src/login_nopam.c (which lacks a
6190         prototype). Move its prototype from src/login.c to
6191         lib/prototypes.h.
6192
6193 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
6194
6195         * src/gpasswd.c, src/groupmod.c: Compilation fix. gshadow_locked
6196         should only be used if SHADOWGRP is defined.
6197
6198 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
6199
6200         * src/grpck.c: Fix some warnings. compare_members_lists() is only
6201         used if SHADOWGRP is defined.
6202
6203 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6204
6205         * NEWS, src/groupmod.c: Make sure the passwd, group, and gshadow
6206         files are unlocked on exit. Unlock locked files in fail_exit().
6207         Prefer fail_exit() over exit().
6208         * NEWS, src/groupmod.c: When the GID of a group is changed, update
6209         also the GID of the passwd entries of the users whose primary
6210         group is the group being modified.
6211
6212 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6213
6214         * lib/commonio.c (commonio_remove): Fail when the name to be
6215         removed is used by different entries (like commonio_update does).
6216         * NEWS: This fix the behavior of groupdel when the system is not
6217         configured to support split group but different group entries
6218         have the name of the group to be deleted.
6219
6220 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6221
6222         * NEWS, src/useradd.c: Make sure the passwd, group, shadow, and
6223         gshadow files are unlocked on exit. Unlock locked files in
6224         fail_exit(). Prefer fail_exit() over exit().
6225
6226 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6227
6228         * NEWS, src/groupdel.c: Make sure the group, and gshadow files are
6229         unlocked on exit. Add function fail_exit(). Use fail_exit()
6230         instead of exit().
6231         * src/groupdel.c: Fail immediately instead of increasing errors.
6232         Better handling of error cases, like locked group or gshadow file.
6233
6234 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6235
6236         * NEWS, src/newusers.c: Make sure the passwd, group, shadow, and
6237         gshadow files are unlocked on exit. Add function fail_exit(). Use
6238         fail_exit() instead of exit().
6239
6240 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6241
6242         * NEWS, src/gpasswd.c: Make sure the group and gshadow files are
6243         unlocked on exit. Add function fail_exit(). Use fail_exit()
6244         instead of exit().
6245
6246 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6247
6248         * NEWS, src/groupdel.c: Do not rewrite the group and gshadow file
6249         in case of error.
6250
6251 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6252
6253         * src/groupdel.c: Do not log that the group was deleted if an
6254         error occurred.
6255
6256 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6257
6258         * NEWS, src/groupdel.c: Do not raise an error if the group does
6259         not exist in the gshadow file.
6260
6261 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6262
6263         * etc/login.defs: Document MAX_MEMBERS_PER_GROUP.
6264
6265 2008-03-07  Nicolas François  <nicolas.francois@centraliens.net>
6266
6267         * src/newgrp.c: Add missing end of line in message.
6268         * src/newgrp.c: Add audit events for the authentication
6269         (AUDIT_GRP_AUTH). Thansk to Peter Vrabec.
6270
6271 2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
6272
6273         * NEWS, src/faillog.c: Only reset the entries of existing users
6274         with faillog -r (not all numeric IDs starting from 0). Thanks to
6275         Peter Vrabec.
6276
6277 2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
6278
6279         * src/pwunconv.c: Fix typo. One "can't open" message is a "can't
6280         lock".
6281
6282 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
6283
6284         * src/gpasswd.c: When a password is moved to the gshadow file, use
6285         "x" instead of "!" to indicate that the password is shadowed
6286         (consistency with grpconv).
6287
6288 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
6289
6290         * NEWS: Fix failures when the gshadow file is not present. Thanks
6291         to Christian Henz (http://bugs.debian.org/467488)
6292         * src/gpasswd.c (get_group): Do not fail if gshadow is not present. Just use
6293         the group file and set the grent structure
6294         * src/gpasswd.c (check_perms): The permissions should be checked
6295         using both the gshadow and group file. Add a <struct group *>
6296         parameter, and check if the gshadow file exists (is_shadowgrp).
6297         * src/gpasswd.c (main): Do not use sgent.sg_mem or sgent.sg_adm if
6298         the gshadow file is not present (sgent is not initialized in that
6299         case). The fields of sgent can be set, but not used.
6300
6301 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
6302
6303         * src/gpasswd.c: Fix typo in comment.
6304         * src/gpasswd.c: Move comment regarding FIRST_MEMBER_IS_ADMIN to
6305         where it belongs.
6306         * src/gpasswd.c: Indicate the end of the #ifdef FIRST_MEMBER_IS_ADMIN
6307         section.
6308
6309 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
6310
6311         * man/po/Makefile.in.in: Use --previous when merging PO files of
6312         the manpages.
6313
6314 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
6315
6316         * man/login.defs.d/SYS_UID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
6317         Document new variables.
6318         * man/newusers.8.xml, man/login.defs.5.xml,
6319         man/login.defs.d/GID_MAX.xml, man/login.defs.d/UID_MAX.xml:
6320         newusers uses now the GID_MAX, GID_MIN, UID_MAX, UID_MIN,
6321         SYS_GID_MAX, SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
6322         * man/groupadd.8.xml, man/login.defs.5.xml: groupadd uses now the
6323         SYS_GID_MAX, and SYS_GID_MIN variables.
6324         * man/login.defs.5.xml: useradd uses now the SYS_GID_MAX,
6325         SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
6326         * man/Makefile.am: Add the new XML documentation files to EXTRA_DIST.
6327
6328 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
6329
6330         * lib/getdef.c: Added missing SYS_GID_MAX, SYS_GID_MIN,
6331         SYS_UID_MAX, and SYS_UID_MIN.
6332
6333 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
6334
6335         * NEWS, src/useradd.c, man/useradd.8.xml: Added options
6336         --user-group (-U, Uflg) and --no-user-group (-N, Nflg) to replace
6337         nflg.
6338         * man/login.defs.d/USERGROUPS_ENAB.xml: useradd now also uses
6339         USERGROUPS_ENAB.
6340
6341 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
6342
6343         * src/groupmod.c: Add missing 'p' to the getopt_long's optstring.
6344
6345 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
6346
6347         * src/groupadd.c: Add missing 'p' to the getopt_long's optstring.
6348         * src/groupadd.c: Fix --non-unique's has_arg field to no_argument
6349         instead of required_argument.
6350         * src/groupadd.c: Add missing -p, --password description to the
6351         Usage message.
6352
6353 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
6354
6355         * NEWS, etc/login.defs: Set GID_MIN to the same value as UID_MIN
6356         by default (1000).
6357         * NEWS, etc/login.defs: Added variables SYS_UID_MIN (100),
6358         SYS_UID_MAX (999), SYS_GID_MIN (100), SYS_GID_MAX (999) for system
6359         accounts.
6360         * libmisc/find_new_ids.c: Added support for system accounts in
6361         find_new_uid() and find_new_gid().
6362         * NEWS, src/newusers.c, src/useradd.c, src/groupadd.c: Added new
6363         option -r, --system for system accounts in useradd, groupadd, and
6364         newusers.
6365
6366 2008-02-18  Nicolas François  <nicolas.francois@centraliens.net>
6367
6368         * NEWS, src/groupmems.c: Fix buffer overflow when adding an user
6369         to a group. Thanks to Peter Vrabec.
6370
6371 2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
6372
6373         * NEWS, etc/useradd: Change the default HOME directory in
6374         /etc/default/useradd according FHS (/home instead of /home/users).
6375         This fixes Alioth's bug #310559. Thanks to Dale E. Edmons.
6376
6377 2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
6378
6379         * NEWS, src/newgrp.c: Use the correct AUDIT_CHGRP_ID event instead of
6380         AUDIT_USER_START, when changing the user space group ID with
6381         newgrp or sg. Thanks to sgrubb@redhat.com for the patch.
6382
6383 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
6384
6385         * src/usermod.c: Reset oflg with uflg if the new UID is equal to
6386         the old one.
6387         * src/usermod.c: Reset mflg with dflg if the new home directory is
6388         the same as the old one.
6389
6390 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
6391
6392         * NEWS, src/usermod.c: Fix the handling of -a when a user is being
6393         renamed (with -l). The new name of the user was used for the new
6394         supplementary groups, but not in the existing ones.
6395
6396 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
6397
6398         * src/newusers.c: Set the shadow's password instead of the
6399         passwd's password. Fix wrong cut&paste.
6400
6401 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6402
6403         * src/usermod.c: Use a function to convert the dates from
6404         /etc/shadow to human readable dates.
6405         * src/usermod.c: Really log the expiration date change as human
6406         readable strings instead of integers.
6407         * src/usermod.c: No need to check audit_fd, audit_logger() will
6408         take care of this.
6409
6410 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6411
6412         * src/login.c: Do not translate the fromhost variable. It is
6413         always used for syslog messages.
6414
6415 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6416
6417         * NEWS, lib/defines.h: Switch to the C locale before sending
6418         messages to syslog. The messages sent by shadow were not
6419         translated, but error messages from PAM returned by pam_strerror()
6420         were translated in the users's locale.
6421
6422 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6423
6424         * NEWS: newusers will behave more like useradd.
6425         * src/newusers.c: The user's ID must be found before the group ID
6426         to mimic useradd's behavior choices of UID and GID.
6427         * src/newusers.c: Reuse the generic find_new_uid() and
6428         find_new_gid() functions. This permits to respect the
6429         UID_MIN/UID_MAX and GID_MIN/GID_MAX variables, should 
6430         * src/newusers.c: Check if the user or group exist using the
6431         external databases (with the libc getpwnam/getgrnam functions).
6432         Refuse to update an user which exist in an external database but
6433         does not exist in the local database.
6434         * src/newusers.c: Check the usernames and groupnames with
6435         check_user_name() and check_group_name()
6436         * src/newusers.c: Use isdigit() for readability.
6437         * src/newusers.c: Check if numerical IDs are valid (no remaining
6438         chars).
6439
6440 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6441
6442         * NEWS, src/newusers.c: Fix the support for the NONE crypt method.
6443
6444 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6445
6446         * src/newusers.c: Fix shadow group support (the list of admins was
6447         not defined; it is now set to an empty list).
6448
6449 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6450
6451         * NEWS, libmisc/salt.c: Do not seed the random number generator
6452         each time, and use the time in microseconds to avoid having the
6453         same salt for different passwords generated in the same second.
6454         This permits to avoid using the same salt for different passwords
6455         in newusers.
6456
6457 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6458
6459         * lib/pwio.c, lib/pwio.h: New function to find an user by
6460         its UID on the local database.
6461         * lib/groupio.c, lib/groupio.h: New function to find a group by
6462         its GID on the local database.
6463         * libmisc/find_new_ids.c, lib/prototypes.h: Add new generic
6464         functions to find the next user or group ID available:
6465         find_new_uid() and find_new_gid(). They work the same way as the
6466         functions with the same name of useradd or groupadd, except that
6467         they check in the local database to make sure an ID was not
6468         reserved in an uncommitted change (this is needed to be used in
6469         newusers), they report a status instead of calling exit(), and
6470         they can receive a preferred ID. They should later support system
6471         IDs. This should be a little bit slower, but not too much (if the
6472         database is not open the checks against the local database will
6473         exit immediately, and if it is already open, all the checks will be
6474         done regarding the data in memory).
6475         * po/POTFILES.in: The new libmisc/find_new_ids.c file contains
6476         translatable strings.
6477         * libmisc/Makefile.am: Add libmisc/find_new_ids.c to the sources
6478         of the libmisc library.
6479         * src/useradd.c, src/groupadd.c: Use the find_new_uid() and
6480         find_new_gid() from the library instead of the local functions.
6481
6482 2008-02-02  Nicolas François  <nicolas.francois@centraliens.net>
6483
6484         * po/*.po: Updated PO files.
6485         * libmisc/age.c, libmisc/yesno.c, src/lastlog.c, src/grpck.c,
6486         src/chfn.c, src/passwd.c, src/chage.c, src/login.c, src/sulogin.c,
6487         src/chsh.c: Fix call to puts (remove end of line, or use fputs).
6488         * po/*.po: Unfuzzy PO files according to above change.
6489
6490 2008-01-26  Nicolas François  <nicolas.francois@centraliens.net>
6491
6492         Fix build failures with --disable-shadowgrp. Thanks to Jürgen
6493         Daubert for the patch.
6494         * libmisc/salt.c: Include <stdio.h>, needed for stderr and printf
6495         functions.
6496         * lib/encrypt.c: Include <stdio.h>, needed for perror, stderr and
6497         printf functions
6498         * src/usermod.c: sgr_locked exists only if SHADOWGRP is defined.
6499         * src/chgpasswd.c: Only check is the gshadow file exists if
6500         SHADOWGRP is defined.
6501
6502 2008-01-24  Nicolas François  <nicolas.francois@centraliens.net>
6503
6504         * src/gpasswd.c, src/chfn.c, src/chage.c, src/chsh.c, src/grpck.c,
6505         src/vipw.c, src/pwck.c, src/sulogin.c, src/newgrp.c,
6506         src/userdel.c, src/lastlog.c, src/groupmems.c, src/usermod.c,
6507         src/expiry.c, src/groupdel.c, src/useradd.c, src/su.c,
6508         src/groupmod.c, src/passwd.c, src/groupadd.c, src/login.c,
6509         src/suauth.c, src/faillog.c, src/id.c, libmisc/limits.c,
6510         libmisc/addgrps.c, libmisc/env.c, libmisc/age.c, libmisc/yesno.c,
6511         lib/getdef.c: Replace printf by puts for fixed strings. This would
6512         avoid issues caused by formats introduced in translated strings.
6513
6514 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6515
6516         * src/useradd.c: Strings improvement s/can't get unique/no more
6517         available/.
6518
6519 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6520
6521         * NEWS, src/usermod.c: Check that the new fields set with -u, -s,
6522         -l, -g, -f, -e, -d, and -c differ from the old ones. If a
6523         requested new value is equal to the old one, no changes will
6524         be performed for that field. If no fields are changed, usermod
6525         will exist successfully with a warning. This avoids logging
6526         changes to syslog when there are actually no changes.
6527
6528 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6529
6530         * src/usermod.c: Always define user_newcomment, user_newshell,
6531         user_newexpire, and user_newinactive. It is more simple to always
6532         have user_<x> as the old field, and user_new<x> as the new field
6533         (even if the field did not change) instead of changing the
6534         algorithm depending on WITH_AUDIT.
6535
6536 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6537
6538         * src/usermod.c: user_newname can only be used in WITH_AUDIT code
6539         or when lflg is set. This issue was introduced in the code
6540         refactoring of usermod.
6541
6542 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6543
6544         * src/groupadd.c: Fix typo in comment: s/find_new_uid/find_new_gid/
6545
6546 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6547
6548         * src/useradd.c: s/gid/GID/ in message string.
6549         * src/useradd.c: Set this string for translation.
6550
6551 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6552
6553         * man/grpck.8.xml: Fix typo. Remove "the" from "All entries in the
6554         <filename></filename> are checked [...]"
6555         * man/grpck.8.xml: Conditionally include the parts mentioning the
6556         gshadow file (based on SHADOWGRP).
6557         * man/grpck.8.xml: Add reference to the gshadow(5) manpage
6558         (conditionally included).
6559
6560 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6561
6562         * man/grpck.8.xml, man/pwck.8.xml: Indicate that the shadow
6563         parameter is optional (i.e. a passwd file can be specified without
6564         a shadow file, and the group file can be specified without the
6565         gshadow file).
6566
6567 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6568
6569         * man/grpck.8.xml: Document the options with a list of options,
6570         as in the pwck(8) manpage.
6571
6572 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6573
6574         * NEWS, src/newgrp.c: Fix segfault when an user returns to an
6575         unknown GID (either the user was deleted during the user's newgrp
6576         session or the user's passwd entry referenced an invalid group).
6577         Add a syslog warning in that case.
6578         * src/newgrp.c: Add an end of line when reporting an invalid
6579         password.
6580
6581 2008-01-12  Nicolas François  <nicolas.francois@centraliens.net>
6582
6583         * NEWS, src/useradd.c: Fix the handling of the --defaults option
6584         (it required an argument, but should behave as -D)
6585         * NEWS, man/useradd.8.xml: Document the --defaults option, which
6586         was already described in the useradd's Usage information.
6587
6588 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6589
6590         * src/passwd.c: Avoid setting the password to a const empty
6591         string, but set the first char to \0. This avoids a warning.
6592
6593 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6594
6595         * libmisc/salt.c: Add prototype for l64a(), gensalt(),
6596         SHA_salt_size(), and SHA_salt_rounds().
6597         * libmisc/salt.c: l64a() and gensalt() are static.
6598         * libmisc/salt.c: The `meth' parameter of crypt_make_salt() is a
6599         const. (ditto for the method variable).
6600         * libmisc/salt.c: SHA_salt_rounds returns a const string.
6601         * libmisc/salt.c: Avoid warnings with cast of random() to double.
6602         * libmisc/salt.c: Replace rand() by random().
6603
6604 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6605
6606         * lib/Makefile.am: Do not link libshadow.la with the intl, crypt,
6607         skey and md libraries...
6608         * src/Makefile.am: ...Specify for each binary which library is
6609         required. skey and md are required for the binaries with
6610         authentication of the user (chfn, chsh, login, passwd, su). intl
6611         is required for all. mcrypt is required for user (chfn, chsh,
6612         login, passwd, su, sulogin) and group (newgrp, gpasswd)
6613         authentication and for the creation of passwords (chpasswd,
6614         chgpasswd, gpasswd, newusers, passwd).
6615
6616 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6617
6618         * lib/nscd.c, lib/nscd.h: Set the service parameter of
6619         nscd_flush_cache() to const. This avoids a lot of warnings.
6620         * lib/nscd.c: Include "nscd.h" to avoid inconsistent prototypes.
6621
6622 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6623
6624         * lib/encrypt.c: Set the method string as a constant string.
6625
6626 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6627
6628         * lib/port.c: Assume <errno.h> declares errno.
6629
6630 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6631
6632         * man/po/fr.po: Fix typo: s/rend compte indiqué/rend le compte
6633         indiqué/
6634
6635 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6636
6637         * src/suauth.c: Remove prototype of check_su_auth(). It is
6638         redundant with prototypes.h.
6639         * src/suauth.c: isgrp() is static.
6640
6641 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6642
6643         * libmisc/obscure.c: Tag the `old' parameter of palindrome(),
6644         similar(), and simple() as unused.
6645         * libmisc/loginprompt.c: Tag the `sig' parameter of login_exit()
6646         as unused.
6647         * src/expiry.c: Tag the `sig' parameter of catch_signals() as
6648         unused.
6649         * src/su.c: Tag the `sig' parameter of catch_signals() as unused.
6650         * src/su.c: Add int parameter to the prototype of oldsig().
6651         * src/login.c: Tag the `sig' parameter of alarm_handler() as
6652         unused.
6653         * src/sulogin.c: Tag the `sig' parameter of catch_signals() as
6654         unused.
6655         * libmisc/getdate.y: Tag the `string' parameter of yyerror() as
6656         unused.
6657         * libmisc/getdate.y: The string provided to yyerror() is const.
6658         * libmisc/getdate.y: Fix the prototypes of yylex() and yyerror().
6659
6660 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6661
6662         * lib/defines.h: Remove teh macro definition of SETXXENT_TYPE,
6663         SETXXENT_RET, and SETXXENT_TEST. They were used by the now
6664         removed pwent.c and grent.c.
6665         * lib/defines.h: Remove the definition of PASSWD_PAG_FILE,
6666         GROUP_PAG_FILE, SHADOW_PAG_FILE, and SGROUP_PAG_FILE. They are
6667         never used.
6668         * lib/defines.h: Don't include "snprintf.h". The file does not
6669         exist in shadow.
6670         * lib/defines.h: Add new macro unused to tag unused parameters.
6671
6672 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6673
6674         * src/useradd.c, src/groupmems.c: Assume optarg and optind are
6675         declared in <getopt.h>.
6676
6677 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6678
6679         * src/usermod.c: Remove the pw_name argument of new_pw_passwd. Use
6680         the user_newname global variable instead. This avoid using a
6681         parameter with the same name as a function.
6682
6683 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6684
6685         * src/newgrp.c: Removed unused gid parameter of syslog_sg().
6686         * src/newgrp.c: The loginname and tty buffers are never changed.
6687         Add the const qualifier.
6688
6689 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6690
6691         * src/chpasswd.c, src/chgpasswd.c: The crypt_method string always
6692         points to a constant string. Add the const qualifier.
6693
6694 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6695
6696         * src/pwunconv.c: Remove prototype of l64a() (not used in
6697         pwunconv).
6698
6699 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6700
6701         * src/login_nopam.c: Use an ANSI prototype for resolve_hostname()
6702         instead of K&R prototype.
6703         * src/login_nopam.c: Fix the prototypes of list_match(),
6704         user_match(), from_match(), string_match(). There were no
6705         parameters in the prototypes.
6706         * src/login_nopam.c: Fix the prototypes of the function parameter
6707         match_fn of list_match().
6708
6709 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6710
6711         * libmisc/copydir.c: Remove the src parameter of copy_special().
6712         The entry's information are taken from the stat structure.
6713
6714 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6715
6716         * libmisc/console.c, libmisc/ulimit.c, lib/sgetgrent.c,
6717         lib/sgetpwent.c: Include "prototypes.h" to make
6718         sure the exported prototypes are the ones used for the definition
6719         of functions.
6720         * lib/prototypes.h: Added prototypes for __gr_del_entry(),
6721         __gr_get_db(), __gr_get_head(), __gr_set_changed(), __gr_dup(),
6722         __pw_del_entry(), __pw_get_db(), __pw_get_head(), __pw_dup(),
6723         sgetgrent(), sgetpwent(), __sgr_del_entry(), __sgr_dup(),
6724         __sgr_get_head(), __sgr_set_changed(), __spw_get_head(),
6725         __spw_del_entry(), __spw_dup().
6726         * lib/prototypes.h: Removed prototype for is_listed().
6727         * lib/prototypes.h: Added name of the check_su_auth()'s parameters.
6728         * lib/groupio.h: Removed prototypes for __gr_dup() and
6729         __gr_set_changed().
6730         * lib/sgroupio.c: Removed prototypes for putsgent(), sgetsgent(),
6731         and __gr_get_db().
6732         * lib/sgroupio.h: Removed prototypes for __sgr_dup() and
6733         __sgr_set_changed().
6734         * lib/shadowio.c: Removed prototype for __pw_get_db().
6735         * lib/pwio.c: Removed prototype for sgetpwent() and putpwent().
6736         * lib/shadowio.h: Removed prototypes for __spw_dup() and
6737         __spw_set_changed().
6738         * lib/pwio.h: Removed prototypes for __pw_dup() and
6739         __pw_set_changed().
6740         * lib/commonio.h: Add protection against multiple inclusions.
6741         * lib/prototypes.h: Include commonio.h (needed for the
6742         __xx_del_entry() functions).
6743         * src/grpck.c: Remove prototypes for __gr_del_entry(),
6744         __gr_get_head(), __sgr_del_entry(), and __sgr_get_head().
6745         * src/pwck.c: Remove prototypes for __pw_del_entry(),
6746         __pw_get_head(), __spw_del_entry(), and __spw_get_head().
6747         * lib/groupio.c: Remove prototype for sgetgrent().
6748         * lib/groupio.c: Add the name of the parameters for
6749         merge_group_entries() and split_groups().
6750         * lib/groupio.h: Remove prototypes for __gr_dup() and
6751         __gr_set_changed().
6752
6753 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6754
6755         * man/groupadd.8.xml, man/groupmod.8.xml: Add documentation for
6756         the new --password options.
6757
6758 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6759
6760         * src/useradd.c: Fix find_new_gid() prototype. Add a void
6761         parameter.
6762
6763 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6764
6765         * lib/prototypes.h: Add the dolastlog() prototype.
6766         * lib/prototypes.h: Typo: login.c -> loginprompt.c
6767         * src/login.c: Remove declaration of dolastlog().
6768         * lib/prototypes.h: Include <lastlog.h> for the declaration of
6769         struct lastlog.
6770         * lib/prototypes.h: Remove old comments in the header.
6771
6772 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6773
6774         * libmisc/pwdcheck.c: Do not include <pwd.h>. Include <shadow.h>
6775         and "pwauth.h" only when compiled without PAM support.
6776         * src/chfn.c, src/chsh.c: Do not include <shadow.h>
6777         * lib/commonio.c: Do not include <shadow.h>. Do not include
6778         <pwd.h>. Include "nscd.h" instead of <nscd.h>.
6779
6780 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6781
6782         * configure.in: Do not check if shadow.h exist, but make sure it
6783         exists.
6784         * libmisc/pwdcheck.c, src/chfn.c, src/chsh.c, lib/defines.h,
6785         lib/shadowmem.c, lib/shadowio.c, lib/commonio.c:
6786         HAVE_SHADOW_H is no more needed (shadow.h should always exist).
6787
6788 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6789
6790         * lib/groupio.c: Remove prototype of putgrent(), add parameter's
6791         name of sgetgrent().
6792         * lib/prototypes.h: Fix the do_pam_passwd() prototype (it returns
6793         void).
6794
6795 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6796
6797         * NEWS, src/groupmod.c, src/groupadd.c: Add option --password to
6798         groupadd and groupmod (similar to useradd and usermod).
6799
6800 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6801
6802         * lib/prototypes.h: grent.c does not exist anymore. Remove the
6803         putgrent prototype.
6804         * lib/prototypes.h: "shadowio.h" was included for the definition
6805         of the spwd structure. Replace this include by <shadow.h>
6806         * libmisc/xmalloc.c, libmisc/utmp.c, libmisc/strtoday.c,
6807         libmisc/pwd_init.c, libmisc/tz.c, lib/port.c, lib/fputsx.c,
6808         libmisc/pam_pass.c, libmisc/log.c: Include "prototypes.h" to make
6809         sure the exported prototypes are the ones used for the definition
6810         of functions.
6811         * libmisc/console.c: Define is_listed() as static and add its
6812         prototype.
6813         * libmisc/xgetXXbyYY.c, libmisc/yesno.c: Include config.h as a
6814         system include, as recommended by the autoconf documentation.
6815         * src/chage.c: Define isnum() as static and add its prototype.
6816         * libmisc/xgetspnam.c: Add missing include "shadowio.h". (This was
6817         OK as long as prototypes.h included this file.)
6818         * src/nologin.c: Make a proper prototype for the main() function
6819         declaration. (add void)
6820         * src/login.c: login_prompt is the name of a function, use
6821         loginprompt for the internal variable.
6822         * src/chsh.c: loginsh is a global variable, use newshell for the
6823         update_shell()'s parameter.
6824         * lib/gshadow.c: The prototypes of fgetsx() and fputsx() are
6825         already defined in prototypes.h. Remove the declaration of these
6826         functions.
6827         * lib/gshdow.c: list() is an external function. DO not shadow it
6828         with a static function. The internal list() was renamed
6829         build_list().
6830         * lib/commonio.c: stat shadows another stat variable. Remove this
6831         variable, and directly check the result of getfscreatecon().
6832         * libmisc/utmp.c: Remove the declaration of getutent(),
6833         getutline(), setutent(), and endutent() which are declared in
6834         <utmp.h>
6835
6836 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6837
6838         * src/newgrp.c: Remove duplicate logging to syslog.
6839
6840 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6841
6842         * src/newgrp.c: Avoid assignments in conditionals.
6843         * src/newgrp.c: Split check_perms(), syslog_sg() out of main().
6844
6845 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6846
6847         * lib/shadow.c: Avoid assignments in conditionals.
6848
6849 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6850
6851         * lib/groupio.c (split_groups): Test the pointer returned by malloc.
6852
6853 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6854
6855         * lib/commonio.c: Document add_one_entry_nis(), write_all(),
6856         commonio_remove(), commonio_locate(), and commonio_rewind().
6857
6858 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6859
6860         * src/pwck.c: Avoid implicit brackets.
6861         * src/pwck.c: Avoid implicit conversions to booleans.
6862
6863 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6864
6865         * src/grpck.c: Avoid implicit brackets.
6866         * src/grpck.c: Avoid implicit conversions to booleans.
6867
6868 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6869
6870         * NEWS: No functional changes were introduced by the previous pwck
6871         and grpck changes, except for the following bug fix: no syslog
6872         logging if a passwd or group file was specified on the command
6873         line without a shadowed database file, even if the system shadowed
6874         database was changed).
6875
6876 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6877
6878         * src/pwck.c: Fix typos in comments (gshadow/shadow).
6879
6880 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6881
6882         * src/pwck.c: Split process_flags(), open_files(), close_files()
6883         check_pw_file(), and check_spw_file() out of main(). New global
6884         variables is_shadow, sort_mode, use_system_pw_file, and
6885         use_system_spw_file.
6886
6887 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6888
6889         * libmisc/xgetXXbyYY.c: De-comment code (duplicate the entry when
6890         the _R function is not present on the system).
6891
6892 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6893
6894         * src/lastlog.c: Remove statbuf, not used.
6895         * src/lastlog.c: Fix types, cast umin and umax to uid_t.
6896         * src/lastlog.c: (option -u) user needs to be a signed long, not
6897         uid_t (to accept rangees like -<uid>
6898
6899 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6900
6901         * src/useradd.c: Avoid ?: construct without the middle term.
6902
6903 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6904
6905         * libmisc/copydir.c, src/usermod.c, lib/prototypes.h: The uid and
6906         gid parameters can be set to -1 to indicate that the original
6907         owners must be kept. Change the types from uid_t/gid_t to a
6908         long int (signed).
6909         * libmisc/copydir.c: Change the copy_entry(), copy_dir(),
6910         copy_symlink(), copy_special(), and copy_file() prototypes
6911         accordingly.
6912         * lib/prototypes.h: Add the parameters' name for the
6913         libmisc/copydir.c functions.
6914
6915 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6916
6917         * libmisc/limits.c, libmisc/obscure.c, src/login_nopam.c,
6918         lib/pwauth.c: Avoid empty file when USE_PAM is set.
6919         * libmisc/audit_help.c: Avoid empty file when WITH_AUDIT is not set.
6920         * src/login_nopam.c: Fix warnings: resolve_hostname takes and
6921         returns a constant string.
6922
6923 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6924
6925         * src/grpck.c: Split process_flags(), open_files(), and
6926         close_files() out of main(). New global variables is_shadow,
6927         sort_mode, use_system_grp_file, and use_system_sgr_file.
6928         * src/grpck.c: Split check_grp_file() and check_sgr_file() out of
6929         main().
6930         * src/grpck.c: Split check_members() and compare_members_lists()
6931         out of check_grp_file() and check_sgr_file().
6932
6933 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6934
6935         * man/po/Makefile.in.in: If remove-potcdate.sin does not exist,
6936         use the one from teh po directory (it is not installed
6937         automatically by autopoint.
6938
6939 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6940
6941         * lib/commonio.h: Fix the type of the bitfields in the commonio_entry
6942         and commonio_db structures to unsigned int (instead of int).
6943
6944 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6945
6946         * src/chsh.c: Split process_flags(), check_perms(), and update_shell()
6947         out of main().
6948         * src/chsh.c: Before pam_end(), the return value of the previous
6949         pam API was already checked. No need to validate it again.
6950         * src/chsh.c: Avoid implicit brackets.
6951         * src/chsh.c: Avoid assignments in comparisons.
6952
6953 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6954
6955         * src/chfn.c: New function: process_flags() split out of main().
6956         The flags variables are now global.
6957         * src/chfn.c: New functions: check_perms(), update_gecos(),
6958         get_old_fields(), and check_fields() split out of main().
6959         * src/chfn.c: Before pam_end(), the return value of the previous
6960         pam API was already checked. No need to validate it again.
6961         * src/chfn.c: Avoid implicit brackets.
6962         * src/chfn.c: Document may_change_field().
6963         * src/chfn.c: Avoid implicit conversions to booleans.
6964         * src/chfn.c: Avoid assignments in comparisons.
6965
6966 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6967
6968         * src/newusers.c: Compilation fix for PAM support (pamh needs to be
6969         global since the function split).
6970         * src/chpasswd.c: Likewise.
6971         * src/chgpasswd.c: Likewise.
6972         * src/chpasswd.c: Avoid implicit conversions to booleans.
6973
6974 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6975
6976         * src/chage.c: Fix typo: s/maximim/maximum/
6977         * src/chage.c: New function: fail_exit(). Change most of the exit()
6978         to a fail_exit, which makes sure the files are unlocked (new global
6979         variables: pw_locked, spw_locked), the PAM transaction is ended, and
6980         the failure is logged to libaudit (use a global user_name and user_uid
6981         for logging).
6982         * src/chage.c: Compilation fix for PAM support (pamh needs to be
6983         global since the function split).
6984         * src/chage.c: Document process_flags(), check_flags(), check_perms(),
6985         open_files(), and close_files().
6986         * src/chage.c: Split update_age() and get_defaults() out of main()
6987         * src/chage.c: Drop the privileges just after opening the files.
6988         * src/chage.c: Do not log to audit only if the user has an entry in
6989         the shadow file.
6990         * NEWS, src/chage.c (open_files): Also open the password file for
6991         writing. This fix chage when the user only has a password entry (and
6992         no shadow entries).
6993         * src/chage.c (get_defaults): Use default values that don't change the
6994         behavior of the account for the fields that are not specified when the
6995         user has no shadow entry.
6996
6997 2007-12-30  Nicolas François  <nicolas.francois@centraliens.net>
6998
6999         * src/groupadd.c: Compilation fix for PAM support (pamh needs to be
7000         global since the function split).
7001         * src/groupadd.c: End the PAM transaction in fail_exit().
7002         * src/groupadd.c: Document check_flags().
7003
7004 2007-12-30  Nicolas François  <nicolas.francois@centraliens.net>
7005
7006         * src/vipw.c: Compilation fix for non-gshadow support.
7007
7008 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
7009
7010         * NEWS, src/newusers.c: Added support for gshadow.
7011
7012 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
7013
7014         * NEWS, src/newusers.c: Do not add the new user to the group's
7015         members, because the group is already the primary group of the new
7016         user.
7017
7018 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
7019
7020         newusers cleanups
7021         * src/newusers.c: main() split in new functions: process_flags(),
7022         check_flags(), check_perms(), open_files(), and close_files().
7023         * src/newusers.c: Before pam_end(), the return value of the previous
7024         pam API was already checked. No need to validate it again.
7025         * src/newusers.c: Avoid implicit brackets.
7026         * src/newusers.c: Avoid assignments in comparisons.
7027         * src/newusers.c: Avoid variables with the name of a type.
7028
7029 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
7030
7031         chage cleanups
7032         * src/chage.c: Before pam_end(), the return value of the previous
7033         pam API was already checked. No need to validate it again.
7034         * src/chage.c: main() split in new functions: process_flags(),
7035         check_flags(), check_perms(), open_files(), and close_files().
7036         * src/chage.c: Avoid using a variable with the same name as a type.
7037         * src/chage.c: Remove dead code. It was probably put here to add more
7038         information to the audit_logger.
7039         * src/chage.c: Avoid implicit brackets.
7040         * src/chage.c: Avoid implicit conversion to booleans.
7041         * src/chage.c: Avoid assignments in comparisons.
7042
7043 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
7044
7045         Same changes for chgpasswd:
7046         * src/chgpasswd.c: Before pam_end(), the return value of the previous
7047         pam API was already checked. No need to validate it again.
7048         * src/chgpasswd.c: main() split in process_flags(), check_flags(),
7049         check_perms(), open_files(), and close_files().
7050         * src/chgpasswd.c: Avoid assignments in comparisons.
7051         * src/chgpasswd.c: Avoid implicit brackets.
7052         * src/chgpasswd.c: Fix comments to match chgpasswd (group instead of
7053         user's passwords are changed).
7054
7055 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
7056
7057         * src/chpasswd.c: Before pam_end(), the return value of the previous
7058         pam API was already checked. No need to validate it again.
7059         * src/chpasswd.c: New functions: process_flags(), check_flags(),
7060         check_perms(). Split out of main().
7061         * src/chpasswd.c: Other new functions: open_files(), close_files().
7062         This force flushing the password database after the password file is
7063         unlocked.
7064         * src/chpasswd.c: Avoid assignments in comparisons.
7065         * src/chpasswd.c: Avoid implicit brackets.
7066
7067 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
7068
7069         * src/groupadd.c (find_new_gid): A group with the specified name
7070         cannot exist at that time. Remove the check.
7071         * src/groupadd.c (find_new_gid): If oflg is set, gflg is also set.
7072         Use (!gflg), which is clearer than (!gflg || !oflg).
7073         * src/groupadd.c (find_new_gid): find_new_gid is never called when an
7074         GID is specified with -g. Simplify find_new_gid accordingly.
7075         * src/groupadd.c (process_flags): prefer fail_exit to exit. This avoid
7076         an explicit call to audit_logger().
7077         * src/groupadd.c (main): Before pam_end(), the return value of the
7078         previous pam API was already checked. No need to validate it again.
7079         * src/groupadd.c (main, check_perms): New function check_perms().
7080         Split the validation of the user's permissions out of main()
7081
7082 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
7083
7084         src/groupadd.c cleanup
7085         * src/groupadd.c (fail_exit): When compiled without AUDIT support, if
7086         the return code was E_SUCCESS, fail_exit() wouldn't have exited. Fix
7087         the scope of #idef WITH_AUDIT.
7088         * src/groupadd.c: Avoid implicit brackets.
7089         * src/groupadd.c: Split the processing and checking of options out of
7090         main() (process_flags).
7091         * src/groupadd.c: New function check_flags(). Split the validation of
7092         options and arguments out of process_flags.
7093         * src/groupadd.c: Add the parameters' names in the prototypes.
7094
7095 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
7096
7097         libmisc/copydir.c cleanup
7098         * libmisc/copydir.c: Split copy_tree() in more maintainable functions:
7099         copy_entry(), copy_dir(), copy_symlink(), copy_hardlink(),
7100         copy_special(), and copy_file().
7101         * libmisc/copydir.c: -1 is used to indicate an error, directly set err
7102         to -1, instead of incrementing it, and checking if not nul at the
7103         end.
7104         * libmisc/copydir.c: Avoid assignments in comparisons.
7105         * libmisc/copydir.c: Document selinux_file_context.
7106         * libmisc/copydir.c: Avoid implicit brackets.
7107         * libmisc/copydir.c: Avoid implicit conversions to booleans.
7108
7109 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
7110
7111         gpasswd cleanup
7112         * src/gpasswd.c: Add argument name to the internal function
7113         prototypes.
7114         * src/gpasswd.c: Document global variables.
7115         * src/gpasswd.c: New function: process_flags(). Split the processing
7116         of options out of main().
7117         * src/gpasswd.c: New functions: open_files(), close_files(),
7118         update_group(). Split out from main() to simplify this (too) big
7119         function.
7120         * src/gpasswd.c: New functions: check_perms(), get_group(),
7121         change_passwd(), check_flags(). Split out of main() to simplify main().
7122         * src/gpasswd.c: Avoid implicit brackets.
7123         * src/gpasswd.c: Avoid assignments in comparisons.
7124         * src/gpasswd.c: Avoid implicit conversions to booleans.
7125
7126 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
7127
7128         Merge Debian's patch 462_warn_to_edit_shadow
7129         * NEW, src/vipw.c: Recommend editing the shadowed (resp. regular) file
7130         if the regular (resp. shadowed) file was edited.
7131
7132 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7133
7134         Merge Debian's patch 451_login_PATH
7135         * NEWS, libmisc/setupenv.c: Export PATH according to ENV_PATH and
7136         ENV_SUPATH, as for su. This impacts login.
7137         * man/login.1.xml: PATH and SUPATH are now used both when PAM support
7138         is disabled and enabled.
7139
7140 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7141
7142         Merge Debian's patch 496_login_init_session
7143         * src/login.c, src/sulogin.c: If started as init, start a new session.
7144
7145 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7146
7147         Merge Debian's patch 408_passwd_check_arguments
7148         * NEWS, src/passwd.c: Make sure that no more than one username
7149         argument was provided.
7150
7151 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7152
7153         Merge Debian's patch 412_lastlog_-u_numerical_range
7154         * NEWS, src/lastlog.c, man/lastlog.8.xml: Accept numerical user, or
7155         ranges with the -u option.
7156
7157 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7158
7159         Merge Debian's patch 466_fflush-prompt
7160         * libmisc/Makefile.am, lib/prototypes.h, libmisc/yesno.c, src/grpck.c,
7161         src/pwck.c: move yes_or_no() from grpck/pwck to a separate
7162         libmisc/yesno.c (with a read_only argument).
7163         * libmisc/fields.c, libmisc/yesno.c: Make sure stdout is flushed before
7164         reading the user's answer.
7165
7166 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7167
7168         Merge Debian's patch 480_getopt_args_reorder
7169         * NEWS, src/su.c: su's arguments are now reordered.
7170
7171 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7172
7173         Merge RedHat's patch shadow-4.0.18.1-mtime.patch:
7174         * NEWS: Document that usermod will now preserve user's file modification
7175         and access time.
7176         * libmisc/copydir.c: Preserve the access and modification time of copied
7177         files. This is important for usermod. This will also impact useradd, for
7178         the skeleton files, but this is not important.
7179         * libmisc/copydir.c: Stop and return an error if a file could not be
7180         closed after during a copy.
7181
7182 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7183
7184         Cleanups:
7185         * src/useradd.c (find_new_gid): Check that gflg is not set (assert).
7186         * src/useradd.c (find_new_gid): Do not check the group name uniqueness
7187         (already checked in main).
7188         * src/useradd.c (find_new_gid): Avoid a "continue" in the loop.
7189         * src/useradd.c (find_new_gid): Remove irrelevant comments.
7190         * src/useradd.c (find_new_gid): Fix the function definition's comment.
7191
7192 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7193
7194         Merge RedHat's patch shadow-4.0.18.1-findNewUidOnce.patch:
7195         * src/useradd.c (usr_update): Do not call find_new_uid(). The UID was
7196         already either specified or found by another call to find_new_uid().
7197         * src/useradd.c (find_new_uid): Always start with uid_min (find_new_uid()
7198         is never called when user_id was already specified).
7199         * src/useradd.c (find_new_uid): Fix the comments (find_new_uid() is not
7200         called when the UID is specified (uflg)).
7201         * src/useradd.c (main): Only call find_new_uid() if (!oflg) and (!uflg).
7202         If uflg is set (but not oflg), check the UID uniqueness.
7203         * src/useradd.c (find_new_uid): Don't check the uid and user name
7204         uniqueness in find_new_uid(). The user name uniqueness is already checked
7205         during the parameter validation. UID uniqueness is also checked (see
7206         above).
7207         * src/useradd.c (find_new_uid): Don't check uflg in find_new_uid().
7208         * src/useradd.c (find_new_uid): Make sure that find_new_uid() is not
7209         called when uflg is set (assert).
7210
7211 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7212
7213         Merge RedHat's patch shadow-4.1.0-lOption.patch
7214         * NEWS, src/useradd.c, man/useradd.8.xml: Add option -l to avoid adding
7215         the user to the lastlog and faillog databases.
7216
7217 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7218
7219         * src/useradd.c, src/groupadd.c: NO_GETPWENT is no more supported. Remove
7220         associated chunks of code.
7221
7222 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7223
7224         * man/groupadd.8.xml: Document the long options (--force, --gid, --key,
7225         --non-unique).
7226
7227 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7228
7229         Merge RedHat's patch shadow-4.0.3-noinst.patch
7230         * NEWS, lib/Makefile.am: Do not install the shadow library per default.
7231         lib_LTLIBRARIES changed to noinst_LTLIBRARIES.
7232
7233 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
7234
7235         * NEWS, configure.in: Prepare the 4.1.0 release.
7236
7237 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
7238
7239         * NEWS, src/chgpasswd.c: Use chgpasswd PAM policy file instead of
7240         chpasswd's one.
7241
7242 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
7243
7244         * man/pwconv.8.xml: Fix typos.
7245         * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document the NONE crypt
7246         method.
7247         * man/login.defs.d/MAIL_DIR.xml: Add comment regarding useradd not
7248         using MAIL_FILE.
7249         * man/login.defs.d/ERASECHAR.xml, man/login.defs.d/KILLCHAR.xml,
7250         man/login.defs.d/CONSOLE_GROUPS.xml, man/login.defs.d/ENV_HZ.xml,
7251         man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml:
7252         These variables are also used by some tools when compiled with PAM
7253         support.
7254         * man/login.defs.d/ENV_HZ.xml: Add note that it is only used by
7255         sulogin when compiled with PAM support.
7256         * man/login.defs.d/ENV_SUPATH.xml: Typos: ENV_PATH -> ENV_SUPATH,
7257         and mention sbin in the path.
7258         * man/login.defs.d/LOGIN_STRING.xml: Fix typo: confition ->
7259         condition.
7260         * man/sg.1.xml: Add CONFIGURATION section (SYSLOG_SG_ENAB).
7261         * man/su.1.xml: ENV_HZ, LOGIN_STRING, MAIL_DIR, USERGROUPS_ENAB
7262         are only used when su is compiled without PAM support.
7263         * man/login.defs.5.xml: Added variables: OBSCURE_CHECKS_ENAB
7264         PASS_ALWAYS_WARN PASS_CHANGE_TRIES SULOG_FILE SU_NAME
7265         SU_WHEEL_ONLY SYSLOG_SG_ENAB SYSLOG_SU_ENAB.
7266         * man/login.defs.5.xml: ENVIRON_FILE is only used when compiled
7267         without PAM support.
7268         * man/login.defs.5.xml: sulogin uses variables even when compiled
7269         with PAM support.
7270         * man/login.1.xml: ENV_HZ ENV_PATH ENV_SUPATH MAIL_DIR UMASK are
7271         only used when login is not compiled with PAM support.
7272
7273 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
7274
7275         * src/login.c: Make sure is_console is only defined when USE_PAM
7276         is not defined.
7277
7278 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
7279
7280         * libmisc/pwd2spwd.c: Fix time() prototype.
7281
7282 2007-12-08  Nicolas François  <nicolas.francois@centraliens.net>
7283
7284         * man/login.defs.d/CONSOLE_GROUPS.xml,
7285         man/login.defs.d/CONSOLE.xml, man/login.defs.d/DEFAULT_HOME.xml,
7286         man/login.defs.d/ENV_HZ.xml, man/login.defs.d/ENVIRON_FILE.xml,
7287         man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml,
7288         man/login.defs.d/ENV_TZ.xml, man/login.defs.d/ERASECHAR.xml,
7289         man/login.defs.d/FAIL_DELAY.xml,
7290         man/login.defs.d/FAILLOG_ENAB.xml,
7291         man/login.defs.d/FAKE_SHELL.xml, man/login.defs.d/FTMP_FILE.xml,
7292         man/login.defs.d/HUSHLOGIN_FILE.xml,
7293         man/login.defs.d/ISSUE_FILE.xml, man/login.defs.d/KILLCHAR.xml,
7294         man/login.defs.d/LASTLOG_ENAB.xml, man/login.defs.d/LOGIN_RETRIES.xml,
7295         man/login.defs.d/LOGIN_TIMEOUT.xml, man/login.defs.d/LOG_OK_LOGINS.xml,
7296         man/login.defs.d/LOG_UNKFAIL_ENAB.xml,
7297         man/login.defs.d/MAIL_CHECK_ENAB.xml, man/login.defs.d/MOTD_FILE.xml,
7298         man/login.defs.d/NOLOGINS_FILE.xml,
7299         man/login.defs.d/OBSCURE_CHECKS_ENAB.xml,
7300         man/login.defs.d/PASS_ALWAYS_WARN.xml,
7301         man/login.defs.d/PASS_CHANGE_TRIES.xml,
7302         man/login.defs.d/PASS_MAX_LEN.xml,
7303         man/login.defs.d/PORTTIME_CHECKS_ENAB.xml,
7304         man/login.defs.d/QUOTAS_ENAB.xml, man/login.defs.d/SULOG_FILE.xml,
7305         man/login.defs.d/SU_NAME.xml, man/login.defs.d/SU_WHEEL_ONLY.xml,
7306         man/login.defs.d/SYSLOG_SG_ENAB.xml,
7307         man/login.defs.d/SYSLOG_SU_ENAB.xml,
7308         man/login.defs.d/TTYGROUP.xml, man/login.defs.d/TTYTYPE_FILE.xml,
7309         man/login.defs.d/ULIMIT.xml, man/login.defs.d/USERGROUPS_ENAB.xml:
7310         New documentation of login.defs variables.
7311         * man/login.defs.d/MAIL_DIR.xml: Updated. It now contains the
7312         MAIL_FILE documentation.
7313         * man/login.defs.d/LOGIN_STRING.xml: Updated. Mentions %s.
7314         * man/pwconv.8.xml, man/groupmems.8.xml, man/groupdel.8.xml,
7315         man/useradd.8.xml, man/pwck.8.xml, man/groupadd.8.xml,
7316         man/sulogin.8.xml, man/newgrp.1.xml, man/usermod.8.xml,
7317         man/su.1.xml, man/vipw.8.xml, man/passwd.1.xml,
7318         man/groupmod.8.xml, man/login.1.xml, man/userdel.8.xml,
7319         man/grpck.8.xml: Added CONFIGURATION section.
7320         * man/generate_mans.mak: The generations of manpages depends on
7321         the variables from the Makefiles. Add the dependency on Makefile.
7322         * man/login.defs.5.xml: New login.defs variable documented.
7323         * man/Makefile.am: Added XML variable documentation to the
7324         distributed files.
7325
7326 2007-12-05  Nicolas François  <nicolas.francois@centraliens.net>
7327
7328         * man/gshadow.5.xml: Fix the newgrp section in the gshadow.5
7329         manpage. Thanks to Andre Majorel <aym-naibed@teaser.fr>.
7330
7331 2007-11-27  Nicolas François  <nicolas.francois@centraliens.net>
7332
7333         * man/Makefile.am: Added the login.defs variables description to
7334         the man's EXTRA_DIST.
7335
7336 2007-11-27  Nicolas François  <nicolas.francois@centraliens.net>
7337
7338         * man/chfn.1.xml: Uses CHFN_AUTH, CHFN_RESTRICT, LOGIN_STRING.
7339         * man/chgpasswd.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
7340         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
7341         * man/chpasswd.8.xml: Switch to using entities for ENCRYPT_METHOD,
7342         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
7343         * man/chsh.1.xml: Uses CHSH_AUTH, LOGIN_STRING.
7344         * man/expiry.1.xml: Does not use any login.defs parameter.
7345         * man/gpasswd.1.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
7346         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS.
7347         * man/login.defs.5.xml: Added CHSH_AUTH.
7348         * man/login.defs.5.xml: Cross reference -> cross references.
7349         * man/login.defs.5.xml: chfn only uses CHFN_AUTH when no_pam.
7350         * man/login.defs.5.xml: chsh uses CHSH_AUTH, not CHFN_AUTH.
7351         * man/login.defs.d/CHSH_AUTH.xml: Added.
7352         * man/login.defs.5.xml: chsh uses parameters only when no_pam.
7353         * man/login.defs.5.xml: expiry does not use CONSOLE_GROUPS, even
7354         if linked in the binary.
7355         * man/newusers.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
7356         MD5_CRYPT_ENAB, PASS_MAX_DAYS, PASS_MIN_DAYS, PASS_WARN_AGE,
7357         SHA_CRYPT_MIN_ROUNDS, UMASK.
7358
7359 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
7360
7361         * man/generate_translations.mak, man/po/Makefile.in.in: Add
7362         --expand-all-entities to the call to xml2po to avoid translating
7363         the external entities separately.
7364
7365 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
7366
7367         * man/login.defs.d/, man/login.defs.d/CHFN_RESTRICT.xml,
7368         man/login.defs.d/MAIL_DIR.xml, man/login.defs.d/PASS_MAX_DAYS.xml,
7369         man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml,
7370         man/login.defs.d/CHFN_AUTH.xml, man/login.defs.d/MD5_CRYPT_ENAB.xml,
7371         man/login.defs.d/PASS_WARN_AGE.xml, ·man/login.defs.d/UMASK.xml,
7372         man/login.defs.d/PASS_MIN_DAYS.xml, man/login.defs.d/UID_MAX.xml,
7373         man/login.defs.d/LOGIN_STRING.xml, man/login.defs.d/GID_MAX.xml,
7374         man/login.defs.d/ENCRYPT_METHOD.xml, man/login.defs.d/USERDEL_CMD.xml,
7375         man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml, man/login.defs.5.xml:
7376         Put each variable description in an external entities. This will permit
7377         to reference them in the various utils manpages.
7378         * man/login.defs.5.xml: Describe the usage of variables by each
7379         tools when compiled without PAM support.
7380
7381 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
7382
7383         * po/stats: Do not generate gmo files.
7384
7385 2007-11-25  Nicolas François  <nicolas.francois@centraliens.net>
7386
7387         * man/po/LINGUAS: Added missing LINGUAS.
7388         * man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
7389         man/po/ru.po, man/po/sv.po: Updated.
7390
7391 2007-11-25  Nicolas François  <nicolas.francois@centraliens.net>
7392
7393         * configure.in, man/po/Makefile.in.in, man/po/Makevars,
7394         man/po/POTFILES.in, man/Makefile.am: Generate the PO files for the
7395         manpages in the man/po directory (instead of man/<lang>). Use a
7396         Makefile.in.in based on gettext's one. This ensure that the PO are
7397         generated before being used in the <lang> directories.
7398         * man/generate_mans.mak, man/generate_translations.mak,
7399         man/Makefile.am: New makefile for the generation of manpages from
7400         XML (generate_mans.mak). This avoid duplicate chunks in
7401         generate_translations.mak and Makefile.am
7402         * man/de/de.po, man/fr/fr.po, man/it/it.po, man/pl/pl.po,
7403         man/ru/ru.po, man/sv/sv.po: Moved to...
7404         * man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
7405         man/po/ru.po, man/po/sv.po: ... here.
7406
7407 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7408
7409         * src/userdel.c, src/lastlog.c, src/newusers.c, src/chpasswd.c,
7410         src/usermod.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
7411         src/su.c, src/groupmod.c, src/passwd.c, src/groupadd.c,
7412         src/chage.c, src/faillog.c, src/chsh.c: Do not use tabulations in
7413         Usage strings.
7414         * po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po,
7415         po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/hu.po, po/id.po,
7416         po/it.po, po/ja.po, po/nb.po, po/pl.po, po/pt_BR.po, po/pt.po,
7417         po/ro.po, po/ru.po, po/sk.po, po/sv.po, po/tl.po, po/tr.po,
7418         po/uk.po, po/vi.po: Unfuzzy previous changes.
7419         * po/bs.po, po/he.po, po/nn.po, po/sq.po: No Usage string
7420         translated. Just updated PO.
7421         * po/dz.po, po/km.po, po/ko.po, po/ne.po, po/nl.po, po/zh_CN.po,
7422         po/zh_TW.po: It would be too error prone for me to unfuzzy these
7423         ones. Updated PO. (km and ne should be reviewed: options are
7424         translated).
7425
7426 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7427
7428         * po/ne.po, po/bs.po, po/cs.po, po/pt_BR.po, po/km.po, po/es.po,
7429         po/eu.po, po/ko.po, po/hu.po, po/sk.po, po/vi.po, po/uk.po,
7430         po/ro.po, po/sq.po, po/ru.po, po/id.po, po/nb.po, po/el.po,
7431         po/gl.po, po/fr.po, po/nl.po, po/pl.po, po/nn.po, po/it.po,
7432         po/dz.po, po/tl.po, po/pt.po, po/ca.po, po/da.po, po/tr.po,
7433         po/sv.po, po/de.po, po/ja.po, po/zh_TW.po, po/he.po, po/fi.po,
7434         po/zh_CN.po: Run "make update-po" in the po directory.
7435
7436 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7437
7438         * configure.in: New configure option: --with-sha-crypt enabled by
7439         default. Keeping the feature enabled is safe. Disabling it permits
7440         to disable the references to the SHA256 and SHA512 password
7441         encryption algorithms from the usage help and manuals (in addition
7442         to the support for these algorithms in the code).
7443         * libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
7444         src/chpasswd.c, src/chgpasswd.c, src/passwd.c: ENCRYPT_METHOD is
7445         always supported in login.defs. Remove the ENCRYPTMETHOD_SELECT
7446         preprocessor condition.
7447         * libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
7448         src/chpasswd.c, src/chgpasswd.c, src/passwd.c: Disable SHA256 and
7449         SHA512 if USE_SHA_CRYPT is not defined (this corresponds to a
7450         subset of the ENCRYPTMETHOD_SELECT sections).
7451
7452 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7453
7454         * lib/encrypt.c: If we requested a non DES encryption, make sure
7455         crypt returned a encrypted password longer than 13 chars. This
7456         protects against the GNU crypt() which does not return NULL if the
7457         algorithm is not supported, and return a DES encrypted password.
7458
7459 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7460
7461         * lib/groupio.c: Add missing #include "getdef.h"
7462
7463 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7464
7465         * src/newusers.c: Provide the crypt method to all the
7466         crypt_make_salt invocations.
7467         * src/newusers.c: Tag the ENCRYPTMETHOD_SELECT dependent code
7468         accordingly.
7469
7470 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7471
7472         * libmisc/salt.c: Make sure method is not NULL, defaulting to DES.
7473         Thanks to Dan Kopecek <dkopecek@redhat.com>.
7474         * src/chpasswd.c, src/chgpasswd.c: Do not use DES by default, but
7475         the system default define in /Etc/login.defs. Thanks to Dan
7476         Kopecek <dkopecek@redhat.com>.
7477         * NEWS, man/chpasswd.8.xml, man/chgpasswd.8.xml: Do not mention
7478         DES as the default algorithm.
7479         * src/chpasswd.c, src/chgpasswd.c: Tag the ENCRYPTMETHOD_SELECT
7480         dependent code accordingly.
7481
7482 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7483
7484         * libmisc/salt.c: Move the srandom call to gensalt.
7485         * libmisc/salt.c (gensalt): Replace the test on salt_size by an
7486         assert.
7487
7488 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7489
7490         Patch contributed by Dan Kopecek <dkopecek@redhat.com>
7491         * src/chpasswd.c, src/chgpasswd.c, src/newusers.c: Fix compilation
7492         when ENCRYPTMETHOD_SELECT is not defined.
7493         * libmisc/salt.c (MAGNUM): The nul char was put on (array)[2]
7494         instead of (array)[3].
7495         * libmisc/salt.c: MAGNUM should be defined even if
7496         ENCRYPTMETHOD_SELECT is not defined.
7497         * libmisc/salt.c: Use random instead of rand.
7498         * libmisc/salt.c (gensalt): New function to generate a salt
7499         (instead of using gettimeofday).
7500
7501 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7502
7503         * NEWS, src/newusers.c: New options -c/--crypt-method
7504         -s/--sha-rounds.
7505
7506 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7507
7508         * src/chpasswd.c: Added crypt method: NONE.
7509         * src/chpasswd.c: Added --sha-rounds to the usage().
7510         * libmisc/Makefile.am, libmisc/getlong.c, src/chgpasswd.c,
7511         src/chpasswd.c, lib/prototypes.h: New getlong function. Replace
7512         chpasswd's and chgpasswd's getnumber.
7513
7514 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7515
7516         * lib/groupio.c: Removed unused variable 'member'.
7517
7518 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7519
7520         * man/chpasswd.8.xml: Document the variables used by chpasswd.
7521         The definitions are copied from login.defs. I should try to use a
7522         less error prone process for this.
7523
7524 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7525
7526         * man/login.defs.5.xml: Use <replaceable> for the values set by
7527         users. (was sometimes <emphasis remap='I'>)
7528         * man/login.defs.5.xml: Use <option> vor the variable names. This
7529         makes the manpage much more readable.
7530         * man/login.defs.5.xml (ENCRYPT_METHOD, MD5_CRYPT_ENAB,
7531         SHA_CRYPT_MIN_ROUNDS, SHA_CRYPT_MAX_ROUNDS): Mention that command
7532         line option may supersede the system setting.
7533         * man/login.defs.5.xml: Document the variables used by chpasswd
7534         and chgpasswd.
7535
7536 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7537
7538         * lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
7539         svn propset svn:keywords Id
7540
7541 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7542
7543         * NEWS, lib/getdef.c, man/login.defs.5.xml: New login.defs
7544         variable: MAX_MEMBERS_PER_GROUP. Used for the split groups support.
7545         * lib/commonio.c, lib/commonio.h: Add an open_hook and close_hook
7546         operation. They are called after the database is actually opened
7547         and parse, or before it is closed.
7548         * lib/groupio.c: Add an open_hook to merge split groups, and an
7549         close group to split groups if MAX_MEMBERS_PER_GROUP is set.
7550         This fixes gpasswd and chgpasswd when split groups are used.
7551         * lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: No open or close
7552         hooks for these databases. (unsure about what should be the gshadow
7553         behavior for split groups)
7554
7555 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7556
7557         * NEWS, src/gpasswd.c: Read the group and shadow groups using
7558         gr_locate and sgr_locate. gpasswd write in the file database. Thus
7559         it should read information from the file database, not using
7560         getgrnam. The change to sgr_locate is just for consistency. This
7561         requires opening the group databases (read only) using
7562         gr_open/sgr_open.
7563
7564 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7565
7566         * configure.in: SHADOWGRP added to AM_CONDITIONAL for the
7567         generation of manpages.
7568         * man/generate_translations.mak: Added pam/no_pam condition (like
7569         in man/Makefile.am).
7570         * man/Makefile.am, man/generate_translations.mak: Added
7571         gshadow/no_gshadow condition.
7572         * man/gpasswd.1.xml: Use the gshadow/no_gshadow condition to
7573         change the manpage depending on the shadow group support.
7574         * NEWS: Indicate that manpages should be re-generated if configure
7575         option are changed, due to conditions.
7576
7577 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7578
7579         * po/ru.po: Updated to 399t. Thanks to Yuri Kozlov <kozlov.y@gmail.com>.
7580         * man/po/ru.po: Updated to 757t. Thanks also to Yuri Kozlov
7581         <kozlov.y@gmail.com>.
7582
7583 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7584
7585         * man/Makefile.am: Add support for conditionally including
7586         paragraphs. (e.g. to support the documentation of PAM and !PAM
7587         features).
7588
7589 2007-11-21  Nicolas François  <nicolas.francois@centraliens.net>
7590
7591         * man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow,
7592         and /etc/passwd to section FILES.
7593         * man/newusers.8.xml: Mentions that PAM is not used to set the
7594         passwords.
7595         * man/chpasswd.8.xml: Added section FILES (/etc/passwd,
7596         /etc/shadow, /etc/login.defs).
7597         * man/chpasswd.8.xml: Use the same paragraph as in newusers.8.xml
7598         to indicate that PAM is not used.
7599         * man/chgpasswd.8.xml: Added section FILES (/etc/group,
7600         /etc/gshadow, /etc/login.defs).
7601
7602 2007-11-21  Nicolas François  <nicolas.francois@centraliens.net>
7603
7604         * src/newusers.c: Try harder to get the GID equal to the UID.
7605         This was not the case when the GID is not specified, and a GID
7606         exist with an ID higher than the all the UIDs.
7607         * src/newusers.c: Typo in comment: contrained -> constrained.
7608
7609 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7610
7611         * src/chgpasswd.c: If the shadow group file is not present, do not
7612         try to locate the group entry from /etc/gshadow, and set the
7613         password in /etc/group.
7614
7615 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7616
7617         * libmisc/obscure.c, libmisc/salt.c, src/passwd.c: Match DES, MD5,
7618         SHA256, and SHA512 exactly (not only the first 3/6 chars).
7619         * libmisc/salt.c (SHA_salt_rounds): Set rounds to the specified
7620         prefered_rounds value, if specified.
7621         * src/gpasswd.c, libmisc/salt.c: Fix compilation warnings (use
7622         size_t for lengths).
7623         * src/chpasswd.c, src/chgpasswd.c: Add missing parenthesis.
7624
7625 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7626
7627         * man/sv, man/de, man/fr, man/pl, man/ru, man/it: Ignore the
7628         generated manpages. Add *.[1358] to the svn:ignore property.
7629
7630 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7631
7632         * src/chgpasswd.c, src/chpasswd.c: The -c, -e, and -m options are
7633         exclusives.
7634
7635 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7636
7637         * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document how the
7638         encryption algorithm is chosen for the passwords. Document the new
7639         -c and -s options. Add a reference to login.defs(5).
7640         * man/login.defs.5.xml: Document the ENCRYPT_METHOD,
7641         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS, and SHA_CRYPT_MAX_ROUNDS
7642         variables.
7643         * etc/login.defs: Indicate that MD5_CRYPT_ENAB is deprecated.
7644         Document the relationship with PAM for MD5_CRYPT_ENAB and
7645         ENCRYPT_METHOD.
7646
7647 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7648
7649         * src/passwd.c: Increase the size of crypt_passwd from 128 to 256
7650         to avoid overflow in case of SHA512 (161 should be sufficient).
7651
7652 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7653
7654         * lib/prototypes.h, libmisc/salt.c: Add parameters to
7655         crypt_make_salt to force the crypt method and number of rounds.
7656         * libmisc/salt.c: Add parameter to SHA_salt_rounds to force the
7657         number of rounds.
7658         * libmisc/salt.c, lib/getdef.c: ENCRYPT_METHOD and MD5_CRYPT_ENAB
7659         are needed also when USE_PAM (e.g. for chpasswd).
7660         * src/passwd.c, src/newusers.c, src/gpasswd.c: Use the new
7661         crypt_make_salt prototype
7662         * src/chpasswd.c, src/chgpasswd.c: Add option -c, --crypt-method
7663         and -s, --sha-rounds to specify the crypt method and number of
7664         rounds in case of one of the SHA methods. The new prototype of
7665         crypt_make_salt simplifies the handling of -m, --md5.
7666
7667 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7668
7669         * libmisc/salt.c: The salt has a random size (between 8 and 16
7670         bytes).
7671         * lib/getdef.c, etc/login.defs: Add definitions for
7672         SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS.
7673         * libmisc/salt.c: Use SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS
7674         to add a random number of rounds if needed.
7675
7676 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7677
7678         * libmisc/salt.c (MAGNUM): Terminate the array with nul (the array
7679         is then used with strcat).
7680         * libmisc/salt.c (crypt_make_salt): Initialize result[0] to nul at
7681         the beginning (was not initialized when USE_PAM).
7682         * libmisc/salt.c (crypt_make_salt): Check that ENCRYPT_METHOD is a
7683         valid crypt method.
7684
7685 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7686
7687         * NEWS, libmisc/obscure.c, libmisc/salt.c, src/passwd.c,
7688         lib/getdef.c, etc/login.defs: Add support for SHA256 and SHA512
7689         encrypt methods. Apply RedHat's patch shadow-4.0.18.1-sha256.patch.
7690         Thanks to Peter Vrabec. Hardly no changes except re-indent and
7691         changes related to recent modifications (max_salt_len in
7692         crypt_make_salt). Changes in lib/defines.h not applied (definition
7693         of ENCRYPTMETHOD_SELECT). I will add a configure check or flag.
7694
7695 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7696
7697         * man/de/Makefile.am: Add su.1 to the generated manpages.
7698         * man/fr/Makefile.am: Add id.1 to EXTRA_DIST. It will be
7699         generated.
7700         * man/pl/Makefile.am: Add groupmems.8 to the generated manpages.
7701         * man/it/Makefile.am: Add logoutd.8 to EXTRA_DIST. It will be
7702         generated.
7703         * man/de/su.1, man/fr/id.1, man/pl/groupmems.8, man/it/logoutd.8:
7704         Removed, since auto-generated.
7705
7706 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7707
7708         Fix some compilation warnings:
7709         * src/login.c: "dereferencing type-punned pointer will break
7710         strict-aliasing rules", add a variable indirection: ptr_pam_user.
7711         * lib/commonio.c: do not initialize the sb stat structure.
7712         * lib/pwio.c, lib/shadowio.c, lib/sgroupio.c, lib/groupio.c:
7713         initialize the security context if WITH_SELINUX.
7714         * lib/nscd.c: The service argument is not const (used in the exec*
7715         parameters). This matches with the prototype definition.
7716         * src/groupmems.c: Avoid ++i when i is also used in the same line.
7717         * src/newusers.c: i is positive every time it is compared. Add
7718         cast to unsigned int.
7719         * src/nologin.c: Use a main() prototype with no arguments.
7720         * libmisc/getdate.y: Initialize the type and value fields of the
7721         terminating entry for each TABLE.
7722         * libmisc/tz.c: Use "TZ=CST6CDT" as the default timezone.
7723
7724 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7725
7726         * man/pl/Makefile.am: Add getspnam.3 to EXTRA_DIST since it is
7727         generated with shadow.3.
7728         * man/generate_translations.mak: Clean all the manpages, based on
7729         $(EXTRA_DIST), not $(man_MANS).
7730
7731 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7732
7733         * man/sv/getspnam.3, man/sv/faillog.5, man/sv/faillog.8,
7734         man/sv/grpconv.8, man/sv/chsh.1, man/sv/shadow.3,
7735         man/sv/grpunconv.8, man/sv/shadow.5, man/sv/newgrp.1,
7736         man/sv/limits.5, man/sv/gpasswd.1, man/sv/sg.1, man/sv/userdel.8,
7737         man/sv/lastlog.8, man/sv/login.access.5, man/sv/grpck.8,
7738         man/sv/chfn.1, man/sv/expiry.1, man/sv/newusers.8,
7739         man/sv/chpasswd.8, man/sv/pwconv.8, man/sv/logoutd.8,
7740         man/sv/groupmems.8, man/sv/usermod.8, man/sv/pwunconv.8,
7741         man/sv/su.1, man/sv/groupdel.8, man/sv/chgpasswd.8,
7742         man/sv/login.defs.5, man/sv/vipw.8, man/sv/useradd.8,
7743         man/sv/gshadow.5, man/sv/passwd.1, man/sv/groupmod.8,
7744         man/sv/passwd.5, man/sv/chage.1, man/sv/porttime.5,
7745         man/sv/login.1, man/sv/pwck.8, man/sv/nologin.8,
7746         man/sv/groupadd.8, man/sv/suauth.5, man/sv/vigr.8,
7747         man/sv/groups.1, man/de/passwd.1, man/de/newgrp.1, man/de/chsh.1,
7748         man/de/passwd.5, man/de/login.1, man/de/vipw.8, man/de/chfn.1,
7749         man/de/vigr.8, man/de/groups.1, man/fr/getspnam.3,
7750         man/fr/faillog.5, man/fr/faillog.8, man/fr/grpconv.8,
7751         man/fr/chsh.1, man/fr/shadow.3, man/fr/grpunconv.8,
7752         man/fr/shadow.5, man/fr/newgrp.1, man/fr/limits.5,
7753         man/fr/gpasswd.1, man/fr/sg.1, man/fr/userdel.8,
7754         man/fr/login.access.5, man/fr/lastlog.8, man/fr/grpck.8,
7755         man/fr/chfn.1, man/fr/expiry.1, man/fr/newusers.8,
7756         man/fr/chpasswd.8, man/fr/pwconv.8, man/fr/logoutd.8,
7757         man/fr/usermod.8, man/fr/pwunconv.8, man/fr/su.1,
7758         man/fr/groupdel.8, man/fr/login.defs.5, man/fr/vipw.8,
7759         man/fr/useradd.8, man/fr/gshadow.5, man/fr/passwd.1,
7760         man/fr/groupmod.8, man/fr/passwd.5, man/fr/porttime.5,
7761         man/fr/chage.1, man/fr/login.1, man/fr/pwck.8, man/fr/groupadd.8,
7762         man/fr/suauth.5, man/fr/vigr.8, man/fr/groups.1, man/pl/faillog.5,
7763         man/pl/faillog.8, man/pl/chsh.1, man/pl/grpconv.8,
7764         man/pl/grpunconv.8, man/pl/shadow.5, man/pl/newgrp.1,
7765         man/pl/limits.5, man/pl/gpasswd.1, man/pl/sg.1, man/pl/userdel.8,
7766         man/pl/login.access.5, man/pl/lastlog.8, man/pl/grpck.8,
7767         man/pl/chfn.1, man/pl/expiry.1, man/pl/newusers.8,
7768         man/pl/pwconv.8, man/pl/chpasswd.8, man/pl/logoutd.8,
7769         man/pl/usermod.8, man/pl/pwunconv.8, man/pl/su.1,
7770         man/pl/groupdel.8, man/pl/vipw.8, man/pl/login.defs.5,
7771         man/pl/useradd.8, man/pl/passwd.1, man/pl/groupmod.8,
7772         man/pl/passwd.5, man/pl/porttime.5, man/pl/chage.1,
7773         man/pl/login.1, man/pl/pwck.8, man/pl/groupadd.8, man/pl/suauth.5,
7774         man/pl/vigr.8, man/pl/groups.1, man/ru/getspnam.3,
7775         man/ru/faillog.5, man/ru/faillog.8, man/ru/grpconv.8,
7776         man/ru/chsh.1, man/ru/shadow.3, man/ru/grpunconv.8,
7777         man/ru/shadow.5, man/ru/newgrp.1, man/ru/limits.5,
7778         man/ru/gpasswd.1, man/ru/sg.1, man/ru/userdel.8,
7779         man/ru/login.access.5, man/ru/lastlog.8, man/ru/grpck.8,
7780         man/ru/chfn.1, man/ru/expiry.1, man/ru/newusers.8,
7781         man/ru/chpasswd.8, man/ru/pwconv.8, man/ru/logoutd.8,
7782         man/ru/groupmems.8, man/ru/usermod.8, man/ru/pwunconv.8,
7783         man/ru/su.1, man/ru/groupdel.8, man/ru/chgpasswd.8,
7784         man/ru/login.defs.5, man/ru/vipw.8, man/ru/useradd.8,
7785         man/ru/gshadow.5, man/ru/passwd.1, man/ru/groupmod.8,
7786         man/ru/passwd.5, man/ru/chage.1, man/ru/porttime.5,
7787         man/ru/login.1, man/ru/pwck.8, man/ru/nologin.8,
7788         man/ru/groupadd.8, man/ru/suauth.5, man/ru/vigr.8,
7789         man/ru/groups.1, man/it/getspnam.3, man/it/faillog.5,
7790         man/it/faillog.8, man/it/grpconv.8, man/it/chsh.1,
7791         man/it/shadow.3, man/it/grpunconv.8, man/it/shadow.5,
7792         man/it/newgrp.1, man/it/gpasswd.1, man/it/sg.1, man/it/userdel.8,
7793         man/it/lastlog.8, man/it/grpck.8, man/it/chfn.1, man/it/expiry.1,
7794         man/it/newusers.8, man/it/chpasswd.8, man/it/pwconv.8,
7795         man/it/usermod.8, man/it/pwunconv.8, man/it/su.1,
7796         man/it/groupdel.8, man/it/vipw.8, man/it/useradd.8,
7797         man/it/passwd.1, man/it/groupmod.8, man/it/passwd.5,
7798         man/it/porttime.5, man/it/chage.1, man/it/login.1, man/it/pwck.8,
7799         man/it/groupadd.8, man/it/vigr.8, man/it/groups.1,
7800         man/pl/shadow.3, man/pl/sulogin.8, man/pl/id.1, man/ru/sulogin.8,
7801         man/ru/id.1, man/it/id.1: Remove generated translated manpages.
7802         They are still distributed with the shadow tarballs.
7803
7804 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7805
7806         * man/pl/chgpassw.8: Remove chgpassw.8 since the real manpage
7807         should be named chgpasswd.8.
7808
7809 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7810
7811         * man/vigr.8.xml: Remove file. The vigr man page is generated from
7812         the vipw XML file.
7813
7814 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7815
7816         * lib/prototypes.h, configure.in, libmisc/Makefile.am,
7817         libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
7818         libmisc/xgetgrnam.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c:
7819         Added functions xgetpwnam(), xgetpwuid(), xgetgrnam(),
7820         xgetgrgid(), and xgetspnam(). They allocate memory for the
7821         returned structure and are more robust to successive calls. They
7822         are implemented with the libc's getxxyyy_r() functions if
7823         available.
7824         * NEWS, libmisc/limits.c, libmisc/entry.c, libmisc/chowntty.c,
7825         libmisc/addgrps.c, libmisc/myname.c, libmisc/rlogin.c,
7826         libmisc/pwdcheck.c, src/newgrp.c, src/login_nopam.c, src/login.c,
7827         src/userdel.c, src/lastlog.c, src/grpck.c, src/gpasswd.c,
7828         src/newusers.c, src/chpasswd.c, src/chfn.c, src/groupmems.c,
7829         src/usermod.c, src/expiry.c, src/groupdel.c, src/chgpasswd.c,
7830         src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c, src/pwck.c,
7831         src/groupadd.c, src/chage.c, src/login.c, src/suauth.c,
7832         src/faillog.c, src/groups.c, src/chsh.c, src/id.c: Review all the
7833         usage of one of the getpwnam(), getpwuid(), getgrnam(),
7834         getgrgid(), and getspnam() functions. It was noticed on
7835         http://bugs.debian.org/341230 that chfn and chsh use a passwd
7836         structure after calling a pam function, which result in using
7837         information from the passwd structure requested by pam, not the
7838         original one. It is much easier to use the new xget... functions
7839         to avoid these issues. I've checked which call to the original
7840         get... functions could be left (reducing the scope of the
7841         structure if possible), and I've left comments to ease future
7842         reviews (e.g. /* local, no need for xgetpwnam */).
7843         Note: the getpwent/getgrent calls should probably be checked also.
7844         * src/groupdel.c, src/expiry.c: Fix typos in comments.
7845         * src/groupmod.c: Re-indent.
7846         * lib/Makefile.am, lib/groupmem.c, lib/groupio.c, lib/pwmem.c,
7847         lib/pwio.c, lib/shadowmem.c, lib/shadowio.c: Move the __<xx>_dup
7848         functions (used by the xget... functions) from the <xx>io.c files
7849         to the new <xx>mem.c files. This avoid linking some utils against
7850         the SELinux library.
7851
7852 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7853
7854         * man/pl/pl.po: Fix typo: chgpassw -> chgpasswd.
7855         * man/pl/Makefile.am: Fix typo: chgpassw -> chgpasswd.
7856         * man/de/de.po: groups shall not be translated (for command,
7857         refname, or refentrytitle).
7858
7859 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7860
7861         * src/login.c: Fix typo introduced while fixing
7862         http://bugs.debian.org/451521 (compile fix).
7863
7864 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7865
7866         * libmisc/Makefile.am: Fix typo: EXTRA_DOST -> EXTRA_DIST.
7867
7868 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7869
7870         * src/login_nopam.c: Fix a typo in a comment.
7871
7872 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7873
7874         * src/useradd.c: Do not document the behavior compared to old
7875         versions.
7876
7877 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7878
7879         * man/usermod.8.xml: Document the differences between locking an
7880         account and locking a password.
7881
7882 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7883
7884         * NEWS, src/usermod.c: Refuse to unlock an account when it would
7885         result in a passwordless account.  Based on Openwall's patch
7886         shadow-4.0.4.1-owl-usermod-unlock.diff.
7887         * NEWS, src/passwd.c: Likewise.
7888
7889 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7890
7891         * src/userdel.c (path_prefix): Make sure that the prefix is the
7892         name of a directory (not only the beginning of a directory).
7893         Openwall patch shadow-4.0.4.1-owl-userdel-path_prefix.diff.
7894
7895 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7896
7897         * NEWS, src/newgrp.c: Do not give an indication that the group has no
7898         password.
7899         * src/newgrp.c: Do not only bail on syslog if the password is not
7900         valid. Also give an indication to the user on stderr.
7901
7902 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7903
7904         Fixes from Openwall patch shadow-4.0.4.1-owl-chage-drop-priv.diff:
7905         * src/chage.c: Remove cleanup(). pw_lock is never called. Replace
7906         cleanup(2) by spw_unlock and remove the calls to cleanup(1).
7907         * src/chage.c: Remove variable pwrw. It is always set to 0. The
7908         password database is always read only.
7909         * src/chage.c: Make chage -l also drop the saved GID.
7910         * src/chage.c: Prefer setregid/setreuid to setgid/setuid.
7911
7912 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7913
7914         Fixes from Openwall patch shadow-4.0.4.1-alt-man.diff:
7915         * man/useradd.8.xml: Indicate that the NIS caveats is also valid
7916         for any external database as LDAP.
7917         * man/groupadd.8.xml: Likewise.
7918         * man/groupadd.8.xml: Reorder and reformat the caveats bullets.
7919
7920 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7921
7922         * NEWS: Applied Debian patch 409_man_generate_from_PO to
7923         automatically generate the translated manpages from the POs.
7924         * man/Makefile.am: Replace the individual rules for the generation
7925         of the manpages (from XML) by a generic Makefile rule an
7926         dependencies for the linked manpages.
7927         * man/generate_translations.mak: Generic rules for all the
7928         generated translated manpages (if ENABLE_REGENERATE_MAN).
7929         * man/Makefile.am: Removed rules for all the generated translated
7930         manpages.
7931         * man/sv/Makefile.am, man/de/Makefile.am, man/fr/Makefile.am,
7932         man/pl/Makefile.am, man/ru/Makefile.am, man/it/Makefile.am:
7933         Include generate_translations.mak to handle the generated
7934         translations (XML and roff files).
7935         * man/Makefile.am: Translated XML files moved from the CLEANFILES
7936         variable of man/Makefile.am to the various languages Makefiles.
7937
7938 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7939
7940         * man/chpasswd.8.xml: Document that chpasswd does not use PAM to
7941         update the passwords. This fixes http://bugs.debian.org/396726.
7942         Debian patch 411_chpasswd_document_no_pam.
7943
7944 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7945
7946         * NEWS, src/su.c: Avoid terminating the PAM library in the forked
7947         child.  This is done later in the parent after closing the PAM
7948         session. This fixes http://bugs.debian.org/412061.
7949         Debian patch 405_su_no_pam_end_before_exec.
7950
7951 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7952
7953         * man/newgrp.1.xml: Mention sg in the newgrp manpage.
7954         This fixes http://bugs.debian.org/396690.
7955         Debian patch 410_newgrp_man_mention_sg.
7956
7957 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7958
7959         * src/passwd.c: Fix typo: the warndays option was called warning.
7960         This is now warndays, as documented in the manpage and usage.
7961         This fixes http://bugs.debian.org/445481.
7962         Debian patch 417_passwd_warndays.
7963
7964 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7965
7966         * NEWS, src/pwck.c: Remove the preprocessor check SHADOWPWD. The
7967         variable is no more defined (and always assumed).
7968         Debian patch 493_pwck_no_SHADOWPWD.
7969
7970 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7971
7972         * NEWS, src/passwd.c, man/passwd.1.xml: -l/-u options: edit the
7973         shadow account expiry field *in addition* to editing the password
7974         field.  This fixes http://bugs.debian.org/389183.
7975         Debian patch 494_passwd_lock.
7976
7977 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7978
7979         * NEWS, src/newgrp.c: Do not request a password when a user uses
7980         newgrp to switch to her primary group.
7981         This fixes http://bugs.debian.org/396691.
7982         Debian patch 497_newgrp_primary_group.
7983         * src/newgrp.c: Remove a comment which states otherwise.
7984
7985 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7986
7987         * src/login.c: Log an error if the password entry could not be
7988         found (respect LOG_UNKFAIL_ENAB to avoid logging a password). This
7989         fixes the Debian bug http://bugs.debian.org/451521
7990
7991 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7992
7993         * man/useradd.8.xml: -b documenation: Use the same notation for
7994         the -d argument as in the -d documentation.
7995
7996 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7997
7998         * src/useradd.c: Allow the -b option even without the -D option.
7999
8000 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8001
8002         * src/usermod.c: Use the same error message for the below errors.
8003         (option working ONLY if another is specified).
8004
8005 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8006
8007         * src/usermod.c: Make usermod -o and -u work independently of the
8008         argument order.
8009
8010 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8011
8012         * src/usermod.c: Validate that two of the -L, -p, and -U options
8013         are not used at the same time after the parsing of options. -U
8014         used to be allowed after -p or -L, but not before.
8015
8016 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8017
8018         * src/usermod.c: Make usermod -d and -m work independently of the
8019         argument order. Thanks to Justin Pryzby <jpryzby+d@quoininc.com>
8020         for the patch. This fixes http://bugs.debian.org/451518.
8021
8022 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8023
8024         * NEWS, lib/nscd.c: Execute nscd -i instead of using the private
8025         glibc socket to flush the nscd tables. This comes from the RedHat
8026         patch shadow-4.0.16-nscd.c.
8027         * lib/commonio.c: Forbid inheritance of the passwd and group files
8028         to the spawed processes (like nscd). This comes from the RedHat
8029         patch shadow-4.0.17-notInheritFd.patch.
8030         * lib/nscd.h: Update header.
8031
8032 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8033
8034         * src/usermod.c (fail_exit): Add static variables pw_locked,
8035         spw_locked, gr_locked, and sgr_locked to indicate which files must
8036         be unlocked.
8037         * src/usermod.c (open_files, close_files): Open and close the
8038         group files as well as the passwd files. This permit to check if
8039         the group files modification are allowed before writing the passwd
8040         files.
8041         * src/usermod.c (grp_update, update_gshadow, update_group): Do not
8042         return a status code, but call fail_exit() in case of error. The
8043         group files are no more opened and closed in update_gshadow() and
8044         update_group().
8045         * src/usermod.c (main): move the call to grp_update between
8046         open_files and close_files.
8047         * src/usermod.c: Differentiate failure to add a group entry and
8048         failure to add a shadow group entry.
8049
8050 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8051
8052         * src/userdel.c: Differentiate failure to update a group entry and
8053         failure to update a shadow group entry.
8054
8055 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8056
8057         * src/userdel.c, src/usermod.c, src/useradd.c: Inform the user if
8058         out of memory while updating a group database.
8059
8060 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8061
8062         * NEWS, src/usermod.c: Update the group database before flushing
8063         the nscd caches.
8064
8065 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8066
8067         * NEWS, src/userdel.c: Abort if an error is found while updating the
8068         user or group database. No changes will be written in the
8069         databases.
8070
8071 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8072
8073         * src/useradd.c: It is no more needed to check that the user's
8074         groups are specified only once in the group file. This is checked
8075         by gr_update().
8076
8077 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
8078
8079         * lib/commonio.c (next_entry_by_name): New function.
8080         * NEWS, lib/commonio.c (commonio_update): When an entry is updated, make
8081         sure that there are no other entry with the same name. This fixes
8082         an infinite loop in userdel and usermod when an (erroneous) group
8083         file contains two entries with the same name.
8084         (https://bugzilla.redhat.com/show_bug.cgi?id=240915)
8085
8086 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
8087
8088         * libmisc/salt.c: Make sure the salt string is terminated at the
8089         right place (either 8th, or 11th position).
8090         * NEWS, src/chgpasswd.c, src/chpasswd.c: The protocol + salt does
8091         not need 15 chars. No need for a temporary buffer.
8092         This change the fix committed on 2007-11-10. The salt provided to
8093         pw_encrypt could have been too long.
8094
8095 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
8096
8097         * man/fr/fr.po: Fix typo: missing / in <placeholder-1/>. This
8098         caused the gpasswd title to be incomplete in the French manpage.
8099
8100 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
8101
8102         * configure.in: Check if the l64a function exists instead of a64l
8103         which we do not use.
8104         * libmisc/salt.c: Add support for uClibc with no l64a().
8105
8106 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
8107
8108         * configure.in: Check if the netdb.h header file and the innetgr
8109         function exist.
8110         * src/login_nopam.c, NEWS: Add support for systems with no
8111         innetgr().  On those systems, username with an @ will be treated
8112         like any other username (i.e. lookup in the local database for an
8113         user with an @). Thanks to Mike Frysinger for the patch.
8114
8115 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
8116
8117         * src/useradd.c: Indentation fix.
8118
8119 2007-11-14  Nicolas François  <nicolas.francois@centraliens.net>
8120
8121         * src/newgrp.c, NEWS: Declare the child and pid variable at the
8122         beginning of a block. This fixes a compilation issue with gcc 2.95.
8123         The intent is the same as Gentoo's patch shadow-4.0.12-gcc2.patch.
8124
8125 2007-11-14  Nicolas François  <nicolas.francois@centraliens.net>
8126
8127         * src/Makefile, NEWS: Add a suidperms variable. This should ease
8128         the change of permission of suid binaries for distributors (not
8129         recommended).
8130
8131 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
8132
8133         * ./, libmisc/, src/, contrib/, doc/, lib/, man/, man/sv/,
8134         man/de/, man/ja/, man/fi/, man/pt_BR/, man/fr/, man/pl/, man/hu/,
8135         man/tr/, man/ru/, man/zh_TW/, man/id/, man/zh_CN/, man/cs/,
8136         man/es/, man/ko/, man/it/, etc/, etc/pam.d/, po/: Restore the
8137         ignore patterns from the previous repository.
8138
8139         * libmisc/*.c, libmisc/*.h, libmisc/getdate.y, shadow.spec.in,
8140         src/*.c, contrib/groupmems.shar, contrib/pwdauth.c,
8141         doc/README.platforms, doc/WISHLIST, doc/console.c.spec.txt,
8142         lib/*.c, lib/*.h, COPYING, man/*.xml, man/sv/*.[1358],
8143         man/de/*.[1358], man/ja/*.[1358], man/fi/*.[1358],
8144         man/fr/*.[1358], man/pt_BR/*.[1358], man/pl/*.[1358],
8145         man/hu/*.[1358], man/tr/*.[1358], man/ru/*.[1358],
8146         man/zh_TW/*.[1358], man/id/*.[1358], man/zh_CN/*.[1358],
8147         man/cs/*.[1358], man/es/*.[1358], man/ko/*.[1358],
8148         man/it/*.[1358], etc/login.access, etc/login.defs, NEWS: Added the
8149         subversion svn:keywords property (Id) for proper identification.
8150
8151 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
8152
8153         * man/sv/sv.po, man/de/de.po, man/fr/fr.po, man/pl/pl.po,
8154         man/ru/ru.po, man/it/it.po: Run "make update-po" in the man
8155         directory.
8156
8157         * po/ne.po, po/bs.po, po/cs.po, po/pt_BR.po, po/km.po, po/es.po,
8158         po/eu.po, po/ko.po, po/hu.po, po/sk.po, po/vi.po, po/uk.po,
8159         po/ro.po, po/sq.po, po/ru.po, po/id.po, po/nb.po, po/el.po,
8160         po/gl.po, po/fr.po, po/nl.po, po/pl.po, po/nn.po, po/it.po,
8161         po/dz.po, po/tl.po, po/pt.po, po/ca.po, po/da.po, po/tr.po,
8162         po/sv.po, po/de.po, po/ja.po, po/zh_TW.po, po/he.po, po/fi.po,
8163         po/zh_CN.po: Run "make update-po" in the po directory.
8164
8165 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
8166
8167         * NEWS, src/newgrp.c: Don't ask for a password if there are no
8168         group passwords. Just directly give up. This comes from the
8169         Fedora's patch shadow-4.0.13-newgrpPwd.patch, and seems to be the
8170         only part with an effect.
8171
8172 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
8173
8174         * NEWS, src/chgpasswd.c, src/chpasswd.c: Fix chpasswd and
8175         chgpasswd stack overflow. Based on Fedora's
8176         shadow-4.0.18.1-overflow.patch.
8177
8178 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
8179
8180         * NEWS, src/useradd.c: Allow non numerical group identifier to be
8181         specified with useradd's -g option. Applied Debian patch
8182         397_non_numerical_identifier. Thanks also to Greg Schafer
8183         <gschafer@zip.com.au>.
8184
8185 2007-10-28  Nicolas François  <nicolas.francois@centraliens.net>
8186
8187         * configure.in: Prepare the next release: 4.0.18.2. The gettext
8188         version used for the configuration will be 0.16.
8189
8190 2007-10-28  Nicolas François  <nicolas.francois@centraliens.net>
8191
8192         * po/ja.po: Remove a plural form. nplurals=1 for japanese.
8193         Moreover, msgstr[0] was identical to msgstr[1].
8194
8195 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
8196
8197         * libmisc/limits.c, man/limits.5.xml, etc/limits: Apply patch sent
8198         by Justin Bronder <jsbronder@gmail.com>. See Debian bug #442334.
8199         This adds support to 2 new resource limits: max nice value, and
8200         max real time priority. This is only used when shadow is not
8201         compiled with PAM support.
8202
8203 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
8204
8205         * man/gpasswd.1.xml: Describe the options separately in the
8206         OPTIONS section. Simplify the synopsis.
8207
8208 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
8209
8210         * README, po/Makevars: Update contact information.
8211
8212 2007-10-27  Christian Perrier  <bubulle@debian.org
8213
8214         * src/newgrp.c, src/passwd.c, src/su.c:
8215         No longer 'apologize' to users when they use incorrect passwords
8216         Remove "Sorry" from programs display
8217         Imported from Debian's patch 413_no-sorry-in-passwd and
8218         102_de-fix-sorry
8219         * man/fr/fr.po: fix translation errors. Imported from Debian's
8220         patch 201_fix_man_su_fr and 416_man-fr_newgrp
8221         * man/it/it.po, man/Makefile.am, man/it/Makefile.am:
8222         Use gettext for the Italian man pages translation. Imported from
8223         Debian's patch 202_it_man_uses_gettext. Thanks to Giuseppe
8224         Sacco who contributed the Italian translation.
8225         * man/de/de.po: (nearly) complete German translation of man pages
8226         Imported from Debian's patch 203_de-man-update. Thanks to 
8227         Simon Brandmair
8228         * src/usermod.c: Clarify the online help of usermod for "-a"
8229         Imported from Debian's patch 402-clarify_usermod_usage
8230         * man/shadow.5.xml: fix spelling error. Imported from Debian's
8231         patch 433_shadow.5-typo_312430
8232         * src/su.c: Be up front on the origin of su and mention the GNU
8233         origin. Imported from Debian's patch 438_su_GNU_origin
8234
8235 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
8236
8237         * NEWS, po/zh_CN.po: Updated Chinese translation. Imported from
8238         Debian's patch 105_zh_CN. Thanks to Ming Hua for the update.
8239
8240 2007-10-13  Tommi Vainikainen  <thv+debian@iki.fi>
8241
8242         * NEWS, po/fi.po: Updated Finish translation (400t).
8243
8244 2007-10-13  Nicolas François  <nicolas.francois@centraliens.net>
8245
8246         * NEWS, src/su.c: If compiled without PAM support, enforce the
8247         limits from /etc/limits when one of the -, -l, or --login options
8248         is set, even if called by root. Thanks to Justin Bronder.
8249
8250 2007-10-07  Nicolas François  <nicolas.francois@centraliens.net>
8251
8252         * NEWS, Changelog: Convert the Changelog and NEWS files to UTF-8
8253         (it was partially ISO-8859-2).
8254
8255 2007-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8256
8257         * 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:
8258         groupadd.8, groupmod.8, login.1, useradd.8, userdel.8, usermod.8: grammar
8259         mistakes and other correctstions (by Schulenberg <bensberg@justemail.net>).
8260
8261 2007-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8262
8263         * NEWS, src/usermod.c:
8264         fixed handle -a option in usermod (by Benno Schulenberg <bensberg@justemail.net>).
8265
8266 2006-12-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8267
8268         * man/sv/sv.po:
8269         more UTF8 fixe (by Mikael Magnusson <mikma@users.sourceforge.net>).
8270
8271         * man/sv/sv.po:
8272         UTF8 fixes (by Mikael Magnusson <mikma@users.sourceforge.net>).
8273
8274 2006-11-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8275
8276         * man/pl/Makefile.am, man/pl/chgpassw.8, man/pl/chpasswd.8, man/pl/pl.po:
8277         translation chpasswd.8 and chgpassw.8 finished.
8278
8279 2006-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8280
8281         * man/pl/pl.po: resolve fuzzy entries.
8282
8283         * 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:
8284         spelling fixes 's/super user/superuser/' (by Benno Schulenberg <bensberg@justemail.net>).
8285
8286         * man/sv/sv.po, man/de/de.po, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po:
8287         run "make update-po".
8288
8289         * man/newusers.8.xml, man/su.1.xml:
8290         fixed wrong word, a few typos, some grammar mistakes, and puts in a comma here
8291         and there for clarity (by Benno Schulenberg <bensberg@justemail.net>).
8292
8293         * man/pl/groupmod.8, man/pl/chage.1, man/pl/chsh.1, man/pl/lastlog.8, man/pl/vipw.8:
8294         regenerated.
8295
8296         * man/de/de.po: run "make update-po".
8297
8298         * man/Makefile.am:
8299         added de to LINGUAS but man/de/de.po still need many work.
8300
8301 2006-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
8302
8303         * src/useradd.c: indent code.
8304
8305         * NEWS, src/useradd.c:
8306         improved auditing support (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211659).
8307
8308 2006-11-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
8309
8310         * 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:
8311         run "make update-po".
8312
8313         * NEWS, po/nl.po:
8314         updated (by cobaco (aka Bart Cornelis) <cobaco@skolelinux.no>).
8315
8316         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po:
8317         "make update-po".
8318
8319 2006-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
8320
8321         * man/su.1.xml:
8322         added sg(1) to the SEE ALSO section (Debian Bug#396690).
8323
8324 2006-10-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8325
8326         * man/newusers.8.xml: clarify pw_gid fileld content description.
8327
8328         * man/it/Makefile.am, man/sv/Makefile.am:
8329         s/man_nonpam/man_nopam/ (merged 498_man_nonpam_undefined Debian patch).
8330
8331         * po/nl.po:
8332         fixed https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212892
8333
8334 2006-10-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8335
8336         * man/newusers.8.xml: there is no pw_age fileld in passwd.
8337
8338         * man/fr/fr.po:
8339         Fix an error in the passwd.1 French translation (fixed Debian bug #395537).
8340
8341         * 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:
8342         cleanups on begin DESCRIPTION section.
8343
8344         * man/pl/pl.po: typos.
8345
8346 2006-10-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8347
8348         * po/pl.po: cleanups.
8349
8350 2006-10-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8351
8352         * man/pl/pl.po: more translations.
8353
8354         * NEWS:
8355         UTF-8 corrections (by Benno Schulenberg <bensberg@justemail.net>).
8356
8357 2006-10-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8358
8359         * man/groupdel.8.xml: added description for exit code 6.
8360
8361 2006-08-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8362
8363         * man/de/de.po: copy & paste some msgid to msgstr.
8364
8365         * man/de/de.po:
8366         kill some fuzzy (by Nicolas François <nicolas.francois@centraliens.net>).
8367
8368 2006-08-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8369
8370         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po, man/passwd.1.xml:
8371         s/change password/password change/ in passwd(1) (by Simon Brandmair <sbrandmair@gmx.net>).
8372
8373         * man/de/de.po:
8374         initial version based on partial translations only for passwd(1) by
8375         Simon Brandmair <sbrandmair@gmx.net>.
8376
8377         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/useradd.c, src/userdel.c, src/usermod.c:
8378         flush nscd cashes after close /etc/{group,passwd} files.
8379
8380 2006-08-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
8381
8382         * po/tl.po: updated (by Eric Pareja <xenos@upm.edu.ph>).
8383
8384 2006-08-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8385
8386         * NEWS, po/ja.po: updated (by Takeo Nakano <nakano@webmasters.gr.jp>).
8387
8388 2006-08-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
8389
8390         * man/fr/Makefile.am:
8391         removed whitespaces following trailing backslashes.
8392
8393         * NEWS, configure.in: release 4.0.18.1.
8394
8395         * 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:
8396         fixed missing man pages in dist tar ball necessary on build when PAM is disabled.
8397
8398         * NEWS, src/groupmems.c:
8399         fixed groupmems compilation when PAM is disabled (by Johannes Winkelmann <jw@smts.ch>).
8400
8401         * configure.in:
8402         typo s/followig/following/ (by Johannes Winkelmann <jw@smts.ch>).
8403
8404 2006-08-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8405
8406         * NEWS: release date corrected.
8407
8408         * NEWS, src/su.c:
8409         fixed set enviroment too early when using PAM, so move it to !USE_PAM
8410         (patch submitted by Mike Frysinger <vapier@gentoo.org>).
8411
8412 2006-07-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8413
8414         * 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:
8415         fr man pages are now up to date.
8416
8417         * man/fr/fr.po:
8418         more updates for 4.0.18 (by Nicolas François <nicolas.francois@centraliens.net>).
8419
8420         * man/fr/fr.po:
8421         updated for 4.0.18 (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8422
8423 2006-07-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8424
8425         * 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:
8426         updated.
8427
8428         * src/useradd.c, src/usermod.c:
8429         fixed UID/GID overflow (fixed http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920).
8430         Fixed expiredate/inactive/mindays/warndays/maxdays overflow (simillar to RH#198920).
8431
8432         * src/passwd.c:
8433         fixed inactive/mindays/warndays/maxdays overflow (similar to RH#198920).
8434
8435         * src/groupadd.c, src/groupmod.c:
8436         fixed GID overflow (fixed http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920).
8437
8438 2006-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
8439
8440         * src/.cvsignore: groupmems added.
8441
8442 2006-07-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8443
8444         * po/fr.po:
8445         updated for 4.0.18 (by ean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8446
8447         * po/uk.po: break lines longer than 80 cols and add missing \n.
8448
8449         * po/uk.po:
8450         updated for 4.0.18 (by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>).
8451
8452         * man/pl/pl.po, man/ru/ru.po, man/sv/sv.po, man/chgpasswd.8.xml, man/chpasswd.8.xml, man/fr/fr.po:
8453         s/instead DES/instead of DES/
8454
8455         * NEWS: sv man pages are partially translated.
8456
8457 2006-07-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8458
8459         * src/groupmems.c: fix compilation warnings.
8460
8461         * po/ko.po: use \t.
8462
8463         * po/nl.po: break lines longer than 80 cols and add missing \n.
8464
8465 2006-07-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8466
8467         * man/ru/faillog.5: regenerated.
8468
8469         * po/ko.po: updated for 4.0.18 (by Changwoo Ryu <cwryu@debian.org>).
8470
8471 2006-07-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8472
8473         * man/faillog.5.xml, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po:
8474         added <refmiscinfo class="sectdesc"> tag for faillog.5.xml.
8475
8476         * man/sv/Attic/grupper.1: removed.
8477
8478         * 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:
8479         corrected text charset and other minor cleanups (by Daniel Nylander <info@danielnylander.se>).
8480
8481         * po/tr.po: break lines longer than 80 cols.
8482
8483         * po/tr.po:
8484         updated for 4.0.18 (by Mehmet TURKER <mturker@innova.com.tr>).
8485
8486         * configure.in, man/Makefile.am, man/sv/Makefile.am:
8487         fixes for "make {dist|distchec}" and sv man pages.
8488
8489         * 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:
8490         full sv man pages set added (by Daniel Nylander <info@danielnylander.se>).
8491         This man pages are translated using new XML/xml2po/gettext infrastructure.
8492
8493         * po/pl.po: updated for 4.0.18.
8494
8495 2006-07-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8496
8497         * po/pt.po:
8498         updated for 4.0.18 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8499
8500         * po/gl.po, NEWS:
8501         updated for 4.0.18 (by Jacobo Tarrio <jacobo@tarrio.org>).
8502
8503         * NEWS, po/eu.po:
8504         updated for 4.0.18 (by Piarres Beobide <pi@beobide.net>).
8505
8506         * 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:
8507         updated for 4.0.18 (by Yuri Kozlov <kozlov.y@gmail.com>).
8508
8509         * po/vi.po, NEWS:
8510         updated for 4.0.18 (by Clytie Siddall <clytie@riverland.net.au>).
8511
8512         * NEWS, po/cs.po:
8513         updated for 4.0.18 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8514
8515         * NEWS, po/sv.po:
8516         updated for 4.0.18 (by Daniel Nylander <info@danielnylander.se>).
8517
8518         * NEWS, po/ca.po:
8519         updated for 4.0.18 (by Guillem Jover <guillem@debian.org>).
8520
8521 2006-07-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
8522
8523         * po/hu.po: cleanups.
8524
8525         * NEWS, po/da.po:
8526         updated for 4.0.18 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8527
8528         * po/hu.po, NEWS: updated for 4.0.18 (by SZERVÁC Attila <sas@321.hu>).
8529
8530         * NEWS: typos.
8531
8532         * man/ru/ru.po, man/fr/fr.po, man/pl/pl.po: run "make update-po".
8533
8534         * man/su.1.xml: fixes in <refsynopsisdiv>.
8535
8536         * src/groupmems.c: indent soutrce code.
8537
8538         * src/groupmems.c: use shadow Copyright.
8539
8540         * 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:
8541         added src/groupmems.c to POTFILES.in.
8542
8543         * NEWS, etc/pam.d/Makefile.am, etc/pam.d/groupmems, man/Makefile.am, man/groupmems.8.xml, src/Makefile.am, src/groupmems.c:
8544         groupmems rewrited for use PAM and getopt_long() nad now it is enabled
8545         for build and install (patch by George Kraft <gk4@swbell.net>).
8546
8547         * NEWS, configure.in: start prepare for 4.0.18.
8548
8549 2006-07-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
8550
8551         * 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:
8552         run "make update-po" and some cleanups (added missing \n and use tabs instead spaces).
8553
8554         * src/su.c: s#[login]#[LOGIN]# in help message.
8555
8556         * man/useradd.8.xml:
8557         added missing --<foo> long options names in "Changing the default values" section.
8558
8559         * po/tr.po: updated (by Murat Şenel <muratasenel@gmail.com>).
8560
8561 2006-07-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8562
8563         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.
8564
8565         * man/useradd.8.xml: added newusers(8) to SEE ALSO section.
8566
8567         * etc/login.defs:
8568         removed GETPASS_ASTERISKS (patch by Mike Frysinger <vapier@gentoo.org>).
8569
8570 2006-07-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8571
8572         * NEWS, man/pl/chsh.1, man/pl/pl.po: pl chage(1): translation finished.
8573
8574         * NEWS:
8575         s#fix by Mike Frysinger <vapier@gentoo.org>)#(patch by Ulrich Mueller <ulm@kph.uni-mainz.de>; http://bugs.gentoo.org/139966#
8576
8577         * NEWS, configure.in:
8578         S/Key: removed assign getpass() to libshadow_getpass() on autoconf level
8579         (fix by Mike Frysinger <vapier@gentoo.org>).
8580
8581 2006-07-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
8582
8583         * man/vipw.8.xml: make options <replaceable> in SYNOPSIS.
8584
8585         * 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:
8586         s/group/GROUP/ in groupadd help message.
8587
8588         * src/su.c (main):
8589         move **envcp declaration to #ifdef USE_PAM (fixed warning about unused
8590         variable when shadow is builded with PAM didabled).
8591
8592         * man/pl/pl.po, NEWS, man/pl/chage.1: pl chage(1) translation finished.
8593
8594         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.
8595
8596         * man/chsh.1.xml: updated after rewrite chsh for use getopt_long().
8597
8598         * po/pl.po: kill fuzzy.
8599
8600 2006-07-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8601
8602         * 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:
8603         one \t more in help message.
8604
8605         * 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:
8606         updated.
8607
8608         * NEWS, src/chsh.c: chsh rewrited for use getopt_long().
8609
8610 2006-07-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8611
8612         * man/pl/groupmod.8, man/pl/pl.po: finish translation groupmod(8).
8613
8614         * man/fr/fr.po, man/groupmod.8.xml, man/pl/groupmod.8, man/pl/pl.po, man/ru/ru.po:
8615         cleanups in groupmod(8).
8616
8617         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml, src/usermod.c, NEWS:
8618         back to previouse usermod -a option sematics and clarify -a behavior
8619         on documentation level (by Greg Schafer <gschafer@zip.com.au>).
8620
8621         * man/fr/fr.po, man/groupmod.8.xml, man/pl/pl.po, man/ru/ru.po:
8622         updated groupmod man page.
8623
8624 2006-07-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8625
8626         * src/groupmod.c: too many \t in help message.
8627
8628         * 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:
8629         updated.
8630
8631         * 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:
8632         run "make update-po".
8633
8634         * src/groupmod.c: cleunps in help message.
8635
8636         * src/chage.c: s/user/\[LOGIN\]/ in help message.
8637
8638         * src/passwd.c: s/\[login\]/\[LOGIN\]/ in help message.
8639
8640         * NEWS, src/groupmod.c: groupmod rewrited for use getopt_log().
8641
8642 2006-07-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
8643
8644         * po/sv.po:
8645         added missing \n in help messages and few other minor cleanups.
8646
8647         * NEWS, po/sv.po:
8648         updated for 4.0.17 (by Daniel Nylander <info@danielnylander.se>).
8649
8650         * NEWS: 4.0.17 release date i 10-07-2006.
8651
8652         * NEWS, libmisc/copydir.c:
8653         fixed segfault usermod/userdel on remove home directory when it can't
8654         be removed; for example when it is /dev/null (fixed http://bugs.gentoo.org/139148).
8655
8656         * src/login.c, src/logoutd.c, src/userdel.c, libmisc/limits.c:
8657         remove USER_PROCESS conditionsi (code simplifications).
8658
8659 2006-07-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8660
8661         * po/km.po: kill all fuzzy (Sokhem <khoemsokhem@khmeros.info>).
8662
8663 2006-07-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8664
8665         * po/de.po: kill fuzzy (by Holger Wansing <linux@wansing-online.de>).
8666
8667 2006-07-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8668
8669         * man/Makefile.am: removed duplicated all target.
8670
8671         * NEWS, po/LINGUAS, po/ne.po:
8672         new Nepali translation (by Paras Pradhan <pradhanparas@gmail.com>).
8673
8674         * NEWS, po/LINGUAS, po/dz.po: new Dzongkha translation.
8675
8676         * NEWS, po/de.po:
8677         updated for 4.0.17 (by Holger Wansing <linux@wansing-online.de>).
8678
8679         * NEWS, po/nl.po:
8680         updated for 4.0.17 (by "cobaco (aka Bart Cornelis)" <cobaco@skolelinux.no>)
8681
8682 2006-06-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
8683
8684         * po/ko.po: cleanups (by darehanl <darehanl@gmail.com>).
8685
8686         * src/usermod.c: fixes in getopt_long() optstring: s/a/a:/ and added h.
8687
8688         * src/faillog.c:
8689         fixed long_options[] entries: s/no_argument/required_argument/ for lock-secs,
8690         maximum, time and user options.
8691
8692         * NEWS, configure.in:
8693         improved SELinux detection on autoconf level (based on patch by
8694         Dan Yefimov <dan@D00M.lightwave.net.ru>).
8695
8696         * po/ro.po, NEWS:
8697         updated for 4.0.17 (by Sorin Batariuc <sorin@bonbon.net>).
8698
8699 2006-06-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8700
8701         * NEWS: cleanups.
8702
8703         * man/pl/pl.po: more translations for chage(1).
8704
8705         * TODO: remove done things.
8706
8707         * NEWS, lib/Attic/getpass.c, lib/Makefile.am, lib/getdef.c, lib/pwauth.c, po/POTFILES.in:
8708         removed using private implementatuon getpass() libc function (now getpass() is
8709         used also when S/KEY support is enabled).
8710
8711         * NEWS, src/Makefile.am: move nologin do $(sbindir).
8712
8713         * man/pl/pl.po: more work.
8714
8715         * man/pl/pl.po: more translations.
8716
8717         * po/pl.po: s/KEY=VALUE/KLUCZ=WARTOŚĆ/
8718
8719         * po/pl.po: s/SEC/SEK/
8720
8721         * src/chpasswd.c: added missing #include "exitcodes.h".
8722
8723         * src/chpasswd.c: s/exit (1)/exit (E_USAGE)/
8724
8725         * man/Makefile.am:
8726         move all current i18n man pages automation inside "if ENABLE_REGENERATE_MAN .. endif".
8727
8728         * man/Makefile.am:
8729         add an error message so people don't have to go digging through
8730         source to find out what's up (by Mike Frysinger <vapier@gentoo.org>).
8731
8732         * 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:
8733         updated ru man pages (regenerated from man/ru/ru.po -> man/ru/*xml -> roff).
8734
8735         * NEWS, po/ru.po:
8736         updated for 4.0.17 (by Yuri Kozlov <kozlov.y@gmail.com>).
8737
8738         * NEWS, po/LINGUAS, po/km.po:
8739         new km translation (Sokhem <khoemsokhem@khmeros.info>).
8740
8741         * 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:
8742         cleanups in groupadd help message.
8743
8744         * NEWS, po/nb.po:
8745         updated for 4.0.17 (by Bjørn Steensrud <bjornst@powertech.no>).
8746
8747         * NEWS, po/da.po:
8748         updated for 4.0.17 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8749
8750         * po/pl.po:
8751         s/twóş/twĂłrz/ (fix by Michał Łomnicki <michal.lomnicki@gmail.com>).
8752
8753         * NEWS, po/pt.po:
8754         updated for 4.0.17 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8755
8756         * NEWS, po/vi.po:
8757         updated for 4.0.17 (by Clytie Siddall <clytie@riverland.net.au>).
8758
8759         * NEWS, po/cs.po:
8760         updated for 4.0.17 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8761
8762         * po/eu.po, po/fr.po, po/gl.po, po/pl.po:
8763         Project-Id-Version: shadow 4.0.17
8764
8765         * NEWS, po/sk.po:
8766         updated for 4.0.17 (by Peter Mann <Peter.Mann@tuke.sk>).
8767
8768         * NEWS, po/ko.po:
8769         updated for 4.0.17 (by Changwoo Ryu <cwryu@debian.org>).
8770
8771 2006-06-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8772
8773         * NEWS, configure.in: schedule release 40.17 on 26-06-2006.
8774
8775         * src/useradd.c:
8776         adjust last fix for leave some fix mail spool creation after rewrite internal
8777         configuration API.
8778
8779         * src/useradd.c, NEWS:
8780         fixed mail spool file creation (bug cached by Frans Pop <elendil@planet.nl>,
8781         fixed http://bugs.debian.org/374705).
8782
8783 2006-06-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8784
8785         * 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:
8786         better looking help messages output. Added one empty line at end of help message.
8787
8788         * po/ru.po, po/sk.po, po/sv.po, po/tl.po, po/uk.po, po/ro.po, po/pt_BR.po:
8789         break help messages lines before col 80.
8790
8791         * man/pl/pl.po: more work on usermod.
8792
8793         * po/pl.po: cleanups.
8794
8795 2006-06-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8796
8797         * man/pl/vipw.8:
8798         regenerated using fixed DocBook XSL Stylesheets v1.70.1 (I must submit my
8799         fixes common/pl.xml do DocBook XSL Stylesheets mantainer).
8800
8801         * man/fr/fr.po, man/ru/ru.po: updated.
8802
8803         * man/pl/lastlog.8, man/pl/pl.po: finish translate lastlog(8).
8804
8805         * man/lastlog.8.xml: improved NOTE section content.
8806
8807         * po/pl.po: iprove lastlog help message.
8808
8809         * man/fr/fr.po, man/lastlog.8.xml, man/pl/pl.po, man/ru/ru.po:
8810         Better lastlog short description. Now it is:
8811         lastlog - reports the most recent login of all users or of a given user
8812
8813         * man/Makefile.am, man/fr/fr.po, man/lastlog.8.xml, man/pl/pl.po, man/ru/ru.po:
8814         Fixed CAVEATS section (what the hell is mmdf ? :)
8815
8816         * man/ru/ru.po, NEWS, man/faillog.5.xml, man/fr/fr.po, man/pl/pl.po:
8817         added missing information about fail_locktime element of faillog struct
8818         in faillog(5) man page (by Thorsten Kukuk <kukuk@suse.de>).
8819
8820 2006-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8821
8822         * 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:
8823         fully regenerated man pages.
8824
8825         * man/Makefile.am:
8826         hack for generate translated xml files with lang="<lang> in <refentry> tag.
8827         Now is possible testing correctnes of XSLT sheets languages definition.
8828
8829 2006-06-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8830
8831         * NEWS, po/eu.po: updated (by Piarres Beobide <pi@beobide.net>).
8832
8833 2006-06-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8834
8835         * 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:
8836         s/ \\n"/\\n"/ in translated strings.
8837
8838         * man/pl/pl.po: more translations for usermod.
8839
8840         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml:
8841         added <command> tags for at and crontab.
8842
8843         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml:
8844         remove /etc/login.defs from FILES section.
8845
8846         * po/gl.po: updated (by Jacobo Tarrio <jtarrio@trasno.net>).
8847
8848         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
8849
8850         * po/pl.po:
8851         updated usermod help message and fixed few other things introduced during
8852         copy&paset from useradd help message.
8853
8854         * 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:
8855         fixes in help message:
8856         s/login/LOGIN/
8857         s/new login directory/new home directory/
8858         s/new initial login group/new primary group/
8859         s/tlist of supplementary/new tlist of supplementary/
8860         s/LOGIN/NEW_LOGIN/
8861
8862         * 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:
8863         cleanups in usermod help message.
8864
8865         * po/es.po, po/eu.po, po/fi.po, po/tl.po: cleanups.
8866
8867         * 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:
8868         s/\\\t /\\\t/
8869
8870 2006-06-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8871
8872         * NEWS, configure.in, man/Makefile.am:
8873         reverte using docbook.sourceforge.net in XSLT url.
8874
8875         * po/pl.po: cleanups.
8876
8877 2006-06-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8878
8879         * man/Makefile.am:
8880         improved gen-xmls target: now this target generates only missing xml files.
8881
8882 2006-06-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
8883
8884         * NEWS, po/sk.po:
8885         updated for 4.0.16 (by Peter Mann <Peter.Mann@tuke.sk>).
8886
8887         * NEWS, po/es.po:
8888         updated for 4.0.16 (by Ruben Porras <nahoo82@gmail.com>).
8889
8890         * NEWS, po/fi.po:
8891         updated for 4.0.16 (by Tommi Vainikainen <thv+debian@iki.fi>).
8892
8893         * NEWS, man/cs/Makefile.am, man/cs/groupmems.8, man/cs/groupmod.8, man/cs/grpck.8, man/cs/gshadow.5:
8894         new cs man pages: groupmems(8), groupmod(8), grpck(8), gshadow(5)
8895         (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8896
8897         * NEWS, po/cs.po:
8898         updated for 4.0.16 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8899
8900 2006-06-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8901
8902         * NEWS, configure.in, man/Makefile.am:
8903         regenerate roff man pages using docbook-style-xsl-1.70.1.
8904         This version uses new base URL: http://docbook.sf.net/release/xsl/current/
8905
8906         * man/.cvsignore: shadow-man-pages.pot added.
8907
8908         * man/Makefile.am:
8909         added temporary gen-xmls targed and dependencies beetwen .pot and .po files.
8910
8911         * man/chgpasswd.8.xml: removed <!DOCTYPE> tag (isn't neccessary).
8912
8913 2006-05-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
8914
8915         * man/pl/pl.po: chage(1) translation.
8916
8917         * man/pl/Attic/chage.1.xml: removed.
8918
8919         * man/chage.1.xml, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po:
8920         chage requires shadow access and can't work without this.
8921
8922         * po/da.po:
8923         updated for 4.0.16 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8924
8925         * po/pl.po: s/_DAYS/_DNI/
8926
8927 2006-05-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8928
8929         * NEWS: s/OWL/Owl/
8930
8931         * NEWS: new release date for 4.0.16 is 05-06-2006.
8932
8933         * NEWS: fixed last usermod changes comment. Current is:
8934         better fix for old CERT VU#312962 (which was fixed in shadow 4.0.8):
8935         fixed forgoten checking of the return value from fchown() before
8936         proceeding with the fchmod() (based on Owl patch prepared by
8937         Rafal Wojtczuk <nergal@owl.openwall.com>)
8938
8939         * src/useradd.c (create_mail):
8940         move checking create_mail_spool is "yes" on top function.
8941
8942         * man/pl/pl.po: cleanups.
8943
8944         * po/fr.po:
8945         plugged fuzzy (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8946
8947         * po/fr.po:
8948         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8949
8950 2006-05-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
8951
8952         * man/Makefile.am:
8953         simplifications in update-po target and fixes in dist-po-files target.
8954
8955         * NEWS, po/eu.po:
8956         updated for 4.0.16 (by Piarres Beobide <pi@beobide.net>).
8957
8958 2006-05-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8959
8960         * 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:
8961         bunch of cleanups in chfn(1), faillog(8), gpasswd(1), groupadd(8),
8962         groupmems(8), limits(5), login(1), login.defs(5), newgrp(1), passwd(1),
8963         passwd(5) and su(1) (by Yuri Kozlov <kozlov.y@gmail.com>).
8964
8965         * man/Makefile.am, man/ru/ru.po: added ru to LINGUAS.
8966
8967         * po/ru.po: updated for 4.0.16 (by Yuri Kozlov <kozlov.y@gmail.com>).
8968
8969 2006-05-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
8970
8971         * man/fr/fr.po, man/pl/pl.po, man/chage.1.xml, man/passwd.1.xml:
8972         s/-n/-m/ in passwd(1). Improved -m, --mindays description in chage(1) and passwd(1).
8973         More pl translations.
8974
8975         * po/vi.po: updated (by Clytie Siddall <clytie@riverland.net.au>).
8976
8977         * NEWS, po/hu.po:
8978         updated for 4.0.16 (by Gabor Kelemen <kelemeng@gnome.hu>).
8979
8980 2006-05-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
8981
8982         * man/cs/Makefile.am, man/it/Makefile.am, man/ru/Makefile.am:
8983         id and sulogin executables are not installed by "make install",
8984         but a few translated man pages are still installed.
8985         (patch by Lasse Collin <lasse.collin@tukaani.org>)
8986
8987 2006-05-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8988
8989         * NEWS, po/vi.po:
8990         updates for 4.0.16 (by Clytie Siddall <clytie@riverland.net.au>).
8991
8992         * po/gl.po: updated for 4.0.16 (by Jacobo Tarrio <jtarrio@debian.org>).
8993
8994 2006-05-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8995
8996         * po/pl.po: more cleanups.
8997
8998         * po/fr.po:
8999         updated for 4.0.16 (by Christian Perrier <bubulle@kheops.frmug.org>).
9000
9001         * 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:
9002         use common style in FILES sections.
9003
9004         * 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:
9005         begin <refpurpose> text from lowercase.
9006
9007         * man/fr/fr.po, man/pl/pl.po, man/pwconv.8.xml, man/vipw.8.xml:
9008         remove "." from <refpurpose>.
9009
9010         * po/pl.po: cleanups.
9011
9012         * po/pl.po: typo.
9013
9014         * 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:
9015         *.xml added.
9016
9017         * 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:
9018         .xml2po.mo added.
9019
9020         * NEWS, man/pl/vipw.8: update pl vipw(8) man page.
9021
9022         * src/useradd.c: s/mailbox/mailbox file/
9023
9024         * man/pl/pl.po: seems vipw finished.
9025
9026         * man/fr/fr.po, man/vipw.8.xml: s/Quiet mode database./Quiet mode./
9027
9028         * man/pl/pl.po: more entries.
9029
9030         * 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:
9031         /mailbox/mailbox file/
9032
9033         * man/pl/pl.po: fill few entries.
9034
9035         * man/Makefile.am: fixes in dist-po-files target.
9036
9037         * man/Makefile.am: pl added to Linguas. Some mprovements.
9038
9039         * man/fr/fr.po:
9040         initial version based on ond version submited by Christian Perrier <bubulle@debian.org>.
9041
9042         * man/pl/pl.po: initial version.
9043
9044         * man/Makefile.am:
9045         implemet update-po target and dist, dist-check hooks for put .po and
9046         .pot files in dist tar ball.
9047
9048         * src/chgpasswd.c:
9049         reverte struct group newgr declaration but use them only conditionaly (#ifndef SHADOWGRP).
9050
9051 2006-05-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
9052
9053         * NEWS, configure.in: schedule release 4.0.16 to 29.05.06.
9054
9055         * po/pl.po: updated.
9056
9057         * 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:
9058         run "make update-po".
9059
9060         * NEWS, src/useradd.c:
9061         fixed userdel CERT VU#312962: fixed forgoten checking of the return
9062         value from fchown() before proceeding with the fchmod() (prepared
9063         based on OWL fix submited by Solar Designer <solar@openwall.com>),
9064         Use in userdel login.defs::MAIL_DIR instead hardcoded /var/mail on created
9065         mailbox path (based on OWL fixes submited by Solar Designer <solar@openwall.com>).
9066
9067 2006-05-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9068
9069         * man/.cvsignore: added *.[1358]
9070
9071         * NEWS, man/ru/Makefile.am, man/ru/chgpasswd.8:
9072         added chgpasswd(8) ru man page (by Yuri Kozlov <kozlov.y@gmail.com>).
9073
9074         * po/gl.po: updated (by Jacobo Tarrio <jtarrio@debian.org>).
9075
9076         * NEWS, man/ru/login.defs.5, man/ru/passwd.1, man/ru/userdel.8, man/ru/usermod.8:
9077         updated ru login.defs(5), passwd(1), userdel(8), usermod(8) man pages
9078         (by Yuri Kozlov <kozlov.y@gmail.com>).
9079
9080         * NEWS, po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
9081
9082         * NEWS, po/pt.po: updated (by Miguel Figueiredo <elmig@debianpt.org>).
9083
9084 2006-05-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9085
9086         * 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:
9087         pw_auth(3) man page removed (outdated).
9088
9089         * 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:
9090         install limits(5), login.access(5) and porttime(5) man pages only when
9091         shadow is builded with PAM support disabled.
9092
9093         * NEWS: cleanups.
9094
9095         * autogen.sh:
9096         by default in development enviroment use CFLAGS="-O2 -Wall".
9097
9098         * src/chgpasswd.c (main): remove two unused variables (newgr and now).
9099
9100         * src/userdel.c (main): removed unused arg variable.
9101
9102         * libmisc/setupenv.c (setup_env):
9103         move *cp varable to #ifndef PAM part (fixed compilation
9104         warning about unused variable).
9105
9106         * lib/getdef.c: now GETPASS_ASTERISKS is SKEY #define dependent.
9107
9108         * configure.in, NEWS, lib/Attic/getpass.c, lib/pwauth.c:
9109         by default do not use libshadow_getpass() as getpass() replacemement.
9110         Use libshadow_getpass() only when S/KEY support is enabled.
9111         Current glibc getpass() handles correctly longer than 8 characters
9112         passwords and libshadow_getpass() is used only because libc getpass()
9113         do not handles password prompting with echo enabled.
9114
9115         * src/sulogin.c: break long line.
9116
9117         * lib/pwauth.c:
9118         added #include <unistd.h> and remove localy defined getpass() prototype.
9119
9120 2006-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9121
9122         * man/Makefile.am: removed dupplicated sulogin.8.xml from EXTRA_DIST.
9123
9124         * man/Attic/pw_auth.3.xml, man/Makefile.am: remove pw_auth(3) man page.
9125
9126         * NEWS, lib/getdef.c: move login.defs::MD5_CRYPT_ENAB to non-PAM part.
9127
9128         * 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:
9129         typo (s/removel/removal/)
9130
9131 2006-05-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9132
9133         * man/userdel.8.xml:
9134         updated (after add getopt_log() support for userdel).
9135
9136         * po/pl.po: updated.
9137
9138         * 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:
9139         userdel rewrited for use getopt_log().
9140
9141         * po/pl.po: cleanups.
9142
9143         * etc/pam.d/Makefile.am, etc/pam.d/chgpasswd: new file.
9144
9145 2006-05-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9146
9147         * NEWS, po/da.po:
9148         updated (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
9149
9150 2006-05-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9151
9152         * NEWS, po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9153
9154         * NEWS, configure.in, etc/Makefile.am, etc/pam.d/Makefile.am:
9155         install default/template configuration files:
9156         - if shadow is configured with use PAM install /etc/pam.d/* files,
9157         - if shadow do not uses PAM install /etc/{limits,login.acces} files,
9158         - install /etc/login.defs and /etc/default/useradd files.
9159
9160         COMMENT: it is possible to extend this for install above files for specified
9161         distribution. For example: if exist /etc/fedora-release install Fedora specyfic
9162         default configuration files and this files can be distributed in dist tar ball.
9163
9164         * NEWS, po/gl.po: updated (by Jacobo Tarrio <jtarrio@trasno.net>).
9165
9166 2006-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9167
9168         * NEWS, po/fr.po:
9169         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9170
9171         * NEWS, lib/commonio.c:
9172         fixed handle relative symlinks too in lib/commonio.c (merge patch from Fedora).
9173
9174         * NEWS, lib/nscd.c: properly notify nscd to flush its cache
9175         (https://bugzilla.redhat.com/bugzilla/186803).
9176
9177         * NEWS, libmisc/copydir.c (copy_tree):
9178         fixes for verify return values mkdir() and chown()
9179         on copy files (merge 482_libmisc_copydir_check_return_values Debian patch).
9180
9181         * 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:
9182         use '%s' cytation instead `%s'.
9183
9184         * NEWS, src/su.c:
9185         reverte http://bugs.debian.org/276419 (this is Debian specyfic).
9186
9187         * 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:
9188         use '%s' cytation instead \"%s\".
9189
9190         * 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:
9191         typo.
9192
9193         * po/pl.po: updated.
9194
9195         * NEWS, libmisc/setupenv.c (setup_env):
9196         export MAIL only when MAIL_CHECK_ENAB is enabled
9197         (Mike Frysinger <vapier@gentoo.org>).
9198
9199         * 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:
9200         warn when the members of a group differ in /etc/groups and /etc/gshadow
9201         (fixed http://bugs.debian.org/75181).
9202
9203         * NEWS, src/su.c:
9204         concatenate the non-su arguments and provide them to the shell with
9205         the -c option (fixes for http://bugs.debian.org/317264 and
9206         http://bugs.debian.org/276419).
9207
9208 2006-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9209
9210         * NEWS, man/passwd.1.xml:
9211         better document how password strength is checked (fixed http://bugs.debian.org/115380).
9212
9213 2006-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
9214
9215         * NEWS, man/usermod.8.xml:
9216         added missing -a option description (by Christian Perrier <bubulle@debian.org>).
9217
9218 2006-04-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9219
9220         * NEWS, man/hu/chsh.1, man/hu/login.1, man/hu/newgrp.1:
9221         fixed typos (by Koblinger Egmont <egmont@uhulinux.hu>).
9222
9223 2006-04-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9224
9225         * NEWS, po/LINGUAS, po/hu.po:
9226         new hu translation (by SZERVÁC Attila <sas@321.hu>).
9227
9228 2006-04-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9229
9230         * man/userdel.8.xml:
9231         minior fixes for the note under the -f option (Mike Frysinger <vapier@gentoo.org>).
9232
9233 2006-04-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9234
9235         * NEWS, po/id.po: updatd (by Parlin Imanuel <pimanuel@gmail.com>).
9236
9237 2006-04-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9238
9239         * src/su.c: indent code.
9240
9241         * NEWS, src/su.c:
9242         fixed exit with a status 0 when the invoked command is terminated
9243         by a signal which was not catched
9244         (fixed by Eero Häkkinen <eero17@bigfoot.com>)
9245
9246         * README:
9247         simple patch to fixup grammar and Gentoo distfile URL (by Mike Frysinger <vapier@gentoo.org>).
9248
9249 2006-03-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
9250
9251         * 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:
9252         removed <!DOCTYPE> tag (require strict DocBook XML V4.3//EN DTD isn't neccessary).
9253
9254         * NEWS, src/login.c:
9255         cancel login timeout after authentication so that patient people
9256         timing out on network directory services can log in with local
9257         accounts (http://bugs.debian.org/107148).
9258
9259         * man/fr/login.defs.5, man/ja/login.defs.5, man/pl/useradd.8, man/ru/login.defs.5:
9260         remove CREATE_HOME.
9261
9262         * NEWS, man/login.defs.5.xml:
9263         CREATE_HOME is not supported by useradd (patch by Mike Frysinger <vapier@gentoo.org>).
9264
9265 2006-03-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9266
9267         * po/nl.po:
9268         s/wachtwoord is mes succes aangepast/wachtwoord is met succes aangepast/
9269         (typo reported by Wim De Smet <wdesmet@yucom.be>).
9270
9271 2006-03-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
9272
9273         * src/passwd.c:
9274         removed GPASSWD_PROGRAM, CHFN_PROGRAM CHFN_PROGRAM #defines (not used now).
9275
9276         * NEWS, man/Makefile.am, man/chgpasswd.8.xml:
9277         chgpasswd(8): new man page.
9278
9279 2006-03-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9280
9281         * 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:
9282         remove english roff man pages from repo.
9283
9284 2006-03-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
9285
9286         * NEWS, src/chgpasswd.c:
9287         fixes for build correctly with --disable-shadowgrp
9288         (patch by Johannes Winkelmann <jw@tks6.net>)
9289
9290 2006-03-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
9291
9292         * man/pl/chage.1: fixed typo.
9293
9294 2006-03-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9295
9296         * po/it.po:
9297         updated for 4.0.15 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9298
9299 2006-03-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9300
9301         * NEWS, po/nb.po:
9302         updated for 4.0.15 (by Bjørn Steensrud <bjornst@powertech.no>).
9303
9304         * po/pt.po:
9305         updated for 4.0.15 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
9306
9307         * man/Makefile.am, NEWS, configure.in:
9308         do not install translated man pages if shadow is configured with --disable-nls
9309         (based patch submited by Mike Frysinger <vapier@gentoo.org>).
9310
9311         * NEWS, po/pt_BR.po:
9312         updated for 4.0.15 (by Andre Luis Lopes <andrelop@debian.org>).
9313
9314         * po/fr.po:
9315         updated for 4.0.15 (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
9316
9317 2006-03-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9318
9319         * NEWS, configure.in, lib/pwauth.c:
9320         added fixes for detect BSD's S/Key with updated the skeychallenge() function
9321         for take a fourth argument in case BSD version
9322         (patch submited by Mike Frysinger <vapier@gentoo.org>)
9323
9324         * README: added paragragraph about S/Key support.
9325
9326         * po/sk.po: updated for 4.0.15 (by Peter Mann <Peter.Mann@tuke.sk>).
9327
9328         * NEWS: newgrp: do not link with libselinux.
9329
9330         * NEWS, po/zh_CN.po:
9331         updated for 4.0.15 (by Carlos Z.F. Liu <carlosliu@users.sourceforge.net>).
9332
9333         * po/ru.po: updated for 4.0.15 (by Yuri Kozlov <kozlov.y@gmail.com>).
9334
9335         * src/Makefile.am:
9336         removed $(LIBSELINUX) from newgrp_LDADD (newgrp does not need to be linked
9337         with SELinux libraries).
9338
9339         * 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:
9340         ru man pages: added new nologin(8) and updated all other man pages
9341         (by Yuri Kozlov <kozlov.y@gmail.com>).
9342
9343 2006-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9344
9345         * NEWS, po/nl.po:
9346         updated for 4.0.15 (by cobaco (aka Bart Cornelis) <cobaco@linux.be>).
9347
9348         * po/vi.po:
9349         updated for 4.0.15 (by Clytie Siddall <clytie@riverland.net.au>).
9350
9351         * po/sv.po:
9352         updated for 4.0.15 (by Daniel Nylander <po@danielnylander.se>).
9353
9354 2006-03-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9355
9356         * po/eu.po: updated for 4.0.15 (by pi <pi@beobide.net>).
9357
9358         * po/ro.po: cleanups.
9359
9360         * NEWS, po/tl.po:
9361         updated for 4.0.15 (by Eric Pareja <xenos@upm.edu.ph>).
9362
9363         * po/ro.po: updated for 4.0.15 (by Sorin B. <sorin@bonbon.net>).
9364
9365         * NEWS, po/es.po:
9366         updated for 4.0.15 (by Ruben Porras <nahoo82@gmail.com>).
9367
9368 2006-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9369
9370         * NEWS, po/da.po:
9371         updated for 4.0.15 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
9372
9373         * NEWS, man/fi/chsh.1, man/fi/su.1:
9374         update fi chsh(1), su(1) man pages generated from XML files
9375         (Tommi Vainikainen <thv+debian@iki.fi>).
9376
9377         * NEWS, po/fi.po:
9378         updated for 4.0.15 (by Tommi Vainikainen <thv+debian@iki.fi>).
9379
9380         * NEWS, po/cs.po:
9381         updated for 4.0.15 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9382
9383         * 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:
9384         added new cs man pages: expiry(1), faillog(5), faillog(8), gpasswd(1),
9385         groupadd(8), groupdel(8), logoutd(8), nologin(8), vipw(8).
9386
9387         * NEWS: typo.
9388
9389         * src/useradd.c, NEWS, lib/getdef.h, man/Attic/login.defs.5, man/login.defs.5.xml, src/login.c, src/newusers.c:
9390         default UMASK if not specified in login.defs is 022.
9391
9392 2006-03-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9393
9394         * po/pl.po: updated for 4.0.15.
9395
9396         * NEWS, po/gl.po:
9397         updated for 4.0.15 (by Jacobo Tarrio <jtarrio@trasno.net>).
9398
9399         * NEWS, configure.in: schedule release 4.0.15 to 13-03-2006.
9400
9401 2006-03-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9402
9403         * NEWS: typo (s/onas Meurer/Jonas Meurer/)
9404
9405         * src/.cvsignore: added chgpasswd.
9406
9407         * 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:
9408         chgpasswd: new tool (by Jonas Meurer <mejo@debian.org>).
9409
9410         * 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:
9411         s/Unexpected/unexpected/
9412
9413         * 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:
9414         print the usage and exit if an additional argument is profided to
9415         lastlog (merge 488_laslog_verify_arguments Debian patch).
9416
9417 2006-03-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9418
9419         * man/Attic/chpasswd.8, man/chpasswd.8.xml:
9420         fixed CAVEATS section (by Justin Pryzby <justinpryzby@users.sourceforge.net>)
9421
9422 2006-02-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
9423
9424         * man/Attic/passwd.1, man/passwd.1.xml:
9425         fixed SYNOPSIS section (http://bugs.debian.org/352136).
9426
9427 2006-02-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
9428
9429         * po/ro.po: updated (by Sorin Batariuc <sorin@bonbon.net>).
9430
9431 2006-02-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
9432
9433         * NEWS, lib/Makefile.am, src/Makefile.am:
9434         login, nologin, su: do not link with libselinux
9435         (merge 490_link_selinux_only_when_needed Debian patch).
9436
9437         * NEWS, src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c:
9438         fixed confusing error message if /proc is not mounted
9439         (http://bugs.debian.org/352494
9440         patch Nicolas François <nicolas.francois@centraliens.net>)
9441
9442         * po/ro.po:
9443         updated (commited http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347755).
9444
9445         * NEWS, po/ca.po: updated (by Jordi Mallach <jordi@debian.org>).
9446
9447 2006-02-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9448
9449         * man/gpasswd.1.xml, man/passwd.1.xml, man/passwd.5.xml, man/pwck.8.xml, man/sg.1.xml, man/useradd.8.xml:
9450         cleanups.
9451
9452         * po/gl.po: updated (Jacobo Tarrio <jtarrio@trasno.net>).
9453
9454         * NEWS, po/pt.po:
9455         updated (by Miguel Figueiredo <mfigueiredo@gmail.com>).
9456
9457 2006-02-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9458
9459         * NEWS, po/it.po:
9460         update (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9461
9462         * po/vi.po: update (by Clytie Siddall <clytie@riverland.net.au>).
9463
9464         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9465
9466 2006-02-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9467
9468         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9469
9470         * 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:
9471         run "make update-po".
9472
9473         * po/pl.po: updated.
9474
9475         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
9476
9477         * po/eu.po: update (by ^pi^ <pi@beobide.net>).
9478
9479 2006-02-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9480
9481         * NEWS, src/login.c:
9482         merge 433_login_more_LOG_UNKFAIL_ENAB Debian patch:
9483         - TOO MANY LOGIN... logged if PAM_MAXTRIES or failcount >= retries
9484           (was onl test PAM_MAXTRIES),
9485         - print to stderr (in addition to syslog) in case of maximum number of
9486           tries exceeded,
9487         - always prints the number of tries in the syslog entry.
9488         - add special handling for PAM_ABORT
9489         - add an entry to failog, as when USE_PAM is not defined. (#53164)
9490         - changed pam_end to PAM_END. This is certainly was a mistake.
9491           PAM_END is pam_close_seesion + pam_end. Here, the session is still not
9492           open, we don't have to close it.
9493         - a HAVE_PAM_FAIL_DELAY is missing
9494
9495         * po/ro.po: kill one fuzzy.
9496
9497         * po/ro.po, NEWS: updated (by Sorin B. <sorin@bonbon.net>).
9498
9499         * src/gpasswd.c: s/die/catch_signals/
9500
9501         * src/expiry.c, src/sulogin.c: s/catch/catch_signals/
9502
9503         * src/su.c: /su_catch_sig/chatch_signals/
9504
9505 2006-02-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9506
9507         * src/id.c, src/groups.c, libmisc/getdate.y: lint code using CC=g++.
9508
9509         * NEWS, src/su.c:
9510         fixed pam session support (patch from Topi Miettinen; fixed #57526, #55873,
9511         #57532 Debian bugs).
9512
9513         * NEWS:
9514         fixed pam session support (patch from Topi Miettinen; fixed #57526,
9515         #55873, #57532 Debian bugs).
9516
9517         * NEWS, src/userdel.c:
9518         user's group is already removed by update_groups(). remove_group()
9519         is not needed (bug introduced in 4.0.14 on merge FC fixes). Fixed by Nicolas
9520         François <nicolas.francois@centraliens.net>
9521
9522         * NEWS, src/useradd.c: allways remove group and gshadow databases lock,
9523         Fixed by Nicolas François <nicolas.francois@centraliens.net>
9524         (http://bugs.debian.org/348250)
9525
9526         * NEWS, src/userdel.c: fixed excess audit_logger() argument.
9527
9528         * NEWS, lib/prototypes.h:
9529         corrected prototypes in lib/prototypes.h (thre is no audit_help_log(); added
9530         audit_logger() prototype).
9531
9532         * src/login.c: fixed missing ";" in declaration.
9533
9534         * man/Attic/limits.5, man/limits.5.xml:
9535         fixed example limits string (by Yuri Kozlov <kozlov.y@gmail.com>).
9536
9537 2006-02-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9538
9539         * 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:
9540         added missing \n on display password status if password must be chaged.
9541
9542 2006-02-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9543
9544         * src/useradd.c, NEWS:
9545         fixed allow non-unique UID (http://bugs.debian.org/351281).
9546
9547 2006-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9548
9549         * po/cs.po: updated (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9550
9551 2006-01-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9552
9553         * NEWS, po/vi.po:
9554         updated (by Clytie Siddall <clytie@riverland.net.au>).
9555
9556 2006-01-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
9557
9558         * po/fr.po:
9559         typo (fixed by Christian Perrier <bubulle@kheops.frmug.org>).
9560
9561         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
9562
9563 2006-01-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
9564
9565         * 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:
9566         fixes some issues that cause warnings when the manpages are
9567         displayed (by Nicolas François <nicolas.francois@centraliens.net>).
9568
9569 2006-01-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
9570
9571         * NEWS, po/eu.po: updated (by pi <pi@beobide.net>).
9572
9573         * libmisc/addgrps.c, libmisc/xmalloc.c, src/groups.c:
9574         fixes after linting code using CC=g++: cast {m,re}alloc() return value to
9575         proper type.
9576
9577 2006-01-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
9578
9579         * 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:
9580         uniformity and grammar fixes (by Christine Spang <spangarang@twcny.rr.com>).
9581
9582         * NEWS, po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
9583
9584 2006-01-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9585
9586         * po/fr.po, NEWS:
9587         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9588
9589 2006-01-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
9590
9591         * 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:
9592         variouse code cleanups for make possible compilation of shadow with
9593         -Wall -Werror (by Alexander Gattin <xrgtn@yandex.ru>).
9594
9595         * 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:
9596         move exit() outside libmisc/shell.c::shell() for handle shell() errors
9597         on higher level (now is better visable where some programs exit with 126 and
9598         127 exit codes); added new shell() parameter (char *const envp[]) which allow
9599         fix preserving enviloment in su on using -p.
9600         (patch by Alexander Gattin <xrgtn@yandex.ru>)
9601
9602         * NEWS, po/el.po:
9603         updated (by Konstantinos Margaritis <markos@debian.org>).
9604
9605 2006-01-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9606
9607         * lib/exitcodes.h: new #defines:
9608         #define E_CMD_NOEXEC           126     /* can't run command/shell */
9609         #define E_CMD_NOTFOUND         127     /* can't find command/shell to run */
9610
9611 2006-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9612
9613         * man/Attic/passwd.1, man/passwd.1.xml:
9614         fixes after reviewed for grammatical and other small errors that detract from the
9615         polish of the content to native English speakers.
9616         I also went ahead and changed all gender references to be a consistent
9617         "his/her" (or equivalent) - the original had a mix of just "his", just
9618         "her", and occasionally "his/her".
9619         (by Christine Spang <spangarang@twcny.rr.com>).
9620
9621         * po/it.po: updated (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9622
9623 2006-01-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
9624
9625         * NEWS: updated.
9626
9627         * libmisc/shell.c: remove DEBUG code.
9628
9629         * po/LINGUAS, po/gl.po, NEWS:
9630         added new gl translation (by Jacobo Tarrio <jtarrio@trasno.net>).
9631
9632 2006-01-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9633
9634         * po/eu.po: small update (by pi <pi@beobide.net>).
9635
9636 2006-01-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9637
9638         * src/su.c: fixed compilation error.
9639
9640 2006-01-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9641
9642         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>)
9643         http://bugs.debian.org/346449
9644
9645 2006-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9646
9647         * NEWS, man/Attic/useradd.8, man/useradd.8.xml:
9648         better document useradd -d option: will not add the user's home directory
9649         if it does not already exist (http://bugs.debian.org/154996)
9650
9651         * 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:
9652         added handle -c,--command option for GNU su compliance (merge
9653         437_su_-c_option Debian Patch).
9654
9655         * man/Attic/login.1, man/Attic/passwd.1, man/Attic/su.1, man/login.1.xml, man/passwd.1.xml, man/su.1.xml:
9656         man pages cleanups.
9657         (http://bugs.debian.org/341489)
9658
9659         * NEWS, man/Attic/nologin.8, man/Makefile.am, man/nologin.8.xml:
9660         nologin(8) man pages added (merge 478_nologin.8.xml Debian patch).
9661
9662         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>)
9663         http://bugs.debian.org/346376
9664
9665 2006-01-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9666
9667         * po/id.po: updated (by Parlin Imanuel <parlin_i@yahoo.com>)
9668         http://bugs.debian.org/345514
9669
9670         * 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:
9671         added translate login prompt string (suggested by Evgeniy Dushistov).
9672
9673 2006-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9674
9675         * NEWS, configure.in: start work on 4.1.0.
9676
9677         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9678         http://bugs.debian.org/346017
9679
9680 2006-01-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9681
9682         * NEWS: correct 4.0.14 release date (03-01-2006).
9683
9684         * src/Makefile.am: reverte install nologin in sbindir and use usbindir.
9685
9686         * po/POTFILES.in: removed src/chsh_chkshell.c.
9687
9688         * lib/prototypes.h: remove grdbm.c prototypes.
9689
9690         * lib/prototypes.h, src/Attic/chsh_chkshell.c, src/Makefile.am, src/chsh.c:
9691         move check_shell() from src/chsh_chkshell.c to src/chsh.c.
9692
9693         * configure.in:
9694         s/libpam_misc is missing/libpam_misc is missing for enable PAM support/
9695
9696 2006-01-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9697
9698         * etc/pam.d/.cvsignore: added.
9699
9700         * src/su.c: indent code.
9701
9702         * src/su.c:
9703         without it, $(su - user -c "echo \$SHELL") wont return the good value, but
9704         $(su user -c "echo \$SHELL") will.
9705         I think LOGNAME can also be set (this is done in setup_env, in the
9706         fakelogin case).
9707         (by Nicolas François <nicolas.francois@centraliens.net>)
9708
9709         * src/su.c:
9710         simplifies how -p is handled (at least for its documentation).
9711         (by Nicolas François <nicolas.francois@centraliens.net>)
9712
9713         * src/su.c: fixes "su - -- root" or "su - root -- -c" (it is needed if
9714         the second patch is applied).
9715         (by Nicolas François <nicolas.francois@centraliens.net>)
9716
9717         * src/su.c:
9718         This second patch changes the way options are handled by getopt. Once a
9719         non-su option is found, the getopt processing is stopped.
9720         Whithout this patch, "su root -c ls" won't work (getopt will complain that
9721         -c is not an su option).
9722         (by Nicolas François <nicolas.francois@centraliens.net>).
9723
9724         * 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:
9725         prepare for use on Fedora Core.
9726
9727         * po/cs.po, po/pl.po: run "make update-po".
9728
9729         * src/Makefile.am: move nologin to sbindir.
9730
9731         * man/Attic/groupadd.8, man/groupadd.8.xml: s/gid/GID/
9732
9733         * man/Attic/lastlog.8, man/Attic/useradd.8, man/lastlog.8.xml, man/useradd.8.xml:
9734         s/uid/UID/
9735
9736 2005-12-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9737
9738         * po/tl.po: updated for 4.0.14 (by Eric Pareja <xenos@upm.edu.ph>).
9739
9740 2005-12-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9741
9742         * NEWS, po/ca.po:
9743         updated for 4.0.14 (by Guillem Jover <guillem@debian.org>).
9744
9745 2005-12-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9746
9747         * po/el.po:
9748         updated for 4.0.14 (by Konstantinos Margaritis <markos@debian.org>).
9749
9750 2005-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9751
9752         * doc/.cvsignore, etc/.cvsignore, lib/.cvsignore, po/.cvsignore, src/.cvsignore, .cvsignore, contrib/.cvsignore:
9753         added a lot of generated files they are not listed in .cvsignore files
9754         (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9755
9756         * src/su.c:
9757         fixed some comments and replace getuid() by !amroot. This removes a system
9758         call and may be more readable (Nicolas François <nicolas.francois@centraliens.net>).
9759
9760         * man/Attic/su.1, man/su.1.xml:
9761         added forgoten the SHELL argument description (by Nicolas François <nicolas.francois@centraliens.net>).
9762
9763         * man/Attic/useradd.8, man/useradd.8.xml:
9764         s/group/user/ (cached by Nicolas François).
9765
9766 2005-12-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9767
9768         * man/ko/vigr.8: added.
9769
9770         * po/it.po:
9771         updated for 4.0.14 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9772
9773 2005-12-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9774
9775         * NEWS, po/pt.po:
9776         updated for 4.0.14 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
9777
9778         * src/useradd.c:
9779         s/grp_update/grp_add/ in comment (by Nicolas François <nicolas.francois@centraliens.net>).
9780
9781         * man/Attic/login.1, man/login.1.xml:
9782         added use <envar></envar> tags instead <emphasis></emphasis>.
9783
9784         * man/Attic/su.1, man/su.1.xml: added use <envar></envar>.
9785
9786         * man/Attic/su.1, man/su.1.xml:
9787         updated man page after change su for use getopt_long()
9788         (by Nicolas François <nicolas.francois@centraliens.net>)
9789
9790 2005-12-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
9791
9792         * NEWS, po/fi.po:
9793         updated for 4.0.14 (by Tommi Vainikainen <thv+debian@iki.fi>).
9794
9795         * po/ru.po: updated for 4.0.14 (by Yuri Kozlov <kozlov.y@gmail.com>).
9796
9797         * man/ru/login.1, man/ru/passwd.1, man/ru/pwck.8, man/ru/vipw.8:
9798         updated (by Yuri Kozlov <kozlov.y@gmail.com>_.
9799
9800         * doc/Attic/README.linux, doc/Makefile.am: removed.
9801
9802         * README, doc/Attic/README.linux:
9803         move contributors list from doc/README.linux to README.
9804
9805         * doc/Attic/LSM, doc/Attic/README, doc/Makefile.am:
9806         removed (outdated content).
9807
9808         * NEWS, po/cs.po:
9809         updated cs.po for 4.0.14 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9810
9811         * po/pl.po: updated.
9812
9813         * po/fr.po:
9814         kill one fuzzy (by Christian Perrier <bubulle@kheops.frmug.org>).
9815
9816         * NEWS, po/da.po:
9817         updated da.po for 4.0.14 (by Claus Hindsgaul <claus_h@image.dk>).
9818
9819         * po/eu.po: updated for 4.0.14 (by pi <pi@beobide.net>).
9820
9821         * NEWS, po/vi.po:
9822         updated vi.po fo 4.0.14 (by Clytie Siddall <clytie@riverland.net.au>).
9823
9824 2005-12-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9825
9826         * NEWS: set release day for 4.0.14 to 19-12-2005.
9827
9828         * src/login.c:
9829         removed #include "libaudit.h" (it is conditionaly included in "defines.h").
9830
9831         * src/su.c:
9832         replaced "shell" by "shellstr". "shell" is also the name of a function.
9833         (Nicolas François <nicolas.francois@centraliens.net>).
9834
9835         * src/vipw.c: - added missing break in case 'q'.
9836
9837         * 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:
9838         added es, ko vigr(8) and vipw(8), hu lastlog(8), ko vipw(8), zh_CN su(1),
9839         zh_TW chpasswd(8) and su(1),
9840
9841 2005-12-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9842
9843         * doc/Attic/LICENSE, doc/Makefile.am, COPYING:
9844         move doc/LICENSE to COPYING.
9845
9846         * doc/WISHLIST: remove some outdated/finished things.
9847
9848         * doc/Attic/README.nls, doc/Attic/README.pam, doc/Makefile.am: removed.
9849
9850 2005-12-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9851
9852         * 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:
9853         run "make update-po" (merge changes in su messages).
9854
9855         * NEWS, src/su.c:
9856         added handle -s/--shell, -m/-p/preserve-environment options like GNU su
9857         (based on patches from Debian submited by
9858         Nicolas François <nicolas.francois@centraliens.net>)
9859
9860         * NEWS: updated.
9861
9862         * src/su.c:
9863         added handle -s/--shell option like in GNU su (based on Debian patch sublmited
9864         by Nicolas François <nicolas.francois@centraliens.net>).
9865
9866         * src/su.c:
9867         make -, -l , --login option as no_argument (based on fix by Nicolas François).
9868
9869         * po/it.po:
9870         cosmetic fixes (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9871
9872 2005-12-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9873
9874         * man/es/Makefile.am: s/patches/passwd/
9875
9876 2005-12-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9877
9878         * 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:
9879         added tr man pages.
9880
9881         * 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:
9882         added es, hu, pt_BR, zh_CN zh_TW translations passwd(5).
9883
9884         * man/Attic/id.1, man/Attic/pw_auth.3, man/Attic/sulogin.8:
9885         regenerated.
9886
9887         * man/ko/Makefile.am: added su.1 to man_MANS.
9888
9889         * man/Makefile.am: reverte incorrect commit.
9890
9891         * 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:
9892         added full set (up to date) fr man pages (by Nicolas François <nicolas.francois@centraliens.net>).
9893
9894 2005-12-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9895
9896         * 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:
9897         cleanups.
9898
9899         * 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:
9900         s/--force /--force/
9901
9902         * 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:
9903         s/--skel SKEL_DIR /--skel SKEL_DIR/
9904
9905         * 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:
9906         s/--delete /--delete/
9907
9908         * NEWS, po/ru.po:
9909         updated ru translatios for 4.0.14 (by Yuri Kozlov <kozlov.y@gmail.com>).
9910
9911         * po/eu.po: finish update for 4.0.14 (by pi <pi@beobide.net>).
9912
9913         * po/it.po:
9914         updated for 4.0.14 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9915
9916 2005-12-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9917
9918         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9919
9920         * NEWS, po/eu.po: Basque translation updated (by pi <pi@beobide.net>).
9921
9922         * 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:
9923         s/LOGIN/login/ in usage() output.
9924
9925 2005-12-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9926
9927         * 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:
9928         rewrited vipw for use getopt_long().
9929
9930         * man/Attic/passwd.1, man/passwd.1.xml: cleanups.
9931
9932         * man/ko/Makefile.am: commented newgrp.1 (must be updated).
9933
9934 2005-12-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9935
9936         * man/Makefile.am: update-po target added.
9937
9938         * man/Attic/pwck.8, man/pwck.8.xml: document -q option.
9939
9940         * NEWS, lib/getdef.c:
9941         $MAIL_FILE is used in userdel and usermod, $MD5_CRYPT_ENAB
9942         is used by crypt_make_salt, which is used by chpasswd, gpasswd and newusers.
9943         Both variables moved to PAM not dependent (447_missing_login.defs_variables
9944         Debian patch).
9945
9946         * NEWS, src/su.c:
9947         export $USER and $SHELL as well as $HOME (http://bugs.debian.org/11003 and
9948         http://bugs.debian.org/11189).
9949
9950         * NEWS, man/Attic/login.1, man/login.1.xml:
9951         document how to initiate a trusted path on linux
9952         (http://bugs.debian.org/305600).
9953
9954         * NEWS, src/chage.c:
9955         fix chage display when the last change field is set to 0.
9956         This is consistent with PAM (merge 427_chage_expiry_0 Debian patch).
9957
9958 2005-12-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9959
9960         * configure.in: added man/fi/Makefile to AC_CONFIG_FILES().
9961
9962         * 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:
9963         convert all translated man pages to UFT-8.
9964
9965         * NEWS, src/userdel.c:
9966         fix incorrect audit record in userdel (https://bugzilla.redhat.com/bugzilla/174392).
9967
9968         * 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:
9969         s/--all /--all/
9970
9971         * 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:
9972         update by some informations about translators (by Christian Perrier) and run "make update-po".
9973
9974 2005-11-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9975
9976         * NEWS, src/su.c:
9977         if an password is expired, su should propose to change this password
9978         (fixed http://bugs.debian.org/321384).
9979
9980         * src/Makefile.am, src/login.c, NEWS:
9981         added auditing support (based on Fedora patch for login from util-linux).
9982
9983         * src/useradd.c: remove use rflg.
9984
9985         * man/ru/Makefile.am: typo.
9986
9987         * po/pl.po: partialy updated.
9988
9989         * 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:
9990         run "make update-po".
9991
9992         * NEWS, src/useradd.c: merge PUG fixes from RedHat patch.
9993
9994 2005-11-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9995
9996         * NEWS, po/it.po:
9997         updated (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9998
9999         * 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:
10000         added full set of ru man pages (by Yuri Kozlov <kozlov.y@gmail.com>).
10001
10002 2005-11-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10003
10004         * NEWS, src/Makefile.am, src/nologin.c: added nologin program.
10005
10006         * NEWS, src/su.c: rewrited for use getopt_long().
10007
10008 2005-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10009
10010         * po/zh_CN.po: updated (by Ming Hua <minghua@rice.edu>).
10011
10012 2005-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10013
10014         * man/Attic/usermod.8, man/usermod.8.xml:
10015         rewrited for document long options.
10016
10017         * NEWS, src/vipw.c:
10018         added a "quiet" mode (http://bugs.debian.org/190252.
10019
10020         * po/de.po:
10021         fixed wrong translation in german po file (http://bugs.debian.org/338373
10022         by Nico Golde <nico@ngolde.de>).
10023
10024         * 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:
10025         added fi chfn(1), chsh(1), passwd(1), su(1).
10026
10027         * NEWS, man/it/Makefile.am, man/it/newusers.8: added it newusers(8).
10028
10029         * NEWS, po/fr.po:
10030         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
10031
10032 2005-11-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10033
10034         * NEWS, src/Makefile.am, src/newgrp.c:
10035         added auditing support for newgrp (by Steve Grubb <sgrubb@redhat.com>).
10036
10037         * NEWS, configure.in, libmisc/audit_help.c:
10038         switch over to a new logging function (by Steve Grubb <sgrubb@redhat.com>).
10039
10040         * README: typo.
10041
10042 2005-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10043
10044         * po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
10045
10046 2005-11-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
10047
10048         * configure.in:
10049         s/logdir/shadow_cv_logdir/ fix wrong var name (by Mike Frysinger <vapier@gentoo.org>).
10050
10051         * 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:
10052         move information about all shadow man pages authors from man pages to README file.
10053
10054         * src/userdel.c: added two new error messages to translated phrases.
10055
10056         * NEWS, src/userdel.c:
10057         remove the user's group unless it is not really a user-private group
10058         (based on FC patch).
10059
10060 2005-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
10061
10062         * src/usermod.c: fix long name options name in long_options[].
10063
10064 2005-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10065
10066         * src/userdel.c: indent source code.
10067
10068         * NEWS, src/userdel.c:
10069         make the userdel -f option force the removal of the user's group (even if it
10070         is the primary group of another user)
10071         (merge 453_userdel_-f_removes_group Debian patch),
10072
10073         * NEWS, man/Attic/login.1, man/login.1.xml:
10074         better explain the respective roles of login, init and getty with regards
10075         to the utmp file (merge 440_manpages-login.1 Debian patch).
10076
10077         * man/Attic/userdel.8, man/userdel.8.xml:
10078         aphabetic order options description.
10079
10080         * NEWS, man/Attic/userdel.8, man/userdel.8.xml:
10081         document the -f option; document the group removal behavior (merge
10082         455_userdel.8.xml Debian patch).
10083
10084         * NEWS, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
10085         document that useradd/groupadd refuse adding entries already in an
10086         external database (http://bugs.debian.org/282184).
10087
10088         * NEWS, libmisc/sulog.c:
10089         log in successful/failed su through syslog (http://bugs.debian.org/190215).
10090
10091         * 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:
10092         updated it groupdel(8), passwd(1), pwconv(8), useradd(8), userdel(8), usermod(8) man pages
10093         (merge 205_it-manpages Debian patch).
10094
10095         * man/pt_BR/gpasswd.1: merge 204_pt_BR-manpages Debian patch.
10096
10097 2005-10-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
10098
10099         * man/Attic/porttime.5, man/Attic/pwck.8, man/Attic/shadow.3, man/porttime.5.xml, man/pwck.8.xml:
10100         improvements by Yuri Kozlov <kozlov.y@gmail.com>.
10101
10102         * NEWS, po/tl.po: updated (by Eric Pareja <xenos@upm.edu.ph>).
10103
10104         * 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:
10105         remove "." from su message.
10106
10107         * 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:
10108         "make update-po".
10109
10110         * src/usermod.c: cleanups in usage() output.
10111
10112         * src/usermod.c: indent code.
10113
10114         * NEWS, src/usermod.c:
10115         rewrited for use getopt_long() (Christian Perrier <bubulle@kheops.frmug.org>).
10116
10117 2005-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10118
10119         * po/uk.po: updated (by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>).
10120
10121 2005-10-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10122
10123         * 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:
10124         bunch of cleanups (Yuri Kozlov <kozlov.y@gmail.com>).
10125
10126 2005-10-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10127
10128         * 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:
10129         Simplifications: move all per shadow tool declared struct pam_conv conv
10130         from src/*c to lib/pam_defs.h. #include "pam_defs.h" instead <security/pam_appl.h>
10131         and <security/pam_misc.h>.
10132         Patch partialy based on openpam fixes by Rob Holland <rob@inversepath.com>.
10133
10134         * NEWS, lib/commonio.c:
10135         fixed grpck segmentation fault on using -s when /etc/gshadow is empty (fix by
10136         Tomasz Lemiech <szpajder@staszic.waw.pl>).
10137
10138 2005-10-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10139
10140         * man/Attic/faillog.5, man/faillog.5.xml:
10141         typos (by A Costa <agcosta@gis.net>).
10142
10143 2005-10-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
10144
10145         * man/Attic/chage.1, man/Attic/chpasswd.8, man/chage.1.xml, man/chpasswd.8.xml:
10146         typos (by A Costa <agcosta@gis.net>).
10147
10148         * NEWS, po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
10149
10150 2005-10-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10151
10152         * 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:
10153         newgrp(1): added de, es, zh_CN, zh_TW translations.
10154
10155 2005-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10156
10157         * man/Attic/gpasswd.1, man/gpasswd.1.xml:
10158         move "Notes about group passwords" section from passwd man page.
10159
10160         * src/passwd.c, NEWS, man/Attic/passwd.1, man/passwd.1.xml:
10161         remove handle -f, -g and -s options in passwd.
10162
10163         * 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:
10164         use locase in <refentrytitle>.
10165
10166         * man/Attic/pw_auth.3, man/Attic/pw_auth.3.xml, man/Attic/shadow.3, man/shadow.3.xml:
10167         added refmiscinfo class="sectdesc">Library Calls</refmiscinfo> in <refmeta>.
10168
10169         * 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:
10170         added <refmiscinfo class="sectdesc">System Management Commands</refmiscinfo>
10171         in <refmeta>.
10172
10173         * 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:
10174         added <refmiscinfo class="sectdesc">File Formats and Conversions</refmiscinfo>
10175         in <refmeta>.
10176
10177         * man/Attic/pwconv.8, man/Attic/suauth.5, man/Attic/vipw.8, man/pwconv.8.xml, man/suauth.5.xml, man/vipw.8.xml:
10178         remove <refentryinfo><date></date></refentryinfo> and <refmiscinfo class='date'> tags.
10179
10180         * man/Attic/newgrp.1, man/Attic/sg.1, man/newgrp.1.xml, man/sg.1.xml:
10181         added <refmiscinfo class="sectdesc">User Commands</refmiscinfo> tag.
10182
10183 2005-10-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
10184
10185         * NEWS, configure.in: start work on 4.0.14.
10186
10187 2005-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10188
10189         * NEWS: move release 4.0.13 date to 10-10-2005.
10190
10191         * NEWS:  added infor about removed duplicated pam_start() in chage.
10192
10193         * NEWS: updated.
10194
10195         * man/Makefile.am: added sg.1.xml to man_XMANS.
10196
10197         * man/Attic/chage.1, man/chage.1.xml:
10198         cleanups (by Yuri Kozlov <kozlov.y@gmail.com>).
10199
10200         * man/Attic/newgrp.1, man/newgrp.1.xml:
10201         use <filename> in few more places.
10202
10203         * man/Attic/newgrp.1, man/newgrp.1.xml:
10204         better newgrp description (http://bugs.debian.org/325558).
10205
10206 2005-10-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
10207
10208         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
10209         remove using pam_chauthtok().
10210
10211         * src/chsh.c: finish PAM support using pam_start() & co.
10212
10213         * src/chage.c: remove using pam_chauthtok() on finish chage.
10214
10215         * src/chfn.c:
10216         use E_NOPERM in more places. remove using pam_chauthtok() on finish chfn.
10217
10218         * src/chfn.c: cleanups.
10219
10220         * src/chage.c:
10221         removed duplicaded not moved PAM code) was introduced during merge
10222         shadow-4.0.4.1-owl-pam-auth.diff patch).
10223
10224         * src/chfn.c: finish PAM support.
10225
10226 2005-10-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
10227
10228         * man/Attic/chfn.1, man/Attic/chsh.1, man/chfn.1.xml, man/chsh.1.xml:
10229         cleanups (by  Alexander Gattin <xrgtn@yandex.ru>).
10230
10231 2005-10-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10232
10233         * NEWS, src/userdel.c:
10234         userdel should not remove the group which is primary for someone else (fix
10235         by Nicolas François <nicolas.francois@centraliens.net> http://bugs.debian.org/295416)
10236
10237 2005-10-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
10238
10239         * 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:
10240         s/<emphasis remap='B'>/<emphasis>/
10241
10242         * man/Attic/sg.1, man/sg.1.xml: use <command> instead <emphasis>.
10243
10244         * man/newgrp.1.xml, man/sg.1.xml, man/chage.1.xml, man/chsh.1.xml, man/login.defs.5.xml:
10245         s/\.  /\. /
10246
10247         * man/Attic/shadow.5, man/shadow.5.xml:
10248         better document "!" and "*" fields in /etc/shadow
10249         (based on 441_manpages-shadow.5 patch from Debian).
10250
10251         * man/Attic/newgrp.1, man/newgrp.1.xml:
10252         SHADOWPWD was removed (always enabled)
10253         (based on 446_newgrp.1_no_SHADOWPWD patch from Debian).
10254
10255         * po/ru.po: updated for 4.0.13 (by Yuri Kozlov <kozlov.y@gmail.com>).
10256
10257 2005-09-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
10258
10259         * NEWS: cleanups.
10260
10261         * 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:
10262         next round of cleanups.
10263
10264         * man/Makefile.am: added rules for id.1, pw_auth.3 and sulogin.8.
10265
10266         * libmisc/setupenv.c:
10267         during the changes on libmisc/setupenv.c, a piece of code was moved
10268         without its comment (merge 449_comment_missplaced Debian patch).
10269
10270 2005-09-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
10271
10272         * 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:
10273         added missing references to /etc/login.defs and login.defs(5)
10274         (Christian Perrier <bubulle@kheops.frmug.org>).
10275
10276 2005-09-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
10277
10278         * NEWS: s/XSL/XSLT/
10279
10280         * po/pl.po: few updates.
10281
10282         * man/Attic/passwd.1, man/passwd.1.xml:
10283         -i option description is back (lost on rewrite and pointed by
10284         Miroslav Kure <kurem@upcase.inf.upol.cz>).
10285
10286         * po/cs.po:
10287         updated for 4.0.13 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10288
10289 2005-09-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10290
10291         * NEWS: updated.
10292
10293         * configure.in: fixes for correct handle --with{,out}-<feature>.
10294
10295         * configure.in:
10296         use @<:@ @:>@ instead ( ) inside AC_HELP_STRING() and s/feactures/features/
10297         (based on fixes by Mike Frysinger <vapier@gentoo.org>).
10298
10299         * po/da.po: updated for 4.0.13 (by Claus Hindsgaul <claus_h@image.dk>).
10300
10301         * po/es.po: updated for 4.0.13 (by Ruben Porras <nahoo@inicia.es>).
10302
10303 2005-09-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
10304
10305         * NEWS, libmisc/failure.c:
10306         use "%c" in strftime() output (based on patch from
10307         http://bugs.debian.org/89902 by Christian Perrier <bubulle@debian.org>)
10308
10309         * man/Attic/getspnam.3, man/Attic/shadow.3, man/shadow.3.xml:
10310         added <refname>getspnam</refname> to <refnamediv>.
10311
10312         * man/Attic/sg.1, man/sg.1.xml: fixed <cmdsynopsis>.
10313
10314         * man/Attic/sg.1, man/Makefile.am, man/sg.1.xml:
10315         added separated sg(1) man page.
10316
10317 2005-09-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10318
10319         * lib/commonio.c, NEWS:
10320         don't assume selinux is enabled if is_selinux_enabled() returns -1
10321         (merge isSelinuxEnabled FC patch by Jeremy Katz <katzj@redhat.com>).
10322
10323         * po/ro.po: updated (by Sorin Batariuc <sorin@bonbon.net>).
10324
10325 2005-09-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10326
10327         * NEWS: schedule release 4.0.13 to 03-10-2005.
10328
10329 2005-09-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10330
10331         * 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:
10332         regenerate all roff man pages using DocBook XSL Stylesheets 1.69.1.
10333
10334         * man/logoutd.8.xml: fixed id inside <refentry>.
10335
10336         * 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:
10337         added missing <para></para> inside <listitem> tags for pass correctly xmllint.
10338
10339         * man/Attic/login.access.5, man/login.access.5.xml:
10340         rewrited FILES section.
10341
10342         * man/login.access.5.xml: cleanups.
10343
10344 2005-09-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10345
10346         * NEWS, man/Attic/passwd.5, man/passwd.5.xml:
10347         rewrited based on work by Greg Wooledge <greg@wooledge.org>
10348         http://bugs.debian.org/328113
10349
10350 2005-09-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10351
10352         * po/ro.po: updates (by Sorin Batariuc <sorin@bonbon.net>).
10353
10354 2005-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10355
10356         * 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:
10357         remove empty lines after comment.
10358
10359         * src/useradd.c: group all #include.
10360
10361         * po/fr.po:
10362         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
10363
10364 2005-09-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10365
10366         * src/gpasswd.c: remove exit(1) after failure().
10367
10368         * src/usermod.c: consolidate few #ifdef WITH_AUDIT .. #endif sections.
10369
10370 2005-09-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
10371
10372         * src/Makefile.am: added missing $(LDADD) in gpasswd_LDADD.
10373
10374         * NEWS, libmisc/limits.c:
10375         fixed setup max address space limits (added missing break statement in case)
10376         spoted by Lasse Collin <lasse.collin@tukaani.org>
10377         (fix for non-PAM case)
10378
10379         * configure.in: try find and use by default feactures:
10380         with_audit="yes"
10381         with_libcrack="no"
10382         with_libpam="yes"
10383         with_libskey="no"
10384         with_selinux="yes"
10385         Report on finish also S/Key and CrackLib support.
10386
10387         * configure.in: cleanups.
10388
10389         * src/Makefile.am: sort *_LDADD.
10390
10391         * src/Makefile.am: added missing gpasswd_LDADD = $(LIBAUDIT).
10392
10393         * 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:
10394         indent code.
10395
10396         * libmisc/Makefile.am: sort libmisc_a_SOURCES elements.
10397
10398         * libmisc/audit_help.c: added shadow copyright text and indent file.
10399
10400         * libmisc/audit_help.c:
10401         patr of auditing support not added on commiting audit changes.
10402
10403         * src/Makefile.am: s/AUDIT/LIBAUDIT/
10404
10405         * configure.in: added reporting on finish is auditing is enabled.
10406         Change to use shared libaudit. Aded missing AC_SUBST(LIBAUDIT).
10407         Break some to log lines.
10408
10409         * 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:
10410         auditing support added. Patch prepared by Peter Vrabec
10411         <pvrabec@redhat.com> basing on work by Steve Grubb from
10412         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159215 Now auditing
10413         support have commands: chage, gpasswd, groupadd, groupdel, groupmod,
10414         useradd, userdel, usermod.
10415
10416         * po/pt.po: finish update (by Christian Perrier <bubulle@debian.org>).
10417
10418 2005-09-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
10419
10420         * po/pt.po, NEWS: updated (by Miguel Figueiredo <elmig@debianpt.org>).
10421
10422 2005-09-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
10423
10424         * src/passwd.c:
10425         fix warning (initialization makes pointer from integer without a cast) in
10426         long_options[] entry.
10427
10428         * po/fr.po, NEWS:
10429         partialy updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
10430
10431 2005-09-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10432
10433         * src/chage.c: indent source sode.
10434
10435         * src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c, NEWS:
10436         change to use new selinux API for selinux_check_passwd_access()
10437         (patch from Fedora by Dan Walsh <dwalsh@redhat.com>).
10438
10439 2005-09-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
10440
10441         * man/Attic/newgrp.1, man/newgrp.1.xml: finished rewrite.
10442
10443         * etc/login.defs: moved from login.defs.linux.
10444
10445         * src/login_nopam.c: use #ident.
10446
10447         * etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, etc/Makefile.am:
10448         remove login.defs.hurd and login.defs.linux.
10449
10450         * src/groupadd.c, src/useradd.c:
10451         as same as in man pages to useradd and groupadd change to 1000 default
10452         GID_MIN and UID_MIN (if not found in login.defs).
10453
10454         * etc/login.defs: s/chkpasswd/chpasswd/
10455
10456 2005-08-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
10457
10458         * man/Makefile.am, man/chsh.1.xml, man/limits.5.xml, man/login.access.5.xml, man/newgrp.1.xml, man/newusers.8.xml:
10459         fixed id= in <refentry>.
10460
10461         * man/Attic/gpasswd.1, man/gpasswd.1.xml:
10462         fixed refentry id (must be 'gpasswd.1').
10463
10464         * man/Makefile.am, man/newgrp.1.xml:
10465         raw version converted from roff using doclifter.
10466
10467         * lib/exitcodes.h: new exit codes:
10468         #define E_PASSWD_NOTFOUND       14      /* not found password file */
10469         #define E_GROUP_NOTFOUND        16      /* not found group file */
10470         #define E_GSHADOW_NOTFOUND      17      /* not found shadow group file */
10471
10472         * man/Attic/chage.1, man/chage.1.xml, lib/exitcodes.h:
10473         change to 15 (from 14) exit code in chage when shadow not found.
10474
10475         * 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:
10476         use #ident preprocesor directive istead RCID macro with content similar
10477         to example described in ident(1) man page (modern compilers like latest GCC
10478         removes not used functions by global optimization).
10479         So "ident /usr/bin/passwd" will show again some useable informations.
10480
10481         * man/Makefile.am: added support for regenerate roff files from XML.
10482         Added depeing shadow-man-pages.pot on $(man_XMANS).
10483
10484 2005-08-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
10485
10486         * man/Attic/login.1, man/login.1.xml, NEWS:
10487         added securetty(5) to SEE ALSO section (fixed Debian bug http://bugs.debian.org/325773).
10488
10489         * po/pl.po: more updates.
10490
10491         * configure.in:
10492         typo in handle --with-selinux. Fixes in xsltproc detection.
10493
10494         * autogen.sh:
10495         added --enable-man and --enable-maintainer-mode to configure options.
10496
10497         * man/Attic/chage.1, man/chage.1.xml, NEWS:
10498         added EXIT VALUES section (by Nicolas François <nicolas.francois@centraliens.net>).
10499
10500         * man/Attic/passwd.1, man/passwd.1.xml:
10501         remove "Password expiry information" section (all options are described now
10502         in OPTIONS section). Describe -a and -k options.
10503
10504         * NEWS, src/su.c:
10505         fixed twice copy enviroment which causes auth problems (bug was introduced in 4.0.12;
10506         fix by Nicolas François <nicolas.francois@centraliens.net>).
10507
10508         * 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:
10509         s/Incorrect password for `%s'/Incorrect password for %s/ (one phrase for translate less).
10510
10511         * 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:
10512         s/login: failure forking: %s/%s: failure forking: %s/ (one phrase for translate less).
10513
10514         * po/pl.po: partialy updated.
10515
10516 2005-08-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
10517
10518         * lib/exitcodes.h, src/chage.c:
10519         s/E_NOT_SHADOWED/E_SHADOW_NOTFOUND/ and change value of this exit code to 14.
10520
10521         * NEWS, lib/exitcodes.h, src/chage.c:
10522         differentiate the different failure causes by the exit value
10523         This will permit to adduser Debian script to detect if chage failed because the
10524         system doesn't have shadowed passwords (fix for http://bugs.debian.org/317012)
10525         Plain merge 443_chage_exit_values Debian patch.
10526
10527         * 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:
10528         use tabs in indentation (~10KB less in all xml files).
10529
10530         * 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:
10531         run "make update-po" and remove obsoleted strings.
10532
10533         * src/expiry.c, src/login.c: remove #if 0 .. #endif code.
10534
10535         * src/login.c: remove #if 1 .. #endif.
10536
10537         * 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:
10538         merge 010_more-i18ned-messages Debian patch which adds i18n support for few more messages
10539         (orginaly patch was prepared by Guillem Jover <guillem@debian.org>).
10540
10541         * man/id/chsh.1:
10542         fix .SH (fix merged from 207_id-manpages debian patch).
10543
10544 2005-08-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
10545
10546         * acinclude.m4: add aclocal macros (based on acinclude.m4 from glib):
10547         JH_PATH_XML_CATALOG: checks the location of the XML Catalog,
10548         JH_CHECK_XML_CATALOG: checks if a particular URI appears in the XML catalog.
10549
10550         * man/Attic/useradd.8, man/useradd.8.xml:
10551         cleanups in "Changing the default values" section.
10552
10553         * man/useradd.8.xml:
10554         replace <emphasis remap='I'></emphasis> by <replaceable></replaceable>.
10555         Other minor cleanups.
10556
10557         * configure.in:
10558         fixed missing )] in AC_ARG_WITH(skey, ..) (thank for fix to Yuri Kozlov <kozlov.y@gmail.com>).
10559
10560         * 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:
10561         typos, and change some arguments so they do not match the name of a
10562         command (fixes by Nicolas François <nicolas.francois@centraliens.net>).
10563
10564         * NEWS, libmisc/chkname.c, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
10565         fix regular expression describing alloved login/group names (pointed
10566         by Nicolas François <nicolas.francois@centraliens.net>)
10567         (correct is [a-z_][a-z0-9_-]*[$]).
10568
10569         * man/Attic/useradd.8, man/useradd.8.xml:
10570         remove "Creating New Users" section and merge this directly in DESCRIPTION.
10571         Add <option></option> for -o in EXIT VALUES section.
10572
10573         * po/ru.po, NEWS:
10574         update ru translations (by Yuri Kozlov <kozlov.y@gmail.com>).
10575
10576 2005-08-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10577
10578         * man/Attic/passwd.1, man/passwd.1.xml:
10579         removed "Account maintenance" section.
10580
10581         * man/Attic/passwd.1, man/passwd.1.xml: partialy done rewrite.
10582
10583         * po/ro.po:
10584         some fixes after review of the translation (by Sorin Batariuc <sorin@bonbon.net>).
10585
10586         * man/Attic/lastlog.8, man/lastlog.8.xml:
10587         s/Print help message and exit./Display help message and exit./
10588
10589         * man/Attic/chage.1, man/chage.1.xml: document -h,--help option.
10590
10591         * man/Attic/groupadd.8, man/groupadd.8.xml:
10592         document -h,--help option. added <option></option> for -o in EXIT VALUES.
10593         Cleanups in SYNOPSIS section.
10594
10595         * man/Attic/chage.1, man/Attic/faillog.8, man/chage.1.xml, man/faillog.8.xml:
10596         replace <emphasis remap='I'></emphasis> by <replaceable></replaceable>.
10597
10598         * man/Attic/lastlog.8, man/lastlog.8.xml:
10599         document new -b,--before option.
10600
10601         * 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:
10602         s/lastlog results/lastlog records/ in lastlog usage output.
10603
10604         * man/Attic/lastlog.8, man/lastlog.8.xml:
10605         add "" aroud <command></command>.
10606
10607         * 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:
10608         alphabetic order options in lastlog usage output. Run "make -C po update-po".
10609
10610         * src/lastlog.c, NEWS:
10611         added handle -b option which allow print only lastlog records older than
10612         specified DAYS (fix by <miles@lubin.us>).
10613
10614         * libmisc/salt.c, NEWS:
10615         fixed for use login.defs::MD5_CRYPT_ENAB only if PAM support
10616         is disabled (fix by John Gatewood Ham <zappaman@buraphalinux.org>).
10617
10618 2005-08-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10619
10620         * configure.in:
10621         use AC_HELP_STRING() in AC_ARG_ENABLE() and AC_ARG_WITH().
10622         Exit with error message if configure was runed --with-selinux
10623         and libselinux not found.
10624
10625 2005-08-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10626
10627         * libmisc/chkname.c, NEWS, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
10628         documents in CAVEATS section the limitations shadow places on user and
10629         group names (fix by Mike Frysinger <vapier@gentoo.org>).
10630
10631         * 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:
10632         added missing -i, --inactive in usage() output.
10633
10634 2005-08-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
10635
10636         * 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:
10637         passwd rewrited for use getopt_long().
10638
10639         * man/Attic/chage.1, man/chage.1.xml: /warndays/--warndays/
10640
10641         * 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:
10642         remove trailing spaces.
10643
10644         * 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:
10645         reorder #includes, indentations and minor cleanups.
10646
10647         * src/newgrp.c: indent code.
10648
10649         * NEWS, src/newgrp.c:
10650         when newgrp process sits between parent and child shells, it should
10651         propagate STOPs from child to parent and CONTs from parent to child,
10652         otherwise e.g. bash's "suspend" command won't work.
10653         Fixed Debian http://bugs.debian.org/314727
10654
10655 2005-08-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10656
10657         * configure.in: typo.
10658
10659         * configure.in:
10660         add display short summary information on finish autoconf script.
10661
10662         * NEWS, configure.in: start work on 4.0.13.
10663
10664 2005-08-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10665
10666         * po/ru.po: updated for 4.0.12 (by Yuri Kozlov <yuray@id.ru>).
10667
10668         * NEWS, po/sk.po:
10669         updated for 4.0.12 (by Peter Mann <Peter.Mann@tuke.sk>).
10670
10671 2005-08-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10672
10673         * po/nl.po, NEWS:
10674         updated for 4.0.12 (by cobaco (aka Bart Cornelis) <cobaco@linux.be>).
10675
10676 2005-08-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10677
10678         * NEWS, po/fi.po:
10679         updated for 4.0.12 (by Tommi Vainikainen <thv+debian@iki.fi>).
10680
10681         * NEWS, po/de.po:
10682         updated for 4.0.12 (by Frank Schmid <frank@cs-schmid.de>).
10683
10684         * po/pt.po, NEWS:
10685         updated for 4.0.12 (by Miguel Figueiredo <elmig@debianpt.org>).
10686
10687 2005-08-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
10688
10689         * po/cs.po:
10690         updated for 4.0.12 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10691
10692         * src/chpasswd.c, src/groupdel.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
10693         remove duplicated #include <pwd.h>.
10694
10695         * po/pl.po: finished update for 4.0.12.
10696
10697         * 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:
10698         s/Not copying any file into it./Not copying any file from skel directory into it./
10699
10700         * 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:
10701         break warning message longer than 80 characters.
10702
10703         * po/pl.po: updated.
10704
10705         * 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:
10706         fixed missing \n in usage() output.
10707
10708         * lib/getdef.c, src/login.c, src/newgrp.c, NEWS:
10709         remove using login.defs::CLOSE_SESSIONS variable and allways close PAM session.
10710
10711 2005-08-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10712
10713         * NEWS, configure.in:
10714         realy enable shadow group support by default (pointed by
10715         Greg Schafer <gschafer@zip.com.au> and Peter Vrabec <pvrabec@redhat.com>).
10716         Indentations in --help output.
10717
10718         * man/Attic/chage.1, man/chage.1.xml:
10719         s/occurrence/occurence/ (334_chage.1-typo Debian patch).
10720
10721         * man/Attic/chfn.1, man/chfn.1.xml:
10722         s/may only change may only change/may only change/ (based on 336_chfn.1 Debian patch).
10723
10724         * man/it/Makefile.am: cleanups (443_man_it_Makefile.am Debian patch).
10725
10726         * man/Attic/userdel.8, man/userdel.8.xml: s/an NIS client/a NIS client/
10727
10728         * man/Attic/useradd.8, man/useradd.8.xml: s/an NIS group/a NIS group/
10729
10730         * man/Attic/lastlog.8, man/lastlog.8.xml:
10731         s/you have an high UID/you have a high UID/
10732
10733         * man/Attic/lastlog.8, man/lastlog.8.xml:
10734         added missing <para></para> in AUTHORS section (cached by Nicolas).
10735
10736         * 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:
10737         run "make update-po".
10738
10739         * po/POTFILES.in: added missing libmisc/pwdcheck.c. Sorted.
10740
10741 2005-08-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
10742
10743         * NEWS: s/22-07-2005/22-08-2005/
10744
10745         * NEWS: schedule release 4.0.12 in 22-07-2005.
10746
10747         * libmisc/setupenv.c, man/pl/login.defs.5, NEWS, etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, lib/getdef.c:
10748         removed handle login.defs::QMAIL_DIR variable.
10749
10750         * libmisc/chowntty.c, NEWS:
10751         allow regular user to login on read-only root file system (not only for root).
10752         Patch by Nicolas François <nicolas.francois@centraliens.net>
10753         Fix for http://bugs.debian.org/52069
10754
10755         * NEWS, man/Attic/usermod.8, man/usermod.8.xml:
10756         give the correct range for system users: 0-999 instead of 0-99
10757         (http://bugs.debian.org/286258)
10758
10759         * man/Attic/chage.1, man/chage.1.xml: s/an password/a password/
10760
10761         * man/Attic/chage.1, man/chage.1.xml, src/chage.c, NEWS:
10762         another maxdays fix based on 427_chage_expiry_0 Debian patch
10763         (fix for http://bugs.debian.org/78961).
10764         Better description -1 value passed in -E, -I and -M options.
10765
10766         * src/gpasswd.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, NEWS:
10767         added flushing group nscd cache on exit.
10768
10769         * src/pwck.c, src/pwconv.c, NEWS:
10770         added flushing passwd nscd cache on exit.
10771
10772         * NEWS, src/usermod.c:
10773         fixed handle -p option (patch by Peter Vrabec <pvrabec@redhat.com>).
10774         Indented.
10775
10776         * man/Attic/chage.1, man/chage.1.xml, NEWS, src/chage.c:
10777         use -1 as value for disable password inactivity.
10778         Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
10779         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=109499
10780         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=137498
10781
10782 2005-08-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10783
10784         * 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:
10785         do not copy files from skel directory if home directory exist and write
10786         warning message about not copying skel files.
10787         Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
10788         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143150
10789         https://bugzilla.redhat.com/beta/show_bug.cgi?id=158574
10790         https://bugzilla.redhat.com/beta/show_bug.cgi?id=80242
10791
10792         * po/pl.po: updated.
10793
10794 2005-08-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10795
10796         * src/useradd.c:
10797         s/spoll/spool/ (spoted by Nicolas François <nicolas.francois@centraliens.net>).
10798
10799 2005-08-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
10800
10801         * NEWS, src/su.c:
10802         ignore SIGINT while authenticating. A ^C could defeat the waiting
10803         period and permit brute-force attacks (fixed http://bugs.debian.org/288827).
10804
10805 2005-08-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
10806
10807         * lib/defines.h, NEWS, configure.in:
10808         added require ngettext (added [need-ngettext] to AM_GNU_GETTEXT() parameters)
10809         and stub prototype for ngettext() in lib/prototypes.h (neccessary if shadow
10810         compiled with disabled NLS support)
10811         Based on fixes by Martin Schlemmer <azarah@nosferatu.za.org>.
10812
10813         * src/faillog.c: start using exitcodes.h.
10814
10815         * 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:
10816         regenerate all roff man pages using DocBook XSL Stylesheets 1.69.0.
10817
10818         * 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:
10819         remove flushing shadow nscd cache (nscd do not caches shadow map).
10820
10821 2005-08-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10822
10823         * 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:
10824         rewrited groupadd for use getopt_long().
10825
10826         * src/chage.c: indent.
10827
10828         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/userdel.c:
10829         do OPENLOG() before pam_start().
10830
10831         * NEWS, src/groupadd.c: fixed double OPENLOG().
10832
10833         * src/passwd.c, src/vipw.c, src/userdel.c: reorder nscd_flush_cache().
10834
10835         * 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:
10836         cleanups in printf() translated messages for make translators work easier.
10837
10838         * NEWS, src/chage.c: added flushing NSS shadow map on exit.
10839
10840         * 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:
10841         s/the the/the/
10842
10843         * po/POTFILES.in: removed lib/{grpack,gspack,pwpack,sppack}.c.
10844
10845         * NEWS, src/newusers.c:
10846         added flushing NSS passwd, shadow and group maps.
10847
10848         * NEWS, src/chpasswd.c, src/useradd.c:
10849         added flushing NSS shadow map on exit.
10850
10851         * lib/prototypes.h: removed outdated prototypes for lib/gsdbm.c.
10852
10853         * NEWS, lib/Attic/grpack.c, lib/Attic/gspack.c, lib/Attic/pwpack.c, lib/Attic/sppack.c, lib/Makefile.am, lib/prototypes.h:
10854         remove lib/{grpack,gspack,pwpack,sppack}.c and prototypes from lib/prototypes.h (outdated).
10855
10856         * lib/prototypes.h: removed outdated prototypes from lib/pwdbm.c.
10857
10858 2005-07-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
10859
10860         * NEWS, src/usermod.c: added flushing NSS shadow map.
10861
10862 2005-07-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
10863
10864         * man/Attic/chage.1, man/chage.1.xml:
10865         typo (s/passwordchanges/password changes/).
10866
10867 2005-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10868
10869         * lib/getdef.c, src/su.c:
10870         ENV_SUPATH and ENV_PATH must be used independently to PAM.
10871
10872         * lib/exitcodes.h: added E_BAD_ARG.
10873
10874         * src/gpasswd.c: start use exitcodes.h.
10875
10876         * lib/getdef.c: remove ENV_ROOTPATH def_table[] (not used).
10877
10878 2005-07-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10879
10880         * src/chsh.c: start use exitcodes.h.
10881
10882 2005-07-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
10883
10884         * 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:
10885         added --no-location to po/Makevars::XGETTEXT_OPTIONS: shorter .po files.
10886
10887         * NEWS, src/grpck.c, src/pwck.c:
10888         pwck: now pwck OPENLOG with correct name ("pwck" instead "pwsk"),
10889         pwck, grpck: replace all puts() with printf() - it fixes problems with extra blank
10890         lines printed in some messages
10891         (fixes by Alexander Gattin <arg@online.com.ua>)
10892
10893 2005-07-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10894
10895         * po/Makevars: added:
10896         MSGID_BUGS_ADDRESS = kloczek@pld.org.pl
10897
10898 2005-07-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10899
10900         * src/chfn.c: start use #include "exitcodes.h",
10901
10902         * lib/exitcodes.h: cleanups.
10903
10904         * lib/Makefile.am, lib/exitcodes.h, src/chage.c:
10905         start separate all E_* exit codes to lib/exitcodes.h.
10906
10907         * 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:
10908         use separated message "Password set to expire." instead "Password changed."
10909         on "passwd -e" (fix by Christian Perrier <bubulle@debian.org>).
10910
10911         * NEWS, po/fr.po:
10912         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
10913
10914         * NEWS, configure.in: start work on 4.0.12.
10915
10916 2005-07-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10917
10918         * 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:
10919         4.0.11.1 will be released tmorrow (21-07-2005).
10920
10921         * configure.in, NEWS:
10922         fixed configure.in: now is possible build shadow with enabled/disabled shadow group
10923         support (thanks for report symptoms of the bug to Greg Schafer <gschafer@zip.com.au>).
10924
10925         * po/sv.po, NEWS: update finished (by Per Olofsson <pelle@dsv.su.se>)
10926
10927         * po/sv.po: partialy updated (by Per Olofsson <pelle@dsv.su.se>).
10928
10929 2005-07-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10930
10931         * NEWS, configure.in: start work on 4.0.12.
10932
10933 2005-07-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
10934
10935         * libmisc/sub.c:
10936         fixed compilation warning about incompatible implicit declaration of built-in
10937         function printf: added "#include <stdio.h>".
10938
10939         * src/groupadd.c:
10940         move #ifdef USE_PAM .. #endif #includes outside #ifdef SHADOWGRP .. #endif.
10941
10942         * libmisc/pwdcheck.c:
10943         added missing "#include <stdio.h>" (fix compilation with PAM disabled).
10944
10945         * 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:
10946         run "make update-po".
10947
10948         * src/su.c:
10949         move declaration of pamh nad caught variables to #ifdef USE_PAM .. #endif.
10950
10951         * po/pl.po, NEWS: updated pl translation.
10952
10953 2005-07-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10954
10955         * NEWS, po/sk.po:
10956         updated for 4.0.11 (by Peter Mann <Peter.Mann@tuke.sk>).
10957
10958 2005-07-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
10959
10960         * NEWS, po/cs.po:
10961         updated for 4.0.11 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10962
10963 2005-07-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10964
10965         * po/de.po, NEWS:
10966         updated for 4.0.11 (by Frank Schmid <frank@cs-schmid.de>).
10967
10968 2005-07-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
10969
10970         * NEWS, po/pt.po:
10971         updated for 4.0.11 (by Miguel Figueiredo <elmig@debianpt.org>).
10972
10973 2005-07-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10974
10975         * po/stats: reorder gsub().
10976
10977         * po/ru.po: cleanups.
10978
10979         * po/ru.po, NEWS:
10980         updated for 4.0.11 (by Yuri Kozlov <yucoz@yandex.ru>).
10981
10982 2005-07-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10983
10984         * lib/getdef.c:
10985         move MAIL_DIR variable from def_table[] to part independent to USE_PAM
10986         (still used in userdel/usermod).
10987
10988         * NEWS, man/Attic/pwck.8, man/pwck.8.xml:
10989         document -q option (based on Debian patch for fix http://bugs.debian.org/309408)
10990         Rewrited OPTIONS section and better SYNOPSIS.
10991
10992         * NEWS, po/da.po:
10993         - updated for 4.0.11 (by Claus Hindsgaul <claus_h@image.dk>).
10994
10995         * NEWS, src/su.c:
10996         ignore SIGINT while authenticating. A ^C could defeat the waiting period and
10997         permit brute-force attacks. Also ignore SIGQUIT.
10998         Fixed: http://bugs.debian.org/52372 and http://bugs.debian.org/288827
10999
11000         * po/fi.po, NEWS:
11001         - updated for 4.0.11 (by Tommi Vainikainen <thv+debian@iki.fi>).
11002
11003         * po/ro.po: - updated Project-Id-Version field.
11004
11005         * NEWS, po/ro.po:
11006         - updated for 4.0.11 (by Sorin B. <sorin@bonbon.net>).
11007
11008 2005-07-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
11009
11010         * NEWS, man/Attic/lastlog.8, man/lastlog.8.xml:
11011         document that lastlog is a sparse file, and don't need to be rotated.
11012         http://bugs.debian.org/219321
11013
11014         * src/chage.c: use E_USAGE=2 as usage() exit code.
11015
11016         * NEWS, po/es.po:
11017         updated for 4.0.11 (by Ruben Porras <nahoo82@telefonica.net>).
11018
11019         * src/useradd.c: cleanups in usage() oyput.
11020
11021         * 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:
11022         cleanups in usage() output.
11023
11024         * NEWS: release 4.0.11 is sheduled to 18-06-2005.
11025
11026 2005-07-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11027
11028         * man/Attic/login.1, man/login.1.xml, NEWS:
11029         better explain the respective roles of login, init and getty with regards
11030         to the utmp file (based on 441_manpages-shadow.5 Debian patch)
11031
11032         * man/Attic/su.1, man/groupdel.8.xml, man/su.1.xml, man/Attic/groupdel.8:
11033         s/presense/presence/; s/filesystem/file system/
11034         (sed on 440_manpages-login.1 Debian patch)
11035
11036         * 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:
11037         removed shadowconfig(8) man page (will be maintained in Debian shadow pkg repository).
11038
11039         * man/it/sg.1: added.
11040
11041         * man/it/Makefile.am: more files in man_MANS.
11042
11043         * man/it/Makefile.am: move pwunconv.8 to man_MANS.
11044
11045         * man/useradd.8.xml, man/Attic/useradd.8:
11046         updated after rewrite for for getopt_long() in useradd (-D and -k options
11047         idescription must be finished).
11048
11049         * 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:
11050         rewrited for use getopt_long().
11051
11052         * po/stats: more gsub().
11053
11054 2005-07-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
11055
11056         * src/newgrp.c:
11057         indent source code and use fix for handle splitted groups unconditionaly.
11058
11059         * lib/nscd.c: indent.
11060
11061         * NEWS, src/newgrp.c:
11062         add fix for handle splitted NIS groups: extends the functionality that,
11063         if the requested group is given, all groups of the same GID are tested for
11064         membership of the requesting user.
11065         (fix by Christian Mudra <C.Mudra@science-computing.de>
11066
11067         * lib/nscd.c, NEWS:
11068         for some reason doing the INVALIDATE call with two write()'s fails.
11069         Do one writev() call instead. http://bugs.gentoo.org/show_bug.cgi?id=80413
11070         (submited by Martin Schlemmer <azarah@gentoo.org>)
11071
11072         * NEWS, lib/nscd.c:
11073         merge nscd-socket-path patch from Fedora: newer glibc's have a different nscd socket
11074         location (/var/run/nscd/socket instead /var/run/.nscd_socket).
11075
11076 2005-07-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11077
11078         * po/stats: improved.
11079
11080         * man/Attic/groupadd.8, man/groupadd.8.xml, NEWS:
11081         document -o option in groupadd(8).
11082
11083         * configure.in: s/'"$<foo>" != "no"'/'"$<foo>" = "yes"'/
11084
11085         * NEWS, configure.in, lib/Makefile.am, lib/pwauth.c:
11086         S/Key support is back.
11087
11088         * 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:
11089         run "make update-po".
11090
11091         * po/pl.po: updated.
11092
11093         * src/useradd.c: s,key=value,KEY=VALUE,
11094
11095         * src/groupadd.c, NEWS, man/Attic/groupadd.8, man/groupadd.8.xml:
11096         change -O option to -K and document it in man page.
11097
11098         * man/Attic/useradd.8, man/useradd.8.xml, src/useradd.c:
11099         s/NAME=VALUE/KEY=VALUE/; s/key=value/KEY=VALUE/
11100
11101         * src/chfn.c, src/groupadd.c, src/groupmems.c, src/login.c, src/passwd.c, src/vipw.c:
11102         sort cases in switch (flag) {}.
11103
11104         * src/gpasswd.c, src/groupadd.c, src/groupmems.c, src/groupmod.c, src/passwd.c, src/useradd.c, src/usermod.c:
11105         sort getopt() optstring.
11106
11107         * src/useradd.c:
11108         remove A: from getopt() optstring (the same bug as in usermod).
11109
11110         * src/usermod.c:
11111         remove A: from getopt() optstring (it was for handle AUTH_METHODS code but now
11112         it is not used option). Catched by Thorsten Kukuk <kukuk@suse.de>.
11113
11114         * 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:
11115         indent source code. Added usermod error message about -a option usage to translated messages.
11116
11117         * po/POTFILES.in: mistake s,chage_chkshell.c,chsh_chkshell.c,
11118
11119         * po/POTFILES.in: s,libmisc/chkshell.c,src/chage_chkshell.c,
11120
11121         * man/Attic/usermod.8, man/usermod.8.xml, src/usermod.c, NEWS:
11122         added -a option. This flag can only be used in conjunction with the -G
11123         option. It cause usermod to append user to the current supplementary group list.
11124         (patch by Peter Vrabec <pvrabec@redhat.com>)
11125
11126         * libmisc/Attic/chkshell.c, libmisc/Makefile.am, src/Attic/chsh_chkshell.c, src/Makefile.am:
11127         move libmisc/chkshell.c to src/chsh_chkshell.c. check_shell() is used only by chsh.
11128
11129 2005-07-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
11130
11131         * Attic/acconfig.h, NEWS, configure.in:
11132         finish move all autoheader templates from acconfig.h to configure.in.
11133
11134         * 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:
11135         added missing \n in chage error messages.
11136
11137         * 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:
11138         run "make update-po".
11139
11140         * src/usermod.c: move all #include in one place.
11141
11142         * src/useradd.c: s/-O/-K/
11143
11144         * man/Attic/useradd.8, man/useradd.8.xml:
11145         cleanups in Note: in -K description.
11146
11147         * NEWS, man/Attic/useradd.8, man/useradd.8.xml, src/useradd.c:
11148         change -O option to -K and document it in man page.
11149
11150         * man/Attic/useradd.8, man/useradd.8.xml:
11151         added separated <cmdsynopsis></cmdsynopsis> for -D description and remove using </srb> tags from
11152         <refsynopsisdiv id='synopsis'>.
11153
11154         * src/login.c:
11155         replace #ifdef USE_PAM .. #endif #ifndef USE_PAN .. #endif by
11156         #ifdef USE_PAM .. #else .. #endif.
11157
11158         * src/su.c: conditiona code reorganization.
11159
11160         * src/login.c: remove one #ifndef USE_PAM .. #endif.
11161
11162         * libmisc/setupenv.c: move setup $MAIL to !USE_PAM.
11163
11164         * libmisc/setupenv.c, src/su.c:
11165         consolidate two sections of code #ifndef USE_PAM to one.
11166
11167         * src/su.c, src/sulogin.c, libmisc/setupenv.c, libmisc/tz.c, src/login.c, NEWS:
11168         fixed erroneous warning messages about some login.defs variables when used with PAM
11169         (fix by DJ Lucas <dj@linuxfromscratch.org>)
11170
11171 2005-07-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11172
11173         * configure.in, libmisc/getdate.y, libmisc/utmp.c, src/logoutd.c:
11174         remove non-USG code.
11175
11176         * Attic/acconfig.h, configure.in:
11177         start moving all autoheader templates from acconfig.h to configure.in.
11178
11179         * configure.in: remove not used AC_DEFINE(HAVE_LIBCRYPT).
11180
11181         * Attic/acconfig.h, NEWS, configure.in:
11182         stop with error message if crypt() not found. Remove --with{,out}-libcrypt switch.
11183
11184         * src/login.c: fixed use SYSLOG macro.
11185
11186 2005-07-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11187
11188         * src/login_nopam.c: fixed use SYSLOG macro.
11189
11190 2005-07-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
11191
11192         * NEWS, src/login.c:
11193         setup limits and umask (using login.defs ULIMITS and UMASK variables) only when
11194         PAM support is disabled (it is task for pam_limits and pam_umask modules).
11195
11196 2005-06-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
11197
11198         * src/sulogin.c, src/login.c, src/login_nopam.c, NEWS:
11199         use SYSLOG macro instead syslog() which saves the locale, sets the locale to C,
11200         sends the message and restores the locale (fix by Nicolas François <nicolas.francois@centraliens.net>).
11201
11202         * 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:
11203         in SEE ALLSO section added refer to gpasswd(8)
11204         (suggested by Mike Frysinger <vapier@gentoo.org>)
11205
11206         * NEWS, configure.in: start work on 4.0.11.
11207
11208 2005-06-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
11209
11210         * NEWS: +1 day release 4.0.10 date.
11211
11212         * po/pl.po: kill fuzzy.
11213
11214         * po/de.po: partial update by Frank Schmid <frank@cs-schmid.de>.
11215
11216 2005-06-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11217
11218         * po/ca.po: run "make update-po".
11219
11220         * po/sk.po: updated sk translation by Peter Mann <Peter.Mann@tuke.sk>.
11221
11222 2005-06-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
11223
11224         * NEWS: typo.
11225
11226 2005-06-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11227
11228         * po/pl.po: typo.
11229
11230         * po/pl.po: updated for 4.0.10.
11231
11232         * po/ru.po, NEWS: updated ru translation by maintainer.
11233
11234         * NEWS: added past releases dates. Cleanups.
11235
11236         * man/Attic/shadowconfig.8: merge version generated from XML file.
11237
11238         * po/ca.po, po/cs.po, po/da.po, po/fi.po, NEWS:
11239         translations updated by maintainers.
11240
11241 2005-06-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11242
11243         * 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):
11244         s/EXPIRE/EXPIRE_DATE/.
11245
11246         * po/pl.po: start update for 4.0.10.
11247
11248         * 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:
11249         s/uid/UID/ in all commnets and messages.
11250
11251         * libmisc/failure.c, libmisc/limits.c, lib/pwio.c:
11252         s/uid/UID/ in comments.
11253
11254         * 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:
11255         s/gid/GID/ in all comments and messages.
11256
11257         * 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:
11258         one message in i18n messages less: use in all places "Permission denied" instead
11259         "permission denied".
11260
11261         * libmisc/getdate.y:
11262         remove extern for gmtime(), localtime() and mktime() and instead add #include <time.h>.
11263
11264         * libmisc/entry.c: removed extern for fgetpwent().
11265
11266         * 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:
11267         now most of the man pages now are generated from XML files so in case any submiting
11268         any chages to this resources please make diff fies to XML files.
11269
11270         * man/Attic/pw_auth.3.xml: cleanups.
11271
11272         * man/grpck.8.xml, man/passwd.1.xml:
11273         correctly code EXIT VALUES section using <variablelist>. Cleanups.
11274
11275         * man/shadow.3.xml: cleanups.
11276
11277 2005-06-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11278
11279         * man/ja/Attic/mkpasswd.8, man/ja/Makefile.am, man/pl/Attic/mkpasswd.8, man/pl/Makefile.am:
11280         remove ja and pl mkpasswd.8 man pages.
11281
11282 2005-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
11283
11284         * man/pwck.8.xml, man/useradd.8.xml, man/userdel.8.xml:
11285         correctly code EXIT VALUES section.
11286
11287         * Attic/acconfig.h: removed DES_RPC and OPIE templates.
11288
11289         * 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:
11290         removed mkpasswd.
11291
11292         * man/Makefile.am: do not install mkpasswd(8) man page.
11293
11294         * src/Makefile.am: move mkpasswd.c to EXTRA_DIST.
11295
11296         * man/passwd.5.xml:
11297         use <itemizedlist mark='bullet'> for describe passwd fields. Remove outdated
11298         information about additional fields in comment field. Cleanups.
11299
11300         * man/newusers.8.xml: cleanups.
11301
11302         * man/gshadow.5.xml:
11303         use <itemizedlist mark='bullet'> for gshadow fields desscription.
11304
11305         * man/shadow.5.xml: cleanups.
11306
11307         * man/shadow.5.xml:
11308         use <itemizedlist mark='bullet'> for describe shadow fields.
11309
11310         * man/Attic/pw_auth.3.xml: cleanups.
11311
11312         * man/Attic/pw_auth.3.xml: use correct <refname>.
11313
11314         * man/Attic/pw_auth.3.xml: cleanups.
11315
11316         * man/groupdel.8.xml, man/groupmod.8.xml:
11317         correctly code EXIT VALUES section.
11318
11319         * man/groupadd.8.xml: cleanups.
11320
11321         * man/Attic/mkpasswd.8.xml: added missing <variablelist> tag.
11322
11323         * man/usermod.8.xml: cleanups.
11324
11325         * man/usermod.8.xml: remove <sbr/> tags from SYNOPSIS section.
11326
11327         * man/faillog.8.xml: cleanups.
11328
11329         * man/faillog.5.xml:
11330         put struct faillog definition in <programlisting></programlisting>.
11331
11332         * man/chsh.1.xml, man/chpasswd.8.xml: cleanups.
11333
11334         * man/groupadd.8.xml:
11335         seems I found good way for code EXIT VALUES section.
11336
11337         * man/shadow.3.xml:
11338         put meanings of each field spwd struct in <itemizedlist mark='bullet'>.
11339
11340         * man/shadow.3.xml:
11341         place definition of struct spwd in <programlisting></programlisting>.
11342
11343         * NEWS, src/userdel.c:
11344         userdel now deletes user groups from /etc/gshdow as well as /etc/group.
11345         Fix by Nicolas François <nicolas.francois@centraliens.net>.
11346         http://bugs.debian.org/99442
11347
11348         * 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:
11349         fixed bug in usermod ad run "make -C po update-po".
11350         When relocating a user's home directory, don't fail and remove the new
11351         home directory if we can't remove the old home directory for some
11352         reason; the results can be spectularly poort if, for instance, only
11353         the rmdir() fails. Patch prepared by Timo Lindfors <lindi-spamtrap@newmail.com>.
11354         http://bugs.debian.org/166369
11355
11356 2005-06-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
11357
11358         * src/login.c: indent.
11359
11360         * 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:
11361         cleanups.
11362
11363 2005-06-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11364
11365         * 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:
11366         cleanups.
11367
11368         * man/login.1.xml: rewrited FILES section.
11369
11370         * man/id.1.xml, man/lastlog.8.xml, man/gshadow.5.xml: cleanups.
11371
11372         * man/groups.1.xml: typos.
11373
11374         * man/chfn.1.xml, man/expiry.1.xml, man/gpasswd.1.xml: cleanups.
11375
11376 2005-06-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11377
11378         * NEWS:
11379         last patch for UTMPX was submited by by Nicolas François <nicolas.francois@centraliens.net>
11380
11381         * libmisc/failure.c, libmisc/failure.h, NEWS:
11382         use also UTMPX API instead UTMP on failure (login was by affected this when shadow
11383         was builded without PAM support).
11384
11385         * NEWS, src/login.c:
11386         the PAM session needs to be closed as root, thus before change_uid()
11387         http://bugs.debian.org/53570 http://bugs.debian.org/195048 http://bugs.debian.org/211884
11388
11389         * man/Attic/passwd.1, man/passwd.1.xml:
11390         s/compatiblity/compatibility/ (fix by Christian Perrier <bubulle@kheops.frmug.org>).
11391
11392 2005-06-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11393
11394         * NEWS, man/Attic/chfn.1, man/chfn.1.xml:
11395         give more details about the influence of login.defs on what's allowed to
11396         users (based on Debian patches).
11397
11398         * NEWS, src/su.c:
11399         fix syslogs to be less ambiguous. Use old:new format instead of old-new
11400         because '-' can appear in usernames.
11401         http://bugs.debian.org/213592
11402
11403         * NEWS, src/login.c:
11404         made login's -f option also able to use the username after -- if none
11405         was passed as it's optarg
11406         http://bugs.debian.org/53702
11407
11408         * po/POTFILES.in, NEWS, libmisc/Attic/setup.c, libmisc/Makefile.am:
11409         not used now (removed).
11410
11411         * man/Attic/usermod.8, man/usermod.8.xml:
11412         s/inactive_time/inactive_days/ in -f parameter in SYNOPSIS (fix by Christian
11413         Perrier <bubulle@debian.org>).
11414
11415 2005-06-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
11416
11417         * man/Attic/grpck.8, man/grpck.8.xml:
11418         typo: s/incorrectable/uncorrectable/ (by A Costa <agcosta@gis.net>).
11419
11420         * man/Attic/gshadow.5, man/gshadow.5.xml:
11421         typos: s/folowing/following/; s/encryped/encrypted/; s/supercedes/supersedes/
11422         (by A Costa <agcosta@gis.net>).
11423
11424         * man/Attic/shadow.5, man/shadow.5.xml:
11425         typos: s/encryped/encrypted/; s/supercedes/supersedes/
11426         (by A Costa <agcosta@gis.net>)
11427
11428 2005-06-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11429
11430         * src/login.c, NEWS:
11431         check for hushed login and pass PAM_SILENT if true.
11432         http://bugs.debian.org/48002
11433
11434         * src/login.c, NEWS:
11435         fixed loggin of username on succesful login (was using the normal username,
11436         when it should have used pam_user) http://bugs.debian.org/47819
11437
11438 2005-06-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11439
11440         * NEWS, po/zh_TW.po: updated (by Tetralet <tetralet@pchome.com.tw>).
11441
11442         * NEWS, po/ca.po: updated (by Guillem Jover <guillem@debian.org>).
11443
11444         * man/de/passwd.1:
11445         added small comment with marker usefull for translators.
11446
11447 2005-05-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11448
11449         * 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:
11450         indent all.
11451
11452         * 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:
11453         remove using SHADOWPWD #define so now shadow is allways builded with shadow
11454         password support.
11455
11456 2005-05-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11457
11458         * 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:
11459         rewrite for use getopt_long().
11460
11461 2005-05-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11462
11463         * NEWS, configure.in: start working on 4.0.10.
11464
11465         * man/Makefile.am: remove shadow-man-pages.pot target from all.
11466
11467 2005-05-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
11468
11469         * lib/encrypt.c, NEWS:
11470         fixed passwd segfault in non-PAM connfiguration (submited by Greg Schafer <gschafer@zip.com.au>).
11471
11472         * po/sv.po: upsdate (by Christian Perrier <bubulle@debian.org>).
11473
11474         * NEWS, src/newgrp.c:
11475         fixed NULL pointer dereference - getlogin() and ttyname() can
11476         return NULL which is not checked (http://bugs.debian.org/162303).
11477
11478         * man/Attic/su.1, man/pwconv.8.xml, man/su.1.xml, man/Attic/pwconv.8:
11479         fixed typo (s,similiar,similar,).
11480
11481 2005-05-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11482
11483         * NEWS, po/ro.po: updated by Sorin B. <sorin@bonbon.net>.
11484
11485         * po/ru.po, NEWS: updated by yu-koz <yu-koz@yandex.ru>.
11486
11487 2005-05-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11488
11489         * po/ro.po: few updates by Sorin Batariuc <sorin@bonbon.net>.
11490
11491 2005-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11492
11493         * po/ru.po: updated (by Yuri Kozlov <yuray@id.ru>).
11494
11495 2005-05-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11496
11497         * po/vi.po:
11498         completed translations for HEAD (by Clytie Siddall <clytie@riverland.net.au>).
11499
11500 2005-05-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11501
11502         * NEWS, po/LINGUAS, po/vi.po: added new vi translation.
11503
11504         * NEWS, lib/getdef.c:
11505         leaves the table as it is, and changes from the binary search to
11506         a sequential one (fix by Lucas Correia Villa Real <lucasvr@gobolinux.org>).
11507
11508         * man/Attic/passwd.1, man/passwd.1.xml:
11509         make bold passwd and chfn commands.
11510
11511 2005-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
11512
11513         * man/usermod.8.xml, man/vipw.8.xml: cleanups.
11514
11515 2005-04-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
11516
11517         * 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:
11518         replace <emphasis remap='B'></emphasis> by <command></command>.
11519
11520         * 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:
11521         fixed lastlog --help message (s,--login,--user,) http://bugs.debian.org/249611
11522
11523         * 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:
11524         use <varlistentry></varlistentry> in FILES section. Cleanups.
11525
11526         * 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:
11527         cleanups.
11528
11529         * man/Attic/vipw.8, man/vipw.8.xml:
11530         small fix: s,vi,vi(1), (reported by Helge Kreutzmann <kreutzm@itp.uni-hannover.de> in
11531         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=260636).
11532         s,VISUAL,$VISUAL; s,EDITOR,$EDITOR,
11533
11534 2005-04-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11535
11536         * man/login.1.xml: fixed bold (use <command></command>). Cleanups.
11537
11538         * man/Attic/login.1: fixed typo in bold.
11539
11540         * man/chage.1.xml: fixed italic. Cleanups.
11541
11542         * man/Attic/chage.1: fixed typo in italic.
11543
11544         * man/login.defs.5.xml:
11545         fixed italic (use <filename></filename> istead italic). Cleanups.
11546
11547         * man/Attic/login.defs.5: fixed typo in italic.
11548
11549         * man/vipw.8.xml: fixed italic (use <filename></filename>).
11550
11551         * man/Attic/vipw.8: typo in italic.
11552
11553         * man/Makefile.am:
11554         added target for generate shadow-man-pages.pot. List all now useable xml files
11555         in man_XMANS variable.
11556
11557         * man/pwconv.8.xml:
11558         fixed bold. Use in more places <command></command> istead bold.
11559
11560         * man/Attic/login.defs.5: typo in bold.
11561
11562         * man/su.1.xml:
11563         removed comment. Use <variablelist></variablelist> in Files secstion.
11564         Fixed bold.
11565
11566         * man/Attic/pwconv.8, man/Attic/su.1: typo in bold.
11567
11568 2005-04-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11569
11570         * NEWS, configure.in: start work on 4.0.9.
11571
11572         * po/nl.po: kill fuzzy.
11573
11574         * man/Attic/chage.1:
11575         reverte last commit (by mistake commited experimental version generated from XML file).
11576
11577         * NEWS, po/nl.po:
11578         updated for 4.0.8 (by "cobaco (aka Bart Cornelis)" <cobaco@linux.be>).
11579
11580         * 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:
11581         two typos (s,specyfied,specified,; s,maiximum,maximum,).
11582
11583         * NEWS, po/sk.po:
11584         updated for 4.0.8 (by Peter Mann <Peter.Mann@tuke.sk>).
11585
11586         * src/lastlog.c: typo (s,specyfied,specified,)
11587
11588         * src/faillog.c: typo (s,maiximum,maximum,).
11589
11590 2005-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
11591
11592         * 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:
11593         added <refmiscinfo class="sectdesc">User Commands</refmiscinfo> in <refmeta></refmeta>.
11594
11595         * 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:
11596         Use encoding="UTF-8" and DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN".
11597
11598         * 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:
11599         better formation using "xmlindent -l 80 -d 2".
11600
11601 2005-04-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11602
11603         * 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:
11604         updated it man pages: chfn.1, chsh.1, groups.1, grpck.8, grpconv.8, grpunconv.8,
11605         id.1, lastlog.8, login.1, newgrp.1, pwunconv.8, shadow.5, vigr.8, vipw.8.
11606         new it man pages: chage.1, chpasswd.8, expiry.1, faillog.5, faillog.8,
11607         getspnam.3, logoutd.8, porttime.5, pwck.8, shadow.3, shadowconfig.8, su.1.
11608         (by Danilo Piazzalunga <danilopiazza@libero.it>)
11609
11610         * po/uk.po:
11611         cleanups in plural forms (by Roman Festchook <roma@polesye.net>).
11612
11613         * 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:
11614         reformated using xemacs.
11615
11616 2005-04-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11617
11618         * po/fr.po, NEWS:
11619         updated for 4.0.8 (by Christian Perrier <bubulle@kheops.frmug.org>).
11620
11621         * NEWS, po/eu.po: updated for 4.0.8 (by ^pi^ <piarres@gmail.com>).
11622
11623         * NEWS, po/uk.po:
11624         updated for 4.0.8 (by Roman Festchook <roma@polesye.net>).
11625
11626         * po/cs.po:
11627         updated for 4.0.8 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
11628
11629         * po/da.po, NEWS:
11630         updated for 4.0.8 (by Claus Hindsgaul <claus_h@image.dk>).
11631
11632         * po/ko.po, NEWS:
11633         updated for 4.0.8 (by Changwoo Ryu <cwryu@debian.org>).
11634
11635         * po/fi.po: kill one fuzzy (by Tommi Vainikainen <thv+debian@iki.fi>).
11636
11637 2005-04-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
11638
11639         * man/chpasswd.8.xml: Rewrited by hand & xemacs.
11640
11641         * man/chfn.1.xml: cleanups in <refentry> tag.
11642
11643         * man/chfn.1.xml: Rewrited by hand & xemacs.
11644
11645         * NEWS, po/pt.po:
11646         updated for 4.0.8 (by Miguel Figueiredo <elmig@debianpt.org>).
11647
11648         * po/es.po, NEWS: updated (by Ruben Porras <nahoo@inicia.es>).
11649
11650 2005-04-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11651
11652         * man/Attic/useradd.8:
11653         fixed typos in useadd syntax (in SYNOPSIS section) catched using doclifter.
11654
11655         * 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:
11656         raw version converted using doclifter.
11657
11658         * configure.in: remove handle --with-lib{opie,skey}.
11659
11660         * man/de/chsh.1:
11661         synced with english version (by Simon Brandmair <sbrandmair@gmx.net>).
11662
11663         * man/Attic/usermod.8: improved -o description.
11664
11665         * man/de/passwd.1:
11666         added translation EXIT VALUES section (by Simon Brandmair <sbrandmair@gmx.net>).
11667
11668         * NEWS, po/it.po:
11669         updated it translation (by Danilo Piazzalunga <danilopiazza@libero.it>).
11670
11671 2005-04-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11672
11673         * 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:
11674         cleanups.
11675
11676         * po/pl.po: updated.
11677
11678         * src/usermod.c:
11679         use the same error message ("%s: PAM authentication failed\n") on fail
11680         authentication as in other tools.
11681
11682         * 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:
11683         run "make update-po".
11684
11685         * src/login.c, src/login_nopam.c:
11686         fixed build with disabled PAM support: move bad_time_notify() and check_nologin()
11687         back to src/login.c but use this functions #ifndef USE_PAM.
11688
11689         * NEWS, lib/Makefile.am, lib/pwauth.c:
11690         remove not working OPIE and SKEY support.
11691
11692         * configure.in: typo (s,SELinuux,SELinux,).
11693
11694         * NEWS: typos.
11695
11696         * NEWS: chage, useradd, usermod: reduce multiple OPENLOG() calls.
11697
11698         * src/useradd.c, src/usermod.c: fix multiple OPENLOG() calls.
11699
11700         * src/chage.c: cleanups.
11701
11702         * src/chage.c: fix multiple OPENLOG() calls.
11703
11704         * src/chage.c:
11705         use E_SUCCESS/E_NOPERM #defines instead 0/1 in exit() arguments.
11706
11707 2005-04-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
11708
11709         * src/passwd.c:
11710         adjust also syslog message on usage -S option without permission.
11711         Consolidate SELinix and non-SELinux code.
11712
11713         * 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:
11714         fix #61313 Debian bug: "passwd -S root" (as a normal user) should not
11715         display "You may not change the password for root.
11716
11717         * NEWS, man/Attic/passwd.1:
11718         fix #160477 Debian bug: improve -S output description.
11719
11720         * man/de/passwd.1:
11721         new translation by Simon Brandmair <sbrandmair@gmx.net> with merged all
11722         changes between revision 1.2 a 1.5.
11723
11724 2005-04-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11725
11726         * man/Attic/passwd.1, man/pl/passwd.1: bold passwd and chage commands.
11727
11728         * NEWS, src/vipw.c:
11729         fixed race condition in vipw (Debian #242407 bug; fix by Alexander Gattin
11730         <arg@online.com.ua>).
11731
11732         * man/pl/Attic/chage.1.xml, man/pl/chage.1:
11733         synced with english version.
11734
11735         * man/Attic/chage.1, man/chage.1.xml:
11736         add info about what mean -1 passed n expiredate parameter (based on #304542
11737         Debian bug; submited by Federico Grau <grauf@rfa.org>).
11738
11739 2005-04-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11740
11741         * po/fi.po, NEWS:
11742         updated translation (by Tommi Vainikainen <tvainikan@cc.hut.fi>).
11743
11744         * 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:
11745         cleanups and unifications in SEE ALSO section.
11746
11747 2005-04-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11748
11749         * configure.in:
11750         Info documentation says about AC_GNU_SOURCE: "should be called before any
11751         macros that run the C compiler". So move this macro on top configure.in for
11752         avoid autoconf warnings.
11753
11754         * configure.in:
11755         AC_SYS_LARGEFILE() performs checking is fseeko() is avalaible so "fseeko" can
11756         be removed from AC_CHECK_FUNCS() parameters.
11757
11758         * NEWS, configure.in: Remove using AC_PROG_GCC_TRADITIONAL macro.
11759         Add using AC_GNU_SOURCE macro for kill compilation warnings about implicit
11760         declaration of function `fseeko'.
11761
11762         * po/cs.po: killed fuzzy (by Miroslav Kure <kurem@debian.cz>).
11763
11764         * man/ja/newgrp.1, man/pl/newgrp.1, NEWS, man/Attic/newgrp.1, man/hu/newgrp.1:
11765         newgrp uses /bin/sh (not bash).
11766
11767         * 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:
11768         describe /etc/group in FILES section as "group account information".
11769
11770         * man/Attic/grpck.8:
11771         describe /etc/passwd in FILES section as "user account information".
11772
11773         * po/stats: small script for generate translations statistics.
11774
11775         * NEWS, po/cs.po: Updated by Miroslav Kure <kurem@debian.cz>.
11776
11777         * 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:
11778         describe /etc/shadow in FILES section as "secure user account information".
11779
11780         * man/Attic/newgrp.1:
11781         Reformated paragraph. s,Bourne shell,\fBbash\fR shell,
11782
11783         * NEWS, man/Attic/newgrp.1:
11784         fix #251926, #166173, #113191 Debian bugs: explain why editing /etc/group
11785         (without gshadow) doesn't permit to use newgrp.
11786
11787         * 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:
11788         added/fixed Plural-Forms: header entries. Run "make update-po".
11789
11790         * po/pl.po:
11791         added Plural-Forms: header entry and updated for last change in
11792         libmisc/failure.c.
11793
11794         * libmisc/failure.c:
11795         break message text with failure login since last login.
11796
11797         * libmisc/failure.c:
11798         Use ngettext instead of string concatenation and static number of cases.
11799         Patch by Tommi Vainikainen <tvainika@cc.hut.fi>.
11800
11801 2005-04-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
11802
11803         * po/cs.po:
11804         new translation maintainer: Miroslav Kure <kurem@debian.cz>.
11805
11806 2005-04-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11807
11808         * po/pl.po: updated for 4.0.8.
11809
11810 2005-04-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11811
11812         * 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:
11813         changed faillog records display format for allow fit in 80 columns all
11814         faillog atributies.
11815
11816         * 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:
11817         run "make update-po". Updated pl.po.
11818
11819         * src/faillog.c (usage): typo (s,IDAYS,DAYS,).
11820
11821         * man/Attic/faillog.8, NEWS:
11822         updated after rewrite faillog command for use getopt_long().
11823
11824         * src/faillog.c:
11825         Add handle -h,--help option. Show in usage output information about
11826         -t,--time option. Remove handle -p option.
11827
11828         * 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:
11829         run "make update-po".
11830
11831         * po/POTFILES.in: updated.
11832
11833         * man/Attic/gpasswd.1: typo (s,fB,\fB,).
11834
11835 2005-04-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
11836
11837         * NEWS, man/ja/login.1:
11838         updated ja man page for Debian #95213 bug (by Kenshi Muto <kmuto@debian.org>).
11839
11840         * 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:
11841         next round of cleanups: removed NDBM code (unused).
11842
11843         * src/login.c: consilidate some !USE_PAM lines.
11844
11845         * src/login.c, src/login_nopam.c:
11846         move bad_time_notify() and check_nologin() to src/login_nopam.c.
11847
11848         * lib/prototypes.h: remove not used login_desrpc() prototype.
11849
11850         * lib/Attic/rad64.c, lib/encrypt.c, lib/prototypes.h, lib/Makefile.am:
11851         remove lib/rad64 with not used c64i() and i64c() functions.
11852
11853         * lib/encrypt.c:
11854         remove "#ifdef SW_CRYPT .. #endif" and "#ifdef DOUBLESIZE .. #endif" unused code.
11855
11856         * lib/encrypt.c: remove "#ifdef MD5_CRYPT .. #endif" unused code.
11857
11858         * libmisc/salt.c:
11859         remove prototypes for *l64a() and add #include <stdlib.h>. Remove unused
11860         now code (old style random salt generator).
11861
11862         * src/chage.c: cleanups.
11863
11864         * src/chpasswd.c:
11865         remove prototypes for *l64a() and add #include <stdlib.h>.
11866
11867         * src/login.c: remove login_fbtab() prototype.
11868
11869         * src/chage.c:
11870         remove prototypes for a64l() and *l64a() and add #include <stdlib.h>.
11871
11872 2005-04-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11873
11874         * 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:
11875         more replaces "-" by "\-" (s,\\-,-,g; s,-,\\-,g).
11876
11877         * man/pl/usermod.8: finish sync with english version.
11878
11879         * man/hu/login.1, man/pl/login.1, NEWS, man/Attic/login.1, man/de/login.1:
11880         removed fragment about abilities pass enviroment variables in login prompt.
11881
11882         * man/Attic/gpasswd.1, man/Attic/newgrp.1:
11883         fixes by Nicolas Nicolas François <nicolas.francois@centraliens.net> (not all
11884         commited).
11885
11886 2005-04-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11887
11888         * 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:
11889         replace all "-" by "\-" (s,\\-,-,; s,-,\\-,).
11890
11891         * man/cs/groups.1: cleanups.
11892
11893         * NEWS, src/su.c:
11894         fixed use of SU_WHEEL_ONLY in su. Now su realy is avalaible for wheel group
11895         members. Thanks to Mike Frysinger <vapier@gentoo.org> for report:
11896         http://bugs.gentoo.org/show_bug.cgi?id=80345
11897
11898         * man/pl/Attic/chage.1.xml:
11899         converted from roff using doclifter. Rewrited by hand. Probably will be
11900         removed after prepare infrastructure for translate man pages using gettext
11901         but temporary I need this for some experiments.
11902
11903         * src/login.c: remove unused #ifded LOGIN_FBTAB .. #endif code.
11904
11905         * configure.in, libmisc/Attic/login_access.c, libmisc/Makefile.am, src/Makefile.am, src/login.c, src/login_nopam.c:
11906         move libmisc/login_access.c to src/login_mopam.c.
11907         Remove using LOGIN_ACCESS #define. Now LOGIN_ACCESS is equal to !USE_PAM.
11908         In src/login_nopam.c will be cumulated non-PAM specyfic login code.
11909
11910         * src/lastlog.c, src/login.c, src/useradd.c, src/usermod.c, libmisc/log.c:
11911         cleanups: remove using #include "lastlog_.h".
11912
11913         * src/login.c: fixed build with PAM support disabled.
11914
11915         * src/login.c: remove "#ifdef HUP_MESG_FILE .. #endif" code.
11916
11917         * src/login.c: reindent using -l80.
11918
11919         * man/Attic/chage.1, man/chage.1.xml:
11920         s/chage/chage command/ in DESCRIPTION.
11921
11922         * man/chage.1.xml:
11923         converted from roff using doclifter. Rewrited by hand.
11924
11925         * 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:
11926         cleanups.
11927
11928         * man/Attic/pwconv.8: fixed typo: s,fI,\fI,
11929
11930         * po/POTFILES.in: remove libmisc/login_{desrpc,krb}.c.
11931
11932         * lib/getdef.c, libmisc/Attic/login_desrpc.c, libmisc/Attic/login_krb.c, libmisc/Makefile.am, src/login.c, NEWS, autogen.sh, configure.in:
11933         drop never finished kerberos and des_rpc support.
11934
11935         * man/it/chfn.1: cleanups.
11936
11937 2005-04-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
11938
11939         * NEWS, configure.in:
11940         fixed UTMP path detection (by Kelledin <kelledin@users.sf.net>).
11941
11942         * man/fr/chsh.1: typo.
11943
11944         * man/de/Makefile.am, man/de/passwd.5:
11945         imported from Deutscher manpages.
11946
11947         * man/cs/Makefile.am, man/cs/groups.1, man/cs/lastlog.8, man/cs/su.1:
11948         new files imported from Czech man-pages.
11949
11950         * 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:
11951         cleanups: aded missing \fR.
11952
11953         * man/Attic/gpasswd.1, man/Attic/gshadow.5, man/Makefile.am, NEWS:
11954         added new file (by Nicolas Nicolas François <nicolas.francois@centraliens.net>).
11955
11956 2005-03-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
11957
11958         * man/pl/chage.1, man/pl/chfn.1, man/pl/chsh.1, man/pl/gpasswd.1:
11959         added missing \fR.
11960
11961         * man/pl/groupmod.8: typo: s,\fI,\fR,
11962
11963         * man/pl/login.1, man/pl/passwd.1: cleanups: aded missing \fR.
11964
11965         * man/pl/sulogin.8: cleanups.
11966
11967         * man/pl/useradd.8: cleanups: aded missing \fR.
11968
11969         * man/pl/usermod.8: partialy synced with english version.
11970
11971         * man/Attic/usermod.8: typo.
11972
11973         * NEWS, man/Attic/usermod.8:
11974         fixed #302388 Debian bug: added separated -o option description.
11975
11976         * lib/getdef.c:
11977         FAILLOG_ENAB, LOGIN_STRING moved to code "#ifndef USE_PAM" dependent.
11978
11979         * lib/pwauth.c, lib/pwauth.h: enable pw_auth() only #ifndef USE_PAM.
11980
11981         * 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:
11982         reindent all source code using -l80.
11983
11984         * libmisc/.indent.pro, src/.indent.pro, lib/.indent.pro: -l80 added.
11985
11986         * lib/gshadow.c, NEWS:
11987         rewrited group count to dynamic (by John Newbigin <jnewbigin@ict.swin.edu.au >).
11988
11989         * 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:
11990         run "make update-po".
11991
11992         * src/login.c: use allways "\n%s login: " login prompt.
11993
11994         * src/login.c: removed radius support (even not compiles).
11995
11996         * doc/Attic/README.mirrors, doc/Makefile.am: removed.
11997
11998         * src/userdel.c (update_user): removed next redundant closing }.
11999
12000         * src/userdel.c: remove using unused NO_REMOVE_MAILBOX #define.
12001
12002         * src/userdel.c (update_user): removed redundant closing }.
12003
12004 2005-03-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12005
12006         * lib/getdef.c:
12007         move PASS_MAX_DAYS, PASS_MIN_DAYS and PASS_WARN_AGE to part PAM not dependent
12008         (used in useradd, pwconv).
12009
12010         * configure.in, src/Makefile.am:
12011         move define LOCALEDIR using AC_DEFINE_UNQUOTED() to src/Makefile.am::AM_CPPFLAGS.
12012
12013         * man/Attic/pwconv.8: typo in bold.
12014
12015         * doc/Attic/INSTALL: removed.
12016
12017         * doc/Attic/README.sun4, doc/Makefile.am: removed outdated README.sun4.
12018
12019 2005-03-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
12020
12021         * po/pl.po: put mine data in Last-Translator: field.
12022
12023         * src/newusers.c:
12024         use the same as in useradd default UMASK (022 instead 077) if diffrent not
12025         defined in login.defs.
12026
12027         * NEWS, libmisc/copydir.c:
12028         added SELinux changes (based on Fedora patch).
12029
12030         * NEWS: typo.
12031
12032         * man/Attic/login.defs.5: typo in bold.
12033
12034         * src/chfn.c, src/chsh.c, lib/getdef.c:
12035         move CHFN_AUTH, CHSH_AUTH variables from login.defs to part !USE_PAM dependent.
12036         Use "auth required pam_unix.so" in /etc/pam.d/{chfn,chsh} for force enter password
12037         on use chfn/chsh.
12038
12039         * lib/getdef.c: added CHSH_AUTH variable in def_table[] table.
12040
12041         * src/chsh.c: s/CHFN_AUTH/CHSH_AUTH/
12042
12043         * man/Attic/shadow.5, man/Attic/passwd.5:
12044         add more accurate information about what contains field with encrypted password in
12045         each passwd/shadow line (reported by Mike Brodbelt).
12046
12047         * autogen.sh: reorder.
12048
12049         * lib/getdef.c:
12050         CRACKLIB_DICTPATH, ENV_HZ, ENV_PATH, ENV_ROOTPATH, ENV_SUPATH, ENV_TZ,
12051         ENVIRON_FILE, FTMP_FILE, ISSUE_FILE, LASTLOG_ENAB, MAIL_CHECK_ENAB, MAIL_DIR,
12052         MAIL_FILE, MD5_CRYPT_ENAB, MOTD_FILE, NOLOGINS_FILE, OBSCURE_CHECKS_ENAB,
12053         PASS_ALWAYS_WARN, PASS_CHANGE_TRIES, PASS_MAX_DAYS, PASS_MAX_LEN, PASS_MIN_DAYS,
12054         PASS_MIN_LEN, PASS_WARN_AGE, PORTTIME_CHECKS_ENAB, SU_WHEEL_ONLY, QMAIL_DIR,
12055         QUOTAS_ENAB, ULIMIT variables moved to code "#ifndef USE_PAM" dependent.
12056
12057         * configure.in:
12058         fix importand typo: added missing ",". Now LOGIN_ACCESS realy is defined only
12059         when PAM is not enabled.
12060
12061         * libmisc/obscure.c, libmisc/limits.c:
12062         all functions from this file are "#ifndef USE_PAM" dependent.
12063
12064         * libmisc/setugid.c (change_uid):
12065         removed dead code depndent on "#ifdef BSD".
12066
12067         * libmisc/ttytype.c (ttytype):
12068         removed dead code depend on "defined(SUN) || defined(BSD) || defined(SUN4)".
12069
12070         * src/login.c (setup_tty): remove dead code.
12071
12072         * libmisc/rlogin.c:
12073         fix compilation warning: replace #include <unistd.h> by #include <netdb.h>
12074         where ruserok() is declared.
12075
12076 2005-03-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12077
12078         * po/pl.po: kill one fuzzy entry.
12079
12080 2005-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12081
12082         * NEWS, libmisc/log.c:
12083         fixed create lastlog entry fo users never loged in on non-PAM
12084         variant of login (fix by <oracular@ziplip.com>).
12085
12086 2005-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12087
12088         * NEWS, etc/Attic/login.defs.linux, etc/login.defs, lib/getdef.c, man/pl/login.defs.5:
12089         remove handle login.defs::NOLOGIN_STR (never used).
12090
12091 2005-02-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
12092
12093         * man/Attic/shadow.5:
12094         added missing '\&' in line starting with '\.', which causes groff to skip
12095         it entirely (fix submited by Danilo Piazzalunga <danilopiazza@libero.it>).
12096
12097         * TODO: cleanups.
12098
12099 2005-02-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12100
12101         * src/useradd.c, NEWS:
12102         useradd: fixes a potential security problem when mailbox is created in
12103         useradd.
12104         Patch and comment by Koblinger Egmont <egmont@uhulinux.hu>:
12105         Only two arguments are passed to the open() call though it expects three
12106         because O_CREAT is present. Hence the permission of the file first becomes
12107         some random garbage found on the stack, and an attacker can perhaps open
12108         this file and hold it open for reading or writing before the proper
12109         fchmod() is executed. (Actually, we could also pass the final "mode" to
12110         the open() call and then save the consequent fchmod().)
12111
12112 2005-02-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12113
12114         * NEWS, po/LINGUAS, po/tl.po:
12115         added tl translation (fron Debian resources).
12116
12117 2005-02-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12118
12119         * NEWS, src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c:
12120         SELinux changes: added changes in chage, chfn, chsh, passwd for allow
12121         construct more grained user password/accuunt properties on SELinux
12122         policies level. Patch originally based on RH changes (submited by Chris
12123         PeBenito <pebenito@gentoo.org>)
12124
12125 2005-02-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12126
12127         * po/fr.po, NEWS:
12128         updated translation (by Jean-Luc Coulon <jean-luc.coulon@wanadoo.fr>) from
12129         Debian resources.
12130
12131 2005-01-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12132
12133         * NEWS, configure.in: open work on 4.0.8.
12134
12135 2005-01-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
12136
12137         * 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:
12138         "make update-po".
12139
12140 2005-01-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12141
12142         * NEWS, po/it.po:
12143         updated it translations (by Danilo Piazzalunga <danilopiazza@libero.it>).
12144
12145 2005-01-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
12146
12147         * libmisc/rlogin.c: remove ruserok() prototyle and #include <unistd.h>.
12148
12149         * lib/getdef.c: remove strtol() prototype (it comes with <stdlib.h>).
12150
12151         * po/da.po, po/es.po, po/nl.po, po/pl.po, po/pt.po:
12152         "Project-Id-Version: shadow 4.0.7".
12153
12154         * NEWS, po/fi.po:
12155         updated fi translation (by Tommi Vainikainen <thv+debian@iki.fi>).
12156
12157 2005-01-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12158
12159         * po/da.po, po/es.po, po/pl.po, po/pt.po: kill fuzzy entries.
12160
12161         * po/nl.po, NEWS:
12162         updated nl translations (by cobaco (aka Bart Cornelis)" <cobaco@linux.be>).
12163
12164         * lib/Makefile.am (libshadow_la_LIBADD): removed snprintf.h.
12165
12166         * NEWS, po/LINGUAS, po/zh_TW.po:
12167         added zh_TW translation (from Debian resources).
12168
12169         * 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:
12170         "make update-po".
12171
12172         * 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:
12173         "less means better" added fixes which makes english texts more consistent
12174         especially with capitalization issues. Based on fixes by Tommi Vainikainen
12175         <thv+debian@iki.fi> (make all text begining from lower case .. not upper).
12176         This patch cuts i18n entries in each po/*po file from 420 to 402.
12177
12178 2005-01-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12179
12180         * NEWS: added pt to updated translations.
12181
12182         * lib/defines.h: reverte last change (mistake).
12183
12184         * po/pt.po:
12185         updated translation by Miguel Figueiredo <elmig@debianpt.org>.
12186
12187 2005-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
12188
12189         * NEWS: typo.
12190
12191         * NEWS: update da, es and pl (100%) translations.
12192
12193         * po/pl.po: finish translations.
12194
12195         * po/da.po: updated translations by Claus Hindsgaul <claus_h@image.dk>.
12196
12197         * NEWS, TODO: Typos found by Claus Hindsgaul <claus_h@image.dk>.
12198
12199         * po/es.po: Updates from Ruben Porras <nahoo@inicia.es>.
12200
12201         * lib/defines.h: - remove usong shadow_.h.
12202
12203         * po/pl.po: kill fuzzy.
12204
12205         * 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:
12206         remove unused now files in lib/ directory.
12207
12208         * 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:
12209         Now correctly shadow passes "make distcheck".
12210
12211         * NEWS: typo.
12212
12213 2005-01-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
12214
12215         * 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:
12216         switch faillog ro use getopt_long().
12217
12218         * etc/pam.d/su: aded line with "session required pam_env.so".
12219
12220 2004-12-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12221
12222         * man/de/Makefile.am, man/de/vigr.8, man/de/vipw.8, NEWS:
12223         added de vigr(8), vipw(8) man pages (from Debian resources).
12224
12225 2004-12-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12226
12227         * po/LINGUAS, po/ro.po, po/sq.po, NEWS:
12228         added ro, sq translations (from Debian resources).
12229
12230 2004-12-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
12231
12232         * configure.in:
12233         added checing is fseeko() function is avalaibabe in system: added fseeko to
12234         AC_CHECK_FUNCS parameters.
12235
12236         * lib/Makefile.am:
12237         fixed warning message about incorrect try linking non-PIC code with shared
12238         library: removed $(top_builddir)/libmisc/libmisc.a from libshadow_la_LIBADD.
12239
12240         * NEWS:
12241         - final entry about fixed large file support in lastlog and faillog.
12242
12243         * src/vipw.c, lib/Attic/pwent.c, lib/Attic/grent.c:
12244         use fseeko() instead fseek(). This not realuy neccessary because in this
12245         cases fseek() was used for move to begin of file. This only for minimize
12246         external functions count.
12247
12248         * src/faillog.c:
12249         fixes for allow operate on large files by faillog: use fseeko() instead
12250         fseek().
12251
12252         * src/lastlog.c:
12253         fixes for allow operate lastlog on large files: use fseeko() instead fseek()
12254         and do not casrt file offsets to unsigned long (based on large-file patch
12255         from FC).
12256
12257         * src/faillog.c: fixed typo in usage().
12258
12259 2004-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12260
12261         * man/pl/newgrp.1: fixed typo in bold macro.
12262
12263 2004-12-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
12264
12265         * man/pl/chpasswd.8: remove bold from NAZWA section.
12266
12267 2004-12-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12268
12269         * src/faillog.c: remove using Prog variable.
12270
12271         * configure.in, NEWS:
12272         fixed large file support: added AC_SYS_LARGEFILE macro to autoconf.
12273
12274         * man/Attic/groupmod.8, man/pl/groupmod.8: separate OPTIONS section.
12275
12276         * man/pl/chpasswd.8: sync with english version.
12277
12278         * man/Attic/chpasswd.8:
12279         bold "chpasswd" command name in CAVEATS section.
12280
12281         * man/Attic/chpasswd.8: s/protect/protected/
12282
12283         * man/pl/lastlog.8: cleanups.
12284
12285         * man/Attic/chpasswd.8, man/Attic/lastlog.8, man/Attic/newusers.8:
12286         remove bold from NAME section.
12287
12288         * man/it/groupadd.8, man/it/useradd.8: separate OPZIONI section.
12289
12290         * man/pl/groupmems.8: fixes in OPCJE section.
12291
12292         * man/Attic/chpasswd.8: more cleanups.
12293
12294 2004-12-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
12295
12296         * 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:
12297         Fixed varoiuse typos and misspeling based partialy on patch from Bug#141322
12298         from Debian (submited by Christian Perrier <bubulle@debian.org>).
12299
12300         * man/Attic/chpasswd.8: more cleanups.
12301
12302         * man/pl/faillog.8, man/Attic/faillog.8, man/ja/faillog.8:
12303         remove from OPTIONS section information about avalaibability on some systems
12304         faillog database in other location thad listed in FILES section.
12305
12306         * man/Attic/chpasswd.8: updated.
12307
12308         * man/fr/faillog.5:
12309         fixed FICHIERS secttion: corrected change to italic on /var/log/faillog.
12310
12311         * src/faillog.c:
12312         move main() to the end of file and reorder rest functions. Now declararion
12313         finction prototypes can be removed.
12314
12315 2004-12-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12316
12317         * NEWS: updated.
12318
12319         * man/pl/lastlog.8: synced with current english version.
12320
12321         * man/Attic/lastlog.8: use the same style as in chpasswd(8).
12322
12323         * 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:
12324         "make update-po" after rewrite lastlog.
12325
12326         * src/lastlog.c: Rewrite for use the same style as in chpasswd.c.
12327         Move open lastlog file after commadline option parsing so now --help option
12328         can be used by user without read access to lastlog file.
12329
12330         * src/chpasswd.c:
12331         s/display this help and exit/display this help message and exit/ in ussage()
12332         output.
12333
12334         * 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:
12335         "make update-po".
12336
12337         * src/chpasswd.c:
12338         Added handle -h|--help option. Improved and updated ussage() output.
12339
12340 2004-12-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12341
12342         * 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:
12343         "make update-po" and resolve fuzzy with last change in src/chpasswd.c.
12344
12345         * src/chpasswd.c, NEWS:
12346         switch chpasswd to use getopt_long() and adds a --md5 option
12347         (by Ian Gulliver <ian@penguinhosting.net>).
12348
12349         * NEWS, configure.in: start work on 4.0.7.
12350
12351 2004-11-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12352
12353         * NEWS: cleanups.
12354
12355         * 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:
12356         removed not used translations.
12357
12358         * NEWS, src/su.c:
12359         fix adding of pam_env env variables to enviroment (Martin Schlemmer <azarah@nosferatu.za.org>).
12360
12361         * NEWS, configure.in:
12362         fixed filling MAIL_SPOOL_DIR and MAIL_SPOOL_FILE variables which was allways
12363         empty (Gregorio Guidi <g.guidi@sns.it>)
12364
12365         * NEWS: updated.
12366
12367         * 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:
12368         do not translate variable names from /etc/default/useradd during "useradd -D".
12369
12370 2004-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12371
12372         * 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:
12373         correction: groups/users with gid/uid 0 and 999 are reserved for system accounts.
12374
12375         * 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:
12376         zgroups/users with gid/uid 0 and 499 are typically reserved for system accounts.
12377
12378 2004-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
12379
12380         * 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:
12381         separated OPTIONS section.
12382
12383         * lib/commonio.c: reverte last change.
12384
12385         * libmisc/pwdcheck.c:
12386         one word fix .. ommited "else" was removed. Now security bug which allow
12387         unauthorized account properties modification is realy closed.
12388
12389 2004-10-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12390
12391         * lib/commonio.c:
12392         add matchpathcon to create the files correctly when they do not exist (based
12393         on patch from FC).
12394
12395         * man/Attic/passwd.1: fixed two typos ("/" in incorrect place).
12396
12397 2004-10-27  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12398
12399         * etc/pam.d/useradd: - added header
12400
12401         * etc/pam.d/chfn, etc/pam.d/chsh, etc/pam.d/userdel: - fixed header
12402
12403 2004-10-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
12404
12405         * etc/pam.d/chfn, etc/pam.d/chsh, etc/pam.d/userdel:
12406         added missing template/example PAM service config files for chfn, chsh, userdel.
12407
12408         * NEWS, configure.in: start 4.0.6.
12409
12410 2004-10-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12411
12412         * 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:
12413         remove adduser(8) roff include man page to useradd(8).
12414
12415         * lib/Makefile.am: more fixes for non-inst libmisc.
12416
12417         * libmisc/Makefile.am, src/Makefile.am, NEWS:
12418         change libmisc to private static library.
12419
12420         * etc/pam.d/Makefile.am: typo.
12421
12422 2004-10-24  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12423
12424         * po/pl.po: - more translation/formatting fixes
12425
12426         * po/pl.po: - updated translation
12427
12428         * 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:
12429         - make update-po, updated usage() translation
12430
12431         * src/useradd.c: - syntax fix for useradd in usage()
12432
12433         * 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:
12434         - usage() formatting and other fixes
12435
12436         * po/fi.po: - proper UTF
12437
12438         * po/pl.po: - pl translation fixes/updates by Jakub Bogusz
12439
12440 2004-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
12441
12442         * 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:
12443         use default path to PAM modules.
12444
12445         * 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:
12446         Remove shadow PAM config file. Added PAM config files for: chage, chpasswd,
12447         groupadd, groupdel, groupmod, login, newusers.
12448
12449         * 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:
12450         "make update-po".
12451
12452         * configure.in: reverte previous incorrect commit.
12453
12454         * NEWS, src/su.c:
12455         add pam_open_session() support. If builded without PAM support
12456         propagate $DISPLAY and $XAUTHORITY enviroment variables.
12457         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
12458
12459 2004-10-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12460
12461         * configure.in: cleanups.
12462
12463         * lib/defines.h:
12464         define syslog() depending on ENABLE_NLS (not on HAVE_SETLOCALE).
12465
12466 2004-10-23  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12467
12468         * man/fr/Makefile.am: - killed non-existent manpage
12469
12470 2004-10-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12471
12472         * libmisc/copydir.c, NEWS:
12473         when placing symlinks into /etc/skel copy_tree of libmisc/copydir.c will
12474         properly create the symlink in the destination directory but not change the
12475         ownership to the target user/group. This makes httpd Option
12476         SymlinkIfOwnerMatch break for default weg pages including symlinks placed
12477         into /etc/skel/public_html for example.
12478         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=66819
12479
12480 2004-10-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
12481
12482         * src/Makefile.am:
12483         seems I foud CorrectWay(tm) for add some symlinks on install target.
12484
12485         * po/pl.po: more fixes.
12486
12487         * po/pl.po: added missing \n.
12488
12489         * 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:
12490         more verbose/human readable -l output. This output is much more beter for
12491         send directly via email for each users as message with account status (for
12492         example as message with warning about account/password expiration).
12493
12494         * configure.in: start prepare for 4.0.5.
12495
12496         * src/Makefile.am, libmisc/Makefile.am, lib/Makefile.am, configure.in:
12497         move LOCALEDIR to autoheader variables. Remove redefining DEFS in
12498         Makefile.am (not neccessary now).
12499
12500         * 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:
12501         applied OWL shadow-4.0.4.1-owl-pam-auth.diff patch by Solar Designer
12502         <solar@openwall.com>:
12503           Moved the PAM authentication in user management commands after
12504           command-line parsing, made it use separate service names for each command.
12505           Use constant strings rather than argv[0] for syslog ident in the user
12506           management commands.
12507
12508         * man/Attic/useradd.8:
12509         reword the useradd manpage a little to make it more clear. Fix from:
12510         http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-apps/shadow/files/shadow-4.0.4.1-useradd-manpage-update.patch?rev=1.1
12511
12512         * configure.in: added libselinux detection.
12513
12514         * lib/Makefile.am, lib/commonio.c, lib/commonio.h, NEWS, autogen.sh, configure.in:
12515         added SELinux support (basing on patch from Gentoo).
12516
12517         * man/fr/Makefile.am (man_MANS): added getspnam.3.
12518
12519 2004-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12520
12521         * 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:
12522         English grammar fix: s/is a not a valid group name/is not a valid group name/
12523         (pointed by Mike Frysinger <vapier@gentoo.org>).
12524
12525 2004-10-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
12526
12527         * NEWS, src/userdel.c:
12528         When removing a user with userdel, userdel always exits 1 (fixed).
12529         Based on http://bugs.gentoo.org/show_bug.cgi?id=66687.
12530
12531 2004-08-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12532
12533         * configure.in:
12534         Use AC_SEARCH_LIBS() for inet_ntoa(), socket(), gethostbyname() probing (instead AC_CHECK_FUNC()).
12535
12536 2004-08-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12537
12538         * man/Makefile.am: shadow(3) man page moved to man_MANS.
12539
12540         * libmisc/ttytype.c: Removed getenv() prototype (it is in <stdlib.h>).
12541
12542         * src/Attic/mkpasswd.c:
12543         Removed fgetsx() prototype (it is in lib/prototypes.h).
12544
12545         * man/it/vigr.8: Fixed typo (s/wipw/vipw/).
12546
12547 2004-08-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12548
12549         * NEWS: Typo.
12550
12551         * 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:
12552         Run "make update-po".
12553
12554         * po/ca.po, po/da.po, po/nl.po, po/pt_BR.po: Converted to UTF-8.
12555
12556         * po/LINGUAS: Typo.
12557
12558         * 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:
12559         New translations: bs, ca, da, eu, he, id, nb, nl, nn, pt, pt_BR, tr,
12560         zh_CN (stolen froM Debian)
12561
12562         * 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:
12563         Corrected section number.
12564
12565 2004-08-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12566
12567         * 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:
12568         Options description in alphabetical order.
12569
12570         * NEWS, src/login.c:
12571         Applied 036_pam_access_with_preauth.patch Debian patch submited by Bjorn
12572         Torkelsson <Bjorn.Torkelsson@hpc2n.umu.se>: add support for PAM account
12573         management to restrict access using pam_access when login is invoked with -f.
12574
12575 2004-06-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12576
12577         * man/Attic/getspnam.3: added roff link to shadow(3).
12578
12579         * man/Makefile.am (man_MANS): added getspnam.3.
12580
12581 2004-06-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
12582
12583         * NEWS, lib/commonio.c, lib/getdef.c, src/vipw.c:
12584         Applied OWL shadow-4.0.4.1-owl-check-reads.diff patch by Solar Designer.
12585         Add checking for read errors in commonio and vipw/vigr (not doing so could
12586         result in data loss when the records are written back).
12587
12588         * NEWS: Add note about apply shadow-4.0.4.1-owl-tmp.diff OWL patch.
12589
12590         * src/useradd.c, configure.in:
12591         Remove looking for mkstemp() prototype and allways use mkstemp() (removed
12592         using mktemp if mkstemp() not found).
12593         Partialy based on tmp OWL patch by Solar Designer <solar@openwall.com>.
12594
12595         * NEWS, libmisc/pwdcheck.c:
12596         Fixed securirty bug which allow unauthorized account properties modification.
12597         Affected tools: chfn and chsh.
12598         Bug was discovered by Martin Schulze <joey@infodrom.org>.
12599
12600 2004-05-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12601
12602         * NEWS: typo.
12603
12604         * NEWS, po/LINGUAS, po/it.po:
12605         added it translation (by Danilo Piazzalunga <danilopiazza@libero.it>).
12606
12607 2004-05-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12608
12609         * NEWS: typos.
12610
12611         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
12612
12613 2004-05-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12614
12615         * po/sk.po: run "make update-po".
12616
12617         * NEWS, po/LINGUAS, po/sk.po:
12618         added sk translation (by Mann <Peter.Mann@tuke.sk>, submited by Christian
12619         Perrier <bubulle@kheops.frmug.org>).
12620
12621 2004-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12622
12623         * configure.in:
12624         Use autoconf cache variables for file and directory location tests (by
12625         Maciej W. Rozycki  <macro@ds2.pg.gda.pl>).
12626
12627 2004-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12628
12629         * man/Attic/passwd.5:
12630         Correct path directory delimiters (by Maciej W. Rozycki <macro@ds2.pg.gda.pl>).
12631
12632         * libmisc/xmalloc.c (malloc):
12633         Remove the declaration (by Maciej W. Rozycki <macro@ds2.pg.gda.pl>).
12634
12635 2004-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12636
12637         * src/login.c, NEWS:
12638         Fixed handle -f option: now it works correctly without specify "-h
12639         <host>" if open login session localy is required (thanks for help
12640         investigate bug for Krzysztof Kotlenga).
12641
12642         * po/es.po: Updated (by Ruben Porras <nahoo82@telefonica.net>).
12643
12644 2004-04-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12645
12646         * 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:
12647         Run "update-po".
12648
12649 2004-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
12650
12651         * po/es.po: Updated to current (by run "update-po").
12652
12653         * po/es.po: Converted to utf-8.
12654
12655         * po/LINGUAS: Added es.
12656
12657         * po/es.po, NEWS:
12658         Added es translation (by Ruben Porras <nahoo82@telefonica.net>).
12659
12660 2004-04-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12661
12662         * po/ko.po, NEWS:
12663         Updated ko translations (by Changwoo Ryu <cwryu@debian.org>).
12664
12665 2004-04-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
12666
12667         * po/fi.po: iconv -f iso8859-9 -t utf8
12668
12669 2004-03-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12670
12671         * libmisc/age.c:
12672         Use endsgent() conditionaly depending on SHADOWGRP (fix submited by Gabor Z.
12673         Papp <gzp@papp.hu>).
12674
12675         * po/LINGUAS, po/fi.po, NEWS:
12676         Added fi translation (by Tommi Vainikainen <thv@iki.fi>).
12677
12678         * README: Fixed shadow and shadow-commit lists on-line archives URLs.
12679
12680 2004-01-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12681
12682         * NEWS, configure.in, man/fr/Makefile.am, man/hu/Makefile.am, man/it/Makefile.am:
12683         New version 4.0.4.1
12684         bug fixes in automake files for generate correct tar ball on "make dist":
12685         added midsiing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
12686
12687         * man/ko/Makefile.am: New version 4.0.4.1
12688         bug fixes in automake files for generate correct tar ball on "make dist":
12689         added missing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
12690
12691         * man/de/Makefile.am, man/es/Makefile.am: New version 4.0.4.1
12692         bug fixes in automake files for generate correct tar ball on "make dist":
12693         added midsiing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
12694
12695         * configure.in: Fixed checking is avalaible st_rdev in struct stat.
12696
12697 2004-01-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
12698
12699         * po/pl.po: Typo.
12700
12701         * man/pl/useradd.8: Cleanups in SYNOPSIS.
12702
12703 2004-01-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12704
12705         * po/pl.po: Cleanups.
12706
12707 2004-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12708
12709         * configure.in: Cleanups after autoupdate.
12710
12711 2004-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12712
12713         * 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:
12714         Added missing information about -f options in groupadd usage mesage (document
12715         this also in man page).
12716
12717 2003-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12718
12719         * lib/Attic/lastlog_.h, libmisc/log.c, libmisc/utmp.c, src/lastlog.c, src/login.c:
12720         More time() or gettimeofday() prevention overwrite memory on 64bit arch
12721         (partialy based on patch from MDK).
12722
12723         * 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:
12724         Post remove TCFS support "make update-po".
12725
12726         * man/Makefile.am: Removed getspnam.3 from EXTRA_DIST.
12727
12728         * po/POTFILES.in: Removed lib/tcfsio.c.
12729
12730         * lib/Attic/tcfsio.c, lib/Attic/tcfsio.h, lib/Makefile.am, src/passwd.c, src/userdel.c, NEWS, configure.in, doc/Attic/README.pam:
12731         Removed TCFS support (tcfs is dead).
12732
12733         * configure.in:
12734         Added using AM_MAINTAINER_MODE. AC_INIT without parameters.
12735
12736         * Attic/acconfig.h, configure.in:
12737         Cleanups on autoheadres level: use AC_DEFINE(VAR, VAL, [Comment]) for
12738         USE_PAM, HAVE_TCFS and TCFS_GDBM_SUPPORT.
12739
12740         * src/newusers.c, src/useradd.c, Attic/acconfig.h, autogen.sh, lib/Attic/pwpack.c, NEWS:
12741         Remove all old BSD_QUOTA dependent code.
12742
12743 2003-12-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
12744
12745         * lib/Makefile.am, libmisc/Makefile.am, src/Makefile.am:
12746         Removed -I$(top_srcdir) from INCLUDES (isn't neccessary becaus this is in
12747         DEFAULT_INCLUDES) - slightly shorter compile output.
12748
12749         * Makefile.am, configure.in:
12750         Added using AM_GNU_GETTEXT([external]) - removed intl SUBDIRS.
12751         Added locale.h to AC_CHECK_HEADERS() - lib/defines.h have part which depends
12752         on HAVE_LOCALE_H.
12753
12754         * lib/nscd.h: Added missing newline at end of file.
12755
12756         * Attic/acconfig.h: Remove unused (#un)defines.
12757
12758         * autogen.sh: Typo.
12759
12760         * autogen.sh: Much more simpler script - use autoreconf.
12761
12762         * 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:
12763         "make update-po".
12764
12765 2003-12-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12766
12767         * po/LINGUAS: Languages list for gettext 1.12.x.
12768
12769 2003-10-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12770
12771         * po/pl.po: Kill fuzzy entries.
12772
12773 2003-10-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12774
12775         * man/Attic/usermod.8:
12776         Typo: missing "." on end of sentence (submited by Stepan Kasal <kasal@ucw.cz>).
12777
12778 2003-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12779
12780         * 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:
12781         convert all po/*.po files to utf-8.
12782
12783 2003-09-05  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12784
12785         * po/ru.po: - fixed header
12786
12787 2003-07-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12788
12789         * 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:
12790         Otput "passwd: password updated successfully\n" message on successfull
12791         password change (based on Debian changes).
12792
12793         * src/newgrp.c: Remove work around for unsecure gettext.
12794
12795 2003-06-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12796
12797         * src/useradd.c, src/usermod.c:
12798         Added initializing memory in variables when get_groups() function is not called,
12799         and memory allocated for user_groups is not initialized (in both useradd and
12800         usermod when -G options is used and in usermod when -l option is used).
12801         That causing segfaults sometimes.
12802         This fix is importand but not critical because usermod and usermod aren't suid
12803         root.
12804         Problem reported and fixed by Alexey Voinov <voins@altlinux.ru>.
12805
12806 2003-06-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
12807
12808         * man/Attic/login.1: Fixed FILES section.
12809
12810         * 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:
12811         Indented.
12812
12813         * src/chage.c: Move *flg variables to global.
12814
12815         * Attic/acconfig.h: Comment for USG.
12816
12817 2003-05-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12818
12819         * man/de/chfn.1, man/de/login.1:
12820         Fixed section name (s/NAME/BEZEICHNUNG/).
12821
12822         * man/de/chfn.1, man/de/chsh.1: Sync FILES section with en version.
12823
12824         * man/Attic/login.1: Typo (s/avr/var/).
12825
12826         * man/de/login.1: Sync FILES section with en man version.
12827
12828         * man/de/chfn.1, man/de/chsh.1, man/de/login.1: Remove ^M from EOL.
12829
12830         * man/de/login.1, man/de/Makefile.am, man/de/chfn.1, man/de/chsh.1, NEWS:
12831         Next round updates from Josef Spillner <josef@ggzgamingzone.org>: update
12832         chsh(1), login(1) and added new chfn(1) german man pages.
12833
12834         * NEWS: Added info about remove d_passwd(5), dialups(5) man pags.
12835
12836 2003-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12837
12838         * 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:
12839         One TODO entry gone: fix nscd flushing databases on change (use
12840         per service flushing method instead HUPing nscd process).
12841
12842         * lib/Makefile.am, lib/commonio.c, lib/nscd.c, lib/nscd.h, libmisc/Attic/nscd.c, libmisc/Attic/nscd.h, libmisc/Makefile.am:
12843         Move nscd.{c,h} from libmisc/ to lib/.
12844         Fix warning about implicit declaration of function `nscd_flush_cache' in lib/commonio.c.
12845
12846         * lib/pwauth.h: Fix pw_auth() prototype.
12847
12848         * libmisc/Attic/nscd.c, libmisc/Attic/nscd.h, libmisc/Makefile.am:
12849         Added header file for nscd communication functions.
12850
12851         * libmisc/chkname.c (good_name):
12852         fixed warning about comparison between pointer and integer.
12853
12854         * 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:
12855         "make update-po".
12856
12857         * src/useradd.c (main):
12858         chain create_mail() and small fix in usage message.
12859
12860         * src/userdel.c: Removed AUTH_METHODS code.
12861
12862         * lib/pwauth.c: Fixed pw_auth() prototype.
12863
12864         * src/sulogin.c, src/usermod.c: Removed AUTH_METHODS code.
12865
12866         * 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:
12867         "make update-po".
12868
12869         * src/useradd.c: Indent.
12870
12871         * 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:
12872         Cleanups continuations: removed old AUTH_METHODS dependent code,
12873         removed also pwauth(8) man page.
12874
12875         * man/pl/Makefile.am (man_MANS): remove d_passwd.5 man page.
12876
12877         * 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:
12878         Cleanups in usage messages.
12879
12880         * src/newgrp.c: Cleanups in comments.
12881
12882         * 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:
12883         "make update-po".
12884
12885         * lib/getdef.c (main): remove gettextize error messages from test code.
12886
12887         * NEWS: Cleanups.
12888
12889 2003-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12890
12891         * 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:
12892         Added handle by useradd /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes|no}.
12893         Now on adding user account can be added also created empty user mail
12894         spool. Curent code handle only mailbox.
12895         TODO: add handle create user mail spool in maildir format.
12896
12897         * TODO: Typo.
12898
12899         * src/chage.c (usage): fix missing ")".
12900         (main): updated commented description.
12901
12902         * src/useradd.c: Indent.
12903
12904         * man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8:
12905         Minor cleanups.
12906
12907         * man/Attic/chage.1, man/pl/chage.1:
12908         Rewrite for use claissic list form options descriptions.
12909
12910         * man/pl/groupadd.8:
12911         s/Polecenie groupadd posiada opcje:/Polecenie groupadd posiada następujące opcje:/
12912
12913         * TODO: ALL:
12914         move base passwd/shadow/group/gshadow operation to module for allow write
12915         diffrent backend modules for db, NIS, LDAP and others. Default backend it
12916         will be choose depending on /etc/nsswitch.conf and allow overrride this by
12917         -r <repository> options (where the <repository> can be file, db, nis
12918         nisplus, ldap .. like on /etc/nsswitch.conf in service column).
12919         passwd have old piece of code with handling -r option and it will be good
12920         finish this and propagate on other shadow tools for allow operate on other
12921         user databases by well known tools.
12922
12923         useradd:
12924         add handle /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes,no} for allow
12925         create empty mail spool for added user.
12926
12927         * man/pl/Attic/d_passwd.5, man/pl/Attic/dialups.5: Removed.
12928
12929         * man/Attic/groupmems.8: Close few \fB by add \fR.
12930
12931         * man/Attic/groupadd.8, man/Attic/groupmems.8: Minor cleanups.
12932
12933 2003-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12934
12935         * src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c:
12936         Move non-SHADOWPWD stub code to end of file (like in chage.c) and do not use
12937         gettextized message.
12938
12939         * 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:
12940         "make update-po".
12941
12942         * src/chage.c, NEWS:
12943         Now all code depend on SHADOWPWD. If shadow will not be configured on
12944         autoconf level for using shadow possword chage is olny stub which informs
12945         "chage not configured for shadow password support."
12946
12947         * man/it/Makefile.am: Removed EXTRA_DIST (not neccessary).
12948
12949         * man/es/Makefile.am: Removed groups.1 (doen't exist es groups(1)).
12950
12951         * man/de/Makefile.am (man_MANS): added login.1.
12952
12953         * man/de/Makefile.am: Removed EXTRA_DIST (isn't neccessary now).
12954
12955         * 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:
12956         Install groups(1) man page (moved from EXTRA_DIST to man_MANS).
12957
12958         * po/.cvsignore:
12959         Added files generated by gettextize from gettext 0.11.5.
12960
12961         * 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:
12962         Updated after removing dialup tools.
12963
12964         * po/POTFILES.in: Removed lib/{dialchk,dialup}.c and src/dpasswd.c.
12965
12966 2003-05-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12967
12968         * libmisc/shell.c (shell): do not gettexitize DEBUG message.
12969
12970         * 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:
12971         Removed "#if 0 .. #endif" dead code.
12972
12973         * libmisc/utmp.c: Fixed unterminated #if.
12974
12975         * libmisc/Attic/login_access.c (resolve_hostname):
12976         cleanup: removed #if 1 .. #endif.
12977
12978         * libmisc/.cvsignore: Added getdate.c.
12979
12980         * libmisc/Attic/getdate.c:
12981         Removed - this file is generated by bison/yacc.
12982
12983         * configure.in:
12984         Change file name passwd in AC_INIT argument from lib/dialchk.c to src/passwd.c.
12985
12986         * src/su.c:
12987         Removed dead code (#if 0 .. #endif) with call motd() and mailcheck()
12988         (was commnted because GNU su doesn't do this).
12989
12990 2003-05-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12991
12992         * 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:
12993         Removed old dpasswd and DIALUPS_CHECK_ENAB login.defs handling code from login.
12994
12995         * doc/Attic/ANNOUNCE, doc/Makefile.am, NEWS: Removed old doc/ANNOUNCE.
12996
12997         * src/login.c, lib/getdef.c, etc/Attic/login.defs.linux, NEWS:
12998         Remove NO_PASSWORD_CONSOLE code.
12999
13000 2003-05-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
13001
13002         * 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:
13003         Remove old SVR4, ATT_AGE, ATT_COMMENT dependent code.
13004
13005         * src/chage.c:
13006         Remove some ageing code which was not used if SHADOWPWD isn't defined.
13007         Now handling mindays, maxdays and lastday also depends on SHADOWPWD.
13008
13009 2003-05-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13010
13011         * 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:
13012         Reformated.
13013
13014         * etc/login.defs:
13015         Use FHS 2.x compliant paths to lastlog, sulog, mail spool and also change
13016         ENV_SUPATH to PATH=/sbin:/bin:/usr/sbin:/usr/bin and
13017         ENV_PATH to PATH=/bin:/usr/bin
13018
13019         * 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:
13020         Removed old stuff.
13021
13022 2003-04-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
13023
13024         * 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:
13025         make update-po
13026
13027         * src/su.c: Remove not mached #endif after removing ATT_AGE code.
13028
13029         * man/ko/passwd.5: Remove ^M from end of line.
13030
13031         * 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:
13032         Removed old ATT_AGE (account ageing in passwd file) dependent code.
13033
13034         * po/pl.po: Fix chage and lastlog messages.
13035
13036 2003-04-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
13037
13038         * libmisc/limits.c, src/logoutd.c:
13039         More utmp/utmpx fixes: use endutend() or endutxend() depending on HAVE_UTMPX_H.
13040
13041         * 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:
13042         Run "make update-po" after remove SVR4 code and fix duplicated entries in sv.po.
13043
13044         * NEWS, src/login.c, src/logoutd.c, src/useradd.c:
13045         Remove old SVR4 and SVR4_SI86_EUA dependent code from login, useradd and
13046         logoutd.
13047
13048 2003-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
13049
13050         * man/pl/usermod.8: Remove "OD TŁUMACZA" section.
13051
13052         * 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:
13053         Added EXIT VALUES section with full description exit codes.
13054
13055         * src/groupadd.c: Typo (s/nut/not/).
13056
13057         * man/Attic/shadowconfig.8: Merge changes from Debian.
13058
13059         * NEWS, man/Attic/passwd.5:
13060         Remove text about password aging from passwd(5) (based on Debian changes).
13061
13062         * 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:
13063         More unification in lastlog command syntax.
13064
13065         * man/Attic/lastlog.8, man/it/lastlog.8, man/ja/lastlog.8, man/pl/lastlog.8:
13066         Unifications in SYNOPSIS.
13067
13068         * 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:
13069         Remove ^M from end of line.
13070
13071         * man/Attic/gpasswd.1, man/Attic/groupadd.8:
13072         Indentation in FILES section.
13073
13074         * src/pwconv.c, src/useradd.c, src/userdel.c:
13075         s/bad command syntax/invalid command syntax/
13076
13077         * src/userdel.c:
13078         Indent by hand (seems indent have problems with complex conditions).
13079
13080         * man/ru/Makefile.am: man_MANS: s#passwd.1#passwd.5#
13081
13082         * po/pl.po: s/nie mogę/nie można/
13083
13084         * po/fr.po: Emoticon removed.
13085
13086         * NEWS, configure.in, man/Makefile.am, man/ru/.cvsignore, man/ru/Makefile.am, man/ru/passwd.5:
13087         Added ru passwd(1) man page from KSI resources.
13088
13089         * 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:
13090         Added chch(1), chfn(1) man pages from chinese man pages translation
13091         project.
13092         Added id(1) man page czech man pages translation project.
13093         Updated ja man pages and added expiry(1).
13094
13095         * man/hu/groups.1, man/hu/login.1:
13096         Remove info about $HOME/.profile from FILES section (this does not depends
13097         stricte on shadow).
13098
13099         * configure.in, man/Makefile.am, man/es/Makefile.am:
13100         Added es man pages to ac/am suit.
13101
13102         * man/es/.cvsignore, man/hu/.cvsignore, man/pt_BR/.cvsignore, man/zh_CN/.cvsignore, man/zh_TW/.cvsignore:
13103         Added .cvsignore files.
13104
13105         * man/hu/Makefile.am, man/hu/su.1:
13106         Added su(1) man page from hungarian man pages translation project.
13107
13108 2003-04-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
13109
13110         * NEWS: Ready for gettext 0.11.5, automake 1.7.4, autoconf 2.57.
13111         Many cleanups and unifications in man pages.
13112
13113         * 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:
13114         Fixes: correct utmp/wtmp paths.
13115         Unifications: bold commnanda and italify other file names.
13116         Other minor changes and cleanups and unifications.
13117
13118         * libmisc/limits.c: More utmpx/utmp fixes.
13119
13120         * 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:
13121         Usage help message unification (s/usage:/Usage:/).
13122
13123         * TODO: Missing "are".
13124
13125         * src/logoutd.c, src/userdel.c, NEWS:
13126         Handle also utmpx if avalaile in userdel and logoutd.
13127
13128 2003-04-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
13129
13130         * src/sulogin.c: Remove unused utent declaration.
13131
13132         * src/sulogin.c, src/login.c:
13133         Remove #include <utmp.h> and <utmpx.h>. This comes with #include "prototypes.h".
13134
13135         * lib/prototypes.h:
13136         "#include <utmp.h>" or "#include <utmpx.h>" depending on HAVE_UTMPX_H.
13137
13138         * libmisc/failure.c:
13139         Remove "#include <utmp.h>" (this is included in failure.h).
13140
13141         * configure.in:
13142         On detect mail spool directory location try first /var/mail.
13143
13144 2003-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
13145
13146         * 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:
13147         Indent all using current .indent.pro settings.
13148
13149         * po/Makevars: New file neccessary for gettext >=0.11.5.
13150
13151         * man/Makefile.am: Removed getspnam.3 from man_MANS (dos not exist).
13152
13153         * po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po:
13154         Fixes after filtering gettext 0.11.5 (missing headers elements, inforrect
13155         format strings).
13156
13157 2003-04-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
13158
13159         * NEWS, man/de/passwd.1:
13160         updated german passwd(1) man page (by Josef Spillner <josef@ggzgamingzone.org>)
13161
13162 2003-03-12  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13163
13164         * po/pl.po: - updated; terminology unification
13165
13166 2003-02-28  Paweł Gołaszewski  <blues@pld.org.pl>
13167
13168         * etc/login.defs: - missing "MD5_CRYPT_ENAB  yes" added
13169
13170 2003-01-20  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13171
13172         * configure.in: - added Makefiles for man/zh_{CN,TW}
13173
13174         * 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:
13175         - added zh man pages from MDK (2 x 6) and from cman (1)
13176
13177 2003-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13178
13179         * man/ja/shadow.3, man/pl/shadow.3, man/Attic/shadow.3:
13180         sync spwd structure declaration with current glibc declaration (tahnks for
13181         point this bug to Michael Kerrisk <michael.kerrisk@gmx.net>).
13182
13183         * man/pl/faillog.5: s/konsolę/terminal/
13184
13185 2002-12-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
13186
13187         * src/Makefile.am: typo (s/EXTRA_DOST/EXTRA_DIST/).
13188
13189 2002-10-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
13190
13191         * src/Makefile.am:
13192         fixed making vigr symlink to vipw (not vipw to vigr) in install-exec-hook (fix submited by
13193         Dimitar Zhekov <jimmy@is-vn.bg>).
13194
13195         * 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:
13196         removed debian directory.
13197
13198 2002-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13199
13200         * NEWS, src/newgrp.c:
13201         Use CLOSE_SESSIONS depending code only when USE_PAM.
13202         The problem was reported by Mattias Webjorn Eriksson using Slackware
13203         8.1 and reproduced it using slackware-current (9.0beta) (fix submited by
13204         Simon Williams <simon@no-dns-yet.org.uk>).
13205
13206 2002-10-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13207
13208         * 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:
13209         changed utmp and wtmp files paths (s#/etc/utmp/#/var/run/utmp#; s#/etc/wtmp#/var/log/wtmp#)
13210
13211         * po/ru.po, configure.in: added ru translation (from KSI resources).
13212
13213 2002-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13214
13215         * NEWS, libmisc/failure.c:
13216         libbmisc/failure.c (too_many_failures): incorrect if() condition in non-PAM
13217         dependent code in fail login handling (fixed by Krzysztof Oledzki <ole@ans.pl>).
13218
13219 2002-08-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
13220
13221         * man/pl/useradd.8, man/Attic/useradd.8, NEWS:
13222         document useradd and groupadd -M option in en and pl man pages
13223         (by Jakub Mikusek <mick3y@o.k.pl>).
13224
13225         * configure.in: start prepare 4.0.4.
13226
13227 2002-03-18  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13228
13229         * 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:
13230         - updated to man-pages-ja-20020315 (except cvs tags)
13231
13232 2002-03-15  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13233
13234         * TODO: - remove already done pl man updates from the list
13235
13236 2002-03-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
13237
13238         * 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:
13239         added ko man pages.
13240
13241         * man/de/.cvsignore, man/de/Makefile.am:
13242         automake files for de man pages.
13243
13244         * TODO: updated.
13245
13246         * 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:
13247         added cs, de, fr, id, it, ko man pages to ac/am.
13248
13249 2002-03-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13250
13251         * 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:
13252         "make update-po"
13253
13254         * po/de.po, NEWS, configure.in:
13255         added de translation (by Frank Schmid <frank@cs-schmid.de>).
13256
13257         * NEWS: added info about Solar patch for man pages.
13258
13259 2002-03-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13260
13261         * 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:
13262         added some raw cs, de, es, fr, id, it man pages from national
13263         man pages translation projects (all man pages not yet added to Makefile.am
13264         files because all need some work).
13265
13266         * man/hu/chfn.1, man/hu/id.1:
13267         added id(1) chfn(1) from hu man pages translation project (it need some work
13268         because this documents describes GNU version id and chfn from util-linux).
13269
13270         * man/hu/Makefile.am, man/hu/login.1:
13271         added login(1) man page from hu man pages translation project.
13272
13273         * po/POTFILES.in: updated (suath.c moved to src/).
13274
13275         * src/Makefile.am: added su_SOURCES with "su.c suauth.c".
13276
13277         * libmisc/Makefile.am:
13278         remove suauth.c from libmisc_la_SOURCES (varialbles and functions from
13279         this file are usesd only in su).
13280
13281         * libmisc/Attic/suauth.c, src/suauth.c: move suauth.c o src/.
13282
13283         * libmisc/Attic/suauth.c:
13284         move "struct passwd pwent" outside #ifdef SU_ACCESS.
13285
13286 2002-03-09  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13287
13288         * 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:
13289         - sync with en versions
13290
13291         * 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:
13292         - update to chage.1; formatting/typo fixes
13293
13294 2002-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
13295
13296         * po/uk.po, po/ko.po, po/pl.po, po/sv.po, po/ja.po, po/cs.po, po/el.po, po/fr.po:
13297         "make update-po"
13298
13299 2002-03-09  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13300
13301         * 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:
13302         - further "SEE ALSO" references sorting
13303
13304 2002-03-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
13305
13306         * 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:
13307         merged shadow-4.0.0-owl-man.patch by Solar Designer <solar@openwall.com>.
13308
13309         * NEWS: updated for 4.0.3.
13310
13311         * libmisc/Attic/suauth.c, libmisc/utmp.c, src/login.c, src/su.c:
13312         swapped utent dnd pwent efinition/extern and now shadow source can be configured
13313         --with-shared (fix by Dimitar Zhekov <jimmy@is-vn.bg>).
13314
13315 2002-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13316
13317         * configure.in: start prepare 4.0.3.
13318
13319         * src/Makefile.am:
13320         use ln -sf instead ln -s in install-exec-hok (fix pointed by Dimitar Zhekov
13321         <jimmy@is-vn.bg>).
13322
13323 2002-03-02  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13324
13325         * man/pl/passwd.1: sync with en version
13326
13327         * man/Attic/passwd.1: - they -> his/her, user's
13328         - typos
13329         - fix sentence about "writing down"
13330
13331         * man/Attic/passwd.1: relocation by NAKANO Takeo
13332
13333 2002-02-28  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13334
13335         * man/hu/passwd.1: missing "-"
13336
13337         * man/ja/Attic/shadowconfig.8, man/ja/passwd.5, man/ja/shadow.5:
13338         - updated to man-pages-ja-20020215
13339
13340 2002-02-23  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13341
13342         * po/cs.po, po/fr.po, po/pl.po, po/sv.po, po/uk.po, man/pl/useradd.8:
13343         - typos in pl/useradd.8; commented out unsupported -r option description
13344         - useradd "usage" formatting fixes
13345         - fix translation in uk.po
13346
13347 2002-02-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
13348
13349         * configure.in: release 4.0.2.
13350
13351 2002-02-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13352
13353         * Attic/shadow-utils.spec.in, Makefile.am, configure.in, shadow.spec.in:
13354         rename spec file s/shadow-utils.spec/shadow.spec/
13355
13356         * po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/sv.po, po/uk.po:
13357         update-po before release.
13358
13359         * po/ko.po, po/pl.po: cleanups.
13360
13361 2002-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13362
13363         * 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:
13364         placa ".so man<level>/<man_page>.<level>" in roff .so includes (seems some
13365         man page viewers do not handles correctly man documents without subdirectory
13366         name in roff .so incude).
13367
13368 2002-01-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
13369
13370         * 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:
13371         resolve many fuzzy translations also all this which may cause problems on
13372         displaing long uid/gid.
13373
13374         * 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:
13375         drop translate some messages in id output (about {,e}{u,g}id).
13376
13377 2002-01-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13378
13379         * README: s#password: cvs#password: [empty password]#
13380
13381 2002-01-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13382
13383         * NEWS: two new entries.
13384
13385         * libmisc/chkname.c (good_name):
13386         allow usernames ending with "$" for allow create machine
13387         acounts for samba (thanks for point this problem in 4.0.1 by
13388         Jerome Borsboom <borsboom@tch.fgg.eur.nl>).
13389
13390         * 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:
13391         s/invalid user name `%s'/invalid user name '%s'/
13392
13393 2002-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13394
13395         * configure.in:
13396         fix in libpam_misc detection (removed one "," AC_CHECK_LIB()).
13397         Thanks to Silvan Minghetti for report this.
13398
13399 2002-01-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13400
13401         * NEWS: start prepare to 4.0.2.
13402
13403         * po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po, po/cs.po:
13404         updated.
13405
13406         * configure.in: It is good time to release 4.0.1.
13407
13408         * libmisc/.indent.pro, lib/.indent.pro: added -pcs option.
13409
13410         * TODO: some things goes out other in.
13411
13412         * src/newgrp.c, NEWS:
13413         added ability to log session closes in newgrp (look at long nice comments
13414         inside source code :_) by Joseph Parmelee <jparmele@wildbear.com>.
13415
13416         * src/groupadd.c, src/useradd.c:
13417         next part fixes for handle long UID/GID (by Thorsten Kukuk <kukuk@suse.de>).
13418
13419         * lib/getdef.c, lib/getdef.h:
13420         adeded getdef_unum(): get unsigned numerical value from table of
13421         definitions (Thorsten Kukuk <kukuk@suse.de>).
13422
13423         * NEWS: updated.
13424
13425         * libmisc/isexpired.c:
13426         remove "#if defined(SHADOWPWD)" (not removed during remove AGING).
13427
13428         * etc/Makefile.am: useradd config file added to EXTRA_DIST.
13429
13430 2002-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
13431
13432         * po/sv.po, po/uk.po, po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po:
13433         update.
13434
13435         * 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:
13436         Add -pcs to .indent.pro file and reindent all code.
13437         Remove "\n" from all SYSLOG() messages.
13438
13439         * NEWS: s/SuSe/SuSE/
13440
13441 2001-12-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
13442
13443         * man/pl/useradd.8, man/Attic/useradd.8: documment -o option.
13444
13445         * 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:
13446         correct package name (s/shadow-password/shadow/).
13447
13448         * src/chage.c, src/expiry.c, src/login.c, src/passwd.c, src/su.c, libmisc/age.c, libmisc/isexpired.c, NEWS, configure.in:
13449         Finish integrate AGING code into SHADOWPW.
13450         Remove handle old HAVE_USERSEC_H code.
13451
13452         * po/uk.po: typo.
13453
13454         * 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:
13455         cleanups.
13456
13457         * 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:
13458         standarize usage messages syntax.
13459
13460         * man/pl/useradd.8, man/pl/usermod.8, man/pl/vipw.8, man/pl/userdel.8:
13461         removed duplicated man page text.
13462
13463         * 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:
13464         standarize usage meissages syntax.
13465
13466         * src/chage.c, NEWS (main):
13467         merge part Solar shadow-4.0.0-owl-pam-auth.diff patch with reorder
13468         nitialize PAM and checkin is chage is runed by root or not - now chage can be
13469         runed from non-root account for checking by user own accout information.
13470
13471         * src/pwck.c: indent source.
13472
13473         * src/pwck.c (main): remove old work around for Slackware bug.
13474
13475 2001-12-20  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13476
13477         * man/ja/Attic/adduser.8, man/ja/Makefile.am, man/ja/limits.5, man/ja/pwconv.8:
13478         - updated to man-pages-ja-20011215
13479
13480 2001-11-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13481
13482         * src/grpck.c:
13483         remove check for a Slackware bug (make sure GID is not -1; it was special
13484         meaning for some syscalls).
13485
13486         * 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:
13487         fixes for handle/print correctly 32bit uid/gid (Thorsten Kukuk <kukuk@suse.de>).
13488
13489         * src/chage.c: - break usage vomment line.
13490
13491         * lib/defines.h:
13492         removed bunch spaces on end line in conditionale #include <errno.h>
13493         which in some cases dissallow compile correctly shadow (thanks for
13494         Silvan Minghetti <bullet@users.sourceforge.net>).
13495
13496 2001-11-17  Michał Moskal  <malekith@pld.org.pl>
13497
13498         * NEWS:
13499         - mention fix for SEGV when using pwck -s on /etc/passwd file with
13500           empty lines in it
13501
13502         * lib/commonio.c:
13503         - installed fix for SEGV when using pwck -s on /etc/passwd file with
13504           empty lines in it
13505
13506 2001-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13507
13508         * libmisc/chkname.c, NEWS:
13509         next merge from Solar patches (shadow-4.0.0-owl-check_names.diff) but only
13510         part this patch with checking login name matching; checking is login
13511         string isn't longer than possible probably it will be good prepare using
13512         _POSIX_LOGIN_NAME_MAX from <bits/posix1_lim.h>
13513
13514 2001-11-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13515
13516         * NEWS: typos.
13517
13518         * NEWS: added info about new hu man pages.
13519
13520         * NEWS: updated.
13521
13522 2001-11-16  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13523
13524         * 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:
13525         - updated to man-pages-ja-20011115.tar.gz
13526
13527         * man/ja/groups.1: 3c26de91cfd359c0b7c36ca3cd3e170d  groups.1
13528
13529         * man/ja/grpconv.8: 402190c04b8df45e20afd01e3acd0da4  grpconv.8
13530
13531         * man/ja/grpunconv.8: 402190c04b8df45e20afd01e3acd0da4  grpunconv.8
13532
13533         * man/ja/id.1: 3edc687b1c09bbdd170553f326a71711  id.1
13534
13535         * man/ja/newusers.8: c2ecaa6ddffe07de2c39be3aefb5bcae  newusers.8
13536
13537         * man/ja/pwunconv.8: 402190c04b8df45e20afd01e3acd0da4  pwunconv.8
13538
13539         * man/ja/Attic/shadowconfig.8:
13540         f79300c0db64fd961443177c88605087  shadowconfig.8
13541
13542         * man/ja/useradd.8: 3333b9a2e5a388a472fb05106d65a596  useradd.8
13543
13544         * man/ja/vigr.8: 42825938683e54e391897ea100001af1  vigr.8
13545
13546         * man/ja/vipw.8: 0cb8db0f1f19de7690f0ef9baeceb919  vipw.8
13547
13548 2001-11-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13549
13550         * lib/Attic/getpass.c:
13551         one fix warning from Solar shadow-4.0.0-owl-warnings.diff.
13552
13553         * src/chage.c, lib/defines.h:
13554         move "#include <errno.h>" to /lib/defines.h.
13555
13556         * configure.in: added AC_CHECK_HEADERS(errno.h)
13557
13558         * src/chage.c: apply shadow-4.0.0-owl-chage-drop-priv.diff and
13559         shadow-4.0.0-owl-chage-ro-no-lock.diff by Solar Designer <solar@openwall.com>.
13560         Added locks which are needed when doing r/w accesses, not when running as root.
13561         If root does read-only, there's no lock needed. Added missing
13562         "#include <errno.h>" for above.
13563
13564 2001-11-14  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13565
13566         * configure.in: - added hu directory antry
13567
13568         * man/Makefile.am: - groups.1 moved to EXTRA_DIST
13569         - added hu directory entry
13570
13571         * man/ja/Makefile.am: - sorted
13572         - shadow.3 moved to EXTRA_DIST
13573
13574         * man/pl/Makefile.am: - sorted
13575         - added entries for new pages
13576         - EXTRA_DIST synced with man/Makefile.am
13577
13578         * 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:
13579         - man pages from Debian
13580
13581         * man/Attic/groupmems.8: - typo
13582
13583         * man/pl/expiry.1, man/pl/groupmems.8: - translated pages
13584
13585 2001-11-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13586
13587         * libmisc/Makefile.am:
13588         fix building with cracklib enabled: $(LIBCRACK) added to libmisc_la_LIBADD.
13589
13590         * src/useradd.c: typo.
13591
13592 2001-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13593
13594         * 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:
13595         removed prototypes which are defined in libc header files
13596         (Thorsten Kukuk <kukuk@suse.de>).
13597
13598         * libmisc/Attic/nscd.c, libmisc/Makefile.am, lib/commonio.c:
13599         implemetn better reloading the nscd cache (per NSS map)
13600         by Thorsten Kukuk <kukuk@suse.de>
13601
13602         * src/login.c, libmisc/setupenv.c:
13603         fixed warnings "not used but defined" on compile using gcc 3.0.x
13604         by bulletpr00ph <bullet@users.sourceforge.net>.
13605
13606 2001-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
13607
13608         * NEWS: New entries for 4.0.1.
13609
13610         * po/pl.po: few more pl translations.
13611
13612         * po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po:
13613         "make update-po".
13614
13615         * po/ja.po, po/ko.po, configure.in:
13616         added ja, ko translations found in SuSe.
13617
13618 2001-10-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13619
13620         * src/useradd.c: sort alphabetically *flg variables.
13621
13622         * debian/Attic/Makefile.am, debian/Attic/tar.c: removed.
13623
13624 2001-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13625
13626         * 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:
13627         added vigr(1) man page as roff .so link to vipw(1),                                                                             - added sg(1) man page as roff .so link to newgrp(1).
13628
13629         * src/Makefile.am:
13630         added install symlinks newgrp -> sg, vipw -> vigr in install-exec-hook target.
13631
13632 2001-10-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13633
13634         * lib/Makefile.am (libshadow_la_SOURCES):
13635         reverte last change and added rcsid.h,
13636         (EXTRA_DIST): added missing "\".
13637
13638         * src/Makefile.am: (DEFS):
13639         - fix -DLOCALEDIR in DEFS,
13640         - added -DHAVE_CONFIG_H,
13641         - removed @DEFS@.
13642
13643         * lib/Makefile.am:
13644         added missing shadow_.h file to libshadow_la_SOURCES.
13645
13646 2001-09-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
13647
13648         * Makefile.am (AUTOMAKE_OPTIONS):
13649         version changed to 1.5 and added dist-bzip2.
13650
13651         * lib/Makefile.am, libmisc/Makefile.am, src/Makefile.am:
13652         add .indent.pro to EXTRA_DIST.
13653
13654         * etc/Makefile.am, etc/useradd: add example /etc/defaults/useradd.
13655
13656 2001-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13657
13658         * TODO: last touch.
13659
13660         * TODO: more TODO.
13661
13662         * lib/commonio.c, NEWS:
13663         Fix bug discovered and fixed by Marcel Ritter <Marcel.Ritter@rrze.uni-erlangen.de>
13664         Due to a big buffer size in lib/commonio.c this error does only appear
13665         if a line gets longer than 4096 bytes (there are probably very few people
13666         stumbling across this).
13667         Ths bug can be exposed by trashing /etc/groups file using useradd with script:
13668                 #!/bin/sh
13669                 typeset -i NUM
13670                 NUM=0
13671                 groupadd demogroup
13672                 while [ $NUM -le 1000 ]; do
13673                    useradd -g demogroup -G demogroup -p "NONE" user$NUM
13674                    NUM=$NUM+1
13675                 done
13676
13677 2001-09-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13678
13679         * src/groups.c, src/id.c, src/newgrp.c, src/useradd.c, src/usermod.c, libmisc/addgrps.c, NEWS:
13680         remove limit 32 to groups per user (the same user can belong to
13681         more than 32 groups) by use sysconf(_SC_NGROUPS_MAX) instead constant
13682         NGROUPS_MAX (patch by Radu Constantin Rendec <radu.rendec@ines.ro>)
13683         NOTE: it probably need testing on other system for add some conditionals
13684         for using sysconf(_SC_NGROUPS_MAX) or NGROUPS_MAX constant.
13685
13686 2001-08-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
13687
13688         * etc/pam.d/Makefile.am, etc/pam.d/useradd: added file for useradd.
13689
13690 2001-08-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
13691
13692         * src/useradd.c (set_defaults):
13693         handle correctly error open/create useradd default config
13694         filei (based on orginal post to bugtraq).
13695
13696         * TODO: documment in pt_BR, ja man pages -s {pw,grp}ck option.
13697
13698         * libmisc/sulog.c, NEWS:
13699         remove limit to 6 chars logged tty name (apply 012_libmisc_sulog.c.diff Debian
13700         patch).
13701
13702         * man/pl/Attic/shadowconfig.8, man/Attic/shadowconfig.8:
13703         - aply 021_man_shadowconfig_usr_doc.diff debian patch.
13704
13705         * src/Makefile.am, lib/Makefile.am:
13706         use $(top_builddir) in .la files paths (for allow correct compile if
13707         $(top_builddir) isn't the same as $(top_srcdir)).
13708
13709         * po/.cvsignore, po/Attic/ChangeLog: removed ChangeLog.
13710
13711 2001-08-18  Michał Moskal  <malekith@pld.org.pl>
13712
13713         * src/grpck.c: - fixed getopt() call, thnx to arekm
13714
13715 2001-08-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13716
13717         * NEWS: - include last changes to list changes in version 4.0.0.
13718
13719 2001-08-14  Michał Moskal  <malekith@pld.org.pl>
13720
13721         * NEWS: - mention new -s options
13722
13723         * man/pl/grpck.8, man/pl/pwck.8, man/Attic/grpck.8, man/Attic/pwck.8:
13724         - documented new -s options
13725
13726         * src/grpck.c, src/pwck.c: - added -s option to sort output files
13727
13728         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
13729         - added pw_sort, gr_sort, sgr_sort and spw_sort functions
13730
13731         * lib/commonio.c, lib/commonio.h:
13732         - added commonio_sort{,_wrt} functions
13733
13734 2001-08-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13735
13736         * po/Attic/ChangeLog, po/uk.po, configure.in:
13737         added uk translation (Roman Festchook <roma@polesye.net>).
13738
13739         * src/logoutd.c (mani):
13740         s/ut->ut_libe/ut->ut_user/ on prepare strin with user name for syslog
13741         line (reported by Roman Festchook <roma@polesye.net>).
13742
13743 2001-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13744
13745         * Attic/acconfig.h: - added missing USG.
13746
13747 2001-07-04  Marek Michałkiewicz  <marekm@pld.org.pl>
13748
13749         * lib/commonio.c:
13750         fix buffer overflow (not a security hole) in commonio_setname
13751
13752 2001-06-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
13753
13754         * NEWS: entry about dropping support one argument pam_strerror().
13755
13756         * libmisc/pam_pass.c, src/login.c, src/su.c, Attic/acconfig.h, configure.in, lib/defines.h, lib/pam_defs.h:
13757         drop detecting is pam_strerror() need one or two arguments. Instead using
13758         PAM_STRERROR() macro use directly pam_strerror() function with two arguments.
13759         pam_strerror() with one argument is obsoleted.
13760
13761         * configure.in:
13762         pass display error message if libpam_misc not found in correct argument
13763         AC_CHECK_LIB().
13764
13765         * configure.in:
13766         added checking for libpam_misc if libpam found and if libpam_misc is avalaible
13767         add them to $LIBPAM. Othervise exit fron autoconf script with error message.
13768         Now shadow compiles if pam support is enabled.
13769
13770 2001-06-28  Marek Michałkiewicz  <marekm@pld.org.pl>
13771
13772         * libmisc/copydir.c: fix overwriting existing file (add O_TRUNC)
13773
13774 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13775
13776         * configure.in: remove intl/po2tbl.sed from AC_OUTPUT().
13777
13778         * configure.in:
13779         removed add md5.o md5crypt.o conditionaly to $LIBOBJS (this is obsoleted).
13780         In current version ndling md5 functionality is included conditionaly
13781         inside md5.c and md5crypt.c source files.
13782
13783         * lib/Attic/md5.c: added comments for #endif.
13784
13785         * configure.in: also do not use SU_ACCESS when PAM is used.
13786
13787         * configure.in:
13788         - check pam directly by AC_CHECK_LIB() (PAM from PLD is now fixed an also other
13789           PAM implementation must be fixed for this method checkin is libpam is avalaible;
13790           sorry .. no way this is plain linking procedure bug),
13791         - use AC_DEFINE(LOGIN_ACCES) only when PAM isn't used.
13792
13793 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
13794
13795         * src/Makefile.am:
13796         add LDADD for groupmod and usermod, as they use PAM too
13797
13798         * src/login.c, src/su.c: fix uninitialized variable failcount
13799         skip '*' in pw_shell for subsystem root
13800
13801 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13802
13803         * src/login.c: use "extern int login_access()" only if !USE_PAM.
13804
13805         * src/Makefile.am:
13806         added LDADD rules for programs which uses PAM and cracklib.
13807
13808 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
13809
13810         * libmisc/chowntty.c:
13811         allow root login even on read-only root filesystem
13812
13813         * libmisc/Makefile.am: add -DHAVE_CONFIG_H to DEFS
13814
13815 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13816
13817         * autogen.sh: run configure by default with --disable-desrpc,
13818         fix: --with-libpam (not --with-pam).
13819
13820 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
13821
13822         * libmisc/chowntty.c:
13823         libmisc/chowntty.c (chown_tty): move perror() before syslog() call
13824         which might change errno.
13825
13826         * man/pl/login.defs.5, man/Attic/login.defs.5:
13827         (UMASK): Default value is 077, not 0 - see NEWS for shadow-3.3.2-951106.
13828
13829 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13830
13831         * NEWS, configure.in: prepare for release 4.0.0 version.
13832
13833         * configure.in: remove commented line.
13834
13835 2001-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13836
13837         * po/pl.po: fixed charset (must be iso-8859-2).
13838
13839         * 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:
13840         added ja man pages.
13841
13842 2001-05-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
13843
13844         * src/Attic/shadowconfig.sh, src/Makefile.am, debian/Attic/Makefile.am, debian/Attic/shadowconfig.sh:
13845         move shadowconfig.sh to debian/
13846
13847         * src/Makefile.am: added missing -I${top_srcdir} to INCLUDES.
13848
13849         * lib/Makefile.am: empty DEFS and INCLUDES="-I$(top_srcdir)".
13850
13851         * libmisc/Makefile.am:
13852         empty DEFS and INCLUDES="-I$(top_srcdir) -I$(top_srcdir)/lib".
13853
13854 2001-03-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
13855
13856         * src/.indent.pro, lib/.indent.pro, libmisc/.indent.pro:
13857         directory indent config file is -kr -i8 -bad (indent open this file and
13858         read options if options not specyfied in commnad line).
13859
13860         * autogen.sh (conf_flags): added --with-pam.
13861
13862         * NEWS: start complette next release information.
13863
13864 2001-02-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
13865
13866         * shlib/Attic/Makefile.am, shlib/Attic/Makefile.in.saved: - removed.
13867
13868         * src/Makefile.am, libmisc/Makefile.am, lib/Makefile.am:
13869         Rewrited automake suit for building lib, libmisc and src (now this look much
13870         better). Also for all is now used libtool in proper way.
13871
13872         * configure.in:
13873         - added useing AM_DISABLE_SHARED, AM_ENABLE_STATIC for disable compile shared
13874           libraries and enable static,
13875         - some cosmetics.
13876
13877         * Makefile.am (SUBDIRS): reorder libmisc must be before lib.
13878
13879 2001-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13880
13881         * man/pt_BR/Makefile.am: - added man_MANS to EXTRA_DIST.
13882
13883 2001-01-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
13884
13885         * 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:
13886         include pt_BR man pages for gpasswd(1), groupadd(1), groupdel(8),
13887         groupmod(8), shadow(5).
13888
13889 2001-01-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13890
13891         * TODO: - updated.
13892
13893         * 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:
13894         many small cleanups, fixes also removed commented obsoleted texts.
13895
13896 2001-01-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
13897
13898         * autogen.sh: add to conf_flags --disable-shared.
13899
13900         * 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:
13901         put or move to top cemmented Id cvs keyword,
13902         (passwd.1): documment -e option (patch from Debian),
13903         (userdel.1): remove commented obsoleted options.
13904
13905         * man/Makefile.am:
13906         put all files in man_MANS and EXTRA_DIST in alphabethic order.
13907
13908         * src/chpasswd.c, src/pwunconv.c:
13909         remove from comments program description and history logs.
13910
13911         * src/Makefile.am: move groups to bin_PROGRAMS.
13912
13913 2000-12-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13914
13915         * src/su.c: Based on Debian modyfications:
13916         (main): #endif /* USE_PAM */ #ifdef USE_PAM replaced by #else,
13917         (main): removed some dead code (scoped by #if 0 .. #endif).
13918         (main): call to re-establish SIGINT to right place.
13919
13920         * man/pl/passwd.1: Removed SEE ALSO to shadow(3) and passwd(3).
13921
13922         * man/pl/shadow.5, man/Attic/shadow.5: Removed SEE ALSO to shadow(3).
13923
13924         * man/Attic/passwd.1:
13925         Removed SEE ALSO to passwd(3) and commented shadow(3).
13926
13927 2000-12-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13928
13929         * src/useradd.c (main):
13930         use "useradd" instead "shadow in pam_start() parameters - this
13931         allow use separated pam config file for useradd (for example for allow
13932         specified non-root user for add user).
13933
13934 2000-11-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
13935
13936         * TODO: remove write expiry(1) man page.
13937
13938         * man/Attic/expiry.1, man/Makefile.am:
13939         added expiry(1) man page from Debian.
13940
13941         * man/pl/lastlog.8, man/Attic/lastlog.8:
13942         updated man pages for whole dispaly syntax.
13943
13944         * src/lastlog.c (main): fixed command line syntax description.
13945
13946         * src/lastlog.c (main):
13947         display correctly and full current commnad line lastlog syntax
13948         and also output this string using gettext.
13949
13950         * src/lastlog.c (main):
13951         merge src_lastlogin.c patch from debian with use getopt_long()
13952         instead getopt() for add handling --help, --user, --time switches and
13953         dipslay useage message on -h, --help and as default action.
13954
13955 2000-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13956
13957         * src/groupmems.c, po/el.po, po/fr.po, po/pl.po, po/sv.po, po/POTFILES.in, po/cs.po:
13958         added i18n support for src/groupmems.c.
13959
13960         * src/useradd.c:
13961         * (set_defaults): use mkstemp() if avalaible. Othereise use mktemp().
13962
13963         * configure.in: * added checking for mkstemp().
13964
13965         * src/useradd.c: * (set_defaults): use mkstemp() instead mktemp(),
13966         * (mani): fix compilation error in previouse RH patch (removed using nflg).
13967
13968 2000-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13969
13970         * TODO: - groupmems need some work on add PAM and i18n support.
13971
13972         * src/groupmems.c, man/Attic/groupmems.8:
13973         Added raw version groupmems program for administer members of a user's
13974         primary group. groupmems was written by George Kraft IV <gk4@us.ibm.com>
13975         and this tool have BSD license.
13976
13977         * src/Attic/patchlevel.h, src/Makefile.am:
13978         patchlevel.h, Makefile.am: removed patchlevel.h file,
13979         Makefile.am: removed bindir, sbindir (this comes with autoconf).
13980
13981 2000-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13982
13983         * TODO: - write expire man page.
13984
13985 2000-10-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13986
13987         * 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:
13988         Julianne F. Haugh new contact adress.
13989
13990         * NEWS: - summary chanfes for 20001016.
13991
13992         * doc/Attic/README.shadow-paper, doc/Makefile.am:
13993         - removed outdated README.shadow-paper.
13994
13995         * configure.in: - release 20001016.
13996
13997 2000-10-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13998
13999         * man/pl/Makefile.am, man/Makefile.am: fixes in man/{,po}/Makefile.am:
14000         - $(man_MANS) added to EXTRA_DISTS,
14001         - do not install by default groups.1, id.1, pw_auth.3, shadow.3, pwauth.8,
14002           sulogin.8, dpasswd.8 (moved to EXTRA_DISTS),
14003
14004 2000-10-15  Marek Michałkiewicz  <marekm@pld.org.pl>
14005
14006         * lib/commonio.c (reload_nscd): Disable for now because not every
14007         version of nscd can handle it, unless ENABLE_NSCD_SIGHUP defined.
14008
14009 2000-10-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
14010
14011         * libmisc/pwdcheck.c, libmisc/Makefile.am: - added missing pwdcheck.c.
14012
14013         * configure.in: - removed old/Makefile from AC_OUTPUT list.
14014
14015 2000-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
14016
14017         * README: - fixed information about RO cvs access.
14018
14019         * NEWS: - summary changes description for shadow-20001012.
14020
14021         * configure.in: - release changed to 20001012.
14022
14023         * etc/Makefile.am: - removed shells and suauth from EXTRA_DIST.
14024
14025         * doc/Makefile.am: - removed README.debian from EXTRA_DIST.
14026
14027         * libmisc/Makefile.am: - removed pwdcheck.c from libmisc_a_SOURCES.
14028
14029         * debian/Attic/Makefile.am: - removed FILES from EXTRA_DIST.
14030
14031         * contrib/Makefile.am: - s/udbachk.v012.tgz/udbachk.tgz/
14032
14033         * doc/Makefile.am: - removed CHANGES (this file was moved to ../NEWS).
14034
14035 2000-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
14036
14037         * po/Attic/ChangeLog: - add empty file (gettext requires this).
14038
14039 2000-10-10  Arkadiusz Miśkiewicz  <misiek@pld.org.pl>
14040
14041         * README: typos fixed
14042
14043 2000-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
14044
14045         * Makefile.am: - added shadow-utils.spec.in to EXTR_DIST.
14046
14047         * redhat/Attic/shadow-utils.spec.in: - obsoleted.
14048
14049         * Attic/stamp-h.in: - removed (this file is autogenerated by autoconf).
14050
14051         * po/pl.po, po/sv.po, po/cs.po, po/el.po, po/fr.po:
14052         - update before release.
14053
14054         * doc/Attic/LSM: - new maintainer and new primary site.
14055
14056         * Makefile.am: - README added to EXTRA_DIST.
14057
14058         * README: - added README with all shadow sites and resources details.
14059
14060         * Attic/shadow-utils.spec.in: - partialy rewrited.
14061
14062         * configure.in: - change version to 20001010.
14063
14064         * Makefile.am: - added NEWS to EXTRA_DIST.
14065
14066         * Makefile.am, TODO: - added TODO.
14067
14068         * doc/Attic/CHANGES, NEWS: - rename doc/CHANGES -> NEWS.
14069
14070 2000-10-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
14071
14072         * 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:
14073         - remove redhat/ directory with obsoleted files.
14074
14075         * po/.cvsignore, src/.cvsignore, man/.cvsignore, man/pl/.cvsignore, .cvsignore, libmisc/.cvsignore:
14076         - shut up cvs.
14077
14078         * man/Makefile.am: - removed redundant ${man_MANS} from EXTRA_DIST.
14079
14080         * src/useradd.c:
14081         - fix a security bug (adduser could overwrite previously existing
14082           groups (shadow-19990827-group.patch from RH),
14083
14084         * po/cs.po, po/el.po, po/fr.po, po/pl.po, po/sv.po:
14085         - "make updated-po".
14086
14087         * 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:
14088         - added man pages for grpconv(8), grpunconv(8), pwunconv(8) (.so link to
14089           pwconv(8))
14090
14091         * man/pl/Attic/adduser.8, man/pl/Makefile.am, man/Attic/adduser.8, man/Makefile.am:
14092         - added man page for adduser(8) (.so link to useradd(8)).
14093
14094         * po/Attic/doit:
14095         - removed (in po/Makefile.in.in exist special update-po target).
14096
14097         * etc/pam.d/passwd, etc/pam.d/su: - cosmetics.
14098
14099         * etc/pam.d/Attic/shadow: - sample PAM config file for shadow utils.
14100
14101         * etc/pam.d/Makefile.am: - added shadow to EXTRA_DIST
14102
14103         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
14104         - bind to shadow PAM file instead userdb (mainly PAMimication all shadow
14105           utils is used for proper updating db files but in real this can be used
14106           for perform many other tasks).
14107
14108         * src/Makefile.am: - added linking with @LIBPAM@ all PAMified tools.
14109
14110         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
14111         - added PAM support (bind to common "userdb" PAM authentication description
14112           file).
14113
14114         * src/chage.c: - added PAM support.
14115
14116 2000-10-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
14117
14118         * autogen.sh:
14119         - added autogen.sh script which prepare raw source code from cvs to use.
14120
14121 2000-10-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
14122
14123         * man/pl/useradd.8, man/pl/userdel.8, man/pl/usermod.8, man/pl/vipw.8:
14124         - merged changes from PTM.
14125
14126         * man/pl/Makefile.am:
14127         - simplified: use only man_MANS and remaped $(mandir) variable.
14128
14129 2000-09-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
14130
14131         * po/cs.po, configure.in:
14132         - added cs translation (Jiri Pavlovsky <Jiri.Pavlovsky@ff.cuni.cz>).
14133
14134 2000-09-05  Marek Michałkiewicz  <marekm@pld.org.pl>
14135
14136         * 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:
14137         *** empty log message ***
14138
14139 2000-09-02  Marek Michałkiewicz  <marekm@pld.org.pl>
14140
14141         * 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:
14142         *** empty log message ***
14143
14144 2000-08-26  Marek Michałkiewicz  <marekm@pld.org.pl>
14145
14146         * 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:
14147         *** empty log message ***
14148
14149 1999-08-27  Marek Michałkiewicz  <marekm@pld.org.pl>
14150
14151         * 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:
14152         *** empty log message ***
14153
14154 1999-07-09  Marek Michałkiewicz  <marekm@pld.org.pl>
14155
14156         * 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:
14157         *** empty log message ***
14158
14159 1999-06-07  Marek Michałkiewicz  <marekm@pld.org.pl>
14160
14161         * 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:
14162         *** empty log message ***
14163
14164 1999-03-07  Marek Michałkiewicz  <marekm@pld.org.pl>
14165
14166         * 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:
14167         *** empty log message ***
14168
14169 1998-12-28  Marek Michałkiewicz  <marekm@pld.org.pl>
14170
14171         * 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:
14172         *** empty log message ***
14173
14174 1998-07-24  Marek Michałkiewicz  <marekm@pld.org.pl>
14175
14176         * 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:
14177         *** empty log message ***
14178
14179 1998-06-26  Marek Michałkiewicz  <marekm@pld.org.pl>
14180
14181         * 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:
14182         *** empty log message ***
14183
14184 1998-05-29  Marek Michałkiewicz  <marekm@pld.org.pl>
14185
14186         * 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:
14187         *** empty log message ***
14188
14189 1998-04-16  Marek Michałkiewicz  <marekm@pld.org.pl>
14190
14191         * 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:
14192         *** empty log message ***
14193
14194 1998-04-02  Marek Michałkiewicz  <marekm@pld.org.pl>
14195
14196         * 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:
14197         *** empty log message ***
14198
14199 1998-01-30  Marek Michałkiewicz  <marekm@pld.org.pl>
14200
14201         * 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:
14202         *** empty log message ***
14203
14204 1998-01-25  Marek Michałkiewicz  <marekm@pld.org.pl>
14205
14206         * Attic/acconfig.h: *** empty log message ***
14207
14208 1997-12-14  Marek Michałkiewicz  <marekm@pld.org.pl>
14209
14210         * 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:
14211         *** empty log message ***
14212
14213 1997-12-08  Marek Michałkiewicz  <marekm@pld.org.pl>
14214
14215         * 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:
14216         *** empty log message ***
14217
14218 1997-10-01  Marek Michałkiewicz  <marekm@pld.org.pl>
14219
14220         * 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:
14221         *** empty log message ***
14222
14223 1997-09-30  Marek Michałkiewicz  <marekm@pld.org.pl>
14224
14225         * 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:
14226         *** empty log message ***
14227
14228 1997-09-29  Marek Michałkiewicz  <marekm@pld.org.pl>
14229
14230         * man/Attic/chpasswd.8, man/Attic/pwconv.8, man/Attic/pwunconv.8, man/Attic/su.1, man/Makefile.am:
14231         *** empty log message ***
14232
14233 1997-06-16  Marek Michałkiewicz  <marekm@pld.org.pl>
14234
14235         * 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:
14236         *** empty log message ***
14237
14238 1997-06-01  Marek Michałkiewicz  <marekm@pld.org.pl>
14239
14240         * 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:
14241         *** empty log message ***
14242
14243 1997-05-02  Marek Michałkiewicz  <marekm@pld.org.pl>
14244
14245         * 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:
14246         *** empty log message ***
14247
14248 1997-02-11  Marek Michałkiewicz  <marekm@pld.org.pl>
14249
14250         * 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:
14251         *** empty log message ***
14252
14253 1997-01-08  Marek Michałkiewicz  <marekm@pld.org.pl>
14254
14255         * 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:
14256         *** empty log message ***
14257
14258 1996-10-27  Marek Michałkiewicz  <marekm@pld.org.pl>
14259
14260         * 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:
14261         *** empty log message ***
14262
14263 1996-09-25  Marek Michałkiewicz  <marekm@pld.org.pl>
14264
14265         * 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:
14266         *** empty log message ***
14267
14268 1996-09-20  Marek Michałkiewicz  <marekm@pld.org.pl>
14269
14270         * 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:
14271         *** empty log message ***
14272
14273 1996-09-10  Marek Michałkiewicz  <marekm@pld.org.pl>
14274
14275         * 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:
14276         *** empty log message ***
14277
14278 1996-08-10  Marek Michałkiewicz  <marekm@pld.org.pl>
14279
14280         * 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:
14281         New file.
14282
14283         * contrib/adduser-old.c, contrib/adduser.sh, contrib/adduser2.sh, contrib/atudel:
14284         960810 - first version under cvs
14285
14286         * 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:
14287         New file.
14288