]> granicus.if.org Git - shadow/blob - ChangeLog
* po/ca.po, po/cs.po, po/da.po, po/de.po, po/es.po, po/eu.po,
[shadow] / ChangeLog
1 2011-12-09  Nicolas François  <nicolas.francois@centraliens.net>
2
3         * po/ca.po, po/cs.po, po/da.po, po/de.po, po/es.po, po/eu.po,
4         po/fr.po, po/ja.po, po/kk.po, po/pt.po, po/pt_BR.po, po/ru.po,
5         po/sk.po, po/sv.po, po/vi.po, po/zh_CN.po: Quick unfuzzy.
6
7 2011-12-09  Nicolas François  <nicolas.francois@centraliens.net>
8
9         * src/newusers.c, src/chpasswd.c, src/chgpasswd.c: Harmonize
10         usage messages.
11
12 2011-12-09  Nicolas François  <nicolas.francois@centraliens.net>
13
14         * lib/Makefile.am, lib/prototypes.h, lib/selinux.c,
15         lib/semanage.c, po/POTFILES.in: Move lib/selinux.c to
16         lib/semanage.c.
17
18 2011-11-21  Nicolas François  <nicolas.francois@centraliens.net>
19
20         * src/usermod.c, man/usermod.8.xml: usermod -Z "" removes the
21         SELinux user mapping for the modified user.
22         * src/useradd.c: Zflg is #defined as user_selinux non empty.
23
24 2011-11-21  Peter Vrabec  <pvrabec@redhat.com>
25
26         * libmisc/copydir.c: Ignore errors to copy ACLs if the operation
27         is not supported.
28
29 2011-11-19  Nicolas François  <nicolas.francois@centraliens.net>
30
31         * libmisc/root_flag.c, src/gpasswd.c, src/chsh.c: Add splint
32         annotations.
33         * src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c:
34         Ignore return value of spw_rewind, pw_rewind, sgr_rewind, and
35         gr_rewind.
36         * lib/commonio.h: Both head and tail cannot be owned. Set tail as
37         dependent.
38         * src/expiry.c: Ignore return value of expire ().
39         * src/expiry.c: The catch_signals function does not use its sig
40         parameter.
41         * src/userdel.c: Last audit_logger parameter is a
42         shadow_audit_result, use SHADOW_AUDIT_FAILURE instead of 0.
43         * lib/selinux.c: vasprintf requires _GNU_SOURCE to be defined
44         before including stdio.h.
45         * src/chage.c: Cast 3rd date_to_str parameter to a time_t
46         * src/passwd.c: Add missing cast.
47         * lib/commonio.c: Avoid multiple statements per line.
48         * lib/commonio.c: Ignore fclose return value when the file was
49         open read only or was not changed, or if an error is already
50         reported.
51
52 2011-11-19  Nicolas François  <nicolas.francois@centraliens.net>
53
54         * src/faillog.c: The fail_max field is a short, use a short also
55         for the max argument of setmax / setmax_one.
56         * src/faillog.c: Fail with an error message when faillog fails to
57         write to the faillog database.
58
59 2011-11-19  Nicolas François  <nicolas.francois@centraliens.net>
60
61         * man/gpasswd.1.xml: Document the difference between the -r and -R
62         options.
63
64 2011-11-19  Nicolas François  <nicolas.francois@centraliens.net>
65
66         * man/useradd.8.xml, man/groupadd.8.xml, man/usermod.8.xml,
67         man/groupmod.8.xml: Avoid hardcoded values, and reference instead
68         the configuration options (e.g. UID_MIN)
69         * man/groupmod.8.xml, man/usermod.8.xml: Add missing reference to
70         login.defs
71         * man/login.defs.d/UID_MAX.xml, man/login.defs.d/SYS_UID_MAX.xml,
72         man/login.defs.d/GID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
73         Document the default values.
74
75 2011-11-19  Nicolas François  <nicolas.francois@centraliens.net>
76
77         * src/gpasswd.c: Change of group password enforces gshadow
78         password. Set /etc/group password to "x".
79
80 2011-11-16  Peter Vrabec  <pvrabec@redhat.com>
81
82         * NEWS, src/userdel.c, man/userdel.8.xml: Add option -Z/--selinux-user.
83         * libmisc/system.c, lib/prototypes.h, libmisc/Makefile.am: Removed
84         safe_system().
85         * lib/selinux.c, po/POTFILES.in, lib/prototypes.h,
86         lib/Makefile.am: Added helper functions for semanage.
87         * NEWS, README, src/useradd.c, src/usermod.c, src/userdel.c,
88         configure.in: Use libsemanage instead of semanage.
89
90 2011-11-16  Peter Vrabec  <pvrabec@redhat.com>
91
92         * src/Makefile.am: useradd may need the LIBATTR library.
93
94 2011-11-16  Peter Vrabec  <pvrabec@redhat.com>
95
96         * libmisc/copydir.c: Ignore perm_copy_file() errors with errno set
97         to ENOTSUP.
98
99 2011-11-16  Nicolas François  <nicolas.francois@centraliens.net>
100
101         * src/useradd.c: Compilation fix when SHADOWGRP is not enabled.
102         * libmisc/root_flag.c: Add missing #include <stdio.h>
103
104 2011-11-13  Nicolas François  <nicolas.francois@centraliens.net>
105
106         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
107         * po/*.po, man/po/*.po: Updated PO files.
108
109 2011-11-12  Nicolas François  <nicolas.francois@centraliens.net>
110
111         * src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
112         src/chsh.c, src/groupadd.c, src/groupdel.c, src/groupmems.c,
113         src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c,
114         src/usermod.c: Provide the PAM error
115         message instead of our own, and log error to syslog.
116         * src/groupmems.c: Exit with exit rather than fail_exit in usage().
117         * src/newusers.c: Check the number of arguments.
118         * src/newusers.c: Do not create the home directory when it is not
119         changed.
120         * src/useradd.c: Set the group password to "!" rather "x" if there
121         are no gshadow file.
122
123 2011-11-11  Nicolas François  <nicolas.francois@centraliens.net>
124
125         * src/pwck.c: Removed pw_opened.
126         * src/pwck.c: optind cannot be greater than argc.
127         * src/pwck.c: If spw_opened, then is_shadow is implicitly set.
128         * src/pwck.c: Do not report passwd entry without x password and a
129         shadow entry in --quiet mode (no interaction with the caller)
130         * src/pwck.c: Do not check if the last password change is in the
131         future if the time is set to 0.
132
133 2011-11-11  Nicolas François  <nicolas.francois@centraliens.net>
134
135         * libmisc/root_flag.c: Drop privileges before changing root. The
136         --root option should not be used by regular users for suid utils.
137         * libmisc/root_flag.c: Improve error messages.
138
139 2011-11-11  Nicolas François  <nicolas.francois@centraliens.net>
140
141         * src/pwck.c: Compile fix for TCB.
142
143 2011-11-11  Nicolas François  <nicolas.francois@centraliens.net>
144
145         * libmisc/copydir.c: Avoid conflict with glibc. Rename error to
146         error_acl.
147
148 2011-11-11  Nicolas François  <nicolas.francois@centraliens.net>
149
150         * man/newusers.8.xml: Document the optional file argument.
151         * man/newusers.8.xml: Fix the documentation of the inputs' format.
152
153 2011-11-06  Nicolas François  <nicolas.francois@centraliens.net>
154
155         * man/groupmod.8.xml: Document that the primary group of users may
156         be changed by groupmod -g.
157
158 2011-11-06  Nicolas François  <nicolas.francois@centraliens.net>
159
160         * NEWS, src/newusers.c, man/newusers.8.xml: Add --root option.
161
162 2011-11-06  Nicolas François  <nicolas.francois@centraliens.net>
163
164         * src/vipw.c: Remove unused variable a.
165
166 2011-11-06  Nicolas François  <nicolas.francois@centraliens.net>
167
168         * man/generate_mans.mak: The xml-config files do not depend on the
169         Makefile.
170
171 2011-10-31  Nicolas François  <nicolas.francois@centraliens.net>
172
173         * src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c,
174         src/faillog.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c,
175         src/groupmems.c, src/groupmod.c, src/grpconv.c, src/grpunconv.c,
176         src/lastlog.c, src/newusers.c, src/passwd.c, src/pwconv.c,
177         src/pwunconv.c, src/su.c, src/useradd.c, src/userdel.c,
178         src/usermod.c, src/vipw.c: Align and sort options.
179
180 2011-10-31  Nicolas François  <nicolas.francois@centraliens.net>
181
182         * NEWS, src/pwck.c, man/pwck.8.xm, src/grpck.c, man/grpck.8.xml:
183         Add --root option.
184
185 2011-10-31  Nicolas François  <nicolas.francois@centraliens.net>
186
187         * man/limits.5.xml, libmisc/limits.c: Sort limit identifiers.
188         * libmisc/limits.c: Fix support for the K limit identifier.
189         * libmisc/limits.c: Add missing default limit for L and U.
190
191 2011-10-31  Nicolas François  <nicolas.francois@centraliens.net>
192
193         * src/pwck.c, man/pwck.8.xml: Add support for long options.
194         * src/pwck.c, man/pwck.8.xml: Add -h/--help option
195         * src/grpck.c, man/grpck.8.xml: Add support for long options.
196         * src/grpck.c, man/grpck.8.xml: Add -h/--help option
197
198 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
199
200         * src/expiry.c, man/expiry.1.xml: Add support for long options.
201         * src/expiry.c, man/expiry.1.xml: Add -h/--help option
202
203 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
204
205         * src/chfn.c, man/chfn.1.xml: Add support for long options.
206         * src/chfn.c, man/chfn.1.xml: Add -u/--help option
207         * NEWS, src/chfn.c, man/chfn.1.xml: Add --root option.
208
209 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
210
211         * NEWS, src/vipw.c, man/vipw.8.xml: Add --root option.
212
213 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
214
215         * NEWS, src/faillog.c, man/faillog.8.xml: Add --root option.
216         * NEWS, src/lastlog.c, man/lastlog.8.xml: Likewise.
217         * src/faillog.c: Add Prog variable, and prefix error messages with
218         Prog rather than "faillog".
219         * src/lastlog.c: Likewise.
220         * src/lastlog.c: Split usage in smaller messages.
221
222 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
223
224         * NEWS, src/chage.c, man/chage.1.xml: Add --root option. Open
225         audit and syslog after the potential chroot. chage's usage split
226         in smaller messages.
227
228 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
229
230         * src/login.c: re-indent.
231         * src/login.c: Fix support for sub-logins.
232
233 2011-10-30  Nicolas François  <nicolas.francois@centraliens.net>
234
235         * src/faillog.c, src/chage.c, src/newusers.c, src/su.c: The getopt
236         index of long options is not used.
237
238 2011-10-29  Nicolas François  <nicolas.francois@centraliens.net>
239
240         * lib/prototypes.h, libmisc/Makefile.am, libmisc/root_flag.c,
241         po/POTFILES.in: Add process_root_flag() to process the --root
242         option and chroot so that the chroot config is used and changes
243         are applied to the chroot.
244         * NEWS, src/useradd.c, man/useradd.8.xml: Add --root option. Open
245         audit after the potential chroot.
246         * NEWS, src/userdel.c, man/userdel.8.xml: Add --root option. Open
247         audit and syslog after the potential chroot. userdel's usage split
248         in smaller messages.
249         * NEWS, src/usermod.c, man/usermod.8.xml: Likewise
250         * NEWS, src/groupadd.c, man/groupadd.8.xml: Add --root option. Open
251         audit and syslog after the potential chroot.
252         * src/groupadd.c: Check atexit failures.
253         * src/groupadd.c: Return E_SUCCESS instead of exit'ing at the end
254         of main().
255         * NEWS, src/groupadd.c, man/groupadd.8.xml: Add --root option. Open
256         audit and syslog after the potential chroot.
257         * src/groupmod.c: The getopt index of long options is not used.
258         * src/groupdel.c: Add process_flags().
259         * src/groupdel.c, man/groupdel.8.xml: Add --help option.
260         * NEWS, src/groupdel.c, man/groupdel.8.xml: Add --root option. Open
261         audit and syslog after the potential chroot.
262         * src/groupdel.c: Check atexit failures.
263         * NEWS, src/pwconv.c, src/pwunconv.c, src/grpconv.c,
264         src/grpunconv.c, man/pwconv.8.xml: Add --root option.
265         * src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c:
266         Add --help option.
267         * src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c:
268         Add process_flags() and usage().
269         * NEWS, src/chpasswd.c, man/chpasswd.8.xml, src/chgpasswd.c,
270         man/chgpasswd.8.xml: Add --root option.
271         * src/chpasswd.c, src/chgpasswd.c: The getopt index of long
272         options is not used.
273         * NEWS, src/passwd.c, man/passwd.1.xml: Add --root option.
274         passwd's usage split in smaller messages.
275         * src/passwd.c: Call sanitize_env() before setting the locales.
276         * NEWS, src/groupmems.c, man/groupmems.8.xml: Add --root option.
277         Open syslog after the potential chroot.
278         * src/groupmems.c: The getopt index of long options is not used.
279         * NEWS, src/chsh.c, man/chsh.1.xml: Add --root option.
280         chsh's usage split in smaller messages.
281         * src/chsh.c: The getopt index of long options is not used.
282         * NEWS, src/gpasswd.c, man/gpasswd.1.xml: Add --root option.
283         * src/gpasswd.c: The getopt index of long options is not used.
284
285 2011-10-22  Nicolas François  <nicolas.francois@centraliens.net>
286
287         * man/ja/Makefile.am, man/fr/Makefile.am, man/ru/Makefile.am,
288         man/sv/Makefile.am, man/pl/Makefile.am, man/zh_CN/Makefile.am,
289         man/it/Makefile.am, man/Makefile.am: Include man_nopam in
290         EXTRA_DIST only when USE_PAM (they are already in man_MANS
291         otherwise).
292
293 2011-10-22  Nicolas François  <nicolas.francois@centraliens.net>
294
295         * man/su.1.xml: Document that su -c does not providea controlling
296         terminal.
297
298 2011-10-18  Nicolas François  <nicolas.francois@centraliens.net>
299
300         * src/newusers.c: Fix typo.
301         * src/useradd.c: Likewise.
302         * lib/nscd.c: Remove unused variable.
303         * lib/prototypes.h, libmisc/cleanup.c, lib/spawn.c, src/chage.c:
304         Add splint annotations.
305         * src/sulogin.c (main): env is only used when USE_PAM is not set.
306
307 2011-10-15  Nicolas François  <nicolas.francois@centraliens.net>
308
309         * man/login.defs.d/LOGIN_STRING.xml: Fix typo.
310
311 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
312
313         * lib/prototypes, libmisc/basename.c (Basename): Input is a
314         constant string.
315         * lib/prototypes.h, lib/spawn.h, lib/spawn.c, src/userdel.c,
316         lib/nscd.c, lib/Makefile.am: Delete spawn.h. Move from spawn.h to
317         prototypes.h.
318         * src/userdel.c: Remove unused variables.
319         * lib/nscd.c: Remove unused header files.
320         * lib/nscd.c: Add the program name to error messages.
321         * lib/nscd.c: Indicate when nscd does not terminate normally (signal).
322         * lib/spawn.c: Updated header.
323         * lib/spawn.c: Flush stdout and stderr to avoid inheriting from
324         ongoing buffers.
325         * lib/spawn.c: Avoid implicit conversion of pointer to boolean.
326         * lib/spawn.c: Replace perror by a complete message.
327         * lib/spawn.c: Continue to wait for the child if another child
328         terminates.
329         * lib/prototypes.h: The name field from cleanup_info_mod is a
330         constant string. (username).
331
332 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
333
334         * libmisc/cleanup.c: Spawn children should no trigger cleanup
335         actions. Make sure only the parent (initial caller) perform the
336         cleanup actions.
337
338 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
339
340         * libmisc/salt.c (SHA_salt_rounds): It is statically ensured that
341         the format fits in rounds_prefix.
342         * libmisc/loginprompt.c: Likewise.
343
344 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
345
346         * src/grpconv.c: Fail if not called correctly.
347         * src/grpconv.c: At the end of main, the passwd and shadow files
348         are locked. No need to check before unlocking. No need to set the
349         lock as false neither since there cannot be anymore failures.
350
351 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
352
353         * src/chage.c: EPOCH is not needed, it's converted to -1 by
354         strtoday(). But we need to support "-1" specifically.
355         * src/chage.c: Fix usage: LOGIN is mandatory.
356         * src/chage.c: Display disabled expiry or last change as "-1"
357         instead of 1969-12-31. 1969-12-31 is still supported as input from
358         the user.
359         * src/chage.c: Exit cleanly with fail_exit() (lock files were not
360         removed).
361
362 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
363
364         * src/useradd.c: Remove def_file. It was always set to
365         USER_DEFAULTS_FILE.
366         * src/useradd.c: Fix cut&paste issue causing bad warning when
367         the useradd.default file contains an invalid INACTIVE= value.
368         * src/useradd.c: Added missing end of line for rename errors.
369         * src/useradd.c: Added -D synopsis to the usage message.
370         * src/useradd.c: Do not scale_age(-1), just use -1.
371         * src/useradd.c: Added FIXME to be fixed later.
372         * src/useradd.c: Allow -e -1 when there is no shadow file.
373         * src/useradd.c: Fail, but do not print the usage message when the
374         -e argument is not valid.
375         * src/useradd.c: No need to check for oflg since uflg is
376         already checked.
377
378 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
379
380         * src/su.c: Too much const were added on 2011-08-15. pw in
381         save_caller_context() is allocated and freed.
382         * src/su.c: Added missing #endif indication
383         * src/su.c (save_caller_context): password only needed if
384         SU_ACCESS and !USE_PAM.
385
386 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
387
388         * src/usermod.c: date_to_str() is always called with negativ set
389         to "never", remove this argument.
390         * src/usermod.c: Added missing cast for gr_free argument.
391
392 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
393
394         * src/pwconv.c: Fail if not called correctly.
395         * src/pwconv.c: At the end of main, the passwd and shadow files
396         are locked. No need to check before unlocking.
397
398 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
399
400         * src/newusers.c: Initially set the passwd's password to '*'
401         instead of 'x'. Only when it is confirmed that a shadow entry is
402         (will be) added, set the passwd's password to 'x'.
403         * src/newusers.c: An invalid line is an error. A failure needs to
404         be reported.
405
406 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
407
408         * src/gpasswd.c: Remove log_gpasswd_success_gshadow(). Writing in
409         gshadow is the last sub-task.
410
411 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
412
413         * src/chsh.c: No needto remove lines tarting with '#' from
414         /etc/shells. This is already done by getusershell() and these
415         shell would fail the access(X_OK) test.
416
417 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
418
419         * man/generate_mans.mak: Fix the generation of translated man
420         pages. xml2po removed the comment from empty headers and the
421         config was no more inserted.
422
423 2011-09-18  Nicolas François  <nicolas.francois@centraliens.net>
424
425         * man/chage.1.xml: The LOGIN argument is not optional.
426         * man/login.defs.d/QUOTAS_ENAB.xml: Document the dependency
427         between /etc/limits and QUOTAS_ENAB.
428
429 2011-08-20  Nicolas François  <nicolas.francois@centraliens.net>
430
431         * po/POTFILES.in: Added lib/spawn.c.
432
433 2011-08-20  Jonathan Nieder  <jrnieder@gmail.com>
434
435         * lib/Makefile.am: Added lib/spawn.c and lib/spawn.h.
436         * lib/nscd.c, lib/spawn.c, lib/spawn.h: It is not possible to
437         differentiate between an nscd failure, and a failure to execute
438         due to no nscd with posix_spawn. Use our own run_command routine.
439         * src/userdel.c: Use run_command()
440
441 2011-08-15  Nicolas François  <nicolas.francois@centraliens.net>
442
443         * src/groupmod.c: Ignore return value from snprintf.
444         * src/groupmod.c: Add static qualifier to the cleanup structures.
445         * src/groupmod.c: Check atexit failures.
446
447 2011-08-15  Nicolas François  <nicolas.francois@centraliens.net>
448
449         * src/usermod.c: Do not assign static to NULL.
450         * src/usermod.c (date_to_str): buf needs to be unique (e.g.
451         independent from negativ), and is an out buffer.
452         * src/usermod.c: Ignore return value from snprintf, and force
453         nul-termination of buffer.
454         * src/usermod.c: Improve memory management.
455         * src/usermod.c: An audit bloc was not reachable, moved above on
456         success to move the home directory.
457         * src/usermod.c: Ignore close() return value for the mailbox
458         (opened read only).
459
460 2011-08-15  Nicolas François  <nicolas.francois@centraliens.net>
461
462         * src/su.c: Added const modifiers.
463         * lib/prototypes: Synchronize splint annotations.
464
465 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
466
467         * src/su.c: Add splint annotations.
468         * src/su.c: Set caller_on_console as boolean.
469         * src/su.c: Ignore return value from fputs (usage) / puts (prompt).
470         * src/su.c: Improved memory management.
471
472 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
473
474         * src/chgpasswd.c, src/chpasswd.c, src/newusers.c: Replace cflg by
475         a test on crypt_method.
476
477 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
478
479         * libmisc/chowndir.c: Add splint annotations.
480         * src/chgpasswd.c: Likewise.
481         * src/chpasswd.c: Likewise.
482         * src/newusers.c: Likewise.
483         * libmisc/salt.c, lib/prototypes.h (crypt_make_salt): Likewise.
484
485 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
486
487         * lib/gshadow_.h: Fix typo in comment.
488
489 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
490
491         * lib/prototypes.h, libmisc/getgr_nam_gid.c: getgr_nam_gid()
492         returns an allocated structure.
493
494 2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
495
496         * src/su.c: Add annotations to indicate that su_failure() does
497         not return.
498
499 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
500
501         * lib/commonio.c: Display PID as unsigned long.
502
503 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
504
505         * src/useradd.c: Remove unused Zflg.
506
507 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
508
509         * src/chgpasswd.c: Fix typo sp -> sg. sg_namp -> sg_name
510         * src/chgpasswd.c: Always update the group file when SHADOWGRP is
511         not enabled.
512
513 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
514
515         * src/newgrp.c: Fix typo in notreached annotation.
516
517 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
518
519         * src/usermod.c: Add annotations to indicate that fail_exit() does
520         not return.
521         * src/usermod.c: Fix typo in notreached annotation.
522
523 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
524
525         * libmisc/find_new_uid.c: free (used_uids) on return.
526         * libmisc/find_new_gid.c: free (used_gids) on return.
527
528 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
529
530         * lib/commonio.c: Fix NIS commit from 2011-07-14.
531
532 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
533
534         * NEWS, src/chpasswd.c: Create a shadow entry if the password is
535         set to 'x' in passwd and there are no entry in shadow for the
536         user.
537         * NEWS, src/chgpasswd.c: Create a gshadow entry if the password is 
538         set to 'x' in group and there are no entry in gshadow for the 
539         group.
540
541 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
542
543         * src/pwunconv.c: Exit after printing usage when arguments or
544         options are provided.
545         * src/pwunconv.c: Re-indent.
546         * src/pwunconv.c: Open the shadow file read only.
547         * src/grpunconv.c: Exit after printing usage when arguments or
548         options are provided.
549         * src/grpunconv.c: Open the gshadow file read only.
550
551 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
552
553         * src/chgpasswd.c: Fix typo.
554
555 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
556
557         * NEWS, src/login.c: Do not log in utmp / utmpx / wtmp when PAM is
558         enabled. This is already done by pam_lastlog. Note that
559         pam_lastlog can only log the parent PID, not the PID of the
560         process forked by login.
561
562 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
563
564         * src/chpasswd.c: Add annotations to indicate that usage() does
565         not return.
566         * src/chpasswd.c: Reindent.
567         * src/chpasswd.c: Remove dead code. No need to set crypt_method
568         to NULL when it is already NULL. sflg is only set if crypt_method
569         is not NULL.
570
571 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
572
573         * src/lastlog.c: Add annotations to indicate that usage() does not
574         return.
575
576 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
577
578         * src/faillog.c: Add annotations to indicate that usage() does not
579         return.
580         * src/faillog.c: Fix message: this is faillog, not lastlog.
581         * src/faillog.c: Check that there are no extra arguments after
582         parsing the options.
583
584 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
585
586         * src/chgpasswd.c: Add annotations to indicate that usage() does
587         not return.
588         * src/chgpasswd.c: Split usage in smaller parts. Those parts are
589         already translated for chpasswd. Usage is now closer to
590         chpasswd's.
591         * src/chgpasswd.c: Remove dead code. No need to set crypt_method
592         to NULL when it is already NULL. sflg is only set if crypt_method
593         is not NULL.
594
595 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
596
597         * src/expiry.c: Remove dead code.
598         * src/expiry.c: Improve comments.
599
600 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
601
602         * src/grpck.c: Added comments.
603         * src/grpck.c: Avoid implicit conversion of pointer to boolean.
604         * src/grpck.c: Remove dead code. argc cannot be lower than optind.
605         Avoid checking twice in a row for NULL != list[i].
606
607 2011-07-22  Nicolas François  <nicolas.francois@centraliens.net>
608
609         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Fail in case of
610         invalid configuration. 
611         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Updated
612         comments.
613         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Be more strict
614         on the loop stop conditions. Stop if we passed the limit, even if
615         the limit itself was never noticed.
616
617 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
618
619         * man/po/fr.po: Fix some spacing issues due to configuration
620         variants.
621
622 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
623
624         * src/passwd.c: Overflow when computing the number of days based
625         on the scaling. Use of long long needed.
626
627 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
628
629         * NEWS, lib/commonio.h, lib/commonio.c: Additional messages to
630         indicate why locking failed.
631         * NEWS, lib/commonio.c: Fix the sort algorithm in case of NIS. NIS
632         entries were dropped.
633         * lib/commonio.c: NIS entries can start by '+' or '-'.
634
635 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
636
637         * NEWS, src/groupmod.c: When the gshadow file exists but there are
638         no gshadow entries, an entry is created if the password is changed
639         and group requires a shadow entry.
640
641 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
642
643         * src/usermod.c: Fix typo in comment.
644         * src/usermod.c (move_home): It is always an error to use -m if
645         the new home directory already exist (independently from the
646         existence of the old home directory did not exist)
647         * src/usermod.c (process_flags): Report usage if no options are
648         provided. Update the error message.
649         * src/usermod.c (process_flags): Check option compatibility and
650         dependency before options are discarded when no changes are
651         requested.
652         * src/usermod.c (process_flags): Check for oflg is not needed to
653         check if changes are needed.
654         * src/usermod.c: usage() does not return. Add annotations.
655         * src/usermod.c (update_gshadow): is_member was computed twice.
656         * src/usermod.c (update_group, update_gshadow): Reduce complexity
657         and document checks. Some checks were always true/false within
658         their call context.
659         * NEWS, src/usermod.c; man/usermod.8.xml: When the shadow file
660         exists but there are no shadow entries, an entry has to be created
661         if the password is changed and passwd requires a shadow entry, or
662         if aging features are used (-e or -f). Document this and also that
663         -e and -f require a shadow file.
664         * man/usermod.8.xml: Document behavior of an empty EXPIRE_DATE.
665         * man/usermod.8.xml: Document that the mail spool might have to be
666         renamed (as for the homedir)
667         * src/usermod.c (new_pwent): Document that pw_locate will not fail
668         because getpwnam returned successfully.
669         * src/usermod.c (process_flags): Do not display the usage in case
670         of an invalid -f value (similar to -e).
671         * src/usermod.c (process_flags): Indicate that the user name is
672         invalid, instead of just a 'field'.
673
674 2011-07-08  Nicolas François  <nicolas.francois@centraliens.net>
675
676         * src/groupadd.c: Fix typo in comment.
677         * src/userdel.c: Fix typo from 2011-06-04. Report failure on the
678         mailfile instead of user_home.
679         * lib/fields.c: Fixed typo from 2010-02-15. field instead of cp
680         ought to be checked.
681         * src/vipw.c: Use Prog instead of progname. This is needed since
682         Prog is used in the library.
683         * configure.in: Fix typo. libcrack default is 'no'.
684         * src/groupmod.c: Avoid implicit conversion of pointer to boolean.
685         * src/groupmod.c: osgrp can be set only if pflg || nflg. No need
686         to check for pflg || nflg again
687
688 2011-07-08  Nicolas François  <nicolas.francois@centraliens.net>
689
690         * man/*.xml, man/config.xml.in: Add source and version
691         information. This reduce the amount of warnings during the
692         manpages generation.
693
694 2011-06-25  Nicolas François  <nicolas.francois@centraliens.net>
695
696         * man/passwd.1.xml: Added reference to chpasswd(8).
697         * man/po/ru.po: Add space between option and argument.
698
699 2011-06-16  Francisco Javier Cuadrado  <fcocuadrado@gmail.com>
700
701         * po/es.po: Spanish translation
702
703 2011-06-16  Nicolas François  <nicolas.francois@centraliens.net>
704
705         * libmisc/isexpired.c: Added parenthesis.
706         * libmisc/env.c: Added comments.
707         * libmisc/env.c: Avoid implicit conversion of pointer to boolean.
708
709 2011-06-16  Nicolas François  <nicolas.francois@centraliens.net>
710
711         * src/su.c: environ is provided by <unistd.h>.
712         * src/su.c: Added function prototypes.
713         * src/su.c: Rename shellstr parameter to shellname to avoid
714         collision with static variable.
715         * NEWS, src/su.c: Added support for PAM modules which change
716         PAM_USER.
717
718 2011-06-13  Nicolas François  <nicolas.francois@centraliens.net>
719
720         * src/su.c (prepare_pam_close_session): Extract the creation of a
721         child and listening for signal in the parent from run_shell().
722         prepare_pam_close_session() is now executed before the creation of
723         the pam session and before the UID is changed. This allows to
724         close the session as root.
725         * src/su.c: Also drop the controlling terminal when PAM is not
726         used.
727         * src/su.c: Remove run_shell().
728         * src/su.c: After prepare_pam_close_session() there is no need to
729         close the session in the child. Added pam_setcred to
730         prepare_pam_close_session().
731
732 2011-06-12  Nicolas François  <nicolas.francois@centraliens.net>
733
734         * src/su.c (save_caller_context): Extract from main() the code
735         used to save the caller's context.
736         * src/su.c: Split check_perms() in to a PAM (check_perms_pam) and
737         a non-PAM (check_perms_nopam) version.
738         * src/su.c: Cleanup check_perms_nopam().
739         * src/su.c: Merge environment setting blocks after the creation of
740         the session.
741         * src/su.c: Close the password databases together with syslog.
742         * src/su.c: Extract command line processing from main().
743         * src/su.c: Extract export of environment from main().
744
745 2011-06-10  Nicolas François  <nicolas.francois@centraliens.net>
746
747         * src/su.c: Group some of the environment processing blocks. The
748         definition of shellstr, PATH and IFS is not influenced (getenv,
749         getdef, restricted_shell) by and does not influence (addenv does
750         not change environ) the authentication. And the authentication
751         did not overwrite those definitions. This will ease an extraction
752         from the big main() function.
753         * src/su.c: Move definition of change_environment and shellstr
754         after the switch to the final subsystem. The previous architecture
755         forced to always change the environment (the shell starts with a
756         '*' and was thus restricted, and change_environment could not be
757         reset to false).
758         * src/su.c: No need to change the user's shell in case of
759         subsystem root. Update the comments.
760         * src/su.c: Define shellstr before the environment so that
761         restricted_shell is called only once. This will allow moving the
762         environment definition after the switch to the new user.
763         * src/su.c: Extract the authentication from the main function.
764         * lib/prototypes.h, src/suauth.c, src/su.c (check_su_auth): Do not
765         use the pwent global variable to communicate between APIs of
766         different files. Added boolean parameter su_to_root to
767         check_su_auth().
768         * src/su.c (check_perms): Return the passwd entry of the finally
769         authenticated user. Remove usage of the pwent variable.
770         * src/su.c: The password of the caller is the one from the
771         spwd structure only if the passwd's password is 'x'.
772         * src/su.c: Cleanup local variables.
773
774 2011-06-10  Nicolas François  <nicolas.francois@centraliens.net>
775
776         * src/su.c: Updating pwent after expire() is not useful. Only the
777         password information may have changed and they are not used
778         anymore afterwards.
779         * src/su.c: No need to call expire() if there are no shadow entry.
780         No need to convert a passwd entry into an spwd entry in that case.
781
782 2011-06-12  Thomas Blein  <tblein@tblein.eu>
783
784         * man/po/fr.po: French manpages translation
785
786 2011-06-05  Nicolas François  <nicolas.francois@centraliens.net>
787
788         * NEWS, src/su.c: Do not forward the controlling terminal to
789         commands executed with -c. This prevents tty hijacking which could
790         lead to execution with the caller's privileges. This required to
791         forward signals from the terminal (SIGINT, SIGQUIT, SIGTSTP) to
792         the executed command.
793
794 2011-06-05  Nicolas François  <nicolas.francois@centraliens.net>
795
796         * NEWS, src/userdel.c: Do not remove a group with the same name as
797         the user (usergroup) if this group isn't the user's primary group.
798
799 2011-06-04  Nicolas François  <nicolas.francois@centraliens.net>
800
801         * NEWS, src/userdel.c: Check the existence of the user's mail
802         spool before trying to remove it. If it does not exist, a warning
803         is issued, but no failure.
804
805 2011-06-03  Nicolas François  <nicolas.francois@centraliens.net>
806
807         * src/sulogin.c: Added Prog, needed because of the last xmalloc()
808         change.
809
810 2011-06-03  Nicolas François  <nicolas.francois@centraliens.net>
811
812         * man/zh_CN/, man/zh_CN/Makefile.am: Added directory, and zh_CN
813         Makefile.
814         * man/Makefile.am: Build zh_CN pages.
815         * man/generate_translations.mak: Add config.xml to CLEANFILES.
816         * man/po/zh_CN.po: limits, groups, faillog, expiry should not be
817         translated (command name, file name), also this broke the build
818         system as they are used to derive manpage names.
819
820 2011-06-02  Peter Vrabec  <pvrabec@redhat.com>
821
822         * src/lastlog.c, src/faillog.c: Fix underflows causing wrong entry
823         to be displayed.
824
825 2011-06-02  Nicolas François  <nicolas.francois@centraliens.net>
826
827         * libmisc/xmalloc.c: Harmonize message.
828
829 2011-06-02  Peter Vrabec  <pvrabec@redhat.com>
830
831         * libmisc/find_new_uid.c, libmisc/find_new_gid.c: Add missing
832         memory allocation check.
833
834 2011-06-02  Cal Peake  <cp@absolutedigital.net>
835
836         * NEWS, libmisc/addgrps.c: Fix allocator loop. Continue to
837         getgroups() when getgroups fails (-1) with errno==EINVAL.
838
839 2011-06-01  Simon Brandmair  <sbrandmair@gmx.net>
840
841         * man/newusers.8.xml, man/suauth.5.xml, man/suauth.5.xml,
842           man/logoutd.8.xml, man/chgpasswd.8.xml, man/groups.1.xml,
843           man/faillog.5.xml, man/login.defs.d/MD5_CRYPT_ENAB.xml,
844           man/login.defs.d/DEFAULT_HOME.xml,
845           man/login.defs.d/LOGIN_RETRIES.xml,
846           man/login.defs.d/MD5_CRYPT_ENAB.xml,
847           man/login.defs.d/PORTTIME_CHECKS_ENAB.xml, 
848           man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml:
849           Fix typos
850         * man/po/de.po: German translation of manpages completed
851
852 2011-05-23  Innocent De Marchi  <tangram.peces@gmail.com>
853
854         * po/ca.po: Catalan translation completed
855
856 2011-04-22  Miguel Figueiredo  <elmig@debianpt.org>
857
858         * po/pt.po: Portuguese translation completed
859
860 2011-04-22  Thomas Blein  <tblein@tblein.eu>
861
862         * po/fr.po: French translation completed
863
864 2011-04-16  Holger Wansing  <linux@wansing-online.de>
865
866         * po/de.po: German translation completed
867
868 2011-04-15  Fred Maranhão  <fred.maranhao@gmail.com>
869
870         * po/pt_BR.po: Brazilian Portuguese translation completed
871
872 2011-04-10  Yuri Kozlov  <yuray@komyakino.ru>
873
874         * po/ru.po: Russian translation completed
875
876 2011-04-07  Daniel Nylander  <po@danielnylander.se>
877
878         * po/sv.po: Swedish translation completed
879
880 2011-04-07  Joe Dalton  <joedalton2@yahoo.dk>
881
882         * po/da.po: Danish translation completed
883
884 2011-04-05  Timur Birsh  <taem@linukz.org>
885
886         * po/kk.po: Kazakh translation completed
887
888 2011-04-05  NAKANO Takeo  <nakano@st.seikei.ac.jp>
889
890         * po/ja.po: Japanese translation completed
891
892 2011-03-30  YunQiang Su  <wzssyqa@gmail.com>
893
894         * man/po/zh_CN.po: convert Simplified Chinese translation 
895           of manpages to gettext
896         * po/zh_CN.po: Simplified Chinese translation completed
897
898 2010-02-15  Nicolas François  <nicolas.francois@centraliens.net>
899
900         * man/ru/Makefile.am: Remove double inclusion of $(man_nopam)
901
902 2010-02-15  Nicolas François  <nicolas.francois@centraliens.net>
903
904         * libmisc/user_busy.c, src/userdel.c, src/usermod.c: Warn in
905         user_busy() rather than in src/userdel.c or src/usermod.c to
906         provide more accurate failure cause (user is logged in or user
907         still executes processes).
908
909 2010-02-15  Nicolas François  <nicolas.francois@centraliens.net>
910
911         * lib/groupio.c, lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: Check
912         entry validity before commits to databases.
913         * libmisc/fields.c, libmisc/Makefile.am, lib/fields.c,
914         lib/Makefile.am, po/POTFILES.in: fields.c moved from libmisc to
915         lib.
916         * lib/fields.c: Fail if input pointer is NULL.
917
918 2010-02-13  Nicolas François  <nicolas.francois@centraliens.net>
919
920         * NEWS, src/chfn.c, src/chsh.c: Fix CVE-2011-0721: forbid \n in
921         gecos or shell.
922
923 2011-02-12  Nicolas François  <nicolas.francois@centraliens.net>
924
925         * autogen.sh: Restore original autoreconf (see 2010-08-29's change
926         for autogen.sh)
927         * configure.in, man/po/Makefile.in.in, man/po/Makefile.in:
928         Makefile.in.in replaced by Makefile.in to avoid config.status
929         issues when there are multiple po directories.
930         * man/po/LINGUAS: Adapted to above change.
931         * man/po/POTFILES.in, man/po/XMLFILES: POTFILES.in replaced by
932         XMLFILES.
933         * man/Makefile.am: generate_mans.deps shall be included by make,
934         not automake.
935
936 2010-11-19  Nicolas François  <nicolas.francois@centraliens.net>
937
938         * NEWS, libmisc/console.c: Fix CONSOLE parser. This caused login
939         to hang when CONSOLE was configured with a colon separated list of
940         TTYs.  See http://bugs.gentoo.org/show_bug.cgi?id=324419
941
942 2010-09-05  Nicolas François  <nicolas.francois@centraliens.net>
943
944         Integrate review comments from Julien Cristau
945         * libmisc/copydir.c: Missing parenthesis in comment.
946         * libmisc/chowndir.c: Fixed memory leak on failed realloc().
947         * libmisc/chowndir.c: Make sure the buffer for the path is large
948         enough.
949         * libmisc/remove_tree.c: Remove check for NULL before free().
950
951 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
952
953         * man/po/fr.po: Fix 2 fuzzy strings.
954
955 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
956
957         * NEWS, src/usermod.c: Accept options in any order (username not
958         necessarily at the end)
959
960 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
961
962         * autogen.sh: Expand autoreconf to avoid running autopoint.
963
964 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
965
966         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
967         * po/*.po, man/po/*.po: Updated PO files.
968
969 2010-08-28  Brian M. Carlson  <sandals@crustytoothpaste.ath.cx>
970
971         * man/chsh.1.xml: Fix comma splice.
972
973 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
974
975         * lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
976         selinux_file_context renamed set_selinux_file_context.
977         * lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
978         Added reset_selinux_file_context.
979         * src/useradd.c: Check the return value of
980         set_selinux_file_context and reset_selinux_file_context.
981         * libmisc/copydir.c: Check the return value of
982         reset_selinux_file_context.
983
984 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
985
986         * src/su.c: Fix handling of environment variables when
987         the environment is not changed. In particular, this makes su
988         behave as documented regarding PATH and IFS (i.e. they are reset)
989         when -p is provided.
990
991 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
992
993         * man/su.1.xml: Fix typo.
994
995 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
996
997         * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
998         src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
999         src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
1000         src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
1001         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/chage.c,
1002         src/groupadd.c, src/login.c, src/grpconv.c, src/groups.c,
1003         src/grpunconv.c, src/chsh.c: Prog changed to a constant string.
1004
1005 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
1006
1007         * libmisc/limits.c: Avoid implicit conversion of integer to
1008         boolean.
1009         * libmisc/basename.c: Avoid implicit conversion of pointer to
1010         boolean.
1011         * libmisc/basename.c, lib/prototypes.h (Basename): Return a
1012         constant string.
1013         * libmisc/basename.c, libmisc/obscure.c, lib/prototypes.h,
1014         libmisc/xmalloc.c, libmisc/getdate.h, libmisc/system.c,
1015         libmisc/getgr_nam_gid.c, libmisc/failure.c, libmisc/valid.c: Add
1016         splint annotations.
1017         * libmisc/chowndir.c: Avoid memory leak.
1018         * libmisc/chowndir.c: Do not check *printf/*puts return value.
1019         * libmisc/chowntty.c: Avoid implicit conversion between integer
1020         types.
1021         * libmisc/obscure.c: Return a bool when possible instead of int.
1022         * libmisc/shell.c: Do not check *printf/*puts return value.
1023         * libmisc/shell.c: Do not check execle return value.
1024         * libmisc/setupenv.c: Avoid implicit conversion between integer
1025         types.
1026         * libmisc/xmalloc.c: size should not be zero to avoid returning
1027         NULL pointers.
1028         * libmisc/hushed.c: Do not check *printf/*puts return value.
1029         * libmisc/system.c: Avoid implicit conversion of integer to
1030         boolean. safe_system last argument is a boolean.
1031         * libmisc/system.c: Check return value of dup2.
1032         * libmisc/system.c: Do not check *printf/*puts return value.
1033         * libmisc/system.c: Do not check execve return value. 
1034         * libmisc/salt.c: Do not check *printf/*puts return value.
1035         * libmisc/loginprompt.c: Do not check gethostname return value.
1036         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not check
1037         gr_rewind/pw_rewind return value.
1038         * libmisc/ttytype.c: Limit the number of parsed characters in the
1039         sscanf format.
1040         * libmisc/ttytype.c: Test if a type was really read.
1041         * libmisc/sub.c: Do not check *printf/*puts return value.
1042         * libmisc/sub.c: Avoid implicit conversion of integer to boolean.
1043         * src/userdel.c: Fix typo in comment.
1044         * src/userdel.c: Avoid implicit conversion of boolean to integer.
1045         * src/userdel.c: safe_system last argument is a boolean.
1046         * src/newusers.c: Avoid implicit conversion of boolean to integer.
1047         * src/newusers.c: Avoid implicit conversion of integer to boolean.
1048         * src/usermod.c: Add brackets.
1049         * src/usermod.c: Avoid implicit conversion of characters or
1050         integers to booleans.
1051         * src/vipw.c: Avoid implicit conversion of integer to boolean.
1052         * src/su.c: Avoid implicit conversion of integer to boolean.
1053         * src/su.c: Add brackets.
1054         * src/useradd.c: Avoid implicit conversion of characters or
1055         integers to booleans.
1056
1057 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
1058
1059         * libmisc/obscure.c, lib/prototypes.h (obscure): Return a bool
1060         instead of an int.
1061         * libmisc/obscure.c, libmisc/tz.c, src/passwd.c, lib/encrypt.c,
1062         libmisc/copydir.c, lib/prototypes.h: Add splint annotations.
1063         * libmisc/tz.c: Fix some const issues.
1064         * libmisc/tz.c: Avoid multi-statements lines.
1065         * libmisc/tz.c: Add brackets.
1066         * libmisc/copydir.c: Do not check *printf/*puts return value.
1067         * libmisc/copydir.c: Fail if we cannot set or reset the SELinux
1068         fscreate context.
1069         * libmisc/copydir.c: Use xmalloc instead of malloc.
1070         * libmisc/copydir.c: Do not check lutimes return value
1071         * src/vipw.c: Avoid implicit conversion of integer to boolean.
1072         * src/su.c (iswheel): Return a bool instead of an int.
1073         * src/passwd.c: Remove insert_crypt_passwd(). Use xstrdup instead.
1074         * src/passwd.c: Return constant strings when sufficient.
1075         * src/passwd.c: Do not check *printf/*puts return value.
1076         * src/passwd.c: Avoid implicit conversion of character to boolean.
1077         * src/passwd.c: Do not check sleep return value.
1078         * src/sulogin.c: Do not check *printf/*puts return value.
1079         * lib/encrypt.c: Do not check fprintf return value.
1080
1081 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1082
1083         * src/passwd.c: Fix a const issue.
1084         * src/passwd.c: Avoid multi-statements lines.
1085         * src/sulogin.c: Fix a const issue.
1086
1087 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1088
1089         * libmisc/copydir.c, lib/prototypes.h: Caller can choose not to
1090         copy the extended attributes (the SELinux context is hence reset)
1091         * src/usermod.c: Copy the extended attributes.
1092         * src/useradd.c: Only reset the SELinux context.
1093
1094 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1095
1096         * configure.in: Fixed typo.
1097
1098 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1099
1100         * libmisc/console.c, libmisc/motd.c, libmisc/setupenv.c,
1101         libmisc/sulog.c, libmisc/hushed.c, libmisc/failure.c,
1102         libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/obscure.c,
1103         libmisc/pam_pass_non_interractive.c, src/userdel.c, src/login.c,
1104         lib/commonio.c, lib/commonio.h, libmisc/setugid.c,
1105         libmisc/setupenv.c: Fix some const issues.
1106         * libmisc/motd.c: Avoid multi-statements lines.
1107         * libmisc/motd.c: Support long MOTD_FILE.
1108         * libmisc/list.c, lib/prototypes.h: Revert previous change.
1109         dup_list and is_on_list are used with members as defined for the
1110         group structure, and thus even if the list is not modified, the
1111         list elements cannot be constant strings.
1112         * libmisc/system.c: Avoid C++ comments.
1113         * src/vipw.c: WITH_TCB cannot be tested inside a gettextized
1114         string. Split the Usage string.
1115         * lib/commonio.h: Re-indent.
1116
1117 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1118
1119         * libmisc/audit_help.c (audit_logger):pgname is not used. We let
1120         audit find out the name of the program.
1121         * libmisc/audit_help.c: Re-indent.
1122
1123 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1124
1125         * lib/groupio.c: Avoid implicit conversion from signed to unsigned.
1126
1127 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1128
1129         * lib/commonio.c: Make sure there are no NULL pointer dereference.
1130
1131 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1132
1133         * libmisc/remove_tree.c: Ignore snprintf return value.
1134
1135 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1136
1137         * lib/prototypes.h, libmisc/list.c: dup_list() and is_on_list() do
1138         not change the members of the list they receive. Added const
1139         qualifiers.
1140
1141 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1142
1143         * src/usermod.c: Re-indent.
1144
1145 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1146
1147         * lib/commonio.c: Avoid multi-statements lines.
1148
1149 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
1150
1151         * man/po/fr.po: Fix a typo.
1152
1153 2010-06-24  Baurzhan Muftakhidinov  <baurthefirst@gmail.com>
1154
1155         * NEWS, po/kk.po: Updated Kazakh translation.
1156
1157 2010-04-12  Nicolas François  <nicolas.francois@centraliens.net>
1158
1159         * man/po/fr.po: Fix some typos. Minor updates: 886t70f187u.
1160
1161 2010-04-12  Nicolas François  <nicolas.francois@centraliens.net>
1162
1163         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1164         * po/*.po, man/po/*.po: Updated PO files.
1165
1166 2010-04-05  Nicolas François  <nicolas.francois@centraliens.net>
1167
1168         * man/newusers.8.xml, man/useradd.8.xml, man/groupadd.8.xml,
1169         man/login.defs.d/UMASK.xml, man/login.defs.d/CREATE_HOME.xml,
1170         man/login.defs.d/LOGIN_RETRIES.xml: Fix typos: choosen, overriden,
1171         bahavior.
1172
1173 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
1174
1175         * man/usermod.8.xml: Document changes of ownerships.
1176
1177 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
1178
1179         * man/vipw.8.xml: Fix formatting typo.
1180         * man/vipw.8.xml: Document the login.defs parameters only when tcb
1181         is enabled.
1182
1183 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
1184
1185         * src/useradd.c: spool is a constant string.
1186         * src/useradd.c: Set the new copy_tree's paramater 'copy_root' to false 
1187
1188 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
1189
1190         * src/usermod.c: move_home() is only called if mflg is set.
1191         * src/usermod.c: Fail is -m is provided but the old home directory
1192         is not a directory.
1193         * src/usermod.c: Use the previous improvement of copy_tree to
1194         provide better error diagnosis.
1195         * src/usermod.c: When rename() is used, also change the ownership.
1196         * src/usermod.c: Do not change the ownership of the root directory
1197         twice.
1198         * src/usermod.c: When -u is provided, only change the ownership of
1199         the home directory if it is a directory.
1200         * src/usermod.c: Also change ownerships when -g is used.
1201
1202 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
1203
1204         * lib/prototypes.h, libmisc/copydir.c: Add the old UID and GID to
1205         copy_tree to detect when ownership shall be changed.
1206         * libmisc/copydir.c: Document the behavior when the IDs are set to
1207         -1.
1208         * lib/prototypes.h, libmisc/copydir.c (copy_tree): Add parameter
1209         copy_root.
1210         * libmisc/copydir.c: error() and ctx can be static.
1211         * libmisc/copydir.c (copy_hardlink): Remove parameter src.
1212
1213 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
1214
1215         * libmisc/chowndir.c: Dynamically allocate memory to support
1216         path longer than 1024 characters.
1217         * libmisc/chowndir.c: Fix typos in documentation.
1218         * libmisc/chowndir.c: Support and document the behavior when a old
1219         or new ID is set to -1.
1220         * libmisc/chowndir.c: Improved error detection when chown fails.
1221         * libmisc/chowndir.c: Harmonize error handling strategy when an
1222         error occurs: stop changing ownership as soon as an error was
1223         detected.
1224
1225 2010-04-03  Nicolas François  <nicolas.francois@centraliens.net>
1226
1227         * man/hu/passwd.5: Fix formatting typo.
1228         * man/id/login.1: Likewise.
1229
1230 2010-03-31  Nicolas François  <nicolas.francois@centraliens.net>
1231
1232         * man/vipw.8.xml: When TCB is enabled, vipw uses login.defs.
1233
1234 2010-03-31  Nicolas François  <nicolas.francois@centraliens.net>
1235
1236         * NEWS, libmisc/copydir.c: When a hardlink is detected, the
1237         original hardlink should not be removed.
1238
1239 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
1240
1241         * po/POTFILES.in, libmisc/Makefile.am, lib/prototypes.h,
1242         libmisc/remove_tree.c, libmisc/copydir.c: Split remove_tree()
1243         outside of copydir.c to avoid linking against libacl or libattr.
1244
1245 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
1246
1247         * src/su.c: shell's name must be -su when a su fakes a login.
1248
1249 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
1250
1251         * NEWS, configure.in, libmisc/copydir.c, man/useradd.8.xml,
1252         man/usermod.8.xml, src/Makefile.am: Added support for ACLs and
1253         Extended Attributes.
1254
1255 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
1256
1257         * libmisc/copydir.c: Document the sections closed by #endif
1258
1259 2010-03-27  Nicolas François  <nicolas.francois@centraliens.net>
1260
1261         * man/vipw.8.xml: Add section ENVIRONMENT.
1262
1263 2010-03-26  Nicolas François  <nicolas.francois@centraliens.net>
1264
1265         * etc/login.defs: Updated description of UMASK to indicate its
1266         usage by pam_umask.
1267         * man/login.defs.d/UMASK.xml: Likewise.
1268
1269 2010-03-25  Nicolas François  <nicolas.francois@centraliens.net>
1270
1271         * man/login.1.xml: login does not check for new mails in PAM
1272         enabled versions. This is done by pam_mail.
1273
1274 2010-03-25  Nicolas François  <nicolas.francois@centraliens.net>
1275
1276         * NEWS, src/chpasswd.c, man/chpasswd.8.xml, man/login.defs.5.xml:
1277         PAM enabled versions: restore the -e option to allow restoring
1278         passwords without knowing those passwords. Restore together the -m
1279         and -c options.
1280
1281 2010-03-23  Nicolas François  <nicolas.francois@centraliens.net>
1282
1283         * src/su.c, src/vipw.c, src/newgrp.c: When the child is
1284         interrupted, stop ourself with a SIGSTOP signal.
1285
1286 2010-03-23  Nicolas François  <nicolas.francois@centraliens.net>
1287
1288         * src/newgrp.c: Limit the scope of variable pid.
1289         * src/login_nopam.c: Limit the scope of variables end, lineno, i,
1290         str_len.
1291         * src/logoutd.c: Limit the scope of variable c.
1292         * src/vipw.c: Re-indent.
1293         * src/vipw.c: Close the file after the creation of the backup.
1294         * src/useradd.c (set_default): Close input file on failure.
1295         * src/useradd.c: Limit the scope of variables spool, file, fd, gr,
1296         gid, mode.
1297         * src/passwd.c: Limit the scope of variables last and ok.
1298         * src/chage.c: Fix typo (non breaking space).
1299         * src/login.c: Limit the scope of variables erasechar killchar, c,
1300         failed.
1301         * src/groups.c: Limit the scope of variable ngroups, pri_grp, i.
1302         * src/id.c: Limit the scope of variable i.
1303
1304 2010-03-22  Nicolas François  <nicolas.francois@centraliens.net>
1305
1306         * lib/utent.c (getutline): Remove getutline(). This function is
1307         no more used.
1308         * lib/groupmem.c: Limit the scope of variable i.
1309         * lib/shadow.c: Avoid implicit conversion of pointers and integers
1310         to booleans.
1311         * lib/shadow.c: Added brackets.
1312         * libmisc/limits.c: Limit the scope of variable tmpmask.
1313         * libmisc/copydir.c: Close opened file on failure.
1314         * libmisc/loginprompt.c: Limit the scope of variable envc.
1315         * libmisc/find_new_uid.c, libmisc/find_new_gid.c: Limit the scope
1316         of variable id.
1317
1318 2010-03-21  Nicolas François  <nicolas.francois@centraliens.net>
1319
1320         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Detect some
1321         misconfigurations of UID_MIN, UID_MAX, SYS_UID_MIN, SYS_UID_MAX (and
1322         the GID equivalents)
1323
1324 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
1325
1326         * NEWS, configure.in: Next version will be 4.1.5.
1327         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1328         * po/*.po, man/po/*.po: Updated PO files.
1329
1330 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
1331
1332         * libmisc/limits.c: Re-indent to make pmccabe happy.
1333
1334 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
1335
1336         * man/generate_translations.mak, man/generate_mans.mak: Fix
1337         distcheck. All manpages generation code shall be enclosed in
1338         ENABLE_REGENERATE_MAN conditions.
1339
1340 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
1341
1342         * man/useradd.8.xml: Do not document the features which are not
1343         working.
1344         * man/useradd.8.xml: Fix typo: -u was meant instead of -o.
1345         * man/useradd.8.xml: Document that the default behavior depends on
1346         CREATE_HOME.
1347
1348 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
1349
1350         * lib/groupio.c: Fix memory management insplit_groups().
1351
1352 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
1353
1354         * libmisc/strtoday.c: Empty dates indicate a disabled date, this is
1355         not an error.
1356
1357 2010-03-19  Nicolas François  <nicolas.francois@centraliens.net>
1358
1359         * src/useradd.c, lib/commonio.c, po/POTFILES.in: Fix typos.
1360         * libmisc/limits.c: Removed unused variable.
1361
1362 2010-03-19  Nicolas François  <nicolas.francois@centraliens.net>
1363
1364         * lib/commonio.c: Stop sorting entries when we reach the first
1365         NIS line.
1366
1367 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1368
1369         * src/chsh.c: Even for root, warn if an invalid shell is
1370         specified. Alioth#311305
1371
1372 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1373
1374         * man/limits.5.xml: Document the selection of the limits when
1375         multiple lines match the user.
1376
1377 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1378
1379         * libmisc/limits.c: Re-indent.
1380         * libmisc/limits.c: Reformat the documentation. Avoid personal
1381         comments.
1382         * man/limits.5.xml: Document the new features.
1383
1384 2010-03-18  Thomas Orgis  <thomas@orgis.org>
1385
1386         * NEWS, libmisc/limits.c: Fix parsing of limits.
1387         * NEWS, libmisc/limits.c: Add support for infinite limits.
1388         * NEWS, libmisc/limits.c: Add support for @group syntax.
1389
1390 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1391
1392         * lib/tcbfuncs.h: Re-indent.
1393         * lib/tcbfuncs.h: Explicitly indicate function taking a void
1394         parameter.
1395
1396 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1397
1398         * src/useradd.c: When exiting because of a failure, warn if an
1399         home directory created, but cannot be removed.
1400
1401 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1402
1403         * libmisc/chowndir.c: Re-indent.
1404         * libmisc/chowndir.c: Avoid assignment in comparisons.
1405         * libmisc/chowndir.c: Added brackets and parenthesis.
1406
1407 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1408
1409         * libmisc/strtoday.c: Add support for numerical dates, assuming
1410         they are already specified in number of days since Epoch. Return
1411         -2 in case of errors to support the specification of -1.
1412         * src/usermod.c, src/useradd.c: Adapt to the new error value of
1413         strtoday().
1414         * src/chage.c:  Remove isnum(). Adapt to the new error value of
1415         strtoday(). Support for numerical dates is moved to strtoday().
1416
1417 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1418
1419         * man/po/fr.po: Harmonize name of parameters.
1420
1421 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1422
1423         * NEWS: Indicate which tools support TCB.
1424
1425 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1426
1427         * src/pwck.c: Unlock the password and shadow files when there is a
1428         failure to prepare the update in memory.
1429
1430 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1431
1432         * src/pwck.c: Only log to SYSLOG when acting on system files.
1433
1434 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1435
1436         * src/pwck.c: Document the sections closed by #endif
1437         * src/pwck.c, man/pwck.8.xml: No alternative shadow file can be
1438         given when USE_TCB is enabled.
1439         * src/pwck.c: Remove the -s option from the usage when USE_TCB is
1440         enabled. The option is still supported, but has no effect, as
1441         documented in the manpage.
1442
1443 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1444
1445         * src/pwck.c: Do not use pwd_file and spw_file. Always use the
1446         dbname() functions.
1447
1448 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1449
1450         * src/pwck.c: Re-indent.
1451
1452 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
1453
1454         * src/userdel.c, src/usermod.c, src/vipw.c, src/useradd.c,
1455         src/pwck.c, src/chage.c, lib/shadowio.c: Explicitly use the
1456         SHADOWTCB_FAILURE return code instead of 0 or implicit conversion
1457         to booleans.
1458
1459 2010-03-18  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
1460
1461         * src/pwck.c: Add support for TCB.
1462         * src/pwck.c: Use spw_dbname() instead of spw_file since TCB
1463         changes from a file to another depending on the user. Also use
1464         pw_dbname() for consistency.
1465
1466 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
1467
1468         * src/faillog.c: Re-indent.
1469
1470 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
1471
1472         * lib/tcbfuncs.h: Added type shadowtcb_status.
1473         * lib/tcbfuncs.h, lib/tcbfuncs.c: Return a shadowtcb_status
1474         instead of an int.
1475         * lib/tcbfuncs.c: Do not return in OUT_OF_MEMORY.
1476         * lib/tcbfuncs.c: Only FreeBSD specify that the returned buffer is
1477         NULL in case of failure. The return value of asprintf shall be
1478         checked.
1479         * lib/tcbfuncs.c: Avoid implicit conversion of pointers or
1480         integers to booleans.
1481         * lib/tcbfuncs.c: Avoid assignments in comparisons.
1482         * lib/tcbfuncs.c: Do not free path before its last use.
1483         * lib/tcbfuncs.c: Include shadowio.h, needed for the
1484         spw_setdbname's prototype.
1485         * lib/tcbfuncs.c: Ignore fflush() return value.
1486         * lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.
1487         * lib/tcbfuncs.c: Avoid integer to char conversions.
1488         * lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.
1489         * lib/tcbfuncs.c: Removed dead return.
1490         * lib/tcbfuncs.c: move_dir() and shadowtcb_move() need a non NULL
1491         stored_tcb_user.
1492         * lib/tcbfuncs.c: Avoid implicit int to mode_t conversion.
1493         * lib/tcbfuncs.c: Added brackets and parenthesis.
1494         * lib/tcbfuncs.c: Re-indent.
1495
1496 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
1497
1498         * lib/commonio.c: Avoid implicit conversion of pointers to
1499         booleans.
1500         * lib/commonio.c: Ignore the return value of close when a
1501         failure is reported.
1502
1503 2010-03-16  Nicolas François  <nicolas.francois@centraliens.net>
1504
1505         * man/faillog.8.xml: Document the behavior in display mode of the
1506         -a option.
1507         * NEWS, man/faillog.8.xml, src/faillog.c: Extend the -a option to
1508         the non-display mode. This changes the default behavior of the -l,
1509         -m, -r, -t options when -a is not specified (restrict to existing
1510         users).
1511
1512 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1513
1514         * man/chage.1.xml, man/login.defs.5.xml, man/pwck.8.xml,
1515         man/pwconv.8.xml, man/useradd.8.xml, man/userdel.8.xml,
1516         man/usermod.8.xml, man/vipw.8.xml: Document the usage of the
1517         TCB_AUTH_GROUP, TCB_SYMLINKS, and USE_TCB configuration
1518         parameters.
1519         * man/pwconv.8.xml, man/pwck.8.xml: Document the behavior when
1520         USE_TCB is enabled.
1521
1522 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1523
1524         * po/POTFILES.in, lib/tcbfuncs.c: Add more strings for
1525         translation.
1526         * lib/tcbfuncs.c: Indicate the name of the program in error
1527         messages. Avoid perror.
1528         * src/useradd.c: Re-indent.
1529         * src/useradd.c: Add more strings for translation. Indicate the
1530         name of the program in error messages.
1531         * src/userdel.c: Re-indent.
1532         * src/userdel.c: Add more strings for translation. Indicate the
1533         name of the program in error messages.
1534
1535 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1536
1537         * src/usermod.c: user_newname and user_newid cannot be used to
1538         test if the username or ID is changed. lflg and uflg should be
1539         used instead.
1540
1541 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1542
1543         * src/userdel.c: Avoid perror. Give more verbose warnings.
1544
1545 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1546
1547         * man/Makefile.am: Indicate that man/generate_mans.deps is
1548         generated.
1549
1550 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1551
1552         * lib/commonio.c: Re-indent.
1553         * lib/commonio.c: Document the sections closed by #endif
1554         * lib/commonio.c: Added brackets.
1555         * lib/commonio.c: Avoid implicit conversion of integer to
1556         booleans.
1557
1558 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1559
1560         * src/userdel.c: Re-indent.
1561         * src/userdel.c: Added brackets.
1562         * src/userdel.c: Avoid implicit conversion of pointers to
1563         booleans.
1564
1565 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1566
1567         * lib/shadowio.c: Re-indent.
1568         * lib/shadowio.c: Added brackets and parenthesis.
1569         * lib/shadowio.c: Document the sections closed by #endif
1570         * lib/shadowio.c: Avoid negation of comparisons.
1571         * lib/shadowio.c: Avoid implicit conversion of integer to booleans
1572         and booleans to integers.
1573
1574 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1575
1576         * src/useradd.c: Re-indent.
1577         * src/useradd.c: Added brackets.
1578         * src/useradd.c: Avoid implicit conversion of integers to
1579         booleans.
1580         * src/useradd.c: Harmonize error messages.
1581
1582 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1583
1584         * src/vipw.c: Document the sections closed by #endif
1585         * src/vipw.c: Avoid implicit conversion of pointers or integers to
1586         booleans.
1587         * src/vipw.c: Added brackets and parenthesis.
1588         * src/vipw.c: Limit the definition of some variables and macros to
1589         the WITH_TCB scope.
1590         * src/vipw.c: Avoid assignment in comparisons.
1591         * src/vipw.c: Replace PASSWD_FILE (resp. GROUP_FILE and
1592         SGROUP_FILE) by pw_dbname () (resp. gr_dbname () and sgr_dbname ()).
1593         This is more consistent with the shadow file handling and may be
1594         useful to allow edition of another partition's files.
1595
1596
1597 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1598
1599         * src/usermod.c: Re-indent.
1600         * src/usermod.c: Avoid implicit conversion of pointers to
1601         booleans.
1602         * src/usermod.c: Added parenthesis.
1603
1604 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1605
1606         * src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.
1607
1608 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
1609
1610         * src/userdel.c: Re-indent.
1611         * src/userdel.c: Avoid implicit conversion of pointers to
1612         booleans.
1613         * src/userdel.c: Document the sections closed by #endif
1614
1615 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
1616
1617         * src/pwconv.c: Only check USE_TCB if configured WITH_TCB.
1618
1619 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
1620
1621         * libmisc/copydir.c: Added parenthesis.
1622
1623 2010-02-14  Michael Bunk  <mb@computer-leipzig.com>
1624
1625         * NEWS, lib/gshadow.c: Fix parsing of gshadow entries.
1626
1627 2010-01-30  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
1628
1629         * NEWS: Add support for TCB.
1630         * lib/tcbfuncs.h, lib/tcbfuncs.c, lib/Makefile.am: New library to
1631         support TCB.
1632         * lib/prototypes, libmisc/copydir.c (remove_tree): Add boolean
1633         parameter remove_root.
1634         * configure.in: Add conditional WITH_TCB.
1635         * src/userdel.c, src/usermod.c: Add support for TCB. Update call to
1636         remove_tree().
1637         * src/pwconv.c, src/pwunconv.c: Should not be used with TCB enabled.
1638         * src/vipw.c: Add support for TCB. Update call to remove_tree().
1639         * src/useradd.c: Add support for TCB. Open the shadow file outside
1640         of open_files().
1641         * src/chage.c: Add support for TCB.
1642         * src/Makefile.am: Install passwd sgid shadow when TCB is enabled.
1643         * lib/getdefs.c, man/vipw.8.xml, man/login.defs.5.xml,
1644         man/login.defs/TCB_AUTH_GROUP.xml, man/login.defs/USE_TCB.xml,
1645         man/login.defs/TCB_SYMLINKS.xml, man/generate_mans.mak,
1646         man/generate_mans.deps, man/Makefile.am: New configuration
1647         parameters: TCB_AUTH_GROUP, TCB_SYMLINKS, USE_TCB.
1648         * lib/shadowio.c, lib/commonio.c: Add support for TCB.
1649
1650 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
1651
1652         * libmisc/env.c: Fix sanitize_env() noslash support. This fixes
1653         Alioth#311740.
1654
1655 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
1656
1657         * src/su.c: Do not sanitize the environment. This breaks
1658         --preserve-environment. This sanitation was disabled on Debian
1659         since quite some time with no reported issues, and sanitize_env()
1660         documentation agrees that it should be useless as all modern
1661         Unixes will handle setuid executables properly. This fixes
1662         Alioth#312287.
1663
1664 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
1665
1666         * libmisc/setupenv.c: Fix typo from 2009-11-01.
1667
1668 2010-01-24  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
1669
1670         * configure.in: Add support for TCB in configure.in. Actual TCB
1671         support will follow.
1672
1673 2009-11-05  Nicolas François  <nicolas.francois@centraliens.net>
1674
1675         * NEWS, src/groupmod.c: Fixed groupmod when configured with
1676         --enable-account-tools-setuid.
1677
1678 2009-11-01  Nicolas François  <nicolas.francois@centraliens.net>
1679
1680         * NEWS, man/login.defs.d/ENV_SUPATH.xml, libmisc/setupenv.c:
1681         Harmonize other paths and documentation with previous
1682         change.
1683
1684 2009-11-01  Michel Hermier  <michel.hermier@gmail.com>
1685
1686         * src/su.c: Set the default ENV_SUPATH to
1687         /sbin:/bin:/usr/sbin:/usr/bin (i.e. PATH when no ENV_SUPATH is
1688         specified).
1689
1690 2009-10-15  Thorsten Kukuk  <kukuk@suse.de>
1691
1692         * src/faillog.c, man/faillog.8.xml: Harmonize long option in code
1693         and documentation. Use --lock-secs instead of --lock-time.
1694
1695 2009-10-05  Miroslav Kure  <kurem@upcase.inf.upol.cz>
1696
1697         * po/cs.po: updated to 412t
1698
1699 2009-09-29  Clytie Siddall  <clytie@riverland.net.au>
1700
1701         * po/vi.po: updated to 412t
1702
1703 2009-09-27  Miroslav Kure  <kurem@upcase.inf.upol.cz>
1704
1705         * po/cs.po: updated to 411t1f
1706
1707 2009-09-24  Christian Perrier  <bubulle@debian.org>
1708
1709         * man/po/fr.po: Updated French translation to 835t99f165
1710
1711 2009-09-24  Clytie Siddall  <clytie@riverland.net.au>
1712
1713         * po/vi.po: updated to 348t30f34u
1714
1715 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1716
1717         * lib/commonio.c: Avoid pre-decrement operator (--n). Add some
1718         comments.
1719         * libmisc/cleanup.c: Fix off by one in an assertion.
1720
1721 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1722
1723         * src/su.c: Fix indentation.
1724         * src/su.c: Add more messages for translation.
1725         * src/su.c: Ignore kill() return value when sending the TERM
1726         signal. If it fails, a KILL should be sent anyway.
1727
1728 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1729
1730         * NEWS, src/su.c: When su receives a signal, wait for the child to
1731         terminate (after sending a SIGTERM), and kill it only if it did
1732         not terminate by itself. No delay will be enforced if the child
1733         cooperates. See http://bugs.gentoo.org/282094
1734         * NEWS, man/su.1.xml: Document su's exit values.
1735
1736 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1737
1738         * src/useradd.c: The default value for the CREATE_MAIL_SPOOL
1739         variable (i.e. if CREATE_MAIL_SPOOL= is specified without any
1740         values) is "no", not DCREATE_MAIL_SPOOL ("CREATE_MAIL_SPOOL=").
1741
1742 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1743
1744         * src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead.
1745         For consistency, change HOME, INACT, EXPIRE, SKEL, and
1746         CREATE_MAIL_SPOOL to DHOME, DINACT, DEXPIRE, DSKEL, and
1747         DCREATE_MAIL_SPOOL.
1748
1749 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1750
1751         * src/newusers.c: Prefer #ifdef over #if.
1752
1753 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1754
1755         * configure.in: We do not use SETPGRP_VOID, and already assume
1756         that setpgrp has a void argument. Remove AC_FUNC_SETPGRP to ease
1757         cross compiling.
1758
1759 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
1760
1761         * man/generate_translations.mak, man/generate_mans.mak,
1762         po/Makefile.in.in: Removing and restoring the config.xml file
1763         broke parallel builds. Build the manpages based on *.xml-config
1764         files instead of *.xml files.  The *.xml do not include config.xml
1765         anymore, which permits to run xml2po without needing to remove
1766         config.xml. The config.xml is restored in the *.xml-config files.
1767         * man/groupadd.8.xml: Implementation of the above.
1768         * man/generate_mans.deps: Updated dependencies
1769
1770 2009-09-07  Steve Grubb  <sgrubb@redhat.com>
1771
1772         * libmisc/limits.c: Fix the format to match the unsigned long
1773         variable in argument.
1774         * libmisc/utmp.c: Fix tests. tmptty is a variable stack. ut_host
1775         is an array of the ut structure. None of them can be NULL.
1776
1777 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
1778
1779         * lib/shadowmem.c: Only copy the required fields of the struct
1780         spwd. (start with the primitive types)
1781         * lib/shadowmem.c: Avoid memzero() on a possibly NULL pointer.
1782         * lib/groupmem.c: Only copy the required fields of the struct
1783         group. (start with the primitive types)
1784         * lib/groupmem.c: Avoid memzero() on a possibly NULL pointer.
1785         * lib/groupmem.c: Free gr_mem in addition to its elements.
1786         * lib/sgroupio.c: The struct sgrp has no primitive types to be
1787         copied initially.
1788         * lib/sgroupio.c: Avoid memzero() on a possibly NULL pointer.
1789         * lib/sgroupio.c: Free sg_mem and sg_add in addition to their
1790         elements.
1791         * lib/pwmem.c: Only copy the required fields of the struct
1792         passwd. (start with the primitive types)
1793
1794 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
1795
1796         * lib/sgroupio.h: Harmonize splint annotations of sgr_locate()
1797         prototype with the one used in its definition.
1798
1799 2009-09-07  Steve Grubb  <sgrubb@redhat.com>
1800
1801         * libmisc/copydir.c, lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
1802         Fix some memory leaks.
1803
1804 2009-09-06  Nicolas François  <nicolas.francois@centraliens.net>
1805
1806         * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c,
1807         src/chpasswd.c, src/groupmems.c, src/usermod.c, src/chgpasswd.c,
1808         src/vipw.c, src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c,
1809         src/groupadd.c, src/chage.c, src/faillog.c, src/chsh.c: Use
1810         booleans for tests.
1811         * src/userdel.c, src/gpasswd.c, src/groupmems.c, src/usermod.c,
1812         src/groupmod.c, src/passwd.c: Use a break even after usage().
1813
1814 2009-09-05  Nicolas François  <nicolas.francois@centraliens.net>
1815
1816         * src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd
1817         Usage string. It was changed anyway to add the --help option.
1818
1819 2009-09-05  Mike Frysinger  <vapier@gentoo.org>
1820
1821         * NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c,
1822         src/newusers.c, src/chpasswd.c, src/groupmems.c, src/usermod.c,
1823         src/chgpasswd.c, src/vipw.c, src/su.c, src/useradd.c,
1824         src/groupmod.c, src/passwd.c, src/groupadd.c, src/chage.c,
1825         src/faillog.c, src/chsh.c: If someone uses the -h/--help options,
1826         the usage should not go to stderr nor should the utility exit with
1827         non-zero status. All of the shadow utils do just this
1828         unfortunately, so convert them over to sanity.
1829         * man/groupmems.8.xml, man/gpasswd.1.xml: Added option -h/--help.
1830
1831 2009-09-05  Nicolas François  <nicolas.francois@centraliens.net>
1832
1833         * src/useradd.c: Fixed wrong format string.
1834         * lib/gshadow.c: Removed declaration of unused variable.
1835
1836 2009-08-30  Mike Frysinger  <vapier@gentoo.org>
1837
1838         * man/generate_mans.mak, man/generate_translations.mak: Provide an
1839         useful error message when --enable-man is not enabled and the
1840         translated manpages are not generated.
1841
1842 2009-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1843
1844         * man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They
1845         break the groff formatting.
1846
1847 2009-07-24  Nicolas François  <nicolas.francois@centraliens.net>
1848
1849         * po/fr.po: Fix typos, based on reviews by the Debian French
1850         translation team.
1851
1852 2009-07-24  Nicolas François  <nicolas.francois@centraliens.net>
1853
1854         * NEWS, configure.in: Prepare for the next release 4.1.4.2.
1855         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1856         * po/*.po, man/po/*.po: Updated PO files.
1857
1858 2009-07-23  Nicolas François  <nicolas.francois@centraliens.net>
1859
1860         * configure.in: Fixed definition of the SHELL configuration.
1861
1862 2009-07-23  Nicolas François  <nicolas.francois@centraliens.net>
1863
1864         * etc/login.defs: SYS_GID_MIN /SYS_UID_MIN changed from 100 to
1865         101. GID 100 seems to be used statically.
1866
1867 2009-07-22  Nicolas François  <nicolas.francois@centraliens.net>
1868
1869         * libmisc/shell.c, src/su.c: Execute the scripts with "sh -"
1870         rather than "sh".
1871
1872 2009-07-22  Nicolas François  <nicolas.francois@centraliens.net>
1873
1874         * configure.in, libmisc/shell.c, libmisc/setupenv.c, src/newgrp.c,
1875         src/su.c: Let the system shell be configurable.
1876
1877 2009-07-20  Nicolas François  <nicolas.francois@centraliens.net>
1878
1879         * NEWS, src/su.c, libmisc/shell.c: Added support for shells being a
1880         shell script without a shebang.
1881
1882 2009-07-19  Jean-Louis Dupond  <info@dupondje.be>
1883
1884         * po/nl.po: Fix obvious mistake in Dutch translation.
1885
1886 2009-07-18  Peter Vrabec  <pvrabec@redhat.com>
1887
1888         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not use
1889         getpwent / getgrent for system accounts. Trying the low-IDs with
1890         getpwuid / getgrgid should be more efficient on LDAP configured
1891         systems with many accounts.
1892         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Since
1893         system accounts are allocated from SYS_?ID_MIN to SYS_?ID_MAX in
1894         reverse order, accounts are packed close to SYS_?ID_MAX if
1895         SYS_?ID_MIN is already used but there are still dome gaps.
1896
1897 2009-07-05  Piarres Beobide  <pi+debian@beobide.net>
1898
1899         * po/eu.po: Updated Basque translation.
1900
1901 2009-06-20  Nicolas François  <nicolas.francois@centraliens.net>
1902
1903         * man/fi/Makefile.am: Stop distributing the Finnish translation of
1904         passwd.1 (outdated).
1905
1906 2009-06-20  Nicolas François  <nicolas.francois@centraliens.net>
1907
1908         * man/pwck.8.xml: The shadow file is optional.
1909         * man/pwck.8.xml: Updated description of the checks. Added
1910         description of the shadow checks.
1911         * man/pwck.8.xml: Updated description of the checks.
1912
1913 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1914
1915         * man/po/fr.po: Fixed typo (forunis)
1916
1917 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1918
1919         * lib/fputsx.c: Compare the result of fgets() with the provided
1920         buffer instead of NULL.
1921
1922 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1923
1924         * lib/gshadow.c: Removed limitation on the length of the gshadow
1925         lines.
1926         * lib/gshadow.c: Compare the result of fgetsx() with the provided
1927         buffer instead of NULL.
1928
1929 2009-06-11  Nicolas François  <nicolas.francois@centraliens.net>
1930
1931         * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetgrnam.c,
1932         libmisc/xgetpwuid.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c: Do
1933         not limit the size of the buffer to hold the group or user
1934         structure. It used to be limited to 16k, which caused issues with
1935         groups having many users.
1936
1937 2009-06-11  Nicolas François  <nicolas.francois@centraliens.net>
1938
1939         * src/su.c, man/su.1.xml: The default behavior (without -p or
1940         --login) is to copy most of the environment variables. Revert a
1941         previous change and update the documentation.
1942
1943 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1944
1945         * man/passwd.5.xml, man/shadow.5.xml: Document the passwd- and
1946         shadow- files.
1947
1948 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1949
1950         * NEWS, src/su.c: Preserve the DISPLAY and XAUTHORITY environment
1951         variables, even with --login. This was not the case before in the
1952         PAM version.
1953
1954 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1955
1956         * src/useradd.c, src/groupmod.c, src/groupadd.c, src/faillog.c:
1957         Fix typos. Take this opportunity to split the usage messages into
1958         smaller messages (one per option).
1959         * src/pwck.c: Fix typo.
1960
1961 2009-06-05  Petri Koistinen  <petri.koistinen@iki.fi>
1962
1963         * man/passwd.1.xml: The short option for --mindays is -n, not -m.
1964
1965 2009-06-04  Mike Frysinger  <vapier@gentoo.org>
1966
1967         * .gitignore, man/.gitignore, src/.gitignore: Added .gitignore
1968         files.
1969
1970 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1971
1972         * man/su.1.xml: Use <option> for the login.defs options.
1973         * man/su.1.xml: Improve the documentation of the su behavior
1974         regarding environment variables.
1975         * man/su.1.xml: Document that the login.defs file is used.
1976
1977 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1978
1979         * man/login.1.xml: Document that the login.defs file is used.
1980
1981 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1982
1983         * man/login.defs.d/ENVIRON_FILE.xml: Document the format for
1984         comments.
1985
1986 2009-05-26  Nicolas François  <nicolas.francois@centraliens.net>
1987
1988         * man/gpasswd.1.xml: Ease the translation of the refpurpose.
1989         * man/gpasswd.1.xml: Fix typo, shorten sentences.
1990
1991 2009-05-26  Nicolas François  <nicolas.francois@centraliens.net>
1992
1993         * man/pwck.8.xml, man/grpck.8.xml: Move the SEE ALSO section at
1994         the end.
1995
1996 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1997
1998         * src/vipw.c: Make sure opened files are closed.
1999
2000 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
2001
2002         * man/chpasswd.8.xml, man/grpck.8.xml, man/newgrp.1.xml,
2003         man/passwd.1.xml, man/sg.1.xml: Avoid a spurious comma.
2004
2005 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
2006
2007         * NEWS: New placeholder for the next release.
2008
2009 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
2010
2011         * po/fr.po: Updated French translation.
2012
2013 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
2014
2015         * NEWS: Prepare the next release.
2016         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
2017         * po/*.po, man/po/*.po: Updated PO files.
2018
2019 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
2020
2021         * man/passwd.1.xml: passwd -u does not reset the expiry field.
2022
2023 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
2024
2025         * man/po/fr.po: Updated some strings.
2026
2027 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
2028
2029         * NEWS, src/newgrp.c: Return the exit status of the child. Thanks
2030         to Lionel Elie Mamane.
2031
2032 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
2033
2034         * src/usermod.c: Added warnings for absolute symlinks which could
2035         be broken by rename().
2036
2037 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
2038
2039         * NEWS, src/userdel.c: Report errors to remove the user's mailbox.
2040         * NEWS, src/userdel.c: When USERGROUPS_ENAB is enabled, remove the
2041         user's group when the user was the only member. This is still not
2042         complete, as the user could have been specified twice in the
2043         members.
2044         * NEWS, src/userdel.c: Do not fail when -r is used and the home
2045         directory does not exist.
2046
2047 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
2048
2049         * libmisc/copydir.c: Added warning for relative symlinks.
2050         * libmisc/copydir.c (remove_tree): There is no need to check if
2051         the root argument exist. opendir() will report this.
2052
2053 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
2054
2055         * man/faillog.8.xml: Minor updates.
2056
2057 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
2058
2059         * man/faillog.5.xml: Split a long paragraph. Typo fixes.
2060
2061 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
2062
2063         * man/gpasswd.1.xml: Minor updates.
2064
2065 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
2066
2067         * man/gshadow.5.xml: Updated documentation.
2068
2069 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
2070
2071         * man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
2072         Harmonize formatting of login.defs and default/useradd variables.
2073         Use an <option> tag.
2074         * man/usermod.8.xml: Added reference to gshadow(5).
2075         * man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the
2076         USERDEL_CMD example.
2077
2078 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
2079
2080         * src/su.c: Use a boolean instead of 0.
2081
2082 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
2083
2084         * man/usermod.8.xml: Fixed typos.
2085
2086 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
2087
2088         * configure.in: Next version will be 4.1.4.1.
2089
2090 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
2091
2092         * man/newusers.8.xml: Added notes regarding the ownership of
2093         files.
2094
2095 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2096
2097         * man/groupmod.8.xml: Split the -g option description into smaller
2098         paragraphs.
2099
2100 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2101
2102         * man/usermod.8.xml: Ownership of the mailbox is also changed with
2103         the -u option.
2104
2105 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2106
2107         * man/useradd.8.xml: When no passwords are provided, the password
2108         is disabled, not the account.
2109
2110 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2111
2112         * man/newusers.8.xml, man/chpasswd.8.xml, man/useradd.8.xml,
2113         man/groupadd.8.xml, man/usermod.8.xml, man/chgpasswd.8.xml,
2114         man/groupmod.8.xml: Added warning: passwords set with these tools
2115         may not respect the password policy.
2116
2117 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2118
2119         * man/groupadd.8.xml: Fixed formatting issue.
2120
2121 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2122
2123         * man/userdel.8.xml: Added warning for files that could remain
2124         owner by the removed user.
2125
2126 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2127
2128         * man/useradd.8.xml: Fix formatting typo.
2129
2130 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
2131
2132         * man/groupdel.8.xml: Move the warning on filesystems checks to
2133         the CAVEAT section.
2134
2135 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2136
2137         * man/login.defs.d/GID_MAX.xml: Fixed typo. useradd was specified
2138         twice.
2139
2140 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2141
2142         * man/groupadd.8.xml, man/useradd.8.xml: names may also contain
2143         digits.
2144
2145 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2146
2147         * man/shadow.5.xml: What is important in shadow is not the
2148         encryption, but that the file is not world readable.
2149
2150 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2151
2152         * man/po/fr.po: Updated French translation. Thanks to ABBAS
2153         Belkacem for the login.defs update.
2154
2155 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2156
2157         * man/usermod.8.xml: Split the CAVEAT section in paragraphs.
2158         Updated information on the user_busy check.
2159
2160 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2161
2162         * man/userdel.8.xml: Document that -f may force the deletion of a
2163         busy user.
2164
2165 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2166
2167         * NEWS, src/usermod.c: Check if the user is busy when the user's
2168         UID, name or home directory is changed.
2169
2170 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2171
2172         * src/userdel.c, libmisc/user_busy.c, libmisc/Makefile.am,
2173         lib/prototypes.h: Move user_busy() to libmisc/user_busy.c.
2174         * NEWS, libmisc/user_busy.c: On Linux, do not check if an user is
2175         logged in with utmp, but check if the user is running some
2176         processes. If not on Linux, continue to search for an utmp record,
2177         but make sure the process recorded in the utmp entry is still
2178         running.
2179
2180 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
2181
2182         * man/usermod.8.xml: Document the -m/--move-home option.
2183
2184 2009-05-17  Nicolas François  <nicolas.francois@centraliens.net>
2185
2186         * src/userdel.c (user_busy): Check if the process registered in
2187         utmp is still running. This avoids rejecting the removal of an
2188         user when UTMP was not updated and indicate that the user is still
2189         logged in.
2190
2191 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
2192
2193         * NEWS, libmisc/console.c (console): Remove the leading /dev/ from
2194         the tty before comparing with the lines specified by CONSOLE.
2195         * src/su.c: Do not remove the /dev/ prefix since it is done by
2196         console().
2197
2198 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
2199
2200         * man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE
2201         file.
2202
2203 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
2204
2205         * NEWS, src/login.c: Fix failure of non PAM enabled versions when
2206         an empty username is entered after a first prompt.
2207
2208 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
2209
2210         * src/passwd.c: Added missing end of line at the end of success
2211         messages.
2212
2213 2009-05-16  sacha  <sachall@infonie.fr>
2214
2215         * po/fr.po: Fixed typo in the vipw usage string.
2216
2217 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
2218
2219         * libmisc/shell.c: Removed invalid code that executed the user's
2220         shell as a shell script when the direct execution of the user's
2221         shell failed with ENOEXEC and the user's shell has a shebang. The
2222         interpreter might not be the right one.  Executing the user's
2223         shell with sh -c might be better, but I'm not sure we should try
2224         harder when there is a failure. Note: the removed code was only
2225         included #ifndef __linux__.
2226
2227 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
2228
2229         * man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed
2230         when the group is used by other users, not the user.
2231
2232 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
2233
2234         * src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the
2235         USERDEL_CMD script example from the source code to the
2236         documentation.
2237
2238 2009-05-11  Nicolas François  <nicolas.francois@centraliens.net>
2239
2240         * man/newusers.8.xml: PAM enabled version: describe how passwords
2241         are updated and how newusers behave in case of error.
2242
2243 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
2244
2245         * NEWS, configure.in: New release will be 4.1.4.
2246         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
2247         * po/*.po, man/po/*.po: Updated PO files.
2248
2249 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
2250
2251         * libmisc/copydir.c: Added prototype of readlink_malloc(), and
2252         readlink_malloc() changed to static.
2253
2254 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
2255
2256         * src/su.c: Avoid redeclaration of root_pw.
2257
2258 2009-05-10  NAKANO Takeo  <nakano@webmasters.gr.jp>
2259
2260         * po/ja.po: Updated Japanese translation.
2261
2262 2009-05-10  Jean-Luc Coulon (f5ibh)  <jean-luc.coulon@wanadoo.fr>
2263
2264         * po/fr.po: Updated French translation.
2265
2266 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
2267
2268         * lib/commonio.c: Avoid PATH_MAX. On glibc, we can use realpath
2269         with a NULL argument.
2270         * src/useradd.c: Replace PATH_MAX by a fixed constant. The buffer
2271         was not meant as a storage for a path.
2272         * src/useradd.c, src/newusers.c, src/chpasswd.c: Better detection
2273         of fgets errors. Lines shall end with a \n, unless we reached the
2274         end of file.
2275         * libmisc/copydir.c: Avoid PATH_MAX. Support file paths with any
2276         length. Added readlink_malloc().
2277
2278 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
2279
2280         * src/pwck.c: Warn if an user has an entry in passwd and shadow,
2281         and the password field in passwd is not 'x'.
2282         * src/grpck.c: Warn if a group has an entry in group and gshadow,
2283         and the password field in group is not 'x'.
2284
2285 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
2286
2287         * man/login.defs.d/ENCRYPT_METHOD.xml,
2288         man/login.defs.d/MD5_CRYPT_ENAB.xml,
2289         man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Updated note for PAM
2290         enabled versions. These variables are only used for group
2291         passwords in this case.
2292
2293 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
2294
2295         * man/chpasswd.8.xml: Sorted options alphabetically.
2296
2297 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
2298
2299         * NEWS, src/newusers.c, src/Makefile.am: Added support for
2300         changing the passwords with PAM.
2301         * src/newusers.c: Split the usage string in smaller parts to
2302         allow enabling single parts.
2303         * man/newusers.8.xml: Indicate the options and configuration
2304         variables valid for PAM and non-PAM versions.
2305         * man/newusers.8.xml: Added pointer to /etc/pam.d/chpasswd.
2306
2307 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
2308
2309         * src/userdel.c: Remove duplicate definitions of exit codes.
2310
2311 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2312
2313         * libmisc/non_interactive_pam_conv.c,
2314         libmisc/pam_pass_non_interractive.c, libmisc/Makefile.am: Renamed.
2315         * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
2316         non_interactive_password and non_interactive_pam_conv do not need
2317         to be externally visible.
2318         * libmisc/pam_pass_non_interractive.c: Added declaration of
2319         ni_conv.
2320         * libmisc/pam_pass_non_interractive.c: Only compile ifdef USE_PAM.
2321         * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
2322         Added do_pam_passwd_non_interractive().
2323         * src/chpasswd.c: Use do_pam_passwd_non_interractive().
2324
2325 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2326
2327         * libmisc/pam_pass.c: Removed comment regarding pam_misc. This is
2328         checked by configure.in.
2329
2330 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2331
2332         * man/login.defs.5.xml: PAM enabled chpasswd do not use any
2333         configuration variable from login.defs.
2334
2335 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2336
2337         * man/passwd.1.xml: Differentiate the files used for PAM and
2338         non-PAM versions.
2339
2340 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2341
2342         * man/chpasswd.8.xml: Describe how chpasswd behaves in case of error.
2343         * man/chpasswd.8.xml: Describe the PAM enabled chpasswd behavior.
2344         * man/chpasswd.8.xml: Differentiate the files and configurations
2345         used for PAM and non-PAM versions.
2346
2347 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2348
2349         * src/login.c: failcount does not need to be signed.
2350
2351 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2352
2353         * src/Makefile.am: PAM enabled chpasswd now needs to be linked to
2354         the PAM library, even if --enable-account-tools-setuid is not
2355         used.
2356
2357 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2358
2359         * src/chpasswd.c: Added the line number when an error is reported
2360         instead of only the username.
2361         * src/chpasswd.c: PAM enabled chpasswd may change the password
2362         database (for the user where the password update succeeded) even
2363         if there were a failure for one user. Do not indicate that changes
2364         were ignored.
2365
2366 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2367
2368         * src/passwd.c: Exit immediately when unlocking a password would
2369         result in a passwordless account. This avoid printing a success
2370         message after the warning.
2371
2372 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
2373
2374         * src/nologin.c: Include <stdlib.h> to get EXIT_FAILURE.
2375
2376 2009-05-04  Nicolas François  <nicolas.francois@centraliens.net>
2377
2378         * NEWS, configure.in: Fix build failure on non-PAM enabled system
2379         when --without-pam is not specified.
2380
2381 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2382
2383         * lib/commonio.c: Ignore the return values of fclose() and
2384         unlink() in case of failure of fopen_set_perms() or
2385         create_backup().
2386         * lib/commonio.c: Should the backup file be unlink'ed in case of
2387         failure of create_backup()?
2388
2389 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2390
2391         * lib/getulong.c: Added splint annotations.
2392
2393 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2394
2395         * src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c,
2396         src/userdel.c, src/chpasswd.c, src/grpck.c, src/gpasswd.c,
2397         src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
2398         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
2399         src/groupadd.c, src/chage.c, src/login.c, src/faillog.c,
2400         src/sulogin.c, src/chsh.c, src/pwconv.c: Added splint annotations.
2401         * src/userdel.c, src/pwconv.c, src/lastlog.c, src/grpck.c,
2402         src/vipw.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/login.c,
2403         src/sulogin.c, src/usermod.c: Use return instead of exit at the
2404         end of main().
2405         * src/gpasswd.c, src/passwd.c, src/faillog.c: Use the exitcodes.h
2406         exit codes.
2407         * src/chpasswd.c: Added missing ||.
2408         * src/nologin.c: Do not include exitcodes.h.
2409         * src/nologin.c: Added brackets.
2410         * src/nologin.c: Avoid assignments in comparisons.
2411
2412 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2413
2414         * libmisc/getgr_nam_gid.c, lib/get_gid.c, lib/get_pid.c,
2415         lib/get_uid.c: Added splint annotations.
2416
2417 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
2418
2419         * lib/exitcodes.h: Define E_SUCCESS as EXIT_SUCCESS. Added FIXMEs.
2420         * libmisc/chowntty.c, libmisc/rlogin.c, libmisc/sub.c,
2421         src/newusers.c, libmisc/sulog.c, libmisc/system.c, src/logoutd.c,
2422         src/groups.c, src/id.c, lib/encrypt.c, libmisc/audit_help.c,
2423         libmisc/limits.c: Return EXIT_FAILURE instead of 1, and
2424         EXIT_SUCCESS instead of 0.
2425         * libmisc/audit_help.c: Replace an fprintf() by fputs().
2426         * libmisc/audit_help.c: Remove documentation of the audit_logger
2427         returned values. The function returns void.
2428         * libmisc/system.c: Only return status if waitpid succeeded.
2429         Return -1 otherwise.
2430
2431 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2432
2433         * NEWS, src/chpasswd.c: Added support for changing the passwords
2434         with PAM.
2435         * src/chpasswd.c: Split the usage string in smaller parts to
2436         allow enabling single parts.
2437         * src/chpasswd.c: Do not set a global lock on the password files.
2438         This is done by PAM each time a password is updated.
2439
2440 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2441
2442         * lib/defines.h: Include <utmpx.h> and <utmp.h> to define
2443         USER_NAME_MAX_LENGTH.
2444
2445 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2446
2447         * src/login.c: Change a snprintf() to strncpy(). There are no
2448         format.
2449
2450 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2451
2452         * src/passwd.c: Harmonize status report at the end of passwd.
2453         Prefix the messages with "passwd: ", only indicate a password
2454         change if the password was actually changed, and password
2455         properties changed otherwise.
2456
2457 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2458
2459         * src/chgpasswd.c, src/newusers.c: There is no need to test for 0
2460         after getopt_long. No options have flag != NULL.
2461
2462 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2463
2464         * lib/prototypes.h: Replace #if by #ifdef
2465         * libmisc/Makefile.am, lib/prototypes.h,
2466         libmisc/non_interactive_pam_conv.c: Added
2467         non_interactive_pam_conv() and non_interactive_password.
2468
2469 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2470
2471         * libmisc/utmp.c, src/userdel.c, src/logoutd.c: Replace #if by #ifdef
2472
2473 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2474
2475         * src/vipw.c: Harmonize messages.
2476
2477 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2478
2479         * src/lastlog.c: Replace atoi() by getulong().
2480
2481 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2482
2483         * libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
2484
2485 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2486
2487         * libmisc/rlogin.c: Replace atoi() by getulong().
2488
2489 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2490
2491         * libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2492
2493 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2494
2495         * libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
2496         are no more needed.
2497
2498 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
2499
2500         * libmisc/limits.c: Replace strtol() by getlong().
2501         * libmisc/limits.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2502
2503 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2504
2505         * man/groupmod.8.xml, man/usermod.8.xml, man/groupadd.8.xml,
2506         man/useradd.8.xml: Added note to warn about insecurity in using
2507         --password.
2508         * man/groupmod.8.xml: Removed not regarding default if --password
2509         is not used. This was a cut&paste from groupadd.8.xml.
2510         * man/passwd.1.xml: Split some paragraphs.
2511         * man/passwd.1.xml: Recommend other encryption methods than DES.
2512
2513 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2514
2515         * src/login.c: Move update_utmp() after the PID or session ID
2516         changed in order to get more accurate data in UTMP. This also
2517         fixes "exec login" when login in installed setuid.
2518
2519 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2520
2521         * src/login.c: Reuse a string and avoid an untranslated message
2522         "Login incorrect".
2523
2524 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2525
2526         * src/login.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2527         * src/login.c: Avoid name clash between global variables and the
2528         update_utmp() arguments.
2529
2530 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2531
2532         * src/groupadd.c, lib/commonio.c, lib/groupio.c: Added missing
2533         include of <assert.h>
2534
2535 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2536
2537         * lib/prototypes.h: Replace HAVE_UTMPX_H by USE_UTMPX.
2538         * lib/prototypes.h, libmisc/log.c: Added splint annotations.
2539         * libmisc/log.c: Added SYSLOG warning when lseek fails (should not
2540         happen).
2541
2542 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2543
2544         * libmisc/mail.c, libmisc/copydir.c: Added missing include of
2545         <assert.h>
2546
2547 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2548
2549         * libmisc/env.c: Added assertions on the snprintf results.
2550
2551 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2552
2553         * NEWS, configure.in: Added configure option --enable-utmpx,
2554         disabled by default. This defines USE_UTMPX, which should be used
2555         instead of HAVE_UTMPX_H.
2556         * libmisc/utmp.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2557         * libmisc/utmp.c: Removed old comment on HAVE_STRUCT_UTMP_UT_ID
2558         and UTMPX support.
2559
2560 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2561
2562         * man/po/fr.po: Fix typo.
2563
2564 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2565
2566         * src/newgrp.c: Close the databases before changing the UDI and
2567         GID.
2568
2569 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2570
2571         * libmisc/myname.c: Updated splint annotations.
2572
2573 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2574
2575         * lib/commonio.c: Added splint annotations.
2576         * lib/commonio.c: old_context should be local to commonio_close(),
2577         not global.
2578
2579 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2580
2581         * src/passwd.c: Do not freecon strings duplicated with strdup.
2582         Also avoid allocation of memory.
2583         * src/passwd.c: Use SYSLOG instead of syslog.
2584
2585 2009-04-25  Miroslav Kure  <kurem@upcase.inf.upol.cz>
2586
2587         * po/cs.po: Updated to 352T7f8u
2588
2589 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2590
2591         * lib/commonio.h, lib/commonio.c: Added splint annotations.
2592         * lib/commonio.c: Do not assumes eptr is always notnull.
2593
2594 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2595
2596         * NEWS, po/pt.po: Updated Portuguese translation.
2597
2598 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2599
2600         * libmisc/copydir.c: Added splint annotations.
2601         * libmisc/copydir.c: Added assert to help splint.
2602         * libmisc/copydir.c: Free allocated structures in cas of failure.
2603         * libmisc/copydir.c: Avoid implicit conversion of pointers to
2604         booleans.
2605         * libmisc/copydir.c: Use buffers of size PATH_MAX instead of 1024
2606         for filenames.
2607         * libmisc/copydir.c: Use fchmod and fchown to change the mode of
2608         the opened file.
2609         * libmisc/copydir.c: Indicate the mode to open(), even if we chmod
2610         later.
2611
2612 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2613
2614         * lib/prototypes.h: Added prototypes of getulong() and get_pid().
2615         * lib/prototypes.h: Added splint annotations.
2616
2617 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2618
2619         * lib/commonio.c: Use get_pid() instead of strtol.
2620         * lib/commonio.c: Replace an int by a size_t.
2621
2622 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2623
2624         * lib/commonio.h: Added splint annotations.
2625
2626 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2627
2628         * lib/sgroupio.c: Free allocated structures on failure.
2629         * lib/sgroupio.c: Added splint annotations.
2630
2631 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2632
2633         * lib/Makefile.am, lib/get_pid.c, lib/getulong.c: Added get_pid()
2634         and getulong().
2635
2636 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2637
2638         * lib/getlong.c: Do not check for NULL string but empty string.
2639
2640 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2641
2642         * lib/groupio.c: Updated splint annotations.
2643         * lib/groupio.c: Added assert to help splint.
2644
2645 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2646
2647         * src/useradd.c: Check assumptions on snprintf().
2648         * src/useradd.c: Replace peror by an strerror and avoid an
2649         intermediate buffer.
2650         * src/useradd.c: Save errno between the failure and the report by
2651         perror/strerror.
2652         * src/useradd.c: Prefer xmalloc to malloc.
2653
2654 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2655
2656         * src/lastlog.c: Remove function calls from within assert().
2657
2658 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2659
2660         * libmisc/obscure.c: Change some int to size_t.
2661
2662 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2663
2664         * libmisc/console.c: Use a less disturbing construct for splint.
2665
2666 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2667
2668         * libmisc/limits.c: Parse the limits, umask, nice, maxlogin, file
2669         limit with getlog() / getulong(). This also means, in case of
2670         non-PAM enabled systems, that the umask specified on the GECOS
2671         fields should start with a 0 if specified in octal. (it used to be
2672         force to octal). Do the appropriate cast and range checking.
2673
2674 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2675
2676         * libmisc/salt.c: In case gettimeofday() fails, get some entropy
2677         from the PID.
2678
2679 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2680
2681         * libmisc/setupenv.c: Prefer snprintf to sprintf, even if a small
2682         context indicates no issues.
2683         * libmisc/setupenv.c: Avoid implicit conversion of pointers to
2684         booleans.
2685
2686 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2687
2688         * libmisc/loginprompt.c: Prefer snprintf to sprintf, even if a
2689         small context indicates no issues.
2690
2691 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2692
2693         * src/faillog.c: Remove function calls from within assert().
2694
2695 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2696
2697         * libmisc/mail.c: Ignore the return value of puts().
2698         * libmisc/mail.c: Prefer snprintf to sprintf, even if a small
2699         context indicates no issues.
2700
2701 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2702
2703         * lib/commonio.c, lib/commonio.h, lib/groupio.c, lib/groupio.h,
2704         lib/pwio.c, lib/pwio.h, lib/shadowio.c, lib/shadowio.h: Added
2705         splint annotations. The *_locate() and *_next() functions
2706         currently return an observer. As the structure are often modified
2707         by the caller, it could maybe be changed to exposed later. (and
2708         non-const)
2709
2710 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2711
2712         * lib/pwauth.c: Use a boolean for wipe_clear_pass and use_skey.
2713         * lib/pwauth.c: Added splint annotations.
2714         * lib/pwauth.c: Added brackets and parenthesis.
2715         * lib/pwauth.c: Avoid assignments in comparisons.
2716         * lib/pwauth.c: Avoid implicit conversion of pointers or
2717         characters to booleans.
2718
2719 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2720
2721         * src/groupmod.c: Cast ID to ulongs and use ulong formats for IDs.
2722
2723 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2724
2725         * src/newgrp.c: Added splint annotations.
2726         * src/newgrp.c: audit_buf is only used in newgrp. Make it static.
2727         * src/newgrp.c: Ignore the return value of fputs().
2728         * src/newgrp.c: Use exit(EXIT_FAILURE) instead of exit(1).
2729
2730 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2731
2732         * libmisc/pwdcheck.c (passwd_check): The progname is not used.
2733         * libmisc/pwdcheck.c: Ignore the return value of sleep().
2734         * libmisc/pwdcheck.c: Use exit(EXIT_FAILURE) instead of exit(1).
2735
2736 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2737
2738         * libmisc/setupenv.c: Avoid assignments in comparisons.
2739         * libmisc/setupenv.c: Added brackets and parenthesis.
2740         * libmisc/setupenv.c: Ignore the return value of fclose (file
2741         opened read-only)
2742         * libmisc/setupenv.c: Ignore the return value of puts().
2743         * libmisc/setupenv.c: Avoid implicit conversion of pointers to
2744         booleans.
2745
2746 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2747
2748         * libmisc/find_new_gid.c, libmisc/find_new_uid.c,
2749         libmisc/isexpired.c, src/groupadd.c, lib/pwauth.h, lib/groupmem.c,
2750         lib/shadowmem.c, lib/pwmem.c, lib/prototypes.h: Added splint
2751         annotations.
2752
2753 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2754
2755         * libmisc/loginprompt.c: Use exit(EXIT_FAILURE) instead of
2756         exit(1).
2757         * libmisc/loginprompt.c: Avoid implicit conversion of pointers to
2758         booleans.
2759         * libmisc/loginprompt.c: Ignore return value of putc().
2760
2761 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2762
2763         * libmisc/env.c, libmisc/age.c: Added splint annotations.
2764         * libmisc/age.c: Added brackets and parenthesis.
2765         * libmisc/age.c: Ignore the return value of fclose (file opened
2766         read-only)
2767         * libmisc/age.c: Ignore puts() return value.
2768         * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
2769         * libmisc/age.c: Avoid assignments in comparisons.
2770
2771 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2772
2773         * lib/fputsx.c, lib/gshadow.c, lib/commonio.h: Added splint
2774         annotations.
2775
2776 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2777
2778         * lib/get_gid.c: gidstr should not be NULL, but the check was
2779         meant to make sure it is not empty.
2780         * lib/get_uid.c: Likewise.
2781
2782 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2783
2784         * lib/getdef.c: Added splint annotations.
2785         * lib/getdef.c: Ignore fputs() return value.
2786         * lib/getdef.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
2787
2788 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2789
2790         * src/faillog.c: Added splint annotations.
2791         * src/faillog.c: Cast ID to ulongs and use ulong formats for IDs.
2792         * src/faillog.c: Ignore fflush() return value.
2793         * src/faillog.c: Added parenthesis.
2794
2795 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2796
2797         * src/grpck.c: Ignore puts return value.
2798         * src/grpck.c: Avoid variable format string.
2799
2800 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2801
2802         * src/lastlog.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
2803         * src/lastlog.c: Added splint annotations.
2804         * src/lastlog.c: Avoid global pwent.
2805         * src/lastlog.c: Cast ID to ulongs and use ulong formats for IDs.
2806         * src/lastlog.c: Avoid assignment in comparisons.
2807         * src/lastlog.c: Ignore fclose() return value since the file is
2808         only opened for reading.
2809
2810 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2811
2812         * src/newgrp.c: Added assertion to guide splint (and me).
2813
2814 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2815
2816         * libmisc/find_new_gid.c: Use booleans instead of char fo
2817         used_gids.
2818         * libmisc/find_new_gid.c: Use getdef_ulong and cast to git_t to
2819         get GID values.
2820         * libmisc/find_new_gid.c: Use UL as a prefix for ulong values.
2821         * libmisc/find_new_uid.c: Likewise.
2822
2823 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2824
2825         * libmisc/yesno.c: Ignore the return value of puts.
2826
2827 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2828
2829         * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
2830         * libmisc/age.c: The return value of execl() is not used.
2831
2832 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2833
2834         * libmisc/xgetXXbyYY.c, libmisc/myname.c, libmisc/getgr_nam_gid.c,
2835         libmisc/salt.c, libmisc/list.c, libmisc/cleanup.c, src/login.c,
2836         lib/getdef.h, lib/groupio.c, lib/getlong.c, lib/gshadow_.h,
2837         lib/sgroupio.c, lib/shadowio.c, lib/pwio.c, lib/commonio.h,
2838         lib/fputsx.c, lib/prototypes.h: Added splint annotations.
2839         * lib/groupio.c: Avoid implicit conversion of pointers to
2840         booleans.
2841         * lib/groupio.c: Free allocated buffers in case of failure.
2842
2843 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2844
2845         * lib/defines.h: Added splint definitions to replace <locale.h>
2846
2847 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2848
2849         * libmisc/utmp.c, libmisc/age.c, libmisc/shell.c, lib/groupio.c,
2850         lib/groupio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c,
2851         lib/pwio.c, lib/commonio.c, lib/shadowio.h, lib/pwio.h,
2852         lib/commonio.h, lib/prototypes.h: Added splint annotations.
2853
2854 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2855
2856         * libmisc/utmp.c: Only set ut_time and ut_tv if gettimeofday()
2857         succeeds.
2858
2859 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2860
2861         * libmisc/utmp.c: Fix the check for empty host in prepare_utmp()
2862         and prepare_utmpx().
2863
2864 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2865
2866         * libmisc/utmp.c: The ut argument of prepare_utmp() and
2867         prepare_utmpx () might be NULL. ut_id needs to be forged in that
2868         case.
2869
2870 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2871
2872         * libmisc/utmp.c: Removed old documentation of setutmp().
2873
2874 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2875
2876         * libmisc/utmp.c: Use xmalloc() rather than malloc().
2877
2878 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2879
2880         * libmisc/utmp.c: The name returned by ttyame() needs to be copied
2881         locally.
2882
2883 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2884
2885         * src/login.c: Added assert()s for NULL (or ! NULL) username, and
2886         pwd. This helps splint.
2887         * src/login.c: Added splint annotations.
2888
2889 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2890
2891         * src/login.c: After login_prompt(), do not check for unset
2892         username, but for empty username.
2893
2894 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2895
2896         * lib/defines.h: Define USER_NAME_MAX_LENGTH, based on utmp and
2897         default to 32.
2898         * libmisc/chkname.c: Use USER_NAME_MAX_LENGTH.
2899         * src/login.c: Use USER_NAME_MAX_LENGTH instead of the default 32.
2900         username also needs to be bigger than USER_NAME_MAX_LENGTH because
2901         it has to be nul-terminated.
2902
2903 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2904
2905         * src/login.c: Use xmalloc() instead of malloc().
2906
2907 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2908
2909         * src/login.c: Ignore the return value of puts(), fputs(),
2910         strftime().
2911
2912 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2913
2914         * src/login.c: timeout, delay, and retries should be unsigned.
2915         * src/login.c: Ignore the return value of alarm() and sleep().
2916
2917 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2918
2919         * src/login.c: If we cannot get the terminal configuration, do not
2920         change the terminal configuration. setup_tty() is just a best
2921         effort configuration of the terminal.
2922         * src/login.c: Ignore failures when setting the terminal
2923         configuration.
2924         * src/login.c: Fail if the ERASECHAR or KILLCHAR configurations
2925         are not compatible with a cc_t type.
2926
2927 2009-04-22  Paul Szabo  <psz@maths.usyd.edu.au>
2928
2929         * src/login.c: utent might be NULL after get_current_utmp().
2930
2931 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2932
2933         * src/login.c: Removed temp_shell. No more used.
2934         * src/login.c: lastlog is only used #ifndef USE_PAM
2935         * src/login.c: Rename lastlog to ll to avoid name clash with the
2936         lastlog type.
2937
2938 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2939
2940         * src/login.c: Added update_utmp() to group the prepare_utmp and
2941         setutmp (and the utmpx versions).
2942
2943 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2944
2945         * src/login.c: Do not include netdb.h. gethostbyname() is no more
2946         called from within login.c. Also UT_ADDR does not exist anymore.
2947
2948 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2949
2950         * src/login.c: Check if login is run with effective root
2951         privileges. This should be more helpful to users than a failure to
2952         find an utmp entry or failure to access a file.
2953
2954 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2955
2956         * libmisc/utmp.c: Reworked. Get rid of Linux specific stuff. Get rid
2957         of global utent/utxent variables. Only reuse the ut_id and maybe
2958         the ut_host fields from utmp.
2959         * lib/prototypes.h, libmisc/utmp.c: Removed checkutmp(),
2960         setutmp(), setutmpx().
2961         * lib/prototypes.h, libmisc/utmp.c: Added get_current_utmp(),
2962         prepare_utmp(), prepare_utmpx(), setutmp(), setutmpx().
2963         * libmisc/utmp.c (is_my_tty): Only compare the name of the utmp
2964         line with ttyname(). (No stat of the two terminals to compare the
2965         devices).
2966         * libmisc/utmp.c: Use getaddrinfo() to get the address of the
2967         host.
2968         * configure.in: Check for getaddrinfo().
2969         * configure.in: Use AC_CHECK_MEMBERS to check for the existence of
2970         fields in the utmp/utmpx structures.
2971         * configure.in: Reject systems with utmpx support but no ut_id
2972         field in utmp. This could be fixed later if needed.
2973         * src/login.c: Use the new utmp functions. This also simplifies
2974         the failtmp() handling.
2975         * src/login.c: passwd_free() renamed to pw_free() and
2976         shadow_free() renamed to spw_free()
2977
2978 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2979
2980         * NEWS, configure.in: Enable --enable-account-tools-setuid by
2981         default for PAM builds, as it used to be before the introduction
2982         of this option.
2983
2984 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2985
2986         * etc/pam.d/Makefile.am: Distribute all pam.d files, even if
2987         ACCT_TOOLS_SETUID is not enabled.
2988
2989 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2990
2991         * lib/shadowmem.c: Added spw_free().
2992         * lib/shadowio.c: Use spw_free() for shadow_free().
2993         * lib/groupmem.c: Added gr_free().
2994         * lib/groupio.c: Use gr_free() for group_free().
2995         * lib/pwmem.c: Include define.h before prototypes.h
2996         * lib/pwmem.c: Added pw_free().
2997         * lib/pwio.c: Use pw_free() for passwd_free().
2998         * lib/sgroupio.c: Added sgr_free().
2999         * lib/sgroupio.c: Use sgr_free() for gshadow_free().
3000         * lib/prototypes.h: Added gr_free(), pw_free(), sgr_free(),
3001         spw_free().
3002
3003 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
3004
3005         * libmisc/shell.c: Add brackets and parenthesis.
3006         * libmisc/shell.c: Avoid assignments in comparisons.
3007         * libmisc/shell.c: Re-indent.
3008
3009 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
3010
3011         * lib/defines.h: Added MIN and MAX macros.
3012         * libmisc/salt.c: Removed MIN and MAX macros.
3013
3014 2009-04-20  Sven Joachim  <svenjoac@gmx.de>
3015
3016         * NEWS, src/lastlog.c: Fix regression causing empty reports.
3017         Get the size of the file before printing the entries.
3018
3019 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3020
3021         * src/login.c: Get rid of pwent. pwd is sufficient as long as it
3022         is always coming from xgetpwnam. There is no need to copy pwd to
3023         pwent, this was not a good idea anyway as the strings from pwd
3024         were not duplicated.
3025         * src/login.c: Always free the pwd and spwd structure when we
3026         retrieve a new one. This will clear the password of the previous
3027         user from the memory.
3028         * src/login.c: user_passwd is used to keep point to the password
3029         of the user being authenticated.
3030         * src/login.c: (non PAM) Fail if the user's entry cannot be found
3031         after the user updated her password (if expire() requested an
3032         update).
3033         * src/login.c: If the user does not exist on the system, there is
3034         no need to build a pwd structure (with shell).
3035
3036 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3037
3038         * src/login.c: ttytype already checks for TTYTYPE_FILE and TERM.
3039         Just call ttytype.
3040
3041 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3042
3043         * src/login.c: Open the PAM session before pam_setcred and before
3044         initgroups. This is more consistent with rfc86.0.
3045
3046 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3047
3048         * src/login.c: Added helper functions get_pam_user() and
3049         get_failent_user().
3050
3051 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3052
3053         * src/login.c: Added parameter to check_nologin. This will help
3054         getting rid of the global pwent variable.
3055
3056 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3057
3058         * src/login.c: Added comments.
3059         * src/login.c: Close the user and group files before dropping root
3060         privileges.
3061
3062 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3063
3064         * src/login.c: We do not need to keep the old umask. Discard the
3065         umask() return value.
3066
3067 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3068
3069         * libmisc/hushed.c, lib/prototypes.h, src/login.c: Change the
3070         hushed() prototype to take a username instead of a passwd
3071         structure in argument. The passwd entry is retrieved withing
3072         hushed().
3073
3074 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3075
3076         * libmisc/setugid.c: Updated comments.
3077
3078 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3079
3080         * libmisc/failure.h, libmisc/failure.c, src/login.c: Added
3081         username as first parameter of failtmp to avoid issues with
3082         non-null terminated ut_user, unavailability of ut_user, incomplete
3083         username (that should not happen currently).
3084
3085 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3086
3087         * libmisc/ttytype.c: Add brackets and parenthesis.
3088         * libmisc/ttytype.c: Avoid assignments in comparisons.
3089
3090 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
3091
3092         * lib/pwio.c, lib/shadowio.c, lib/groupio.c, lib/sgroupio.c: Fill
3093         the password fields with zeros before they are freed.
3094
3095 2009-04-19  Changwoo Ryu  <cwryu@debian.org>
3096
3097         * po/ko.po: Updated Korean translation.
3098
3099 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
3100
3101         * NEWS, src/login.c: Also check if the authentication token of the
3102         user has to be updated in case the user was already authenticated.
3103
3104 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
3105
3106         * src/login.c: fflg is already restricted to root. Move
3107         pam_acct_mgmt(), in case of fflg, earlier. This is equivalent and
3108         simplifies the code.
3109
3110 2009-04-19  Paul Szabo  <psz@maths.usyd.edu.au>
3111
3112         * libmisc/utmp.c: Always call endutent or endutxent when setutent
3113         or setutxent were used.
3114
3115 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
3116
3117         * src/login.c: Added comment to make sure PAM_RHOST or PAM_TTY do
3118         not get set to unsanitized values.
3119
3120 2009-04-17  Paul Szabo  <psz@maths.usyd.edu.au>
3121
3122         * NEWS, src/login.c: Do not trust the current utmp entry's ut_line
3123         to set PAM_TTY.
3124         * libmisc/utmp.c: Do not trust the current utmp entry's ut_line.
3125         Always set ut_line based on ttyname(0).
3126
3127 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
3128
3129         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
3130         * po/*.po, man/po/*.po: Updated PO files.
3131         * configure.in: Updated version number.
3132
3133 2009-04-15  Peter Vrabec  <pvrabec@redhat.com>
3134
3135         * NEWS, src/userdel.c: Fixed SE Linux support. semanage should be
3136         called at the end.
3137         * src/useradd.c: Always call selinux_update_mapping() (i.e.
3138         semanage), not only when -Z is used.
3139
3140 2009-04-15  Peter Vrabec  <pvrabec@redhat.com>
3141
3142         * NEWS, srclib/getlong.c: Fix parsing of octal numbers.
3143
3144 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
3145
3146         * NEWS, src/login.c: Fix segfault when no user is provided on the
3147         command line.
3148
3149 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
3150
3151         * README, libmisc/system.c: Was contributed by Dan Walsh.
3152
3153 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
3154
3155         * NEW, src/vipw.c: SE Linux: Set the default context to the
3156         context of the file being edited. This ensures that the backup
3157         file inherit from the file's context.
3158
3159 2009-04-14  Nicolas François  <nicolas.francois@centraliens.net>
3160
3161         * man/usermod.8.xml: There are no default values for --inactive
3162         and --gid. If the options are no provided, the original values are
3163         not changed.
3164
3165 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3166
3167         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
3168         * po/*.po, man/po/*.po: Updated PO files.
3169
3170 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3171
3172         * src/su.c: If there are no root account, or if the root account
3173         has an UID != 0, default to the first UID 0 account.
3174
3175 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3176
3177         * src/login.c: Restore the echoctl, echoke, onclr flags to the
3178         terminal termio flags. Reset echoprt, noflsh, tostop. This
3179         behavior seems to have change by mistake in earlier releases
3180         (4.0.8, for no obvious reason).
3181
3182 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3183
3184         * src/login.c: Fix the count of failures before login exits in
3185         case of PAM enabled configurations.
3186
3187 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3188
3189         * man/passwd.1.xml: Document that passwd uses PAM to authenticate
3190         and change passwords on PAM-enabled builds.
3191
3192 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3193
3194         * src/newusers.c: Add more information to the mkdir and chown
3195         failure messages.
3196
3197 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
3198
3199         * man/po/fr.po: Updated some login.defs entries. Thanks to
3200         Belkacem Abbas.
3201
3202 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3203
3204         * man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml,
3205         man/login.defs.d/CONSOLE_GROUPS.xml: Fix typos.
3206
3207 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3208
3209         * man/es/Makefile.am: Disable the distribution of Spanish
3210         manpages. They are outdated. Please contact
3211         pkg-shadow-devel@lists.alioth.debian.org if you wish to provide
3212         updates.
3213
3214 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3215
3216         * src/usermod.c, src/useraddd.c: Fix the usage string so that it
3217         does not change depending on the configure option. Use a format.
3218
3219 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3220
3221         * src/gpasswd.c: Fix the usage of the unused macro.
3222
3223 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3224
3225         * lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A
3226         shadow entry is now sufficient for agecheck. Remove the first
3227         passwd entry parameter.
3228
3229 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3230
3231         * src/useradd.c, src/usermod.c: Only call selinux_update_mapping()
3232         if Zflg is set.
3233         * src/userdel.c: Rename argv to args to avoid nameclash with the
3234         main() parameters.
3235
3236 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3237
3238         * libmisc/getgr_nam_gid.c: Added support for NULL argument.
3239         * libmisc/chowntty.c: Reuse getgr_nam_gid(), and get rid of atol().
3240
3241 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
3242
3243         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: For system
3244         accounts, return the first unused ID, starting from the max value.
3245         This could be useful later to increase the static IDs range.
3246
3247 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
3248
3249         * NEWS, src/useradd.c, man/useradd.8.xml: add -Z option to map
3250         SELinux user for user's login.
3251         * NEWS, src/usermod.c, man/usermod.8.xml: Likewise.
3252         * libmisc/system.c, libmisc/Makefile.am, lib/prototypes.h: Added
3253         safe_system(). Used to run semanage.
3254         * lib/prototypes.h, libmisc/copydir.c: Make a
3255         selinux_file_context() an extern function.
3256         * libmisc/copydir.c: Reset SELinux to create files with default
3257         contexts at the end of copy_tree().
3258         * NEWS, src/userdel.c: Delete the SELinux user mapping for user's
3259         login.
3260
3261 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
3262
3263         * src/useradd.c (get_defaults): Close the default file after the
3264         default values were read.
3265
3266 2009-04-11  Christian Perrier  <bubulle@debian.org>
3267
3268         * po/sk.po: Slovak translation updated. Thanks to Ivan Masár
3269
3270 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3271
3272         * lib/Makefile.am, lib/prototypes.h: Added sgetspent.c.
3273
3274 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
3275
3276         * po/POTFILES.in: Added missing files. Sorted.
3277
3278 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3279
3280         * lib/getdef.c: Use getlong instead of strtol/strtoul.
3281         * libmisc/getlong, lib/getlong.c, libmisc/Makefile.am,
3282         lib/Makefile.am: getlong.c moved from libmisc/ to lib/.
3283
3284 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3285
3286         * lib/shadow.c: Replace strtol() by getlong(). Also detect more
3287         issues in a numerical shadow entry field.
3288
3289 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3290
3291         * lib/sgetspent.c: Only compile ifndef HAVE_SGETSPENT
3292
3293 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3294
3295         * lib/sgetspent.c: Replace strtol() by getlong(). Also detect more
3296         issues in a numerical shadow entry field.
3297
3298 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3299
3300         * src/chage.c: More strtol() replaced by getlong().
3301         * src/chage.c: expdays renamed to expdate. It is a date, even if
3302         expressed in a number of days since Jan 1, 1970.
3303         * src/chage.c: Likewise: lastday renamed to lstchgdate. Also fix
3304         the --lastday documentation.
3305
3306 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3307
3308         * lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
3309         NOT defined.
3310
3311 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3312
3313         * src/passwd.c: Replace getnumber() by getlong(). This permits to
3314         get rid of another strtol().
3315
3316 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3317
3318         * libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed
3319         for strtol and errno, and do not include "defines.h" (not needed).
3320
3321 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3322
3323         * src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c,
3324         libmisc/Makefile.am, lib/prototypes.h: Moved getgr_nam_gid() from
3325         src/useradd.c and src/usermod.c to libmisc/getgr_nam_gid.c.
3326
3327 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3328
3329         * src/useradd.c: Re-indent.
3330         * src/useradd.c: Use getlong instead of get_number.
3331         * src/useradd.c: Get rid of strtol.
3332         * src/useradd.c: Provide better warning in case a default GROUP or
3333         INACTIVE value is not valid in /etc/default/useradd.
3334
3335 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3336
3337         * src/usermod.c: Re-indent.
3338         * src/usermod.c: Specifying a inactivity value < -1 is not valid.
3339
3340 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3341
3342         * configure.in: Prepare the next 4.1.3 release.
3343         * po/*.po, man/po/*.po: Updated PO files.
3344
3345 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
3346
3347         * lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to
3348         ifndef USE_PAM.
3349         * lib/prototypes.h: Remove the declaration of add_cons_grps(). The
3350         function does not exist.
3351         * libmisc/setugid.c libmisc/age.c (setup_uid_gid): is_console is
3352         never set ifndef USE_PAM. Change the prototype of setup_uid_gid()
3353         when USE_PAM is not defined. This permits to remove add_groups
3354         from PAM builds.  setup_uid_gid is already subject to
3355         HAVE_INITGROUPS.
3356         * libmisc/pwd2spwd.c (pwd_to_spwd): pwd_to_spwd() is not used in
3357         PAM builds.
3358
3359 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
3360
3361         * src/passwd.c: do_update_age is only used ifndef USE_PAM. Make it
3362         more explicit.
3363
3364 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
3365
3366         * src/useradd.c: Set errno to 0 before calling strtol.
3367
3368 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
3369
3370         * libmisc/isexpired.c: If there are no shadow entry, there is no
3371         need to convert the password entry to a shadow entry. The password
3372         is valid.
3373
3374 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
3375
3376         * man/usermod.8.xml: Split some paragraphs into smaller units.
3377
3378 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
3379
3380         * man/shadow.5.xml: Rewrote to mention the meaning of special
3381         values.
3382
3383 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
3384
3385         * libmisc/pwd2spwd.c, src/chpasswd.c, src/newusers.c,
3386         src/passwd.c, src/pwck.c, src/pwconv.c, src/useradd.c,
3387         src/usermod.c: On Jan 01, 1970, do not set the sp_lstchg field to
3388         0 (which means that the password shall be changed during the next
3389         login), but use -1 (password aging disabled).
3390         * src/passwd.c: Do not check sp_min if sp_lstchg is null or -1.
3391
3392 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
3393
3394         * src/chage.c: When no shadow entry exist, the default sp_lstchg
3395         value should be -1 (no aging) rather than 0 (password must be
3396         changed).
3397         * src/chage.c: For password expiration and inactivity, indicate
3398         that the password must be changed when sp_lstchg is null rather
3399         than indicating that expiration and inactivity are not enabled.
3400
3401 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
3402
3403         * libmisc/isexpired.c: Document the isexpired return value.
3404
3405 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
3406
3407         * libmisc/age.c: Return a specific message when sp_lstchg is null.
3408
3409 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
3410
3411         * lib/sgetpwent.c, lib/sgetgrent.c: Use get_uid and get_gid to
3412         validate the UIDs or GIDs instead of atoi/strtol.
3413
3414 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
3415
3416         * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
3417         lib/get_gid.c, lib/get_uid.c, lib/Makefile.am: get_uid.c and
3418         get_gid.c moved from libmisc/ to lib/.
3419
3420 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
3421
3422         * src/grpck.c (check_members): When a member is removed, do not
3423         increase the index.
3424         * src/grpck.c: Fix typo in messages and comments.
3425
3426 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
3427
3428         * lib/commonio.c: Call fsync before closing the backup file. This
3429         ensures that the backup file is flushed to the storage medium.
3430         * src/useradd.c: Likewise for the default file, faillog, lastlog,
3431         and mail spool.
3432         * src/usermod.c: Likewise for the faillog and lastlog file.
3433         * src/vipw.c: Likewise for the backup file.
3434         * libmisc/sulog.c: Likewise for the su log.
3435
3436 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3437
3438         * src/groupmod.c: Embed gshadow related cleanup in #ifdef
3439         SHADOWGRP.
3440
3441 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3442
3443         * src/usermod.c: get_number() replaced by getlong().
3444         * src/usermod.c: When the user is renamed, make sure we do not
3445         override an user with the same name (in passwd or shadow).
3446
3447 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3448
3449         * src/gpasswd.c: log_gpasswd_success_gshadow is in the cleanup
3450         stack only when the shadow group file is present.
3451
3452 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3453
3454         * NEWS, src/userdel.c: Make sure the user exists in the shadow
3455         database before calling spw_remove().
3456         * NEWS, src/userdel.c: When the user's group is removed, make sure
3457         the group is in the gshadow database before calling sgr_remove().
3458         * src/userdel.c: Improve warning's wording.
3459
3460 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3461
3462         * libmisc/cleanup.c: Fix del_cleanup. The arguments were not
3463         desynchronized with the cleanup functions.
3464         * libmisc/cleanup.c: cleanup_function_args is an array of void
3465         pointer, not strings.
3466
3467 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3468
3469         * libmisc/find_new_gid.c: Fix find_new_gid() the current group
3470         database was not taken into account.
3471
3472 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
3473
3474         * libmisc/addgrps.c: Fix compilation warnings.
3475
3476 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3477
3478         * man/po/Makefile.in.in: xml2po cannot exclude one entity for
3479         expansion. Make sure config.xml does not exist when the POT file
3480         is created in order to keep the configurations in the POT file
3481         * man/generate_translations.mak: make sure config.xml does not
3482         exist neither when the translated XML is generated. Add the
3483         missing %config; (strip out by xml2po). and make sure config.xml
3484         is present when the translated manpage is generated.
3485         * man/generate_mans.mak: config.xml is needed for the generation
3486         of manpages (already in the .deps for the English manpages, but
3487         needed for the translations).
3488         * man/Makefile.am: Added missing CREATE_HOME.xml.
3489
3490 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3491
3492         * etc/login.defs: Added note for PAM enabled configurations.
3493
3494 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3495
3496         * man/Makefile.am: Compute the dependencies for building the
3497         manpages.
3498         * man/generate_mans.deps: Added Makefile dependency rules.
3499
3500 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3501
3502         * libmisc/addgrps.c: Fix warnings.
3503
3504 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3505
3506         * man/po/fr.po: Added missing space.
3507
3508 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3509
3510         * man/lastlog.8.xml: Document that there might be entries, for
3511         deleted users, that are not displayed.
3512
3513 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3514
3515         * man/chgpasswd.8.xml, man/chpasswd.8.xml: Fix the man page in
3516         case SHA crypt is not supported.
3517
3518 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3519
3520         * man/vipw.8.xml: MAX_MEMBERS_PER_GROUP is not used by vipw and
3521         vigr.
3522
3523 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3524
3525         * man/login.defs.5.xml: Indicate that sg uses the same variables
3526         as newgrp.
3527         * man/login.defs.5.xml: vipw does not use any variable.
3528         * man/login.defs.5.xml: In PAM enabled configurations, login still
3529         uses some login.defs variables.
3530
3531 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3532
3533         * man/usermod.8.xml: use a <replaceable> instead of a
3534         <emphasis remap='I'>.
3535
3536 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3537
3538         * man/newusers.8.xml: Document the behavior of newusers for each
3539         field.
3540         * man/newusers.8.xml: Do not add the note on PAM on non-PAM
3541         enabled configurations.
3542
3543 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
3544
3545         * src/newusers.c: Make sure the SHA related variables are not
3546         compiled when disabled at configuration time.
3547         * src/newusers.c: Added FIXME
3548         * src/chpasswd.c: Make sure the SHA related variables is not
3549         compiled when disabled at configuration time.
3550         * src/chgpasswd.c: Make sure the SHA related variables is not
3551         compiled when disabled at configuration time.
3552         * src/chgpasswd.c: Fix the test for getlong() failure.
3553         * src/useradd.c, man/useradd.8.xml: Added long name for the -l
3554         option: --no-log-init.
3555         * src/faillog.c: Added support for the specification of a range of
3556         users with -u.
3557         * src/faillog.c: Do not call print_one() for users which do not
3558         exist.
3559         * src/faillog.c: Make sure the user's entry is not outside the
3560         faillog file and initialize the faillog structure in that case.
3561         * src/faillog.c: Move print_one() closer to print().
3562         * src/faillog.c: reset(), setmax(), set_locktime() can also change
3563         entries of user which do not exist.
3564         * src/faillog.c: reset(), setmax() and set_locktime() shall not
3565         create entries for users which have no entries if the value has to
3566         be set to 0.
3567         * src/faillog.c: reset(), setmax() and set_locktime(): better
3568         handling of users whose entry is outside the faillog file.
3569         * src/faillog.c: Improved option handling. Options can now be
3570         specified in any order.
3571         * src/faillog.c: Improved warnings when options are not
3572         compatible or when the faillog cannot be open with the right mode.
3573         * src/faillog.c: Only fstat the faillog file once.
3574         * man/faillog.8.xml: Improved documentation.
3575
3576 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
3577
3578         * src/gpasswd.c: Remove the documentation of options from the
3579         main() documentation. It will always be outdated here.
3580
3581 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
3582
3583         * src/lastlog.c: lastlog variable renamed to ll to avoid name
3584         clash with the structure.
3585         * src/lastlog.c: check the offset in print_one() so that it is
3586         used for the display of one entry or a set of entries.
3587         * src/lastlog.c: Do not loop over the whole user database when -u
3588         is used with a single user.
3589         * src/lastlog.c: Check the size of the lastlog file so that we
3590         can identify failures to read.
3591
3592 2009-03-13  Mike Frysinger  <vapier@gentoo.org>
3593
3594         * libmisc/salt.c: Removed l64a prototype. The libc declaration is
3595         non static, but the internal definition is static.
3596
3597 2009-03-09  Nicolas François  <nicolas.francois@centraliens.net>
3598
3599         * src/gpasswd.c: log_gpasswd_success_gshadow only exists ifdef
3600         SHADOWGRP.
3601
3602 2009-03-08  Nicolas François  <nicolas.francois@centraliens.net>
3603
3604         * libmisc/getlong.c: Make sure the getlong argument is not empty.
3605         * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
3606         lib/prototypes.h: Added get_uid() and get_gid() to parse user and
3607         group IDs.
3608         * NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set
3609         to -1.
3610         * NEWS, src/newusers.c, src/usermod.c, src/useradd.c,
3611         src/groupmod.c, src/groupadd.c: Make sure no user or group are
3612         created with an ID set to -1.
3613
3614 2009-03-07  Nicolas François  <nicolas.francois@centraliens.net>
3615
3616         * contrib/adduser-old.c, contrib/adduser.c: Do not use the target
3617         of snprintf in one of the format's parameters.
3618
3619 2009-03-07  Nicolas François  <nicolas.francois@centraliens.net>
3620
3621         * man/groupmems.8.xml: groupmems does not create new user.
3622
3623 2009-03-03  Nicolas François  <nicolas.francois@centraliens.net>
3624
3625         * NEWS, po/LINGUAS, po/kk.po: Added Kazakh translation. Thanks to
3626         Timur Birsh <taem@linukz.org>.
3627
3628 2009-02-22  Nicolas François  <nicolas.francois@centraliens.net>
3629
3630         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Avoid calling
3631         getgrent()/getpwent() after they return NULL. This caused LDAP to
3632         return at the beginning of the group/user entries.
3633
3634 2009-01-27  Nicolas François  <nicolas.francois@centraliens.net>
3635
3636         * man/nologin.8.xml: Fix typo (HYSTORY -> HISTORY).
3637
3638 2009-01-26  Nicolas François  <nicolas.francois@centraliens.net>
3639
3640         * NEWS, src/gpasswd.c: Only report success to audit and syslog
3641         when the changes are committed to the system. Do not log failure
3642         for on-memory changes to audit or syslog. Make sure failures and
3643         inconsistencies will be reported in case of unexpected failures
3644         (e.g. malloc failures). Only specify an audit message if it is not
3645         implicitly implied by the type argument. Removed fail_exit
3646         (replaced by atexit(do_cleanups)). Log failures in case of
3647         permission denied.
3648
3649 2009-01-19  Nicolas François  <nicolas.francois@centraliens.net>
3650
3651         * man/login.defs.d/UMASK.xml: Indicate how UMASK is used and
3652         limitations.
3653         * man/limits.5.xml: Remove space before an end of tag.
3654         * man/useradd.8.xml, man/login.defs.d/CREATE_HOME.xml,
3655         man/login.defs.5.xml: Document the CREATE_HOME variable.
3656         * etc/login.defs: Improve the documentation of UMASK.
3657
3658 2009-01-06  Sebastian Rick Rijkers  <srrijkers@gmail.com>
3659
3660         * NEWS, src/su.c: Preserve COLORTERM in addition to TERM when su
3661         is called with the -l option.
3662
3663 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3664
3665         * libmisc/chkname.c: Use a bool when possible instead of integers.
3666         * libmisc/chkname.c: Add brackets and parenthesis.
3667
3668 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3669
3670         * man/groupadd.8.xml, configure.in, man/config.xml.in: Use the
3671         real group name length limit in the documentation.
3672
3673 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3674
3675         * src/Makefile.am: Only link with the needed library. When
3676         compiled with PAM support, chfn, chsh, login, newgrp, passwd, and
3677         su do not need the libcrypt library.
3678
3679 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3680
3681         * libmisc/cleanup_group.c: Fix compilation when compiled without
3682         shadow group support.
3683
3684 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3685
3686         * src/groupdel.c: Remove the fail_exit () declaration.
3687
3688 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
3689
3690         * src/gpasswd.c: Fix the support for usernames with arbitrary
3691         length.
3692
3693 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
3694
3695         * src/groupadd.c, src/groupdel.c, src/groupmod.c: Re-indent.
3696         * src/groupmod.c: Do not add the command synopsis to the main ()
3697         documentation. This avoids outdated information.
3698         * libmisc/chkname.c: Remove outdated comments.
3699
3700 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
3701
3702         * libmisc/audit_help.c: Added audit_logger_message() to log
3703         messages not related to an account.
3704         * lib/prototypes.h, libmisc/cleanup.c, libmisc/cleanup_group.c,
3705         libmisc/cleanup_user.c, libmisc/Makefile.am: Added stack of
3706         cleanup functions to be executed on exit.
3707         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c: Only
3708         report success to audit and syslog when the changes are committed
3709         to the system. Do not log failure for on-memory changes to audit
3710         or syslog. Make sure failures and inconsistencies will be reported
3711         in case of unexpected failures (e.g. malloc failures). Only
3712         specify an audit message if it is not implicitly implied by the
3713         type argument. Removed fail_exit (replaced by atexit(do_cleanups)).
3714
3715 2008-12-15  Nicolas François  <nicolas.francois@centraliens.net>
3716
3717         * NEWS, src/gpasswd.c: Added support usernames with arbitrary
3718         length.
3719
3720 2008-11-27  Mike Frysinger  <vapier@gentoo.org>
3721
3722         * configure.in: Fix the "$enable_acct_tools_setuid" = "yes" test.
3723
3724 2008-11-27  Mike Frysinger  <vapier@gentoo.org>
3725
3726         * NEWS, configure.in, libmisc/chkname.c: make group max length a
3727         configure option.  The configure behavior encoded is:
3728         <no option> -> default of 16 (like today);
3729         --with-group-name-max-length -> default of 16;
3730         --without-group-name-max-length -> no max length;
3731         --with-group-name-max-length=n > max is set to n.
3732
3733 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3734
3735         * src/su.c: (!USE_PAM) Provide visible information indicating that
3736         su was denied.
3737
3738 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3739
3740         * man/su.1.xml: Fix the su synopsis. username is referenced in the
3741         manpage, not LOGIN.
3742         * man/ja/login.1: Fix the path of the utmp and wtmp files.
3743
3744 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3745
3746         * libmisc/chowntty.c: Improve the logs for fchown and fchmod
3747         failures.
3748         * libmisc/chowntty.c: Only closelog() when failure cause an exit.
3749
3750 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3751
3752         * NEWS, libmisc/chowntty.c: Fix a race condition that could lead to
3753         gaining ownership or changing mode of arbitrary files.
3754         * NEWS, libmisc/chowntty.c, libmisc/utmp.c: is_my_tty() moved from
3755         utmp.c to chowntty.c. checkutmp() now only uses an existing utmp
3756         entry if the pid matches and ut_line matches with the current tty.
3757         This fixes a possible DOS when entries can be forged in the utmp
3758         file.
3759         * libmisc/chowntty.c, src/login.c, lib/prototypes.h: Remove the
3760         tty argument from chown_tty. chown_tty always changes stdin and
3761         does not need this argument anymore.
3762
3763 2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>
3764
3765         * man/gshadow.5.xml, man/shadow.5.xml, man/passwd.5.xml,
3766         man/grpck.8.xml: Sorted SEE ALSO references.
3767         * man/gshadow.5.xml: Added reference to grpck(8) and grpconv(8).
3768         * man/pwck.8.xml: Added reference to grpck(8).
3769         * man/shadow.5.xml: Added reference to pwck(8).
3770         * man/passwd.5.xml: Added reference to pwck(8).
3771         * man/grpck.8.xml: Added reference to pwck(8).
3772
3773 2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>
3774
3775         * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence
3776         header.
3777
3778 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3779
3780         * src/login.c: Always check the return value of the pam_* APIs.
3781
3782 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3783
3784         * src/login.c: Use a dynamic buffer for usernames.
3785         * src/login.c: Copy the name of the user authenticated by PAM to
3786         username. This simplify later logging (avoid USE_PAM
3787         conditional).
3788         * src/login.c: Check that no username is specified with -r.
3789         * src/login.c: Make sure a username is specified with -f.
3790         * src/login.c: Explicitly tag the end of the #ifdef RLOGIN
3791         sections.
3792         * src/login.c: Erase the username later since it it used for the
3793         fake password check (in case of empty password).
3794         * src/login.c, man/login.1.xml: the username is not an optional
3795         parameter of -f. Fix the getopt optstring, remove the parsing of
3796         username in the -f processing block, and remove unnecessary checks
3797         (username cannot be parsed twice anymore), better documentation of
3798         the synopsis.
3799
3800 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3801
3802         * src/login.c: Existence of pam_user was already checked. pwd was
3803         already copied to pwent. Remove duplicated code.
3804
3805 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3806
3807         * src/login.c: check_flags() renamed process_flags(). All flag
3808         processing blocs moved to process_flags().
3809
3810 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3811
3812         * src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.
3813
3814 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3815
3816         * src/login.c: Add missing closing }. This was probably never
3817         noticed because UT_ADDR is never defined.
3818         * src/login.c: Re-indent.
3819
3820 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3821
3822         * src/login.c: Do not mix USE_PAM and !USE_PAM code.
3823
3824 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3825
3826         * src/login.c: Use failent_user to log to audit. username is the
3827         caller, not the user login tries to authenticate.
3828         * src/login.c: Use pwd->pw_name instead of pwd->pw_uid. This might
3829         be more precise (name must be unique, uid might not be).
3830
3831 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3832
3833         * man/passwd.1.xml: passwd cannot change the full name of the
3834         user, the user's login shell; but it can change the account or
3835         password validity period. Thanks to Reuben Thomas.
3836
3837 2008-09-14  Nicolas François  <nicolas.francois@centraliens.net>
3838
3839         * src/useradd.c: Added missing declaration of Mflg.
3840         * src/pwck.c: Only unlock files if they were locked before (e.g.
3841         not in read-only mode).
3842         * src/pwck.c: Quote the username in error messages (harmonization
3843         with other messages).
3844         * libmisc/find_new_gid.c: Fixed typo (s/grp->gr_gid/group_id/).
3845         * libmisc/find_new_gid.c: Likewise.
3846
3847 2008-09-13  Nicolas François  <nicolas.francois@centraliens.net>
3848
3849         * libmisc/setugid.c, src/login_nopam.c, src/suauth.c,
3850         lib/getdef.c: Replace the %m format string by strerror(). This
3851         avoids errno to be reset between the system call error and the
3852         report function.
3853
3854 2008-09-13  Nicolas François  <nicolas.francois@centraliens.net>
3855
3856         * lib/commonio.c: Ignore the return value of umask() when the mask
3857         is set to the old value.
3858
3859 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
3860
3861         * NEWS, etc/login.defs: New CREATE_HOME variable to tell useradd
3862         to create a home directory for new users.
3863         * src/useradd.c, man/useradd.8.xml: New -M/--no-create-home option
3864         and CREATE_HOME usage. System accounts are not impacted by
3865         CREATE_HOME.
3866         * man/useradd.8.xml: Indicate that a new group is created by
3867         default.
3868         * src/useradd.c: Removed TODO item (moved to the TODO file).
3869
3870 2008-09-11  Miroslav Kuře  <kurem@debian.cz>
3871
3872         * po/cs.po: Updated Czech translation.
3873
3874 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
3875
3876         * man/login.defs.d/USERGROUPS_ENAB.xml: Fix typo: new <para> tag
3877         before the previous one is closed. This caused a missng
3878         explanation for USERGROUPS_ENAB.
3879
3880 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
3881
3882         * man/groupadd.8.xml: Remove the list of (short) options from the
3883         SYNOPSIS. Replaced with [options] for consistency with other tools
3884         and maintainability.
3885
3886 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3887
3888         From RedHat's patch shadow-4.1.2-sysAccountDownhill.patch
3889         Thanks to Peter Vrabec.
3890         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Build an
3891         index of used IDs to avoid a database request for each id in the
3892         allowed range (when the highest allowed ID is already used).
3893         This speedups the addition of users or groups when the highest
3894         allowed ID is already used. The additional memory usage of the
3895         tools should be acceptable when UID_MAX/SYS_UID_MAX are set to a
3896         reasonable number.
3897
3898 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3899
3900         * configure.in: Fix the dependency of ACCT_TOOLS_SETUID on
3901         USE_PAM. Build failed with --without-libpam.
3902
3903 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3904
3905         * libmisc/copydir.c, configure.in: Check for the presence of
3906         st_mtim and st_mtimensec, as for st_atim and st_atimensec.
3907         * libmisc/copydir.c: Call utimes() after closing the file.
3908
3909 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3910
3911         * src/gpasswd.c: Document the long options in the usage.
3912
3913 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3914
3915         * NEWS: Added configure --enable-account-tools-setuid (default) /
3916         --disable-account-tools-setuid options. This permits to disable
3917         the PAM authentication of the caller for chage, chgpasswd,
3918         chpasswd, groupadd, groupdel, groupmod, newusers, useradd,
3919         userdel, and usermod.  This authentication is not necessary when
3920         these tools are not installed setuid root.
3921         * configure.in: Added option --enable-account-tools-setuid to
3922         enable/disable the usage of PAM to authenticate the callers of
3923         account management tools: chage, chgpasswd, chpasswd, groupadd,
3924         groupdel, groupmod, useradd, userdel, usermod.
3925         * src/Makefile.am: Do not link the above tools with libpam if
3926         account-tools-setuid is disabled.
3927         * src/userdel.c, src/newusers.c, src/chpasswd.c, src/usermod.c,
3928         src/groupdel.c, src/chgpasswd.c, src/useradd.c, src/groupmod.c,
3929         src/groupadd.c, src/chage.c: Implement ACCT_TOOLS_SETUID
3930         (--enable-account-tools-setuid).
3931         * etc/pam.d/Makefile.am: Install the pam service file for the
3932         above tools only when needed.
3933
3934 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3935
3936         * libmisc/tz.c: tz() is only used when USE_PAM is not defined.
3937         * lib/prototypes.h: Indicate functions whose presence depends on
3938         the USE_PAM flag.
3939
3940 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3941
3942         * src/groupmems.c: Call open_files() and close_files().
3943         * src/groupmems.c: Always call check_perms(), which takes care of
3944         checking if --list is used.
3945
3946 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3947
3948         * libmisc/obscure.c: Compare characters to '\0', not NULL.
3949
3950 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3951
3952         * lib/defines.h: Do not include <config.h>. This complicate
3953         undefining some configuration macros when the file is included
3954         multiple times.
3955         * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
3956         libmisc/xgetgrgid.c, libmisc/xgetgrnam.c, libmisc/xgetspnam.c:
3957         Include <config.h> from teh compiled C file, not the included
3958         getXXbyYY.c.
3959
3960 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3961
3962         * src/userdel.c, src/newusers.c, src/chpasswd.c, src/chfn.c,
3963         src/groupmems.c, src/usermod.c, src/groupdel.c, src/chgpasswd.c,
3964         src/useradd.c, src/groupmod.c, src/groupadd.c, src/chage.c,
3965         src/chsh.c: Simplify the PAM error handling. Do not keep the pamh
3966         handle, but terminate the PAM transaction as soon as possible if
3967         there are no PAM session opened. If the username cannot be
3968         determined, report it as such (not a PAM authentication failure).
3969         * src/useradd.c, src/userdel.c, src/usermod.c: It is no more
3970         needed to initialize retval to PAM_SUCCESS.
3971
3972 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3973
3974         * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
3975         src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
3976         src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
3977         src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
3978         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
3979         src/groupadd.c, src/chage.c, src/login.c, src/grpconv.c,
3980         src/groups.c, src/grpunconv.c, src/chsh.c: Prog is now global (not
3981         static to the file) so that it can be used by the helper functions
3982         of libmisc.
3983         * lib/prototypes.h: Added extern char *Prog.
3984         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Indicate the
3985         program name with the warning.
3986
3987 2008-09-05  Nicolas François  <nicolas.francois@centraliens.net>
3988
3989         * configure.in: Check if AUDIT_ADD_USER, AUDIT_DEL_USER,
3990         AUDIT_ADD_GROUP, and AUDIT_DEL_GROUP are defined in <libaudit.h>.
3991
3992 2008-09-04  Nicolas François  <nicolas.francois@centraliens.net>
3993
3994         * src/useradd.c: Fix comment of lflg: it is also used for faillog.
3995
3996 2008-09-04  Nicolas François  <nicolas.francois@centraliens.net>
3997
3998         * NEWS, src/groupmems.c, man/groupmems.8.xml: Document the long
3999         options.
4000
4001 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
4002
4003         * lib/prototypes.h, libmisc/audit_help.c: Define new type
4004         shadow_audit_result for the result argument of audit_logger().
4005         This permits stronger type checking and a better readability of
4006         the results (SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS constants).
4007         * src/groupadd.c, src/groupdel.c, src/useradd.c, src/userdel.c:
4008         Use the SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS results instead
4009         of 0 or 1 in audit_logger().
4010
4011 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
4012
4013         * src/userdel.c: Log failures to remove the mailbox to syslog and
4014         audit.
4015         * src/userdel.c: Log successful removal of home directory to audit
4016         only in case of success.
4017         * src/userdel.c: Move the audit log of failure to remove the home
4018         directory before the call to function that may exit.
4019         * src/userdel.c: Document that errors is only used to count errors
4020         during the removal of the home directory.
4021
4022 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
4023
4024         * src/useradd.c: Log errors to syslog in grp_update() since
4025         changes have started to be reported to syslog.
4026         * src/userdel.c: Fix some result parameters sent to
4027         audit_logger().
4028
4029 2008-09-02  Nicolas François  <nicolas.francois@centraliens.net>
4030
4031         * NEWS: Following changes from a patch contributed by Steve Grubb
4032         <sgrubb@redhat.com>
4033         * src/groupadd.c: Log to audit with type AUDIT_ADD_GROUP instead
4034         of AUDIT_USER_CHAUTHTOK.
4035         * src/groupdel.c: Log to audit with type AUDIT_DEL_GROUP instead 
4036         of AUDIT_USER_CHAUTHTOK.
4037         * src/useradd.c: Log to audit with type AUDIT_ADD_USER /
4038         AUDIT_ADD_GROUP / AUDIT_USYS_CONFIG instead of
4039         AUDIT_USER_CHAUTHTOK.
4040         * src/useradd.c: Add missing logs to audit.
4041         * src/userdel.c: Log to audit with type AUDIT_DEL_USER /
4042         AUDIT_DEL_GROUP instead of AUDIT_USER_CHAUTHTOK.
4043         * src/userdel.c: Add missing logs to audit.
4044
4045 2008-08-31  Nicolas François  <nicolas.francois@centraliens.net>
4046
4047         * src/groupmems.c: Remove duplicated gr_open().
4048
4049 2008-08-30  Nicolas François  <nicolas.francois@centraliens.net>
4050
4051         * man/useradd.8.xml: Document the /etc/default/useradd variables.
4052         * man/useradd.8.xml: Fix the documentation of the GROUP variable
4053         (and -g/--gid option).
4054         * man/useradd.8.xml: Document that -o is only valid with -u
4055
4056 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4057
4058         * shadow.spec.in: Fix the source (new FTP).
4059
4060 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4061
4062         * src/su.c: Add brackets and parenthesis.
4063         * src/su.c: Avoid implicit conversion of pointers to booleans.
4064
4065 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4066
4067         * libmisc/list.c: Remove historical comment.
4068         * libmisc/list.c: Added assertions for non NULL parameters.
4069
4070 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4071
4072         * src/pwconv.c, src/pwunconv.c: Fail if unexpected parameters are
4073         provided.
4074
4075 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4076
4077         * src/passwd.c: Add brackets and parenthesis.
4078         * src/passwd.c: Avoid implicit conversion of pointers to booleans.
4079         * src/passwd.c: Avoid assignments in comparisons.
4080
4081 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4082
4083         * NEWS, src/groupmems.c, man/groupmems.8.xml: Added support for
4084         shadow groups.
4085         * src/groupmems.c: Use fail_exit() instead of exit().
4086
4087 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4088
4089         * src/groupmems.c: The grp structure returned by gr_locate is a
4090         const. Duplicate this structure before working on it.
4091         * src/groupmems.c: Do not fail and do not display warnings if a
4092         close failure happens with the --list option. (Files are opened
4093         read-only).
4094         * src/groupmems.c: Avoid mixed declarations and code.
4095
4096 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4097
4098         * src/gpasswd.c: Replace the 'valid' variable by is_valid to avoid
4099         clashes with the valid() function.
4100
4101 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
4102
4103         * libmisc/obscure.c: Add brackets and parenthesis.
4104         * libmisc/obscure.c: Avoid implicit conversion of pointers / chars to
4105         booleans.
4106         * libmisc/obscure.c: Simplify the list of if.
4107
4108 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4109
4110         * src/passwd.c: Fix a typo in the Usage string.
4111
4112 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4113
4114         * src/grpconv.c, src/groups.c: Name the parameters in the
4115         prototypes of the static functions.
4116         * src/grpconv.c, src/grpunconv.c, src/logoutd.c: Fail if
4117         unexpected parameters are provided.
4118         * src/grpconv.c, src/grpunconv.c: Indicate that argc is not used
4119         in the no SHADOWGRP version.
4120
4121 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4122
4123         * src/chgpasswd.c, src/chpasswd.c: Removed variable ok, which is
4124         no more used.
4125
4126 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4127
4128         * src/chage.c: Fix the format for long integers (from %ul to %lu).
4129
4130 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4131
4132         * libmisc/utmp.c: Mark the line and host arguments of setutmp() as
4133         not used in the __linux__ version.
4134
4135 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4136
4137         * lib/nscd.c: Avoid redefinition of _GNU_SOURCE.
4138
4139 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
4140
4141         * configure.in: Indentation fix.
4142         * configure.in, src/login.c: Do not use HAVE_PAM_FAIL_DELAY, but
4143         HAS_PAM_FAIL_DELAY, to avoid a redefinition with Linux PAM.
4144
4145 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
4146
4147         * src/groupmems.c: Added functions add_user(), remove_user(), and
4148         purge_members() to ease the support of gshadow.
4149
4150 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
4151
4152         * src/expiry.c: Use Basename for Prog.
4153         * src/expiry.c: Added missing OPENLOG.
4154
4155 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
4156
4157         * lib/nscd.c: Make sure the file is not empty when configured
4158         without nscd support.
4159
4160 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
4161
4162         * configure.in: Remove the USE_NSCD AM_CONDITIONAL (USE_NSCD is
4163         not used in any Makefile.am).
4164         * configure.in: Make sure posix_spawn is present when configured
4165         with nscd support.
4166
4167 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4168
4169         * lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Added brackets and
4170         parenthesis.
4171         * lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Avoid assignments
4172         in comparisons.
4173
4174 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4175
4176         * libmisc/mail.c: Added brackets and parenthesis.
4177         * libmisc/mail.c: Avoid assignments in comparisons.
4178
4179 2008-08-26  Tobias Poschwatta  <tp@fonz.de>
4180
4181         * NEWS: Added support for uclibc.
4182         * configure.in, libmisc/copydir.c: futimes() and lutimes() are not
4183         standard. Check if they are implemented before using them. Do not
4184         set the time of links if lutimes() does not exist, and use
4185         utimes() as a replacement for futimes().
4186         * configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd and
4187         --without-nscd flags to support systems without nscd.
4188         * lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c:
4189         Include <sys/types.h> before <pwd.h> and <grp.h>. It is necessary
4190         for the definition of uid_t and gid_t.
4191         * lib/pwmem.c: do not include <pwd.h>, "pwio.h" is sufficient
4192         here.
4193         * configure.in: Check if the stat structure has a st_atim or
4194         st_atimensec field.
4195         * libmisc/copydir.c: Conditionally use the stat's st_atim and
4196         st_atimensec fields.
4197
4198 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4199
4200         * src/groupmems.c: Handle the options alphabetically.
4201
4202 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4203
4204         * src/groupmems.c: When removing an user, check if deluser is on
4205         the list, not adduser. This fixes a segmentation fault for every
4206         call of groupmems -d.
4207         * libmisc/list.c: Add assertions to help identifying these issues.
4208         * libmisc/list.c: Avoid implicit conversion of pointers to
4209         booleans.
4210
4211 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4212
4213         * NEWS, src/groupmems.c: Use the "groupmems" PAM service name
4214         instead of "groupmod".
4215
4216 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4217
4218         * src/chfn.c: Merge some translated messages.
4219         * src/groupmems.c, src/groupadd.c, src/gpasswd.c, src/chsh.c,
4220         src/chfn.c: Harmonize *_update() failure messages.
4221         * src/groupmems.c: Harmonize gr_close() failure messages.
4222         * src/newgrp.c: Harmonize "unknown GID" messages.
4223         * src/newusers.c: Move the pwd declaration to a inner block scope.
4224
4225 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
4226
4227         * src/useradd.c: Harmonize some error messages.
4228         * src/userdel.c: Add log to syslog when the mail file could not be
4229         removed.
4230         * src/userdel.c: Give more context an error message (merge with
4231         perror()).
4232         * src/usermod.c: Harmonize some error messages.
4233
4234 2008-08-25  Nicolas François  <nicolas.francois@centraliens.net>
4235
4236         * src/groupmems.c: Check the return value of gr_update().
4237         * src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
4238         src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupmems.c,
4239         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
4240         src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c,
4241         src/useradd.c, src/userdel.c, src/usermod.c: Harmonize the error
4242         message sent to stderr in case of *_update () failure.
4243         * src/chage.c, src/chsh.c, src/groupadd.c, src/passwd.c: Do not
4244         log to syslog when pw_update() or spw_update() fail.
4245         * src/newusers.c: Do not log specific error message to stderr when
4246         sgr_update() fails.
4247         * src/pwconv.c: Remove duplicated definition of Prog.
4248
4249 2008-08-25  Nicolas François  <nicolas.francois@centraliens.net>
4250
4251         * src/chfn.c, src/chsh.c, src/expiry.c, src/gpasswd.c,
4252         src/newgrp.c, src/passwd.c, src/su.c: Use the same stderr and
4253         syslog warnings when the username cannot be determined.
4254         * src/newgrp.c: Reuse the same stderr message for groups which do
4255         not exist in the system.
4256
4257 2008-08-21  Nicolas François  <nicolas.francois@centraliens.net>
4258
4259         * src/usermod.c: Log errors while *_close to syslog.
4260
4261 2008-08-21  Nicolas François  <nicolas.francois@centraliens.net>
4262
4263         * src/grpconv.c: Use Basename for the definition of Prog. Prog
4264         needs a file visibility.
4265         * src/grpunconv.c: Likewise.
4266
4267 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
4268
4269         * src/chfn.c: Do not exit on pw_unlock failures.
4270         * src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c,
4271         src/vipw.c: Open syslog with the right identification name.
4272         * src/vipw.c: Log unlock errors to syslog.
4273         * src/vipw.c: Log edits to syslog.
4274         * src/chage.c, src/chfn.c, src/chsh.c, src/gpasswd.c,
4275         src/groupadd.c, src/groupdel.c, src/groupmod.c, src/grpconv.c,
4276         src/grpunconv.c, src/passwd.c, src/pwck.c, src/pwunconv.c,
4277         src/useradd.c, src/usermod.c: Harmonize the syslog levels. Failure
4278         to close or unlock are errors. Failure to open files are warnings.
4279
4280 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
4281
4282         * src/newusers.c: Open syslog with the right identification name.
4283         * src/newusers.c: Mark the files as locked only if they are really
4284         locked (i.e. if shadow is not enabled, the files are not locked).
4285
4286 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
4287
4288         * NEWS, src/gpasswd.c: Use getopt_long instead of getopt. Added
4289         support for long options --add (-a), --delete (-d),
4290         --remove-password (-r), --restrict (-R), --administrators (-A),
4291         and --members (-M) 
4292         * man/gpasswd.1.xml: Document the new long options.
4293         * src/gpasswd.c: The sgrp structure is only used if SHADOWGRP is
4294         defined.
4295
4296 2008-08-18  Nicolas François  <nicolas.francois@centraliens.net>
4297
4298         * src/grpck.c: Added function fail_exit(). Check failure to unlock
4299         files. Report errors to stderr and syslog, but continue.
4300         * src/grpconv.c: Check failure to unlock files. Report errors to
4301         stderr and syslog, but continue.
4302
4303 2008-08-18  Nicolas François  <nicolas.francois@centraliens.net>
4304
4305         * src/passwd.c: Check failure to unlock files. Report errors to
4306         stderr and syslog, but continue.
4307
4308 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
4309
4310         * src/chfn.c, src/chgpasswd.c, src/chpasswd.c, src/gpasswd.c,
4311         src/groupadd.c, src/groupdel.c, src/groupmems.c, src/groupmod.c,
4312         src/grpconv.c, src/grpunconv.c, src/newusers.c, src/pwconv.c,
4313         src/pwunconv.c, src/useradd.c, src/userdel.c: Harmonize the name
4314         of the variables keeping the lock status, to match the shadow
4315         library prefixes.
4316
4317 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
4318
4319         * src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c,
4320         src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmems.c,
4321         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
4322         src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
4323         src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c: In
4324         case of a lock failure, indicate to the user that she can try
4325         again later. Do not log to syslog.
4326
4327 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
4328
4329         * NEWS, src/passwd.c: For compatibility with other passwd version,
4330         the --lock an --unlock options do not lock or unlock the user
4331         account anymore.  They only lock or unlock the user's password.
4332         * man/passwd.1.xml: Document above change. Document how an account
4333         can be locked and what a password lock means.
4334
4335 2008-08-15  Nicolas François  <nicolas.francois@centraliens.net>
4336
4337         * man/groupadd.8.xml: Fix the regular expression for group policy.
4338         The final $ character is optional.
4339         * man/groupadd.8.xml: Likewise.
4340         * man/groupadd.8.xml: Indicate the maximum size of usernames.
4341
4342 2008-08-15  Nicolas François  <nicolas.francois@centraliens.net>
4343
4344         * man/po/pl.po: Fix typo in the Polish translation (see
4345         http://bugs.debian.org/491460)
4346
4347 2008-08-13  Nicolas François  <nicolas.francois@centraliens.net>
4348
4349         * man/pl/Makefile.am: Do not build the Polish translation of
4350         login.1 and su.1 (not enough translated). See
4351         http://bugs.debian.org/491460
4352
4353 2008-08-13  Nicolas François  <nicolas.francois@centraliens.net>
4354
4355         * man/shadow.5.xml: Fix typo. The password must be changed before
4356         the maximum number of days, not after.
4357
4358 2008-08-09  Nicolas François  <nicolas.francois@centraliens.net>
4359
4360         * src/groupmems.c: Harmonize the unlock failure messages.
4361
4362 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4363
4364         * src/pwck.c: Added fail_exit().
4365         * src/pwck.c: Report failure to unlock files to stderr and
4366         syslog.
4367         * src/pwck.c: Report failure to sort to stderr, and exit with
4368         E_CANTSORT.
4369         * man/pwck.8.xml: Document return code 6 (E_CANTSORT).
4370
4371 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4372
4373         * src/vipw.c: Report failures to remove files to stderr.
4374         * src/vipw.c: Report failures to unlock files to stderr.
4375
4376 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4377
4378         * NEWS, src/groupmems.c: Added syslog support.
4379         * src/groupmems.c: members() renamed display_members() to
4380         avoid name clash with its members argument.
4381         * src/groupmems.c: Report failure to unlock to syslog.
4382         * src/groupmems.c: Harmonize error messages.
4383         * src/groupmems.c: Report failures to write the new group file to
4384         syslog (gr_close() failure).
4385         * src/groupmems.c: Don't use fail_exit for non-failure exit.
4386
4387 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4388
4389         * src/chsh.c: Added fail_exit().
4390         * src/chsh.c: Use fail_exit() instead of exit(), this avoid
4391         calling closelog() every times.
4392         * src/chsh.c: Ignore the return value or pam_end().
4393         * src/chsh.c: Simplify the PAM error handling.
4394         * src/chsh.c: Report failure to unlock files to stderr and
4395         syslog.
4396
4397 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4398
4399         * src/chpasswd.c: Added fail_exit().
4400         * src/chpasswd.c: Added support for syslog.
4401         * src/chpasswd.c: Report failure to unlock files to stderr and
4402         syslog.
4403         * src/chpasswd.c: Simplify the PAM error handling.
4404         * src/chpasswd.c: Report failure during *_close() to syslog.
4405         * src/chpasswd.c: Ignore the return value or pam_end().
4406
4407 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4408
4409         * src/chgpasswd.c: Added fail_exit().
4410         * src/chgpasswd.c: Added support for syslog.
4411         * src/chgpasswd.c: Report failure to unlock files to stderr and
4412         syslog.
4413         * src/chgpasswd.c: Simplify the PAM error handling.
4414         * src/chgpasswd.c: Report failure during *_close() to syslog.
4415         * src/chgpasswd.c: Ignore the return value or pam_end().
4416
4417 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4418
4419         * src/userdel.c: Report failure to remove entries from group or
4420         gshadow to stderr.
4421         * src/userdel.c: Fail in case of failure during the write of a
4422         user or group database. Report errors to syslog.
4423         * src/userdel.c: Do not unlock non locked files.
4424         * src/userdel.c: Report failure to unlock the passwd or shadow
4425         file to stderr and syslog.
4426
4427 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4428
4429         * src/pwunconv.c: Report failure to unlock the passwd or shadow
4430         file to stderr and syslog.
4431
4432 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4433
4434         * src/usermod.c: Report failure to unlock files to stderr and
4435         syslog.
4436
4437 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
4438
4439         * src/newusers.c: Report failure to unlock files to stderr and
4440         syslog.
4441         * src/newusers.c: In case of error when files are open or closed,
4442         indicate the failing file.
4443         * src/newusers.c: Do not try to unlock the files manually since
4444         this is done in fail_exit.
4445
4446 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4447
4448         * src/chage.c: Report failure to unlock the passwd or shadow file
4449         to stderr and syslog.
4450
4451 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4452
4453         * src/pwconv.c: Report failure to unlock the passwd or shadow file
4454         to stderr and syslog.
4455         * src/pwconv.c: Report failure to chmod the backup file.
4456
4457 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4458
4459         * src/grpunconv.c: Report failure to unlock the group or gshadow
4460         files to stderr and syslog.
4461
4462 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4463
4464         * src/chfn.c: Added fail_exit(). Check if the passwd file is
4465         locked. Report failures to unlock to stderr and syslog.
4466         * src/chfn.c: Is case of failure, use fail_exit() rather than
4467         exit().
4468         * src/chfn.c: Ignore the return value of pam_end().
4469
4470 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
4471
4472         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h,
4473         lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
4474         Added *_dbname() functions to retrieve the name of the databases.
4475         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h,
4476         lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
4477         *_name() functions renamed *setname().
4478         * src/grpck.c, src/pwck.c: Likewise.
4479         * lib/groupio.h, lib/pwio.h, lib/sgroupio.h, lib/shadowio.h: Added
4480         the name of the arguments to the prototypes.
4481         * src/chage, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
4482         src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c,
4483         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
4484         src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
4485         src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c:
4486         Harmonize the error & syslog messages in case of failure of the
4487         *_lock(), *_open(), *_close(), *_unlock(), *_remove() functions.
4488         * src/chgpasswd.c, src/chpasswd.c, src/usermod.c: Avoid
4489         capitalized messages.
4490         * src/chpasswd.c, src/useradd.c, src/usermod.c: Harmonize messages
4491         in case of inexistent entries.
4492         * src/usermod.c:  Harmonize messages in case of already existing
4493         entries.
4494         * src/newusers.c, src/useradd.c: Simplify PAM error handling.
4495         * src/useradd.c: Report failures to unlock files (stderr, syslog,
4496         and audit). But do not fail (continue).
4497         * src/useradd.c (open_files): Do not report to syslog & audit
4498         failures to lock or open the databases. This might be harmless,
4499         and the logs were not already informed that a change was
4500         requested.
4501         * src/usermod.c: It's not the account which is unlocked, but its
4502         password.
4503
4504 2008-08-02  Nicolas François  <nicolas.francois@centraliens.net>
4505
4506         * src/groupadd.c: Harmonize error & syslog messages.
4507         * src/groupadd.c: Add logging to syslog & audit on lock/unlock
4508         failures.
4509         * src/groupadd.c: Only call gr_unlock() and sgr_unlock() in the
4510         group or gshadow files were previously locked.
4511         * src/groupadd.c: Make sure failures are reported to syslog/audit
4512         after the change is mentioned.
4513         * src/groupmod.c: Harmonize error & syslog messages.
4514         * src/groupmod.c: Add logging to syslog & audit on lock/unlock
4515         failures.
4516         * src/groupmod.c: Make sure issues are reported to syslog or audit
4517         after the change is mentioned.
4518         * src/groupdel.c: Harmonize error & syslog messages.
4519         * src/groupdel.c: Add logging to syslog & audit on lock/unlock
4520         failures.
4521         * src/groupdel.c: Only call gr_unlock() and sgr_unlock() in the
4522         group or gshadow files were previously locked.
4523         * src/groupdel.c: Simplify the handling of PAM errors.
4524
4525 2008-08-01  Nicolas François  <nicolas.francois@centraliens.net>
4526
4527         * src/gpasswd.c: Harmonize error & syslog messages.
4528         * src/gpasswd.c: Warn and log to syslog and audit when group or
4529         gshadow cannot be unlocked, but do not fail.
4530
4531 2008-08-01  Nicolas François  <nicolas.francois@centraliens.net>
4532
4533         * src/chfn.c, src/chsh.c, src/groupdel.c, src/groupmems.c,
4534         src/groupmod.c, src/grpck.c, src/login.c, src/logoutd.c,
4535         src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c,
4536         src/suauth.c, src/useradd.c, src/userdel.c, src/usermod.c,
4537         src/vipw.c: Complete the switch from the `' quotation style to ''.
4538         Do it also in SYSLOG messages. Quote some parameters. All this
4539         permits to merge some messages.
4540
4541 2008-07-30  Lukáš Kuklínek  <lkukline@redhat.com>
4542
4543         * src/groupmems.c: Only check if the adduser user exists when an
4544         user is specified with -a.
4545
4546 2008-07-30  Nicolas François  <nicolas.francois@centraliens.net>
4547
4548         * src/groupmems.c: Fix the groupmems' usage message. The -D option
4549         is in fact -p.
4550
4551 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4552
4553         * src/groupmems.c: Replace an if test by an else.
4554
4555 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4556
4557         * src/groupmems.c: Ignore the return value of fputs().
4558
4559 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4560
4561         * src/groupmems.c (whoami): Make sure usr and grp are not NULL
4562         before dereferencing them.
4563
4564 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4565
4566         * src/groupmems.c: Use xstrdup() rather than strdup().
4567
4568 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4569
4570         * src/groupmems.c: Add parenthesis.
4571         * src/groupmems.c: Avoid implicit conversion of pointers / chars to
4572         booleans.
4573
4574 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4575
4576         * NEWS, src/groupmems.c: Allow everybody to list the users of a group.
4577         This information is publicly available in /etc/group.
4578         * NEWS, src/groupmems.c: Open /etc/group read only for the -l option.
4579
4580 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4581
4582         * man/groupmems.8.xml: Sort options alphabetically.
4583
4584 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4585
4586         * src/groupmems.c (check_perms): Simplify. Always call pam_end()
4587         at the end of the authentication.
4588
4589 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4590
4591         * src/groupmems.c: Add fail_exit() to remove the group lock file
4592         in case of failure. Replace the calls to exit() by fail_exit().
4593
4594 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4595
4596         * src/groupmems.c: Reduce the number of checks. Isolate the
4597         parameters setting and permissions checking.
4598
4599 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4600
4601         * src/groupmems.c: Add functions process_flags() and check_perms()
4602         from code of main().
4603         * src/groupmems.c: Harmonize the failure message in case of PAM
4604         failure with the other programs.
4605
4606 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4607
4608         * src/groupmems.c: Remove isgroup(), which always returns TRUE.
4609
4610 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4611
4612         * src/groupmems.c: Reuse the functions from libmisc/list.c to deal
4613         with user lists. addtogroup() was broken when realloc() move the
4614         memory area.
4615         * src/groupmems.c: Report failures with the name of the program.
4616
4617 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4618
4619         * src/groupmems.c: EXIT_READ_GROUP changed to EXIT_INVALID_GROUP.
4620         * src/groupmems.c: EXIT_INVALID_USERNAME changed to EXIT_INVALID_USER.
4621
4622 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
4623
4624         * src/groupmems.c: Really use booleans.
4625         * src/groupmems.c: Change isroot() to a macro that returns a
4626         boolean.
4627
4628 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
4629
4630         * lib/defines.h: Make sure the booleans are defined before using
4631         them.
4632
4633 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
4634
4635         * src/groupmems.c: Added Prog global variable to indicate the name
4636         of the program in error messages.
4637
4638 2008-07-22  Lukáš Kuklínek  <lkukline@redhat.com>
4639
4640         * NEWS, src/groupmems.c: Check if the user added to group actually
4641         exist. RedHat bug #455603
4642         * NEWS, src/groupmems.c: Check if the group exists in the group
4643         local database (/etc/group). RedHat bug #456088
4644
4645 2008-07-22  Nicolas François  <nicolas.francois@centraliens.net>
4646
4647         * lib/prototypes.h: Fix getrange prototype.
4648
4649 2008-07-21  Seraphim Mellos  <mellos@ceid.upatras.gr>
4650
4651         * README, NEWS, configure.in, lib/pam_defs.h, src/login.c: Add
4652         support for OpenPAM.
4653
4654 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
4655
4656         * src/chage.c: Ignore the return value of pam_end() before exiting.
4657         * src/chage.c: Ignore return values of strftime(), snprintf(),
4658         puts(), printf(), and fputs().
4659         * src/chage.c: Check the return value of asctime().
4660
4661 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
4662
4663         * lib/gshadow.c: Avoid assignments in comparison.
4664
4665 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
4666
4667         * ChangeLog, NEWS, src/login.c: Re-inject the changes from 4.1.2.1.
4668
4669 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
4670
4671         * src/usermod.c: Do not call usr_update() if it will have no
4672         effects. This avoid checking if the user exists in the local passwd
4673         file if not necessary, and thus allow to add LDAP users to local
4674         groups. (The user is already checked against the system
4675         configuration with getpwnam()). Thanks to Dan Kopecek.
4676
4677 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
4678
4679         * src/usermod.c: Split update_files() into update_lastlog() and
4680         update_faillog(). Report errors (but don't fail) if the file
4681         exist, but open(), lseek(), read(), write(), or close() fails.
4682         * src/usermod.c: Add brackets and parenthesis.
4683         * src/usermod.c: Ignore the return value of pam_end() before
4684         exiting.
4685         * src/usermod.c: Ignore the return value of strftime(),
4686         snprintf(), and puts().
4687         * src/usermod.c: Check the return value of gmtime() and asctime(),
4688         and output the raw time_t on failures.
4689
4690 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
4691
4692         * libmisc/setugid.c: Add brackets.
4693
4694 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
4695
4696         * libmisc/env.c: Avoid implicit conversion of pointers / chars to
4697         booleans.
4698         * libmisc/env.c: Add brackets and parenthesis.
4699         * libmisc/env.c: Ignore the return value of puts() and fputs().
4700         * libmisc/env.c: Avoid multi-statements lines.
4701
4702 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
4703
4704         * libmisc/utmp.c: Avoid implicit conversion of pointers / chars to
4705         booleans.
4706         * libmisc/utmp.c: Add brackets and parenthesis.
4707         * libmisc/utmp.c: Exit with the EXIT_FAILURE status code in case
4708         of failure.
4709         * libmisc/utmp.c: Avoid assignments in comparisons.
4710         * lib/prototypes.h, libmisc/utmp.c: Change setutmp()'s prototype
4711         to return an int because pututline() and pututxline() may fail.
4712
4713 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
4714
4715         * libmisc/audit_help.c: Added one string for translation.
4716         * po/POTFILES.in: Added libmisc/audit_help.c,
4717         libmisc/find_new_gid.c, libmisc/find_new_uid.c, libmisc/getlong.c,
4718         libmisc/getrange.c, libmisc/xgetXXbyYY.c, and libmisc/yesno.c.
4719         Removed libmisc/find_new_ids.c
4720
4721 2008-06-16  Nicolas François  <nicolas.francois@centraliens.net>
4722
4723         * src/useradd.c: If the faillog file exist, warn in case of
4724         failure when open(), lssek(), write() or close() fails when the
4725         new user's faillog entry is reset.
4726         * src/useradd.c: Ditto for the lastlog entry.
4727
4728 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4729
4730         * libmisc/limits.c: Add brackets and parenthesis.
4731         * libmisc/limits.c: Avoid implicit conversion of pointers /
4732         integers to booleans.
4733         * libmisc/limits.c: Ignore the return value of umask(). We will
4734         never return to the original umask.
4735         * libmisc/limits.c: Avoid multi-statements lines.
4736         * libmisc/limits.c: Added default to a switch(). Report invalid
4737         limit strings to syslog.
4738         * libmisc/limits.c: Ignore the return value of fclose().
4739         /etc/limits is open read-only.
4740         * libmisc/limits.c: Ignore the return value of fputs() and
4741         sleep().
4742         * libmisc/limits.c: Check the return value of nice() and
4743         set_filesize_limit(), and report errors to syslog.
4744
4745 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4746
4747         * libmisc/ulimit.c, lib/prototypes.h: Return failures of
4748         set_filesize_limit(). Change the prototype to return an int
4749         instead of void.
4750
4751 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4752
4753         * libmisc/failure.c: Try to close the open file if a failure
4754         occured during lseek(), read() or write().
4755
4756 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4757
4758         * libmisc/log.c: Check return values. If lseek() failed, avoid
4759         reading or writing at an unspecified location. Log to syslog in
4760         case of failure.
4761         * libmisc/log.c: Use the right casts.
4762
4763 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4764
4765         * libmisc/find_new_ids.c, libmisc/find_new_gid.c,
4766         libmisc/find_new_uid.c, libmisc/Makefile.am, lib/prototypes.h:
4767         Split find_new_ids.c into find_new_gid.c and find_new_uid.c to
4768         ease the description of login.defs variables in the different
4769         tools.
4770
4771 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4772
4773         * libmisc/failure.c: Ignore the return value of strftime() and
4774         printf().
4775         * libmisc/failure.c: Fix syslog call. The UID is not available.
4776         User the username specified in the utmp/utmpx entry.
4777
4778 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4779
4780         * lib/defines.h: Avoid implicit conversion of pointers to
4781         booleans.
4782         * lib/defines.h: Ignore return values of setlocale() except the
4783         first call.
4784         * lib/defines.h: Fix a splint observer warning by using an
4785         intermediate variable (old_locale).
4786
4787 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4788
4789         * libmisc/failure.c: Check return values. If lseek() failed, avoid
4790         reading or writing at an unspecified location. Log to syslog in
4791         case of failure when reading a faillog entry or writing in
4792         faillog or btmp.
4793         * libmisc/failure.c: Check if the file exist before opening it.
4794         * libmisc/failure.c: Log failures of open() and close() when
4795         necessary.
4796
4797 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4798
4799         * lib/prototypes.h: Add the getrange() prototype.
4800         * lib/prototypes.h: Fix the valid_field() prototype (does not
4801         return an bool).
4802         * lib/prototypes.h: Fix the valid() prototype (it does return a
4803         bool).
4804
4805 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4806
4807         * lib/getdef.c: Fix the getdef_ulong() prototype.
4808         * lib/getdef.h: Fix the getdef_ulong() prototype.
4809
4810 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4811
4812         * src/lastlog.c: Use getrange to parse the range of users.
4813         * src/lastlog.c: umin and umax do not need to be signed long. Use
4814         an unsigned long which might be needed to parse a GID or UID. Add
4815         the has_umin and has_umax to replace the -1 values.
4816         * src/lastlog.c: Cast dates to time_t.
4817         * src/lastlog.c: Prefix lastlog errors with "lastlog: ".
4818
4819 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4820
4821         * libmisc/getlong.c: Reset errno before calling strtol().
4822         Otherwise, errno could be already set to ERANGE.
4823
4824 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4825
4826         * libmisc/Makefile.am, libmisc/getrange.c: Added function to parse
4827         a range (useful for lastlog).
4828
4829 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4830
4831         * src/chsh.c: <signal.h> is not needed.
4832
4833 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4834
4835         * lib/prototypes.h: Define AUDIT_NO_ID to (unsigned int) -1. This
4836         value should be used when the ID should not be considered.
4837         * lib/prototypes.h: Fix the prototype of do_rlogin() according to
4838         earlier changes.
4839
4840 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4841
4842         * lib/shadow.c: Use SHADOW_SP_FLAG_UNSET for the initial
4843         value of spwd.sp_flag.
4844         * lib/shadow.c: Add brackets.
4845         * lib/shadow.c: Avoid implicit conversion of pointers to
4846         booleans.
4847         * lib/shadow.c: The size argument of fgets is an int, not a
4848         size_t.
4849
4850 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4851
4852         * lib/commonio.c: len should be typed ssize_t as it is the return
4853         of read(), and is compared to 0. Cast to size_t when necessary.
4854
4855 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4856
4857         * libmisc/find_new_ids.c: Use getdef_ulong to retrieve UIDs/GIDs
4858         from login.defs. Type constants to long integers.
4859
4860 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4861
4862         * lib/gshadow.c: Use a bool when possible instead of int integers.
4863         * lib/gshadow.c: Remove __setsgNIS() -never used).
4864         * lib/gshadow.c: Avoid multi-statements lines.
4865         * lib/gshadow.c: Avoid assignments in comparisons.
4866         * lib/gshadow.c: ptr[nelem] is a string. Initialize it to NULL
4867         instead of '\0'.
4868         * lib/gshadow.c: Add brackets and parenthesis.
4869         * lib/gshadow.c: The size argument of strncpy is a size_t and the
4870         size argument of fgets is an int.
4871
4872 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4873
4874         * lib/groupio.c: Add brackets.
4875         * lib/groupio.c: Make sure malloc receives a size_t.
4876         * lib/groupio.c: Avoid multi-statements lines.
4877
4878 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4879
4880         * lib/sgetspent.c: Use SHADOW_SP_FLAG_UNSET for the initial
4881         value of spwd.sp_flag.
4882
4883 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4884
4885         * lib/getdef.h, lib/getdef.c: Add getdef_ulong().
4886         * lib/getdef.c: Added TODOs because of lack of error checking.
4887         * lib/getdef.c: The size argument of fgets is an int, not a
4888         size_t.
4889         * lib/getdef.c: Avoid multi-statements lines.
4890
4891 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4892
4893         * src/id.c: Make sure malloc receives a size_t.
4894         * src/id.c: Use a %lu format and cast group and user IDs to
4895         unsigned long integers.
4896
4897 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4898
4899         * src/sulogin.c: Ignore the return value of signal().
4900
4901 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4902
4903         * src/groups.c: sys_ngroups is only used when HAVE_GETGROUPS is
4904         defined.
4905
4906 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4907
4908         * src/faillog.c: Ignore return value of time() when use with a
4909         non NULL argument.
4910         * src/faillog.c: Use a %lu format and cast number of days to
4911         unsigned long integers.
4912         * src/faillog.c: Cast dates to time_t.
4913
4914 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4915
4916         * src/login.c: Ignore the return value of signal().
4917         * src/login.c: Use a %lu format and cast group and user IDs to
4918         unsigned long integers.
4919         * src/login.c: Ignore return value of setlocale(),
4920         bindtextdomain(), and textdomain().
4921
4922 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4923
4924         * src/chage.c: Add the arguments' names in the functions
4925         prototypes.
4926         * src/chage.c: The ID argument of audit_logger is an unsigned
4927         int. Use AUDIT_NO_ID instead of -1.
4928         * src/chage.c: print_date() received a time_t.
4929         * src/chage.c: Use SHADOW_SP_FLAG_UNSET for the initial
4930         value of spwent.sp_flag.
4931
4932 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4933
4934         * src/groupadd.c: The ID argument of audit_logger is an unsigned
4935         int. Use AUDIT_NO_ID instead of -1.
4936         * src/groupadd.c: Cast the parsed GID/UID to a gid_t/uid_t.
4937
4938 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4939
4940         * src/pwck.c: Use a %lu format and cast group and user IDs to
4941         unsigned long integers.
4942         * src/pwck.c: Cast number of days to a long integer.
4943         * src/pwck.c: Use the SCALE macro instead of (24L * 3600L)
4944         for the values to be set in /etc/shadow.
4945         * src/pwck.c: Use SHADOW_SP_FLAG_UNSET for the initial
4946         value of spent.sp_flag.
4947
4948 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4949
4950         * src/passwd.c: Ignore return value of time() when use with a
4951         non NULL argument.
4952         * src/passwd.c: Cast number of days to a long integer.
4953
4954 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4955
4956         * src/groupmod.c: The ID argument of audit_logger is an unsigned
4957         int. Use AUDIT_NO_ID instead of -1.
4958         * src/groupmod.c:  Use a %lu format and cast group and user IDs to
4959         unsigned long integers.
4960         * src/groupmod.c: Cast the parsed GID/UID to a gid_t/uid_t.
4961
4962 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4963
4964         * src/useradd.c: The ID argument of audit_logger is an unsigned
4965         int. Use AUDIT_NO_ID instead of -1.
4966         * src/useradd.c: Cast the parsed GID/UID to a gid_t/uid_t.
4967         * src/useradd.c: The size argument of fgets is an int, not a
4968         size_t.
4969         * src/useradd.c: Cast number of days to a long integer.
4970         * src/useradd.c: Use SHADOW_SP_FLAG_UNSET for the initial
4971         value of spent.sp_flag.
4972         * src/useradd.c: Use a %lu format and cast group and user IDs to
4973         unsigned long integers.
4974
4975 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4976
4977         * src/su.c: fork() and waitpid() return a pid_t, not an int.
4978         * src/su.c: Add brackets and parenthesis.
4979         * src/su.c: Ignore the return value of signal().
4980
4981 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4982
4983         * src/groupdel.c: The ID argument of audit_logger is an unsigned
4984         int. Use AUDIT_NO_ID instead of -1.
4985
4986 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4987
4988         * src/expiry.c: Ignore the return value of signal().
4989
4990 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4991
4992         * src/newusers.c: Fix the check for GID/UID validity.
4993         * src/newusers.c: Comment why we use both getgrgid() and
4994         gr_locate_gid().
4995         * src/newusers.c: Cast the parsed GID/UID to a gid_t/uid_t.
4996         * src/newusers.c: Cast the number of days to a long integer.
4997         * src/newusers.c: Use SHADOW_SP_FLAG_UNSET for the initial
4998         value of spent.sp_flag.
4999         * src/newusers.c: The size argument of fgets is an int, not a
5000         size_t.
5001
5002 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5003
5004         * src/usermod.c: Cast dates to time_t, and number of days to a
5005         long integer.
5006         * src/usermod.c: Cast UIDs and GIDs to uid_t and gid_t after
5007         checking the ranges.
5008         * src/usermod.c: The ID argument of audit_logger is an unsigned
5009         int.
5010         * src/usermod.c: read() returns a ssize_t.
5011         * src/usermod.c: Cast the return value of malloc and make sure it
5012         receives a size_t.
5013
5014 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5015
5016         * src/logoutd.c: Ignore return value of time() when use with a
5017         non NULL argument.
5018
5019 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5020
5021         * src/pwconv.c: Use SHADOW_SP_FLAG_UNSET for the initial
5022         value of sp.sp_flag.
5023         * src/pwconv.c: Cast number of days to a long integer.
5024
5025 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5026
5027         * src/gpasswd.c: The ID argument of audit_logger is an unsigned
5028         int.
5029         * src/gpasswd.c: Ignore the return value of signal(). The signal
5030         handlers are only changed for the last steps of gpasswd, and there
5031         is no need to restore them.
5032
5033 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5034
5035         * src/userdel.c: The ID argument of audit_logger is an unsigned
5036         int.
5037         * src/userdel.c: fork() and wait() return a pid_t, not an int.
5038
5039 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5040
5041         * src/newgrp.c: Use a %lu format and cast group and user IDs to
5042         unsigned long integers.
5043         * src/newgrp.c: The ID argument of audit_logger is an unsigned
5044         int.
5045         * src/newgrp.c: Ignore the return value of signal() (the signal
5046         handlers are assumed to be the default one and are restored
5047         later).
5048         * src/newgrp.c: Do not checl if a pid_t is < 0, check if equal
5049         to (pid_t)-1.
5050
5051 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5052
5053         * libmisc/isexpired.c: Cast number of days to a long integer.
5054         * libmisc/isexpired.c: Add brackets and parenthesis.
5055
5056 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5057
5058         * libmisc/copydir.c: Do not specify a size of arrays in the
5059         prototypes.
5060         * libmisc/copydir.c: Use a size_t for the length of strings.
5061         * libmisc/copydir.c: Cast the return value of malloc().
5062         * libmisc/copydir.c: The size argument of write() is a size_t.
5063
5064 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5065
5066         * libmisc/pwd2spwd.c: Cast number of days to a long integer.
5067         * libmisc/pwd2spwd.c: Use SHADOW_SP_FLAG_UNSET for the initial
5068         value of sp.sp_flag.
5069
5070 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5071
5072         * lib/defines.h: Include <config.h> since it uses the macro that
5073         might be defined in this header file.
5074         * lib/defines.h: Prefer checking if HAVE_LOCALE_H or ENABLE_NLS
5075         are defined (rather than set to non 0).
5076         * lib/defines.h: The dummy implementations of bindtextdomain() and
5077         textdomain() should return a pointer. Return NULL instead of
5078         /* empty */
5079         * lib/defines.h: Define SHADOW_SP_FLAG_UNSET, to be used for the
5080         initialization of sp_flag field of the shadow structures.
5081         * lib/defines.h: Define LC_ALL, needed even if HAVE_LOCALE_H is
5082         not defined.
5083
5084 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5085
5086         * libmisc/sulog.c: Ignore the return value of umask() when the
5087         mask is restored.
5088         * libmisc/sulog.c: Add brackets.
5089         * libmisc/sulog.c: Ignore return value of time() when use with a
5090         non NULL argument.
5091
5092 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5093
5094         * libmisc/log.c: Avoid assignments in comparisons.
5095         * libmisc/log.c: Add brackets and parenthesis.
5096         * libmisc/log.c: read() returns a ssize_t (note size_t).
5097         * libmisc/log.c: Avoid implicit conversion of pointers to
5098         booleans.
5099         * libmisc/log.c: Ignore return value of time() when use with a
5100         non NULL argument.
5101
5102 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5103
5104         * libmisc/strtoday.c: Avoid implicit conversion of pointers to
5105         booleans.
5106         * libmisc/strtoday.c: Add brackets and parenthesis.
5107
5108 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5109
5110         * libmisc/salt.c: Use a size_t for the size of strings instead of
5111         unsigned int.
5112         * libmisc/salt.c: Add brackets and parenthesis.
5113         * libmisc/salt.c: Avoid assignments in comparisons.
5114
5115 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5116
5117         * libmisc/age.c: fork() and wait() return a pid_t, not an int.
5118         * libmisc/age.c: Avoid implicit conversion of pointers to
5119         booleans.
5120         * libmisc/age.c: Avoid assignments in comparisons.
5121         * libmisc/age.c: Ignore the return value of printf(), puts(),
5122         fputs() and fflush().
5123         * libmisc/age.c: Add brackets and parenthesis.
5124         * libmisc/age.c: Cast the return value of time() to long and
5125         converted to a date.
5126
5127 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5128
5129         * libmisc/rlogin.c: The size argument of read() is a size_t.
5130         Propagate this time to the callers (the get_remote_string() and
5131         do_rlogin() functions).
5132         * libmisc/rlogin.c: Add brackets and parenthesis.
5133         * libmisc/rlogin.c: Avoid multi-statements lines.
5134         * libmisc/rlogin.c: Avoid assignments in comparisons.
5135         * libmisc/rlogin.c: Avoid implicit conversion of pointers to
5136         booleans.
5137
5138 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5139
5140         * libmisc/failure.c: Avoid assignments in comparisons.
5141         * libmisc/failure.c: read() returns a ssize_t.
5142         * libmisc/failure.c: Add brackets and parenthesis.
5143         * libmisc/failure.c: Ignore return value of time() when use with a
5144         non NULL argument.
5145
5146 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5147
5148         * libmisc/chowntty.c: Avoid assignments in comparisons.
5149         * libmisc/chowntty.c: Avoid implicit conversion of pointers to
5150         booleans.
5151         * libmisc/chowntty.c: Add brackets and parenthesis.
5152
5153 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5154
5155         * libmisc/audit_help.c: Add brackets.
5156
5157 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5158
5159         * libmisc/addgrps.c: Avoid implicit conversion of pointers to
5160         booleans.
5161         * libmisc/addgrps.c: Add brackets.
5162
5163 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5164
5165         * libmisc/utmp.c: Avoid implicit conversion of pointers to
5166         booleans.
5167
5168 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
5169
5170         * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c,
5171         libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/tz.c,
5172         src/login_nopam.c, src/chpasswd.c, src/chgpasswd.c, lib/port.c:
5173         The size argument of fgets is an int, not a size_t.
5174         * libmisc/loginprompt.c: Ignore the return value from signal()
5175         when the signal handlers are restored.
5176         * src/chpasswd.c: Cast the return value of time() to a long
5177         integer.
5178         * src/chpasswd.c: Use the SCALE macro instead of (24L * 3600L)
5179         for the values to be set in /etc/shadow.
5180
5181 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5182
5183         * src/pwck.c: Use a bool when possible instead of int integers.
5184         * src/pwck.c: Avoid implicit conversion of integers to booleans.
5185
5186 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5187
5188         * src/su.c: Use a bool when possible instead of int integers.
5189         * src/su.c: Add brackets and parenthesis.
5190         * src/su.c: Avoid implicit conversion of pointers / integers
5191         / chars to booleans.
5192         * src/su.c: Ignore the return value of pam_end() before
5193         exiting.
5194         * src/su.c: Avoid assignments in comparisons.
5195         * src/su.c: Avoid multi-statements lines.
5196
5197 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5198
5199         * lib/prototypes.h, libmisc/valid.c: Change the prototype of
5200         valid() to return a bool.
5201         * libmisc/valid.c: Add parenthesis.
5202
5203 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5204
5205         * lib/commonio.c: Add brackets and parenthesis.
5206         * lib/commonio.c: Check the result of fgets().
5207         * lib/commonio.c: Avoid implicit conversion of pointers to
5208         booleans.
5209
5210 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5211
5212         * lib/prototypes.h: Fix the prototypes to match earlier changes.
5213
5214 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5215
5216         * lib/nscd.c: Include defines.h.
5217         * lib/nscd.c: Always warn when the nscd cache cannot be flushed.
5218         * lib/nscd.c: Avoid assignments in comparisons.
5219         * lib/nscd.c: Ignore the return value of fputs() when printing
5220         errors.
5221
5222 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5223
5224         * lib/port.c: Add brackets and parenthesis.
5225         * lib/port.c: Change isttytime() prototype to return a bool.
5226         * lib/port.c: Ignore the return value of fclose () (file open
5227         read-only).
5228         * lib/port.c: Avoid multi-statements lines.
5229
5230 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5231
5232         * src/id.c: Ignore the return value of fputs(), puts(), putchar(),
5233         and printf().
5234         * src/id.c: Ignore return value of setlocale(),
5235         bindtextdomain(), and textdomain().
5236         * src/id.c: Add brackets and parenthesis.
5237         * src/id.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/chsh.c: Use a bool when possible instead of int integers.
5243         * src/chsh.c: restricted_shell() renamed is_restricted_shell().
5244         check_shell() renamed shell_is_listed().
5245         * src/chsh.c: Ignore return value of setlocale(),
5246         bindtextdomain(), and textdomain().
5247         * src/chsh.c: Avoid implicit conversion of pointers / integers
5248         to booleans.
5249         * src/chsh.c: Ignore the return value of pam_end() before
5250         exiting.
5251
5252 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5253
5254         * src/grpunconv.c: Use a bool when possible instead of int
5255         integers.
5256         * src/grpunconv.c: Add brackets and parenthesis.
5257         * src/grpunconv.c: Ignore return value of setlocale(),
5258         bindtextdomain(), and textdomain().
5259         * src/grpunconv.c: Avoid implicit conversion of pointers / integers
5260         to booleans.
5261
5262 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5263
5264         * src/sulogin.c: Ignore return value of setlocale(),
5265         bindtextdomain(), and textdomain().
5266         * src/sulogin.c: Avoid implicit conversion of pointers / integers
5267         / chars to booleans.
5268         * src/sulogin.c: Avoid assignments in comparisons.
5269         * src/sulogin.c: Ignore the return value of alarm().
5270
5271 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5272
5273         * src/groups.c: Use a bool when possible instead of int integers.
5274         * src/groups.c: Add brackets and parenthesis.
5275         * src/groups.c: Avoid implicit conversion of pointers / integers
5276         to booleans.
5277         * src/groups.c: Avoid assignments in comparisons.
5278         * src/groups.c: Ignore the return value of putchar(), printf()
5279         * src/groups.c: Ignore return value of setlocale(),
5280         bindtextdomain(), and textdomain().
5281
5282 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5283
5284         * src/grpconv.c: Use a bool when possible instead of int integers.
5285         * src/grpconv.c: Add brackets and parenthesis.
5286         * src/grpconv.c: Ignore return value of setlocale(),
5287         bindtextdomain(), and textdomain().
5288         * src/grpconv.c: Avoid implicit conversion of pointers / integers
5289         to booleans.
5290
5291 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5292
5293         * src/faillog.c: Use a bool when possible instead of int integers.
5294         * src/faillog.c: Avoid implicit conversion of pointers / integers
5295         / chars to booleans.
5296         * src/faillog.c: Ignore return value of setlocale(),
5297         bindtextdomain(), and textdomain().
5298         * src/faillog.c: Add brackets and parenthesis.
5299
5300 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5301
5302         * src/login.c: Avoid multi-statements lines.
5303         * src/login.c: Ignore the return value of pam_end() before
5304         exiting.
5305         * src/login.c: Use a bool when possible instead of int integers.
5306         * src/login.c: Add brackets and parenthesis.
5307         * src/login.c: Ignore the return values of fflush(), putchar(), puts().
5308         * src/login.c: Ignore the return value of fclose() for read-only
5309         files.
5310         * src/login.c: Avoid assignments in comparisons.
5311         * src/login.c: Ignore return value of setlocale(),
5312         bindtextdomain(), and textdomain().
5313         * src/login.c: Avoid implicit conversion of pointers / integers
5314         / chars to booleans.
5315
5316 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5317
5318         * src/chage.c: Use a bool when possible instead of int integers.
5319         * src/chage.c: Ignore return value of setlocale(),
5320         bindtextdomain(), and textdomain().
5321
5322 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5323
5324         * src/groupadd.c: Use a bool when possible instead of int
5325         integers.
5326         * src/groupadd.c: Add brackets and parenthesis.
5327         * src/groupadd.c: Avoid implicit conversion of pointers / integers
5328         / chars to booleans.
5329         * src/groupadd.c: Ignore return value of setlocale(),
5330         bindtextdomain(), and textdomain().
5331         * src/groupadd.c: Ignore the return value of pam_end() before
5332         exiting.
5333
5334 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5335
5336         * src/pwck.c: Use a bool when possible instead of int integers.
5337         * src/pwck.c: Ignore return value of setlocale(),
5338         bindtextdomain(), and textdomain().
5339
5340 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5341
5342         * src/passwd.c: Use a bool when possible instead of int integers.
5343         * src/passwd.c: Avoid assignments in comparisons.
5344         * src/passwd.c: Add brackets and parenthesis.
5345         * src/passwd.c: Avoid implicit conversion of pointers / integers /
5346         chars to booleans.
5347         * src/passwd.c: Move the "context_t c" declaration at the
5348         beginning check_selinux_access.
5349         * src/passwd.c: Ignore return value of setlocale(),
5350         bindtextdomain(), and textdomain().
5351
5352 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
5353
5354         * src/groupmod.c: Use a bool when possible instead of int
5355         integers.
5356         * src/groupmod.c: Avoid assignments in comparisons.
5357         * src/groupmod.c: Add brackets and parenthesis.
5358         * src/groupmod.c: Avoid implicit conversion of pointers / integers
5359         / chars to booleans.
5360         * src/groupmod.c: Use a %lu format to print GIDs, and cast the GID
5361         to (unsigned long int).
5362         * src/groupmod.c: Ignore return value of setlocale(),
5363         bindtextdomain(), and textdomain().
5364         * src/groupmod.c: Ignore the return value of pam_end() before
5365         exiting.
5366
5367 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5368
5369         * src/su.c: Ignore return value of setlocale(),
5370         bindtextdomain(), and textdomain().
5371
5372 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5373
5374         * src/useradd.c: Use a bool when possible instead of int integers.
5375         * src/useradd.c: Avoid implicit conversion of pointers / integers
5376         / chars to booleans.
5377         * src/useradd.c: Add brackets and parenthesis.
5378         * src/useradd.c: Avoid assignments in comparisons.
5379         * src/useradd.c: Ignore the return value of fclose() for read-only
5380         files.
5381         * src/useradd.c: Ignore the return value of fflush() before
5382         closing the files.
5383         * src/useradd.c: Avoid multi-statements lines.
5384         * src/useradd.c: Ignore return value of setlocale(),
5385         bindtextdomain(), and textdomain().
5386         * src/useradd.c: Ignore the return value of pam_end() before
5387         exiting.
5388
5389 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5390
5391         * src/vipw.c: Use a bool when possible instead of int integers.
5392         * src/vipw.c: Ignore the return value of umask(), when the mask is
5393         set again to the old value.
5394         * src/vipw.c: Avoid implicit conversion of pointers / integers to
5395         booleans.
5396         * src/vipw.c: Add brackets and parenthesis.
5397         * src/vipw.c: Avoid assignments in comparisons.
5398         * src/vipw.c: Ignore return value of setlocale(),
5399         bindtextdomain(), and textdomain().
5400         * src/vipw.c: Add missing termination of the longopts parameter
5401         for getopt_long().
5402
5403 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5404
5405         * src/chgpasswd.c: Use a bool when possible instead of int
5406         integers.
5407         * src/chgpasswd.c: Ignore return value of setlocale(),
5408         bindtextdomain(), and textdomain().
5409         * src/chgpasswd.c: Avoid implicit conversion of integers to
5410         booleans.
5411
5412 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5413
5414         * src/groupdel.c: Use a bool when possible instead of int
5415         integers.
5416         * src/groupdel.c: Avoid implicit conversion of pointers / integers to
5417         booleans.
5418         * src/groupdel.c: Avoid assignments in comparisons.
5419         * src/groupdel.c: Ignore the return value of pam_end() before
5420         exiting.
5421         * src/groupdel.c: Ignore return value of setlocale(),
5422         bindtextdomain(), and textdomain().
5423
5424 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5425
5426         * src/expiry.c: Ignore return value of setlocale(),
5427         bindtextdomain(), and textdomain().
5428         * src/expiry.c: Add brackets and parenthesis.
5429         * src/expiry.c: Avoid assignments in comparisons.
5430         * src/expiry.c: Avoid implicit conversion of pointers to booleans.
5431
5432 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5433
5434         * src/pwunconv.c: Use a bool when possible instead of int
5435         integers.
5436         * src/pwunconv.c: Add brackets and parenthesis.
5437         * src/pwunconv.c: Ignore return value of setlocale(),
5438         bindtextdomain(), and textdomain().
5439         * src/pwunconv.c: Avoid implicit conversion of pointers / integers
5440         / chars to booleans.
5441         * src/pwunconv.c: Avoid assignments in comparisons.
5442
5443 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5444
5445         * src/usermod.c: Use a bool when possible instead of int integers.
5446         * src/usermod.c: Add brackets and parenthesis.
5447         * src/usermod.c: Avoid implicit conversion of pointers / integers
5448         / chars to booleans.
5449         * src/usermod.c: Avoid assignments in comparisons.
5450         * src/usermod.c: Ignore return value of setlocale(),
5451         bindtextdomain(), and textdomain().
5452         * src/usermod.c: Ignore the return value of pam_end() before
5453         exiting.
5454
5455 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5456
5457         * src/groupmems.c: Move the declaration of option_index and
5458         long_options before the blocks of code.
5459         * src/groupmems.c: Ignore return value of setlocale(),
5460         bindtextdomain(), and textdomain().
5461         * src/groupmems.c: Ignore the return value of pam_end() before
5462         exiting.
5463
5464 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5465
5466         * src/chfn.c: Use a bool when possible instead of int integers.
5467         * src/chfn.c: Avoid implicit conversion of integers / chars to
5468         booleans.
5469         * src/chfn.c: Ignore return value of setlocale(),
5470         bindtextdomain(), and textdomain().
5471
5472 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5473
5474         * src/logoutd.c: Use a bool when possible instead of int integers.
5475         * src/logoutd.c: Avoid implicit conversion of pointers / integers
5476         / chars to booleans.
5477         * src/logoutd.c: Ignore return value of setlocale(),
5478         bindtextdomain(), and textdomain().
5479         * src/logoutd.c: Add brackets and parenthesis.
5480
5481 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5482
5483         * src/chpasswd.c: Use a bool when possible instead of int
5484         integers.
5485         * src/chpasswd.c: Avoid implicit conversion of pointers / integers
5486         / chars to booleans.
5487         * src/chpasswd.c: Ignore return value of setlocale(),
5488         bindtextdomain(), and textdomain().
5489
5490 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5491
5492         * src/pwconv.c: Use a bool when possible instead of int integers.
5493         * src/pwconv.c: Add brackets and parenthesis.
5494         * src/pwconv.c: Ignore return value of setlocale(),
5495         bindtextdomain(), and textdomain().
5496         * src/pwconv.c: Avoid implicit conversion of pointers / integers /
5497         chars to booleans.
5498
5499 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5500
5501         * NEWS, src/newusers.c: Implement the -r, --system option.
5502         * src/newusers.c: Use a bool when possible instead of int
5503         integers.
5504         * src/newusers.c: Avoid implicit conversion of pointers / integers
5505         / chars to booleans.
5506         * src/newusers.c: Ignore the return value of pam_end() before
5507         exiting.
5508         * src/newusers.c: Ignore return value of setlocale(),
5509         bindtextdomain(), and textdomain().
5510         * src/newusers.c: Avoid multi-statements lines.
5511         * src/newusers.c: Add brackets and parenthesis.
5512
5513 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5514
5515         * src/gpasswd.c: Use a bool when possible instead of int integers.
5516         * src/gpasswd.c: Avoid implicit conversion of pointers / integers
5517         / chars to booleans.
5518         * src/gpasswd.c: Ignore the return value of putchar() and fflush()
5519         before exiting.
5520         * src/gpasswd.c: check_list() renamed is_valid_user_list(), and
5521         return a bool.
5522         * src/gpasswd.c: Ignore return value of setlocale(),
5523         bindtextdomain(), and textdomain().
5524
5525 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5526
5527         * src/grpck.c: Use a bool when possible instead of int integers.
5528         * src/grpck.c: Ignore return value of setlocale(),
5529         bindtextdomain(), and textdomain().
5530
5531 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5532
5533         * src/lastlog.c: Use a bool when possible instead of int integers.
5534         * src/lastlog.c: Avoid implicit conversion of pointers / integers
5535         / chars to booleans.
5536         * src/lastlog.c: Add brackets and parenthesis.
5537         * src/lastlog.c: Ignore return value of setlocale(),
5538         bindtextdomain(), and textdomain().
5539
5540 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5541
5542         * src/userdel.c: Use a bool for the is_shadow_pwd, is_shadow_grp,
5543         deleted_user_group, was_member, was_admin, and the
5544         options' flags.
5545         * src/userdel.c: Change path_prefix() prototype to return a bool.
5546         * src/userdel.c: Ignore return value of setlocale(),
5547         bindtextdomain(), and textdomain().
5548         * src/userdel.c: Ignore the return value from pam_end() since we
5549         are exiting anyway just afterwards.
5550         * src/userdel.c: Avoid implicit conversion of pointers /
5551         integers / chars to booleans.
5552         * src/userdel.c: Add brackets and parenthesis.
5553         * src/userdel.c: Avoid assignments in comparisons.
5554         * src/userdel.c: Do not ignore the return value of the *_unlock()
5555         functions.
5556
5557 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5558
5559         * src/login_nopam.c: Do not use the YES and NO macros. Use the
5560         booleans true and false instead. Change the prototypes of
5561         list_match(), user_match(), from_match(), and string_match()
5562         accordingly. Also use booleans internally.
5563         * src/login_nopam.c: Add brackets and parenthesis.
5564         * src/login_nopam.c: Avoid implicit conversion of pointers /
5565         integers / chars to booleans.
5566         * src/login_nopam.c: Avoid assignments in comparisons.
5567
5568 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5569
5570         * src/newgrp.c: Use a bool for is_newgrp, notfound, needspasswd,
5571         initflag, and cflag.
5572         * src/newgrp.c: Add brackets and parenthesis.
5573         * src/newgrp.c: Avoid implicit conversion of pointers / integers /
5574         chars to booleans.
5575         * src/newgrp.c: Avoid multi-statements lines.
5576         * src/newgrp.c: Ignore return value of setlocale(),
5577         bindtextdomain(), and textdomain().
5578         * src/newgrp.c: Avoid assignments in comparisons.
5579
5580 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5581
5582         * libmisc/list.c: Change is_on_list() prototype to return a bool.
5583
5584 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5585
5586         * libmisc/find_new_ids.c: Change find_new_uid() and find_new_gid()
5587         prototypes to use a bool for their first argument (sys_user /
5588         sys_group).
5589
5590 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5591
5592         * libmisc/console.c: Change is_listed() prototype to return a bool.
5593         The default parameter should also be a bool.
5594         * libmisc/console.c: Add brackets and parenthesis.
5595         * libmisc/console.c: Avoid assignments in comparisons.
5596         * libmisc/console.c: Change console() prototype to return a bool.
5597
5598 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5599
5600         * lib/sgetspent.c: Add brackets and parenthesis.
5601         * lib/sgetspent.c: Avoid assignments in comparisons.
5602         * lib/sgetspent.c: Avoid implicit conversion of pointers / chars
5603         to booleans.
5604         * lib/sgetspent.c: Avoid multi-statements lines.
5605
5606 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5607
5608         * lib/sgetpwent.c: Avoid implicit conversion of pointers / chars to
5609         booleans.
5610         * lib/sgetpwent.c: Add brackets and parenthesis.
5611         * lib/sgetpwent.c: Return NULL instead of 0.
5612         * lib/sgetpwent.c: Do not check twice if fields[2] and fields[3]
5613         are not empty.
5614         * lib/sgetpwent.c: Avoid assignments in comparisons.
5615
5616 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5617
5618         * libmisc/getdate.y: abbrev is a bool.
5619         * libmisc/getdate.y: Avoid implicit conversion of pointers / chars /
5620         integers to booleans.
5621
5622 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5623
5624         * lib/prototypes.h: Fix prototypes according to earlier changes
5625         (usage of the bool type).
5626         * lib/prototypes.h: Add the arguments' name to the prototypes.
5627
5628 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5629
5630         * lib/groupio.h: Add protection against multiple inclusions.
5631
5632 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5633
5634         * lib/pwio.h: Add protection against multiple inclusions.
5635         * lib/pwio.c: The changed, isopen, locked, and readonly fields
5636         of the db are booleans.
5637
5638 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5639
5640         * lib/shadowio.h, lib/shadowio.c: spw_file_present returns a bool.
5641         * lib/shadowio.h: Add protection against multiple inclusions.
5642         * lib/shadowio.c: The changed, isopen, locked, and readonly fields
5643         of the db are booleans.
5644
5645 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5646
5647         * lib/sgroupio.c: Avoid assignments in comparisons.
5648         * lib/sgroupio.c: Add brackets.
5649         * lib/sgroupio.c: Avoid implicit conversion of pointers / integers
5650         to booleans.
5651         * lib/sgroupio.c: The changed, isopen, locked, and readonly fields
5652         of the db are booleans.
5653         * lib/sgroupio.h, lib/sgroupio.c: sgr_file_present returns a bool.
5654         * lib/sgroupio.h: Add protection against multiple inclusions.
5655
5656 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5657
5658         * lib/gshadow.c: nis_used and nis_bound are booleans.
5659         * lib/gshadow.c: Avoid implicit conversion of pointers / integers
5660         to booleans.
5661         * lib/gshadow.c: Avoid assignments in comparisons.
5662         * lib/gshadow.c: Add brackets.
5663
5664 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5665
5666         * lib/groupio.c: The changed, isopen, locked, and readonly fields
5667         of the db are booleans.
5668         * lib/groupio.h: Add protection against multiple inclusion.
5669
5670 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5671
5672         * lib/sgetgrent.c: Avoid implicit conversion of pointers / chars
5673         to booleans.
5674         * lib/sgetgrent.c: Avoid assignments in comparisons.
5675         * lib/sgetgrent.c: Add brackets.
5676
5677 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5678
5679         * lib/encrypt.c: Avoid implicit conversion of pointers to
5680         booleans.
5681         * lib/encrypt.c: Add parenthesis.
5682
5683 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5684
5685         * lib/port.c: Avoid implicit conversion of pointers / integers /
5686         chars to booleans.
5687         * lib/port.c: Avoid multiple statement on the same line.
5688         * lib/port.c: Add brackets and parenthesis.
5689         * lib/port.c: Avoid assignments in comparisons.
5690         * lib/port.c: Fix typo comparision -> comparison (in comment).
5691
5692 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5693
5694         * lib/fputsx.c: Add brackets.
5695         * lib/fputsx.c: Avoid assignments in comparisons.
5696         * lib/fputsx.c: Avoid implicit conversion of pointers / integers /
5697         chars to booleans.
5698
5699 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5700
5701         * lib/commonio.h: commonio_entry.changed, commonio_db.changed,
5702         commonio_db.isopen, commonio_db.locked, and commonio_db.readonly
5703         are no booleans.
5704         * lib/commonio.h: Include defines.h to get the definition of bool.
5705         * lib/commonio.h: commonio_present returns a bool
5706         * lib/commonio.c: Implement above changes.
5707         * lib/commonio.c: add argument names in prototypes.
5708         * lib/commonio.c: name_is_nis returns a bool.
5709         * lib/commonio.c: nscd_need_reload is a bool.
5710         * lib/commonio.c: Improve types (use size_t / pid_t when needed
5711         instead of int).
5712         * lib/commonio.c: Avoid assignments in comparisons.
5713         * lib/commonio.c: Add brackets and parenthesis.
5714         * lib/commonio.c: Avoid implicit conversion of pointers / integers
5715         to booleans
5716         * lib/commonio.c: The return values of utime is not checked on
5717         purpose.
5718
5719 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5720
5721         * libmisc/isexpired.c: ARGSUSED is no more needed (shadow is
5722         always supported).
5723         * libmisc/isexpired.c: Avoid implicit conversion of pointers to
5724         booleans.
5725         * libmisc/isexpired.c: Add brackets and parenthesis.
5726
5727 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5728
5729         * libmisc/sulog.c (sulog): The success argument is a bool.
5730         * libmisc/sulog.c: The return values of fflush is not checked on
5731         purpose.
5732         * libmisc/sulog.c: Indicate that some return values should be
5733         checked.
5734
5735 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5736
5737         * libmisc/ttytype.c: Avoid implicit conversion of pointers /
5738         integers to booleans.
5739         * libmisc/ttytype.c: Avoid assignments in comparisons.
5740         * libmisc/ttytype.c: Add brackets and parenthesis.
5741         * libmisc/ttytype.c: The return values of fclose is not checked on
5742         purpose.
5743
5744 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5745
5746         * libmisc/mail.c: Avoid implicit conversion of pointers to
5747         booleans.
5748         * libmisc/mail.c: Avoid assignments in comparisons.
5749
5750 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5751
5752         * libmisc/loginprompt.c: Avoid implicit conversion of pointers /
5753         chars to booleans.
5754         * libmisc/loginprompt.c: Add brackets.
5755         * libmisc/loginprompt.c: Avoid assignments in comparisons.
5756         * libmisc/loginprompt.c: The return values of fclose and fflush
5757         are not checked on purpose.
5758
5759 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5760
5761         * libmisc/setupenv.c: Avoid implicit conversion of chars to
5762         booleans.
5763
5764 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5765
5766         * libmisc/copydir.c: selinux_checked, selinux_enabled, and set_orig
5767         are now booleans.
5768
5769 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5770
5771         * libmisc/setugid.c (setup_uid_gid): The is_console argument is now
5772         a bool.
5773         * libmisc/setugid.c: Avoid implicit conversion of integers /
5774         pointers to booleans.
5775         * libmisc/setugid.c: Add brackets.
5776
5777 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5778
5779         * libmisc/pam_pass.c (do_pam_passwd): The silent and
5780         change_expired are no booleans instead of int.
5781         * libmisc/pam_pass.c: The return value of pam_end is not checked
5782         on purpose.
5783
5784 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5785
5786         * libmisc/getlong.c: Avoid implicit conversion of pointers / chars
5787         to booleans.
5788         * libmisc/getlong.c: Add brackets.
5789
5790 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5791
5792         * libmisc/valid.c: Avoid implicit conversion of pointers / chars
5793         to booleans.
5794         * libmisc/valid.c: Add brackets.
5795
5796 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5797
5798         * libmisc/yesno.c: yes_or_no returns a bool instead of int.
5799         * libmisc/yesno.c: Avoid implicit conversion of pointers to
5800         booleans.
5801         * libmisc/yesno.c: The return value of fflush is not checked
5802         on purpose.
5803
5804 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5805
5806         * libmisc/age.c: Avoid implicit conversion of integers to
5807         booleans.
5808
5809 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5810
5811         * libmisc/rlogin.c: Avoid assignments in comparisons.
5812         * libmisc/rlogin.c: Avoid implicit conversion of integers to
5813         booleans.
5814         * libmisc/rlogin.c: Add brackets.
5815
5816 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5817
5818         * libmisc/failure.c (failcheck): The failed argument is a bool.
5819         * libmisc/failure.h: Likewise.
5820         * libmisc/failure.c (too_many_failures): too_many_failures returns
5821         a bool.
5822         * libmisc/failure.c: Add notes about unchecked return values.
5823         * libmisc/failure.c: Avoid assignments in comparisons.
5824         * libmisc/failure.c: Add brackets.
5825
5826 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5827
5828         * libmisc/myname.c: Avoid assignments in comparisons.
5829         * libmisc/myname.c: Avoid implicit conversion of pointers / chars
5830         to booleans.
5831         * libmisc/myname.c: Add brackets.
5832
5833 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5834
5835         * libmisc/utmp.c (checkutmp): Change picky argument's type to
5836         bool.
5837         * libmisc/utmp.c: Use bool when possible (found_utmpx,
5838         found_utmp).
5839         * libmisc/utmp.c: Add note about unchecked return values.
5840
5841 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5842
5843         * libmisc/addgrps.c: Change type of added to bool.
5844         * libmisc/addgrps.c: Avoid implicit conversion of pointers to
5845         booleans.
5846
5847 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5848
5849         * libmisc/hushed.c: hushed returns a bool instead of int.
5850         * libmisc/hushed.c: Avoid assignments in comparisons.
5851         * libmisc/hushed.c (hushed): Change type of found to bool.
5852         * libmisc/hushed.c: Add brackets.
5853         * libmisc/hushed.c: Always check if the user or the shell is in
5854         the file. Do not check the first character of the line first. This
5855         is simpler and match better with the HUSHLOGIN_FILE documentation.
5856
5857 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5858
5859         * lib/getdef.h, lib/getdef.c: getdef_bool returns a bool instead
5860         of int.
5861         * lib/getdef.c: Change typo of def_loaded to bool.
5862         * lib/getdef.c: Add brackets.
5863         * lib/getdef.c: Avoid assignments in comparisons.
5864
5865 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5866
5867         * libmisc/chowntty.c: is_my_tty returns a bool.
5868         * libmisc/chowntty.c: Avoid implicit conversion of integers to
5869         booleans.
5870         * libmisc/chowntty.c: Add brackets.
5871
5872 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5873
5874         * libmisc/chowndir.c: Avoid assignment in comparisons, implicit
5875         comparison of integers to booleans.
5876         * libmisc/chowndir.c: The return value of closedir is not checked
5877         on purpose.
5878         * libmisc/chowndir.c: Add brackets.
5879
5880 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5881
5882         * libmisc/chkname.h, libmisc/chkname.c: check_group_name (resp.
5883         check_user_name) renamed to is_valid_user_name (resp.
5884         is_valid_group_name). is_valid_user_name and is_valid_group_name
5885         return a bool.
5886         * src/grpck.c, src/newusers.c, src/usermod.c, src/useradd.c,
5887         src/groupmod.c, src/pwck.c, src/groupadd.c: Use is_valid_user_name
5888         and is_valid_group_name, following above change.
5889         * libmisc/chkname.c: Avoid implicit conversion of chars to
5890         booleans. Add brackets and parenthesis.
5891
5892 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5893
5894         * libmisc/xmalloc.c: Avoid implicit conversion of integers /
5895         pointers to booleans.
5896         * libmisc/xgetXXbyYY.c: Likewise.
5897
5898 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5899
5900         * configure.in, lib/defines.h: Allow usage of booleans in the
5901         source.
5902
5903 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5904
5905         * configure.in: Allow --disable-man and --enable-man=no.
5906
5907 2008-06-26  Nicolas François  <nicolas.francois@centraliens.net>
5908
5909         Prepare the 4.1.2.1 release
5910         * NEWS: set the release date.
5911         * man/po/*.po, po/*.po: Updated PO files.
5912         * configure.in: Set the version to 4.1.2.1.
5913
5914 2008-06-26  Nicolas François  <nicolas.francois@centraliens.net>
5915
5916         * NEWS, src/login.c: Fix an "audit log injection" vulnerability in
5917         login. This is similar to CVE-2008-1926 (util-linux-ng's login).
5918         This vulnerability makes it easier for attackers to hide
5919         activities by modifying portions of log events, e.g. by appending
5920         an addr= statement to the login name.
5921         * lib/prototypes.h: Added definition of AUDIT_NO_ID.
5922
5923 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5924
5925         Prepare the 4.1.2 release
5926         * NEWS: set the release date.
5927         * man/po/*.po, po/*.po: Updated PO files.
5928         * configure.in: Set the version to 4.1.2.
5929
5930 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5931
5932         * po/Makevars, man/po/Makefile.in.in: Run msgmerge with
5933         --previous. (This requires gettext >= 0.16)
5934
5935 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5936
5937         * libmisc/copydir.c (remove_tree): As we always use remove_tree
5938         followed by rmdir to remove the directory itself, delete also the
5939         root directory in remove_tree.
5940         * src/userdel.c, src/usermod.c: Do not call rmdir after
5941         remove_tree.
5942
5943 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5944
5945         * libmisc/copydir.c (remove_tree): Make sure unlink is successful
5946         when removing files.
5947
5948 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5949
5950         * libmisc/pwdcheck.c: Simply passwd_check since it's never used
5951         when configured with PAM support.
5952
5953 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5954
5955         Fix compiler warnings:
5956         * libmisc/audit_help.c: Include prototypes.h to get the prototype
5957         of audit_help_open.
5958         * libmisc/salt.c: Use booleans instead of negating integers.
5959         * src/passwd.c: Declare the check_selinux_access prototype and
5960         avoid name clashes (change_user -> changed_user; change_uid ->
5961         changed_uid; access -> requested_access)
5962         * libmisc/list.c: Avoid assignments in comparisons, assignments
5963         with post increments (x++), use of integers as booleans, and
5964         explicitly mark blocks with brackets.
5965         * libmisc/fields.c: Likewise.
5966         * libmisc/copydir.c: Likewise.
5967         * libmisc/fields.c: Add comments.
5968         * libmisc/copydir.c: Mark function whose return value is not
5969         checked as such.
5970
5971 2008-05-23  Nicolas François  <nicolas.francois@centraliens.net>
5972
5973         * libmisc/pam_pass.c: Use fputs rather than fprintf for constant
5974         strings.
5975
5976 2008-05-21  Nicolas François  <nicolas.francois@centraliens.net>
5977
5978         * man/login.1.xml: Indicate that login should be executed with
5979         "exec login" if called from a shell.
5980
5981 2008-05-21  Nicolas François  <nicolas.francois@centraliens.net>
5982
5983         * man/passwd.1.xml: Remove the advices for the choice of a good
5984         password (they are debatable). Point to
5985         http://en.wikipedia.org/wiki/Password_strength instead.
5986
5987 2008-05-20  Nicolas François  <nicolas.francois@centraliens.net>
5988
5989         * NEWS, libmisc/salt.c (SHA_salt_size): Seed the RNG, and fix a
5990         overflow. These caused the SHA salt size to always be 8 bytes,
5991         instead of being in the 8-16 range. Thanks to Peter Vrabec
5992         pvrabec@redhat.com for noticing.
5993         * NEWS, libmisc/salt.c (SHA_salt_rounds): Seed the RNG with
5994         seedRNG instead of srand, and fix the same overflow. This caused
5995         the number of rounds to always be the smallest one.
5996
5997 2008-05-20  Nicolas François  <nicolas.francois@centraliens.net>
5998
5999         * man/newusers.8.xml man/groupmems.8.xml man/groupdel.8.xml
6000         man/useradd.8.xml man/groupadd.8.xml man/newgrp.1.xml man/sg.1.xml
6001         man/chgpasswd.8.xml man/groupmod.8.xml: Tag the section which
6002         require --enable-shadowgrp accordingly.
6003
6004 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
6005
6006         * man/login.defs.5.xml: SHA_CRYPT_MAX_ROUNDS and
6007         SHA_CRYPT_MIN_ROUNDS can only exist if configured with
6008         --with-sha-crypt.
6009
6010 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
6011
6012         * NEWS, man/useradd.8.xml: Document the -k, --skel option, and
6013         update the -m, --create-home documentation.
6014
6015 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
6016
6017         * man/useradd.8.xml: Sort options.
6018
6019 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
6020
6021         * lib/getdef.c: SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can
6022         only exist if configured with --with-sha-crypt.
6023         * man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Likewise.
6024
6025 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
6026
6027         * libmisc/salt.c: Document the section closed by #endif
6028
6029 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
6030
6031         * src/useradd.c: Fix formatting.
6032
6033 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
6034
6035         * NEWS, man/useradd.8.xml: Document the -r, --system option.
6036         * NEWS, man/groupadd.8.xml: Document the -r, --system option.
6037         * NEWS, man/newusers.8.xml: Document the -r, --system option.
6038         * NEWS, man/newusers.8.xml: Document the -c, --crypt-method and
6039         -s, --sha-rounds options.
6040
6041 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
6042
6043         Import Debian patch 487_passwd_chauthtok_failed_message
6044         * libmisc/pam_pass.c: Be more verbose and indicate that the
6045         password was not changed when pam_chauthtok fails (in addition to
6046         the PAM error, which may not be comprehensible for the users).
6047
6048 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
6049
6050         Import Debian patch 434_login_stop_checking_args_after--
6051         * NEWS, src/login.c (check_flags): Stop checking the arguments
6052         after --. The later options will be sent to the shell, and do not
6053         need to be checked.
6054
6055 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
6056
6057         * src/vipw.c, src/su.c, src/newgrp.c: Harmonize the children's
6058         SIGSTOP handling. Raise the signal which stopped the child instead
6059         of always SIGSTOP.
6060
6061 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
6062
6063         Import Debian patch 406_vipw_resume_properly.
6064         Thanks to Dean Gaudet.
6065         * NEWS, src/vipw.c: Resume properly after ^Z.
6066
6067 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
6068
6069         * lib/getdef.c, lib/lockpw.c, lib/utent.c, lib/sgetgrent.c,
6070         lib/getdef.h, lib/pwauth.c, lib/sgetspent.c, lib/pwauth.h,
6071         lib/port.c, lib/encrypt.c, lib/groupio.c, lib/shadowmem.c,
6072         lib/port.h, lib/groupio.h, lib/groupmem.c, lib/exitcodes.h,
6073         lib/gshadow.c, lib/gshadow_.h, lib/sgroupio.c, lib/sgroupio.h,
6074         lib/shadowio.c, lib/pwio.c, lib/sgetpwent.c, lib/commonio.c,
6075         lib/faillog.h, lib/shadowio.h, lib/pwio.h, lib/pam_defs.h,
6076         lib/pwmem.c, lib/commonio.h, lib/shadow.c, lib/fputsx.c,
6077         lib/prototypes.h, libmisc/xmalloc.c, libmisc/limits.c,
6078         libmisc/entry.c, libmisc/console.c, libmisc/ulimit.c,
6079         libmisc/xgetXXbyYY.c, libmisc/chkname.c, libmisc/pwd2spwd.c,
6080         libmisc/xgetpwnam.c, libmisc/basename.c, libmisc/chkname.h,
6081         libmisc/chowndir.c, libmisc/audit_help.c, libmisc/chowntty.c,
6082         libmisc/hushed.c, libmisc/xgetpwuid.c, libmisc/getdate.h,
6083         libmisc/addgrps.c, libmisc/xgetgrgid.c, libmisc/utmp.c,
6084         libmisc/myname.c, libmisc/failure.c, libmisc/find_new_ids.c,
6085         libmisc/env.c, libmisc/rlogin.c, libmisc/age.c, libmisc/failure.h,
6086         libmisc/xgetgrnam.c, libmisc/yesno.c, libmisc/valid.c,
6087         libmisc/getlong.c, libmisc/obscure.c, libmisc/pam_pass.c,
6088         libmisc/motd.c, libmisc/salt.c, libmisc/setugid.c,
6089         libmisc/fields.c, libmisc/xgetspnam.c, libmisc/shell.c,
6090         libmisc/copydir.c, libmisc/setupenv.c, libmisc/strtoday.c,
6091         libmisc/loginprompt.c, libmisc/list.c, libmisc/pwd_init.c,
6092         libmisc/log.c, libmisc/mail.c, libmisc/ttytype.c,
6093         libmisc/pwdcheck.c, libmisc/sub.c, libmisc/sulog.c,
6094         libmisc/isexpired.c, libmisc/tz.c, src/newgrp.c, src/userdel.c,
6095         src/lastlog.c, src/grpck.c, src/gpasswd.c, src/newusers.c,
6096         src/pwconv.c, src/chpasswd.c, src/logoutd.c, src/chfn.c,
6097         src/groupmems.c, src/usermod.c, src/pwunconv.c, src/expiry.c,
6098         src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
6099         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
6100         src/groupadd.c, src/nologin.c, src/chage.c, src/login.c,
6101         src/suauth.c, src/faillog.c, src/grpconv.c, src/groups.c,
6102         src/sulogin.c, src/grpunconv.c, src/chsh.c, src/id.c: Make sure
6103         every source files are distributed with a copyright and license.
6104         Files with no license use the default 3-clauses BSD license. The
6105         copyright were mostly not recorded; they were updated according to
6106         the Changelog. "Julianne Frances Haugh and contributors" changed
6107         to "copyright holders and contributors".
6108
6109 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
6110
6111         * NEWS, libmisc/sulog.c: If the SULOG_FILE does not exist when an
6112         su session is logged, make sure the file is created with group
6113         root, instead of using the group of the caller.
6114
6115 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
6116
6117         * NEWS, libmisc/fields.c, src/chfn.c, man/chfn.1.xml: Allow
6118         non-US-ASCII characters in the GECOS fields ("name", "room
6119         number", and "other info" fields).
6120
6121 2008-04-17  Nicolas François  <nicolas.francois@centraliens.net>
6122
6123         * NEWS, src/newgrp.c: Fix compilation failure when compiled with
6124         audit support. Thanks to Mike Frysinger for reporting it.
6125
6126 2008-04-16  Nicolas François  <nicolas.francois@centraliens.net>
6127
6128         Ensure that getpwent() is used in setpwent(), getpwent(),
6129         endpwend() sequences (ditto for getgrent(), getspent(), and
6130         getsgent()). The only real (minor) issue was in login, which kept
6131         the passwd file open.
6132         * libmisc/entry.c: Remove unneeded setspent() and endspent() (only
6133         getspnam is called in the middle).
6134         * libmisc/find_new_ids.c: Make sure to close the password and
6135         group files with endpwent() and endgrent().
6136         * libmisc/pwdcheck.c: Remove unneeded endspent() (only getspnam()
6137         is called before).
6138         * src/lastlog.c, src/passwd.c, src/groupmod.c, src/faillog.c,
6139         src/groups.c: Make sure to close
6140         the password file with endpwent().
6141         * src/login.c: Remove unneeded setpwent() (only xgetpwnam is
6142         called before).
6143         * src/login.c, src/newgrp.c: Fix typos in comments.
6144
6145 2008-04-16  Nicolas François  <nicolas.francois@centraliens.net>
6146
6147         * NEWS, configure.in: Fix the detection of the audit, pam, and
6148         selinux. Fail if the feature is requested but the library (or
6149         header file) could not be found. If nothing is specified, enable
6150         the feature only if we can find the library (or header file).
6151         * configure.in: Document --with-selinux as "yes if found" rather
6152         than "autodetected" for consistency with other options.
6153
6154 2008-04-04  Mark Rosenstand  <mark@borkware.net>
6155
6156         * NEWS, etc/pam.d/Makefile.am: Add chfn, chsh, and userdel to
6157         $(pamd_files). Remove the duplicate useradd. And sort
6158         alphabetically.
6159
6160 2008-04-04  Nicolas François  <nicolas.francois@centraliens.net>
6161
6162         * NEWS: Prepare next release, 4.1.2.
6163
6164 2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
6165
6166         * NEWS, configure.in: Prepare release 4.1.1
6167         * NEWS: Fix the release date of 4.1.0. Was in 2007, not 2008.
6168
6169 2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
6170
6171         * po/fr.po: Update according to the file under review.
6172         Thanks to Jean-Luc Coulon.
6173
6174 2008-04-01  Holger Wansing  <linux@wansing-online.de>
6175
6176         * po/de.po: updated to 431t
6177
6178 2008-03-31  Piarres Beobide  <pi+debian@beobide.net>
6179
6180         * po/eu.po: updated to 431t
6181
6182 2008-03-30  Leandro Azevedo  <leorock182@gmail.com>
6183
6184         * po/pt_BR.po: updated to 360t71f
6185
6186 2008-03-30  Mehmet Türker <mturker@innova.com.tr>
6187
6188         * po/tr.po: updated to 431t
6189
6190 2008-03-30  Clytie Siddall  <clytie@riverland.net.au>
6191
6192         * po/vi.po: updated to 431t
6193
6194 2008-03-30  Daniel Nylander  <yeager@ubuntu.com>
6195
6196         * po/sv.po: updated to 431t
6197
6198 2008-03-29  helix84 <helix84@centrum.sk>
6199
6200         * po/sk.po: updated to 431t
6201
6202 2008-03-27  Danilo Piazzalunga  <danilopiazza@gmail.com>
6203
6204         * po/it.po: updated to 431t
6205
6206 2008-03-26  Nicolas François  <nicolas.francois@centraliens.net>
6207
6208         * TODO: Added entries regarding SE Linux.
6209
6210 2008-03-26  Russell Coker  <russell@coker.com.au>
6211
6212         * src/passwd.c, NEWS: Make SE Linux tests more strict, when the
6213         real UID is 0 SE Linux checks will be performed.
6214
6215 2008-03-24  Yuri Kozlov  <kozlov.y@gmail.com>
6216
6217         * po/ru.po: updated to 431t
6218
6219 2008-03-23  Miguel Figueiredo  <elmig@debianpt.org>
6220
6221         * po/pt.po: updated to 431t
6222
6223 2008-03-21  Changwoo Ryu  <cwryu@debian.org>
6224
6225         * po/ko.po: updated to 431t
6226
6227 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
6228
6229         * man/login.defs.5.xml: Fix manpages generation. The SYS_GID_MAX
6230         and SYS_UID_MAX entities were not defined.
6231
6232 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
6233
6234         * src/faillog.c: Fix minor compilation warning (assignment used as
6235         a comparison).
6236
6237 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
6238
6239         * lib/prototypes.h, src/login.c: login_access() is used in
6240         src/login.c, and defined in src/login_nopam.c (which lacks a
6241         prototype). Move its prototype from src/login.c to
6242         lib/prototypes.h.
6243
6244 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
6245
6246         * src/gpasswd.c, src/groupmod.c: Compilation fix. gshadow_locked
6247         should only be used if SHADOWGRP is defined.
6248
6249 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
6250
6251         * src/grpck.c: Fix some warnings. compare_members_lists() is only
6252         used if SHADOWGRP is defined.
6253
6254 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6255
6256         * NEWS, src/groupmod.c: Make sure the passwd, group, and gshadow
6257         files are unlocked on exit. Unlock locked files in fail_exit().
6258         Prefer fail_exit() over exit().
6259         * NEWS, src/groupmod.c: When the GID of a group is changed, update
6260         also the GID of the passwd entries of the users whose primary
6261         group is the group being modified.
6262
6263 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6264
6265         * lib/commonio.c (commonio_remove): Fail when the name to be
6266         removed is used by different entries (like commonio_update does).
6267         * NEWS: This fix the behavior of groupdel when the system is not
6268         configured to support split group but different group entries
6269         have the name of the group to be deleted.
6270
6271 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6272
6273         * NEWS, src/useradd.c: Make sure the passwd, group, shadow, and
6274         gshadow files are unlocked on exit. Unlock locked files in
6275         fail_exit(). Prefer fail_exit() over exit().
6276
6277 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6278
6279         * NEWS, src/groupdel.c: Make sure the group, and gshadow files are
6280         unlocked on exit. Add function fail_exit(). Use fail_exit()
6281         instead of exit().
6282         * src/groupdel.c: Fail immediately instead of increasing errors.
6283         Better handling of error cases, like locked group or gshadow file.
6284
6285 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6286
6287         * NEWS, src/newusers.c: Make sure the passwd, group, shadow, and
6288         gshadow files are unlocked on exit. Add function fail_exit(). Use
6289         fail_exit() instead of exit().
6290
6291 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6292
6293         * NEWS, src/gpasswd.c: Make sure the group and gshadow files are
6294         unlocked on exit. Add function fail_exit(). Use fail_exit()
6295         instead of exit().
6296
6297 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6298
6299         * NEWS, src/groupdel.c: Do not rewrite the group and gshadow file
6300         in case of error.
6301
6302 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6303
6304         * src/groupdel.c: Do not log that the group was deleted if an
6305         error occurred.
6306
6307 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6308
6309         * NEWS, src/groupdel.c: Do not raise an error if the group does
6310         not exist in the gshadow file.
6311
6312 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
6313
6314         * etc/login.defs: Document MAX_MEMBERS_PER_GROUP.
6315
6316 2008-03-07  Nicolas François  <nicolas.francois@centraliens.net>
6317
6318         * src/newgrp.c: Add missing end of line in message.
6319         * src/newgrp.c: Add audit events for the authentication
6320         (AUDIT_GRP_AUTH). Thansk to Peter Vrabec.
6321
6322 2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
6323
6324         * NEWS, src/faillog.c: Only reset the entries of existing users
6325         with faillog -r (not all numeric IDs starting from 0). Thanks to
6326         Peter Vrabec.
6327
6328 2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
6329
6330         * src/pwunconv.c: Fix typo. One "can't open" message is a "can't
6331         lock".
6332
6333 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
6334
6335         * src/gpasswd.c: When a password is moved to the gshadow file, use
6336         "x" instead of "!" to indicate that the password is shadowed
6337         (consistency with grpconv).
6338
6339 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
6340
6341         * NEWS: Fix failures when the gshadow file is not present. Thanks
6342         to Christian Henz (http://bugs.debian.org/467488)
6343         * src/gpasswd.c (get_group): Do not fail if gshadow is not present. Just use
6344         the group file and set the grent structure
6345         * src/gpasswd.c (check_perms): The permissions should be checked
6346         using both the gshadow and group file. Add a <struct group *>
6347         parameter, and check if the gshadow file exists (is_shadowgrp).
6348         * src/gpasswd.c (main): Do not use sgent.sg_mem or sgent.sg_adm if
6349         the gshadow file is not present (sgent is not initialized in that
6350         case). The fields of sgent can be set, but not used.
6351
6352 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
6353
6354         * src/gpasswd.c: Fix typo in comment.
6355         * src/gpasswd.c: Move comment regarding FIRST_MEMBER_IS_ADMIN to
6356         where it belongs.
6357         * src/gpasswd.c: Indicate the end of the #ifdef FIRST_MEMBER_IS_ADMIN
6358         section.
6359
6360 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
6361
6362         * man/po/Makefile.in.in: Use --previous when merging PO files of
6363         the manpages.
6364
6365 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
6366
6367         * man/login.defs.d/SYS_UID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
6368         Document new variables.
6369         * man/newusers.8.xml, man/login.defs.5.xml,
6370         man/login.defs.d/GID_MAX.xml, man/login.defs.d/UID_MAX.xml:
6371         newusers uses now the GID_MAX, GID_MIN, UID_MAX, UID_MIN,
6372         SYS_GID_MAX, SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
6373         * man/groupadd.8.xml, man/login.defs.5.xml: groupadd uses now the
6374         SYS_GID_MAX, and SYS_GID_MIN variables.
6375         * man/login.defs.5.xml: useradd uses now the SYS_GID_MAX,
6376         SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
6377         * man/Makefile.am: Add the new XML documentation files to EXTRA_DIST.
6378
6379 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
6380
6381         * lib/getdef.c: Added missing SYS_GID_MAX, SYS_GID_MIN,
6382         SYS_UID_MAX, and SYS_UID_MIN.
6383
6384 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
6385
6386         * NEWS, src/useradd.c, man/useradd.8.xml: Added options
6387         --user-group (-U, Uflg) and --no-user-group (-N, Nflg) to replace
6388         nflg.
6389         * man/login.defs.d/USERGROUPS_ENAB.xml: useradd now also uses
6390         USERGROUPS_ENAB.
6391
6392 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
6393
6394         * src/groupmod.c: Add missing 'p' to the getopt_long's optstring.
6395
6396 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
6397
6398         * src/groupadd.c: Add missing 'p' to the getopt_long's optstring.
6399         * src/groupadd.c: Fix --non-unique's has_arg field to no_argument
6400         instead of required_argument.
6401         * src/groupadd.c: Add missing -p, --password description to the
6402         Usage message.
6403
6404 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
6405
6406         * NEWS, etc/login.defs: Set GID_MIN to the same value as UID_MIN
6407         by default (1000).
6408         * NEWS, etc/login.defs: Added variables SYS_UID_MIN (100),
6409         SYS_UID_MAX (999), SYS_GID_MIN (100), SYS_GID_MAX (999) for system
6410         accounts.
6411         * libmisc/find_new_ids.c: Added support for system accounts in
6412         find_new_uid() and find_new_gid().
6413         * NEWS, src/newusers.c, src/useradd.c, src/groupadd.c: Added new
6414         option -r, --system for system accounts in useradd, groupadd, and
6415         newusers.
6416
6417 2008-02-18  Nicolas François  <nicolas.francois@centraliens.net>
6418
6419         * NEWS, src/groupmems.c: Fix buffer overflow when adding an user
6420         to a group. Thanks to Peter Vrabec.
6421
6422 2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
6423
6424         * NEWS, etc/useradd: Change the default HOME directory in
6425         /etc/default/useradd according FHS (/home instead of /home/users).
6426         This fixes Alioth's bug #310559. Thanks to Dale E. Edmons.
6427
6428 2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
6429
6430         * NEWS, src/newgrp.c: Use the correct AUDIT_CHGRP_ID event instead of
6431         AUDIT_USER_START, when changing the user space group ID with
6432         newgrp or sg. Thanks to sgrubb@redhat.com for the patch.
6433
6434 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
6435
6436         * src/usermod.c: Reset oflg with uflg if the new UID is equal to
6437         the old one.
6438         * src/usermod.c: Reset mflg with dflg if the new home directory is
6439         the same as the old one.
6440
6441 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
6442
6443         * NEWS, src/usermod.c: Fix the handling of -a when a user is being
6444         renamed (with -l). The new name of the user was used for the new
6445         supplementary groups, but not in the existing ones.
6446
6447 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
6448
6449         * src/newusers.c: Set the shadow's password instead of the
6450         passwd's password. Fix wrong cut&paste.
6451
6452 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6453
6454         * src/usermod.c: Use a function to convert the dates from
6455         /etc/shadow to human readable dates.
6456         * src/usermod.c: Really log the expiration date change as human
6457         readable strings instead of integers.
6458         * src/usermod.c: No need to check audit_fd, audit_logger() will
6459         take care of this.
6460
6461 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6462
6463         * src/login.c: Do not translate the fromhost variable. It is
6464         always used for syslog messages.
6465
6466 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6467
6468         * NEWS, lib/defines.h: Switch to the C locale before sending
6469         messages to syslog. The messages sent by shadow were not
6470         translated, but error messages from PAM returned by pam_strerror()
6471         were translated in the users's locale.
6472
6473 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6474
6475         * NEWS: newusers will behave more like useradd.
6476         * src/newusers.c: The user's ID must be found before the group ID
6477         to mimic useradd's behavior choices of UID and GID.
6478         * src/newusers.c: Reuse the generic find_new_uid() and
6479         find_new_gid() functions. This permits to respect the
6480         UID_MIN/UID_MAX and GID_MIN/GID_MAX variables, should 
6481         * src/newusers.c: Check if the user or group exist using the
6482         external databases (with the libc getpwnam/getgrnam functions).
6483         Refuse to update an user which exist in an external database but
6484         does not exist in the local database.
6485         * src/newusers.c: Check the usernames and groupnames with
6486         check_user_name() and check_group_name()
6487         * src/newusers.c: Use isdigit() for readability.
6488         * src/newusers.c: Check if numerical IDs are valid (no remaining
6489         chars).
6490
6491 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6492
6493         * NEWS, src/newusers.c: Fix the support for the NONE crypt method.
6494
6495 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6496
6497         * src/newusers.c: Fix shadow group support (the list of admins was
6498         not defined; it is now set to an empty list).
6499
6500 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6501
6502         * NEWS, libmisc/salt.c: Do not seed the random number generator
6503         each time, and use the time in microseconds to avoid having the
6504         same salt for different passwords generated in the same second.
6505         This permits to avoid using the same salt for different passwords
6506         in newusers.
6507
6508 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6509
6510         * lib/pwio.c, lib/pwio.h: New function to find an user by
6511         its UID on the local database.
6512         * lib/groupio.c, lib/groupio.h: New function to find a group by
6513         its GID on the local database.
6514         * libmisc/find_new_ids.c, lib/prototypes.h: Add new generic
6515         functions to find the next user or group ID available:
6516         find_new_uid() and find_new_gid(). They work the same way as the
6517         functions with the same name of useradd or groupadd, except that
6518         they check in the local database to make sure an ID was not
6519         reserved in an uncommitted change (this is needed to be used in
6520         newusers), they report a status instead of calling exit(), and
6521         they can receive a preferred ID. They should later support system
6522         IDs. This should be a little bit slower, but not too much (if the
6523         database is not open the checks against the local database will
6524         exit immediately, and if it is already open, all the checks will be
6525         done regarding the data in memory).
6526         * po/POTFILES.in: The new libmisc/find_new_ids.c file contains
6527         translatable strings.
6528         * libmisc/Makefile.am: Add libmisc/find_new_ids.c to the sources
6529         of the libmisc library.
6530         * src/useradd.c, src/groupadd.c: Use the find_new_uid() and
6531         find_new_gid() from the library instead of the local functions.
6532
6533 2008-02-02  Nicolas François  <nicolas.francois@centraliens.net>
6534
6535         * po/*.po: Updated PO files.
6536         * libmisc/age.c, libmisc/yesno.c, src/lastlog.c, src/grpck.c,
6537         src/chfn.c, src/passwd.c, src/chage.c, src/login.c, src/sulogin.c,
6538         src/chsh.c: Fix call to puts (remove end of line, or use fputs).
6539         * po/*.po: Unfuzzy PO files according to above change.
6540
6541 2008-01-26  Nicolas François  <nicolas.francois@centraliens.net>
6542
6543         Fix build failures with --disable-shadowgrp. Thanks to Jürgen
6544         Daubert for the patch.
6545         * libmisc/salt.c: Include <stdio.h>, needed for stderr and printf
6546         functions.
6547         * lib/encrypt.c: Include <stdio.h>, needed for perror, stderr and
6548         printf functions
6549         * src/usermod.c: sgr_locked exists only if SHADOWGRP is defined.
6550         * src/chgpasswd.c: Only check is the gshadow file exists if
6551         SHADOWGRP is defined.
6552
6553 2008-01-24  Nicolas François  <nicolas.francois@centraliens.net>
6554
6555         * src/gpasswd.c, src/chfn.c, src/chage.c, src/chsh.c, src/grpck.c,
6556         src/vipw.c, src/pwck.c, src/sulogin.c, src/newgrp.c,
6557         src/userdel.c, src/lastlog.c, src/groupmems.c, src/usermod.c,
6558         src/expiry.c, src/groupdel.c, src/useradd.c, src/su.c,
6559         src/groupmod.c, src/passwd.c, src/groupadd.c, src/login.c,
6560         src/suauth.c, src/faillog.c, src/id.c, libmisc/limits.c,
6561         libmisc/addgrps.c, libmisc/env.c, libmisc/age.c, libmisc/yesno.c,
6562         lib/getdef.c: Replace printf by puts for fixed strings. This would
6563         avoid issues caused by formats introduced in translated strings.
6564
6565 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6566
6567         * src/useradd.c: Strings improvement s/can't get unique/no more
6568         available/.
6569
6570 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6571
6572         * NEWS, src/usermod.c: Check that the new fields set with -u, -s,
6573         -l, -g, -f, -e, -d, and -c differ from the old ones. If a
6574         requested new value is equal to the old one, no changes will
6575         be performed for that field. If no fields are changed, usermod
6576         will exist successfully with a warning. This avoids logging
6577         changes to syslog when there are actually no changes.
6578
6579 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6580
6581         * src/usermod.c: Always define user_newcomment, user_newshell,
6582         user_newexpire, and user_newinactive. It is more simple to always
6583         have user_<x> as the old field, and user_new<x> as the new field
6584         (even if the field did not change) instead of changing the
6585         algorithm depending on WITH_AUDIT.
6586
6587 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6588
6589         * src/usermod.c: user_newname can only be used in WITH_AUDIT code
6590         or when lflg is set. This issue was introduced in the code
6591         refactoring of usermod.
6592
6593 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6594
6595         * src/groupadd.c: Fix typo in comment: s/find_new_uid/find_new_gid/
6596
6597 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6598
6599         * src/useradd.c: s/gid/GID/ in message string.
6600         * src/useradd.c: Set this string for translation.
6601
6602 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6603
6604         * man/grpck.8.xml: Fix typo. Remove "the" from "All entries in the
6605         <filename></filename> are checked [...]"
6606         * man/grpck.8.xml: Conditionally include the parts mentioning the
6607         gshadow file (based on SHADOWGRP).
6608         * man/grpck.8.xml: Add reference to the gshadow(5) manpage
6609         (conditionally included).
6610
6611 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6612
6613         * man/grpck.8.xml, man/pwck.8.xml: Indicate that the shadow
6614         parameter is optional (i.e. a passwd file can be specified without
6615         a shadow file, and the group file can be specified without the
6616         gshadow file).
6617
6618 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6619
6620         * man/grpck.8.xml: Document the options with a list of options,
6621         as in the pwck(8) manpage.
6622
6623 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6624
6625         * NEWS, src/newgrp.c: Fix segfault when an user returns to an
6626         unknown GID (either the user was deleted during the user's newgrp
6627         session or the user's passwd entry referenced an invalid group).
6628         Add a syslog warning in that case.
6629         * src/newgrp.c: Add an end of line when reporting an invalid
6630         password.
6631
6632 2008-01-12  Nicolas François  <nicolas.francois@centraliens.net>
6633
6634         * NEWS, src/useradd.c: Fix the handling of the --defaults option
6635         (it required an argument, but should behave as -D)
6636         * NEWS, man/useradd.8.xml: Document the --defaults option, which
6637         was already described in the useradd's Usage information.
6638
6639 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6640
6641         * src/passwd.c: Avoid setting the password to a const empty
6642         string, but set the first char to \0. This avoids a warning.
6643
6644 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6645
6646         * libmisc/salt.c: Add prototype for l64a(), gensalt(),
6647         SHA_salt_size(), and SHA_salt_rounds().
6648         * libmisc/salt.c: l64a() and gensalt() are static.
6649         * libmisc/salt.c: The `meth' parameter of crypt_make_salt() is a
6650         const. (ditto for the method variable).
6651         * libmisc/salt.c: SHA_salt_rounds returns a const string.
6652         * libmisc/salt.c: Avoid warnings with cast of random() to double.
6653         * libmisc/salt.c: Replace rand() by random().
6654
6655 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6656
6657         * lib/Makefile.am: Do not link libshadow.la with the intl, crypt,
6658         skey and md libraries...
6659         * src/Makefile.am: ...Specify for each binary which library is
6660         required. skey and md are required for the binaries with
6661         authentication of the user (chfn, chsh, login, passwd, su). intl
6662         is required for all. mcrypt is required for user (chfn, chsh,
6663         login, passwd, su, sulogin) and group (newgrp, gpasswd)
6664         authentication and for the creation of passwords (chpasswd,
6665         chgpasswd, gpasswd, newusers, passwd).
6666
6667 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6668
6669         * lib/nscd.c, lib/nscd.h: Set the service parameter of
6670         nscd_flush_cache() to const. This avoids a lot of warnings.
6671         * lib/nscd.c: Include "nscd.h" to avoid inconsistent prototypes.
6672
6673 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6674
6675         * lib/encrypt.c: Set the method string as a constant string.
6676
6677 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6678
6679         * lib/port.c: Assume <errno.h> declares errno.
6680
6681 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6682
6683         * man/po/fr.po: Fix typo: s/rend compte indiqué/rend le compte
6684         indiqué/
6685
6686 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6687
6688         * src/suauth.c: Remove prototype of check_su_auth(). It is
6689         redundant with prototypes.h.
6690         * src/suauth.c: isgrp() is static.
6691
6692 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6693
6694         * libmisc/obscure.c: Tag the `old' parameter of palindrome(),
6695         similar(), and simple() as unused.
6696         * libmisc/loginprompt.c: Tag the `sig' parameter of login_exit()
6697         as unused.
6698         * src/expiry.c: Tag the `sig' parameter of catch_signals() as
6699         unused.
6700         * src/su.c: Tag the `sig' parameter of catch_signals() as unused.
6701         * src/su.c: Add int parameter to the prototype of oldsig().
6702         * src/login.c: Tag the `sig' parameter of alarm_handler() as
6703         unused.
6704         * src/sulogin.c: Tag the `sig' parameter of catch_signals() as
6705         unused.
6706         * libmisc/getdate.y: Tag the `string' parameter of yyerror() as
6707         unused.
6708         * libmisc/getdate.y: The string provided to yyerror() is const.
6709         * libmisc/getdate.y: Fix the prototypes of yylex() and yyerror().
6710
6711 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6712
6713         * lib/defines.h: Remove teh macro definition of SETXXENT_TYPE,
6714         SETXXENT_RET, and SETXXENT_TEST. They were used by the now
6715         removed pwent.c and grent.c.
6716         * lib/defines.h: Remove the definition of PASSWD_PAG_FILE,
6717         GROUP_PAG_FILE, SHADOW_PAG_FILE, and SGROUP_PAG_FILE. They are
6718         never used.
6719         * lib/defines.h: Don't include "snprintf.h". The file does not
6720         exist in shadow.
6721         * lib/defines.h: Add new macro unused to tag unused parameters.
6722
6723 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6724
6725         * src/useradd.c, src/groupmems.c: Assume optarg and optind are
6726         declared in <getopt.h>.
6727
6728 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6729
6730         * src/usermod.c: Remove the pw_name argument of new_pw_passwd. Use
6731         the user_newname global variable instead. This avoid using a
6732         parameter with the same name as a function.
6733
6734 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6735
6736         * src/newgrp.c: Removed unused gid parameter of syslog_sg().
6737         * src/newgrp.c: The loginname and tty buffers are never changed.
6738         Add the const qualifier.
6739
6740 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6741
6742         * src/chpasswd.c, src/chgpasswd.c: The crypt_method string always
6743         points to a constant string. Add the const qualifier.
6744
6745 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6746
6747         * src/pwunconv.c: Remove prototype of l64a() (not used in
6748         pwunconv).
6749
6750 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6751
6752         * src/login_nopam.c: Use an ANSI prototype for resolve_hostname()
6753         instead of K&R prototype.
6754         * src/login_nopam.c: Fix the prototypes of list_match(),
6755         user_match(), from_match(), string_match(). There were no
6756         parameters in the prototypes.
6757         * src/login_nopam.c: Fix the prototypes of the function parameter
6758         match_fn of list_match().
6759
6760 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6761
6762         * libmisc/copydir.c: Remove the src parameter of copy_special().
6763         The entry's information are taken from the stat structure.
6764
6765 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6766
6767         * libmisc/console.c, libmisc/ulimit.c, lib/sgetgrent.c,
6768         lib/sgetpwent.c: Include "prototypes.h" to make
6769         sure the exported prototypes are the ones used for the definition
6770         of functions.
6771         * lib/prototypes.h: Added prototypes for __gr_del_entry(),
6772         __gr_get_db(), __gr_get_head(), __gr_set_changed(), __gr_dup(),
6773         __pw_del_entry(), __pw_get_db(), __pw_get_head(), __pw_dup(),
6774         sgetgrent(), sgetpwent(), __sgr_del_entry(), __sgr_dup(),
6775         __sgr_get_head(), __sgr_set_changed(), __spw_get_head(),
6776         __spw_del_entry(), __spw_dup().
6777         * lib/prototypes.h: Removed prototype for is_listed().
6778         * lib/prototypes.h: Added name of the check_su_auth()'s parameters.
6779         * lib/groupio.h: Removed prototypes for __gr_dup() and
6780         __gr_set_changed().
6781         * lib/sgroupio.c: Removed prototypes for putsgent(), sgetsgent(),
6782         and __gr_get_db().
6783         * lib/sgroupio.h: Removed prototypes for __sgr_dup() and
6784         __sgr_set_changed().
6785         * lib/shadowio.c: Removed prototype for __pw_get_db().
6786         * lib/pwio.c: Removed prototype for sgetpwent() and putpwent().
6787         * lib/shadowio.h: Removed prototypes for __spw_dup() and
6788         __spw_set_changed().
6789         * lib/pwio.h: Removed prototypes for __pw_dup() and
6790         __pw_set_changed().
6791         * lib/commonio.h: Add protection against multiple inclusions.
6792         * lib/prototypes.h: Include commonio.h (needed for the
6793         __xx_del_entry() functions).
6794         * src/grpck.c: Remove prototypes for __gr_del_entry(),
6795         __gr_get_head(), __sgr_del_entry(), and __sgr_get_head().
6796         * src/pwck.c: Remove prototypes for __pw_del_entry(),
6797         __pw_get_head(), __spw_del_entry(), and __spw_get_head().
6798         * lib/groupio.c: Remove prototype for sgetgrent().
6799         * lib/groupio.c: Add the name of the parameters for
6800         merge_group_entries() and split_groups().
6801         * lib/groupio.h: Remove prototypes for __gr_dup() and
6802         __gr_set_changed().
6803
6804 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6805
6806         * man/groupadd.8.xml, man/groupmod.8.xml: Add documentation for
6807         the new --password options.
6808
6809 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6810
6811         * src/useradd.c: Fix find_new_gid() prototype. Add a void
6812         parameter.
6813
6814 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6815
6816         * lib/prototypes.h: Add the dolastlog() prototype.
6817         * lib/prototypes.h: Typo: login.c -> loginprompt.c
6818         * src/login.c: Remove declaration of dolastlog().
6819         * lib/prototypes.h: Include <lastlog.h> for the declaration of
6820         struct lastlog.
6821         * lib/prototypes.h: Remove old comments in the header.
6822
6823 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6824
6825         * libmisc/pwdcheck.c: Do not include <pwd.h>. Include <shadow.h>
6826         and "pwauth.h" only when compiled without PAM support.
6827         * src/chfn.c, src/chsh.c: Do not include <shadow.h>
6828         * lib/commonio.c: Do not include <shadow.h>. Do not include
6829         <pwd.h>. Include "nscd.h" instead of <nscd.h>.
6830
6831 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6832
6833         * configure.in: Do not check if shadow.h exist, but make sure it
6834         exists.
6835         * libmisc/pwdcheck.c, src/chfn.c, src/chsh.c, lib/defines.h,
6836         lib/shadowmem.c, lib/shadowio.c, lib/commonio.c:
6837         HAVE_SHADOW_H is no more needed (shadow.h should always exist).
6838
6839 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6840
6841         * lib/groupio.c: Remove prototype of putgrent(), add parameter's
6842         name of sgetgrent().
6843         * lib/prototypes.h: Fix the do_pam_passwd() prototype (it returns
6844         void).
6845
6846 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6847
6848         * NEWS, src/groupmod.c, src/groupadd.c: Add option --password to
6849         groupadd and groupmod (similar to useradd and usermod).
6850
6851 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6852
6853         * lib/prototypes.h: grent.c does not exist anymore. Remove the
6854         putgrent prototype.
6855         * lib/prototypes.h: "shadowio.h" was included for the definition
6856         of the spwd structure. Replace this include by <shadow.h>
6857         * libmisc/xmalloc.c, libmisc/utmp.c, libmisc/strtoday.c,
6858         libmisc/pwd_init.c, libmisc/tz.c, lib/port.c, lib/fputsx.c,
6859         libmisc/pam_pass.c, libmisc/log.c: Include "prototypes.h" to make
6860         sure the exported prototypes are the ones used for the definition
6861         of functions.
6862         * libmisc/console.c: Define is_listed() as static and add its
6863         prototype.
6864         * libmisc/xgetXXbyYY.c, libmisc/yesno.c: Include config.h as a
6865         system include, as recommended by the autoconf documentation.
6866         * src/chage.c: Define isnum() as static and add its prototype.
6867         * libmisc/xgetspnam.c: Add missing include "shadowio.h". (This was
6868         OK as long as prototypes.h included this file.)
6869         * src/nologin.c: Make a proper prototype for the main() function
6870         declaration. (add void)
6871         * src/login.c: login_prompt is the name of a function, use
6872         loginprompt for the internal variable.
6873         * src/chsh.c: loginsh is a global variable, use newshell for the
6874         update_shell()'s parameter.
6875         * lib/gshadow.c: The prototypes of fgetsx() and fputsx() are
6876         already defined in prototypes.h. Remove the declaration of these
6877         functions.
6878         * lib/gshdow.c: list() is an external function. DO not shadow it
6879         with a static function. The internal list() was renamed
6880         build_list().
6881         * lib/commonio.c: stat shadows another stat variable. Remove this
6882         variable, and directly check the result of getfscreatecon().
6883         * libmisc/utmp.c: Remove the declaration of getutent(),
6884         getutline(), setutent(), and endutent() which are declared in
6885         <utmp.h>
6886
6887 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6888
6889         * src/newgrp.c: Remove duplicate logging to syslog.
6890
6891 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6892
6893         * src/newgrp.c: Avoid assignments in conditionals.
6894         * src/newgrp.c: Split check_perms(), syslog_sg() out of main().
6895
6896 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6897
6898         * lib/shadow.c: Avoid assignments in conditionals.
6899
6900 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6901
6902         * lib/groupio.c (split_groups): Test the pointer returned by malloc.
6903
6904 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6905
6906         * lib/commonio.c: Document add_one_entry_nis(), write_all(),
6907         commonio_remove(), commonio_locate(), and commonio_rewind().
6908
6909 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6910
6911         * src/pwck.c: Avoid implicit brackets.
6912         * src/pwck.c: Avoid implicit conversions to booleans.
6913
6914 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6915
6916         * src/grpck.c: Avoid implicit brackets.
6917         * src/grpck.c: Avoid implicit conversions to booleans.
6918
6919 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6920
6921         * NEWS: No functional changes were introduced by the previous pwck
6922         and grpck changes, except for the following bug fix: no syslog
6923         logging if a passwd or group file was specified on the command
6924         line without a shadowed database file, even if the system shadowed
6925         database was changed).
6926
6927 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6928
6929         * src/pwck.c: Fix typos in comments (gshadow/shadow).
6930
6931 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6932
6933         * src/pwck.c: Split process_flags(), open_files(), close_files()
6934         check_pw_file(), and check_spw_file() out of main(). New global
6935         variables is_shadow, sort_mode, use_system_pw_file, and
6936         use_system_spw_file.
6937
6938 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6939
6940         * libmisc/xgetXXbyYY.c: De-comment code (duplicate the entry when
6941         the _R function is not present on the system).
6942
6943 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6944
6945         * src/lastlog.c: Remove statbuf, not used.
6946         * src/lastlog.c: Fix types, cast umin and umax to uid_t.
6947         * src/lastlog.c: (option -u) user needs to be a signed long, not
6948         uid_t (to accept rangees like -<uid>
6949
6950 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6951
6952         * src/useradd.c: Avoid ?: construct without the middle term.
6953
6954 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6955
6956         * libmisc/copydir.c, src/usermod.c, lib/prototypes.h: The uid and
6957         gid parameters can be set to -1 to indicate that the original
6958         owners must be kept. Change the types from uid_t/gid_t to a
6959         long int (signed).
6960         * libmisc/copydir.c: Change the copy_entry(), copy_dir(),
6961         copy_symlink(), copy_special(), and copy_file() prototypes
6962         accordingly.
6963         * lib/prototypes.h: Add the parameters' name for the
6964         libmisc/copydir.c functions.
6965
6966 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6967
6968         * libmisc/limits.c, libmisc/obscure.c, src/login_nopam.c,
6969         lib/pwauth.c: Avoid empty file when USE_PAM is set.
6970         * libmisc/audit_help.c: Avoid empty file when WITH_AUDIT is not set.
6971         * src/login_nopam.c: Fix warnings: resolve_hostname takes and
6972         returns a constant string.
6973
6974 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6975
6976         * src/grpck.c: Split process_flags(), open_files(), and
6977         close_files() out of main(). New global variables is_shadow,
6978         sort_mode, use_system_grp_file, and use_system_sgr_file.
6979         * src/grpck.c: Split check_grp_file() and check_sgr_file() out of
6980         main().
6981         * src/grpck.c: Split check_members() and compare_members_lists()
6982         out of check_grp_file() and check_sgr_file().
6983
6984 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6985
6986         * man/po/Makefile.in.in: If remove-potcdate.sin does not exist,
6987         use the one from teh po directory (it is not installed
6988         automatically by autopoint.
6989
6990 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6991
6992         * lib/commonio.h: Fix the type of the bitfields in the commonio_entry
6993         and commonio_db structures to unsigned int (instead of int).
6994
6995 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6996
6997         * src/chsh.c: Split process_flags(), check_perms(), and update_shell()
6998         out of main().
6999         * src/chsh.c: Before pam_end(), the return value of the previous
7000         pam API was already checked. No need to validate it again.
7001         * src/chsh.c: Avoid implicit brackets.
7002         * src/chsh.c: Avoid assignments in comparisons.
7003
7004 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
7005
7006         * src/chfn.c: New function: process_flags() split out of main().
7007         The flags variables are now global.
7008         * src/chfn.c: New functions: check_perms(), update_gecos(),
7009         get_old_fields(), and check_fields() split out of main().
7010         * src/chfn.c: Before pam_end(), the return value of the previous
7011         pam API was already checked. No need to validate it again.
7012         * src/chfn.c: Avoid implicit brackets.
7013         * src/chfn.c: Document may_change_field().
7014         * src/chfn.c: Avoid implicit conversions to booleans.
7015         * src/chfn.c: Avoid assignments in comparisons.
7016
7017 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
7018
7019         * src/newusers.c: Compilation fix for PAM support (pamh needs to be
7020         global since the function split).
7021         * src/chpasswd.c: Likewise.
7022         * src/chgpasswd.c: Likewise.
7023         * src/chpasswd.c: Avoid implicit conversions to booleans.
7024
7025 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
7026
7027         * src/chage.c: Fix typo: s/maximim/maximum/
7028         * src/chage.c: New function: fail_exit(). Change most of the exit()
7029         to a fail_exit, which makes sure the files are unlocked (new global
7030         variables: pw_locked, spw_locked), the PAM transaction is ended, and
7031         the failure is logged to libaudit (use a global user_name and user_uid
7032         for logging).
7033         * src/chage.c: Compilation fix for PAM support (pamh needs to be
7034         global since the function split).
7035         * src/chage.c: Document process_flags(), check_flags(), check_perms(),
7036         open_files(), and close_files().
7037         * src/chage.c: Split update_age() and get_defaults() out of main()
7038         * src/chage.c: Drop the privileges just after opening the files.
7039         * src/chage.c: Do not log to audit only if the user has an entry in
7040         the shadow file.
7041         * NEWS, src/chage.c (open_files): Also open the password file for
7042         writing. This fix chage when the user only has a password entry (and
7043         no shadow entries).
7044         * src/chage.c (get_defaults): Use default values that don't change the
7045         behavior of the account for the fields that are not specified when the
7046         user has no shadow entry.
7047
7048 2007-12-30  Nicolas François  <nicolas.francois@centraliens.net>
7049
7050         * src/groupadd.c: Compilation fix for PAM support (pamh needs to be
7051         global since the function split).
7052         * src/groupadd.c: End the PAM transaction in fail_exit().
7053         * src/groupadd.c: Document check_flags().
7054
7055 2007-12-30  Nicolas François  <nicolas.francois@centraliens.net>
7056
7057         * src/vipw.c: Compilation fix for non-gshadow support.
7058
7059 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
7060
7061         * NEWS, src/newusers.c: Added support for gshadow.
7062
7063 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
7064
7065         * NEWS, src/newusers.c: Do not add the new user to the group's
7066         members, because the group is already the primary group of the new
7067         user.
7068
7069 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
7070
7071         newusers cleanups
7072         * src/newusers.c: main() split in new functions: process_flags(),
7073         check_flags(), check_perms(), open_files(), and close_files().
7074         * src/newusers.c: Before pam_end(), the return value of the previous
7075         pam API was already checked. No need to validate it again.
7076         * src/newusers.c: Avoid implicit brackets.
7077         * src/newusers.c: Avoid assignments in comparisons.
7078         * src/newusers.c: Avoid variables with the name of a type.
7079
7080 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
7081
7082         chage cleanups
7083         * src/chage.c: Before pam_end(), the return value of the previous
7084         pam API was already checked. No need to validate it again.
7085         * src/chage.c: main() split in new functions: process_flags(),
7086         check_flags(), check_perms(), open_files(), and close_files().
7087         * src/chage.c: Avoid using a variable with the same name as a type.
7088         * src/chage.c: Remove dead code. It was probably put here to add more
7089         information to the audit_logger.
7090         * src/chage.c: Avoid implicit brackets.
7091         * src/chage.c: Avoid implicit conversion to booleans.
7092         * src/chage.c: Avoid assignments in comparisons.
7093
7094 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
7095
7096         Same changes for chgpasswd:
7097         * src/chgpasswd.c: Before pam_end(), the return value of the previous
7098         pam API was already checked. No need to validate it again.
7099         * src/chgpasswd.c: main() split in process_flags(), check_flags(),
7100         check_perms(), open_files(), and close_files().
7101         * src/chgpasswd.c: Avoid assignments in comparisons.
7102         * src/chgpasswd.c: Avoid implicit brackets.
7103         * src/chgpasswd.c: Fix comments to match chgpasswd (group instead of
7104         user's passwords are changed).
7105
7106 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
7107
7108         * src/chpasswd.c: Before pam_end(), the return value of the previous
7109         pam API was already checked. No need to validate it again.
7110         * src/chpasswd.c: New functions: process_flags(), check_flags(),
7111         check_perms(). Split out of main().
7112         * src/chpasswd.c: Other new functions: open_files(), close_files().
7113         This force flushing the password database after the password file is
7114         unlocked.
7115         * src/chpasswd.c: Avoid assignments in comparisons.
7116         * src/chpasswd.c: Avoid implicit brackets.
7117
7118 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
7119
7120         * src/groupadd.c (find_new_gid): A group with the specified name
7121         cannot exist at that time. Remove the check.
7122         * src/groupadd.c (find_new_gid): If oflg is set, gflg is also set.
7123         Use (!gflg), which is clearer than (!gflg || !oflg).
7124         * src/groupadd.c (find_new_gid): find_new_gid is never called when an
7125         GID is specified with -g. Simplify find_new_gid accordingly.
7126         * src/groupadd.c (process_flags): prefer fail_exit to exit. This avoid
7127         an explicit call to audit_logger().
7128         * src/groupadd.c (main): Before pam_end(), the return value of the
7129         previous pam API was already checked. No need to validate it again.
7130         * src/groupadd.c (main, check_perms): New function check_perms().
7131         Split the validation of the user's permissions out of main()
7132
7133 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
7134
7135         src/groupadd.c cleanup
7136         * src/groupadd.c (fail_exit): When compiled without AUDIT support, if
7137         the return code was E_SUCCESS, fail_exit() wouldn't have exited. Fix
7138         the scope of #idef WITH_AUDIT.
7139         * src/groupadd.c: Avoid implicit brackets.
7140         * src/groupadd.c: Split the processing and checking of options out of
7141         main() (process_flags).
7142         * src/groupadd.c: New function check_flags(). Split the validation of
7143         options and arguments out of process_flags.
7144         * src/groupadd.c: Add the parameters' names in the prototypes.
7145
7146 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
7147
7148         libmisc/copydir.c cleanup
7149         * libmisc/copydir.c: Split copy_tree() in more maintainable functions:
7150         copy_entry(), copy_dir(), copy_symlink(), copy_hardlink(),
7151         copy_special(), and copy_file().
7152         * libmisc/copydir.c: -1 is used to indicate an error, directly set err
7153         to -1, instead of incrementing it, and checking if not nul at the
7154         end.
7155         * libmisc/copydir.c: Avoid assignments in comparisons.
7156         * libmisc/copydir.c: Document selinux_file_context.
7157         * libmisc/copydir.c: Avoid implicit brackets.
7158         * libmisc/copydir.c: Avoid implicit conversions to booleans.
7159
7160 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
7161
7162         gpasswd cleanup
7163         * src/gpasswd.c: Add argument name to the internal function
7164         prototypes.
7165         * src/gpasswd.c: Document global variables.
7166         * src/gpasswd.c: New function: process_flags(). Split the processing
7167         of options out of main().
7168         * src/gpasswd.c: New functions: open_files(), close_files(),
7169         update_group(). Split out from main() to simplify this (too) big
7170         function.
7171         * src/gpasswd.c: New functions: check_perms(), get_group(),
7172         change_passwd(), check_flags(). Split out of main() to simplify main().
7173         * src/gpasswd.c: Avoid implicit brackets.
7174         * src/gpasswd.c: Avoid assignments in comparisons.
7175         * src/gpasswd.c: Avoid implicit conversions to booleans.
7176
7177 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
7178
7179         Merge Debian's patch 462_warn_to_edit_shadow
7180         * NEW, src/vipw.c: Recommend editing the shadowed (resp. regular) file
7181         if the regular (resp. shadowed) file was edited.
7182
7183 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7184
7185         Merge Debian's patch 451_login_PATH
7186         * NEWS, libmisc/setupenv.c: Export PATH according to ENV_PATH and
7187         ENV_SUPATH, as for su. This impacts login.
7188         * man/login.1.xml: PATH and SUPATH are now used both when PAM support
7189         is disabled and enabled.
7190
7191 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7192
7193         Merge Debian's patch 496_login_init_session
7194         * src/login.c, src/sulogin.c: If started as init, start a new session.
7195
7196 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7197
7198         Merge Debian's patch 408_passwd_check_arguments
7199         * NEWS, src/passwd.c: Make sure that no more than one username
7200         argument was provided.
7201
7202 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7203
7204         Merge Debian's patch 412_lastlog_-u_numerical_range
7205         * NEWS, src/lastlog.c, man/lastlog.8.xml: Accept numerical user, or
7206         ranges with the -u option.
7207
7208 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7209
7210         Merge Debian's patch 466_fflush-prompt
7211         * libmisc/Makefile.am, lib/prototypes.h, libmisc/yesno.c, src/grpck.c,
7212         src/pwck.c: move yes_or_no() from grpck/pwck to a separate
7213         libmisc/yesno.c (with a read_only argument).
7214         * libmisc/fields.c, libmisc/yesno.c: Make sure stdout is flushed before
7215         reading the user's answer.
7216
7217 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7218
7219         Merge Debian's patch 480_getopt_args_reorder
7220         * NEWS, src/su.c: su's arguments are now reordered.
7221
7222 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7223
7224         Merge RedHat's patch shadow-4.0.18.1-mtime.patch:
7225         * NEWS: Document that usermod will now preserve user's file modification
7226         and access time.
7227         * libmisc/copydir.c: Preserve the access and modification time of copied
7228         files. This is important for usermod. This will also impact useradd, for
7229         the skeleton files, but this is not important.
7230         * libmisc/copydir.c: Stop and return an error if a file could not be
7231         closed after during a copy.
7232
7233 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7234
7235         Cleanups:
7236         * src/useradd.c (find_new_gid): Check that gflg is not set (assert).
7237         * src/useradd.c (find_new_gid): Do not check the group name uniqueness
7238         (already checked in main).
7239         * src/useradd.c (find_new_gid): Avoid a "continue" in the loop.
7240         * src/useradd.c (find_new_gid): Remove irrelevant comments.
7241         * src/useradd.c (find_new_gid): Fix the function definition's comment.
7242
7243 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7244
7245         Merge RedHat's patch shadow-4.0.18.1-findNewUidOnce.patch:
7246         * src/useradd.c (usr_update): Do not call find_new_uid(). The UID was
7247         already either specified or found by another call to find_new_uid().
7248         * src/useradd.c (find_new_uid): Always start with uid_min (find_new_uid()
7249         is never called when user_id was already specified).
7250         * src/useradd.c (find_new_uid): Fix the comments (find_new_uid() is not
7251         called when the UID is specified (uflg)).
7252         * src/useradd.c (main): Only call find_new_uid() if (!oflg) and (!uflg).
7253         If uflg is set (but not oflg), check the UID uniqueness.
7254         * src/useradd.c (find_new_uid): Don't check the uid and user name
7255         uniqueness in find_new_uid(). The user name uniqueness is already checked
7256         during the parameter validation. UID uniqueness is also checked (see
7257         above).
7258         * src/useradd.c (find_new_uid): Don't check uflg in find_new_uid().
7259         * src/useradd.c (find_new_uid): Make sure that find_new_uid() is not
7260         called when uflg is set (assert).
7261
7262 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7263
7264         Merge RedHat's patch shadow-4.1.0-lOption.patch
7265         * NEWS, src/useradd.c, man/useradd.8.xml: Add option -l to avoid adding
7266         the user to the lastlog and faillog databases.
7267
7268 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7269
7270         * src/useradd.c, src/groupadd.c: NO_GETPWENT is no more supported. Remove
7271         associated chunks of code.
7272
7273 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7274
7275         * man/groupadd.8.xml: Document the long options (--force, --gid, --key,
7276         --non-unique).
7277
7278 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
7279
7280         Merge RedHat's patch shadow-4.0.3-noinst.patch
7281         * NEWS, lib/Makefile.am: Do not install the shadow library per default.
7282         lib_LTLIBRARIES changed to noinst_LTLIBRARIES.
7283
7284 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
7285
7286         * NEWS, configure.in: Prepare the 4.1.0 release.
7287
7288 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
7289
7290         * NEWS, src/chgpasswd.c: Use chgpasswd PAM policy file instead of
7291         chpasswd's one.
7292
7293 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
7294
7295         * man/pwconv.8.xml: Fix typos.
7296         * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document the NONE crypt
7297         method.
7298         * man/login.defs.d/MAIL_DIR.xml: Add comment regarding useradd not
7299         using MAIL_FILE.
7300         * man/login.defs.d/ERASECHAR.xml, man/login.defs.d/KILLCHAR.xml,
7301         man/login.defs.d/CONSOLE_GROUPS.xml, man/login.defs.d/ENV_HZ.xml,
7302         man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml:
7303         These variables are also used by some tools when compiled with PAM
7304         support.
7305         * man/login.defs.d/ENV_HZ.xml: Add note that it is only used by
7306         sulogin when compiled with PAM support.
7307         * man/login.defs.d/ENV_SUPATH.xml: Typos: ENV_PATH -> ENV_SUPATH,
7308         and mention sbin in the path.
7309         * man/login.defs.d/LOGIN_STRING.xml: Fix typo: confition ->
7310         condition.
7311         * man/sg.1.xml: Add CONFIGURATION section (SYSLOG_SG_ENAB).
7312         * man/su.1.xml: ENV_HZ, LOGIN_STRING, MAIL_DIR, USERGROUPS_ENAB
7313         are only used when su is compiled without PAM support.
7314         * man/login.defs.5.xml: Added variables: OBSCURE_CHECKS_ENAB
7315         PASS_ALWAYS_WARN PASS_CHANGE_TRIES SULOG_FILE SU_NAME
7316         SU_WHEEL_ONLY SYSLOG_SG_ENAB SYSLOG_SU_ENAB.
7317         * man/login.defs.5.xml: ENVIRON_FILE is only used when compiled
7318         without PAM support.
7319         * man/login.defs.5.xml: sulogin uses variables even when compiled
7320         with PAM support.
7321         * man/login.1.xml: ENV_HZ ENV_PATH ENV_SUPATH MAIL_DIR UMASK are
7322         only used when login is not compiled with PAM support.
7323
7324 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
7325
7326         * src/login.c: Make sure is_console is only defined when USE_PAM
7327         is not defined.
7328
7329 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
7330
7331         * libmisc/pwd2spwd.c: Fix time() prototype.
7332
7333 2007-12-08  Nicolas François  <nicolas.francois@centraliens.net>
7334
7335         * man/login.defs.d/CONSOLE_GROUPS.xml,
7336         man/login.defs.d/CONSOLE.xml, man/login.defs.d/DEFAULT_HOME.xml,
7337         man/login.defs.d/ENV_HZ.xml, man/login.defs.d/ENVIRON_FILE.xml,
7338         man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml,
7339         man/login.defs.d/ENV_TZ.xml, man/login.defs.d/ERASECHAR.xml,
7340         man/login.defs.d/FAIL_DELAY.xml,
7341         man/login.defs.d/FAILLOG_ENAB.xml,
7342         man/login.defs.d/FAKE_SHELL.xml, man/login.defs.d/FTMP_FILE.xml,
7343         man/login.defs.d/HUSHLOGIN_FILE.xml,
7344         man/login.defs.d/ISSUE_FILE.xml, man/login.defs.d/KILLCHAR.xml,
7345         man/login.defs.d/LASTLOG_ENAB.xml, man/login.defs.d/LOGIN_RETRIES.xml,
7346         man/login.defs.d/LOGIN_TIMEOUT.xml, man/login.defs.d/LOG_OK_LOGINS.xml,
7347         man/login.defs.d/LOG_UNKFAIL_ENAB.xml,
7348         man/login.defs.d/MAIL_CHECK_ENAB.xml, man/login.defs.d/MOTD_FILE.xml,
7349         man/login.defs.d/NOLOGINS_FILE.xml,
7350         man/login.defs.d/OBSCURE_CHECKS_ENAB.xml,
7351         man/login.defs.d/PASS_ALWAYS_WARN.xml,
7352         man/login.defs.d/PASS_CHANGE_TRIES.xml,
7353         man/login.defs.d/PASS_MAX_LEN.xml,
7354         man/login.defs.d/PORTTIME_CHECKS_ENAB.xml,
7355         man/login.defs.d/QUOTAS_ENAB.xml, man/login.defs.d/SULOG_FILE.xml,
7356         man/login.defs.d/SU_NAME.xml, man/login.defs.d/SU_WHEEL_ONLY.xml,
7357         man/login.defs.d/SYSLOG_SG_ENAB.xml,
7358         man/login.defs.d/SYSLOG_SU_ENAB.xml,
7359         man/login.defs.d/TTYGROUP.xml, man/login.defs.d/TTYTYPE_FILE.xml,
7360         man/login.defs.d/ULIMIT.xml, man/login.defs.d/USERGROUPS_ENAB.xml:
7361         New documentation of login.defs variables.
7362         * man/login.defs.d/MAIL_DIR.xml: Updated. It now contains the
7363         MAIL_FILE documentation.
7364         * man/login.defs.d/LOGIN_STRING.xml: Updated. Mentions %s.
7365         * man/pwconv.8.xml, man/groupmems.8.xml, man/groupdel.8.xml,
7366         man/useradd.8.xml, man/pwck.8.xml, man/groupadd.8.xml,
7367         man/sulogin.8.xml, man/newgrp.1.xml, man/usermod.8.xml,
7368         man/su.1.xml, man/vipw.8.xml, man/passwd.1.xml,
7369         man/groupmod.8.xml, man/login.1.xml, man/userdel.8.xml,
7370         man/grpck.8.xml: Added CONFIGURATION section.
7371         * man/generate_mans.mak: The generations of manpages depends on
7372         the variables from the Makefiles. Add the dependency on Makefile.
7373         * man/login.defs.5.xml: New login.defs variable documented.
7374         * man/Makefile.am: Added XML variable documentation to the
7375         distributed files.
7376
7377 2007-12-05  Nicolas François  <nicolas.francois@centraliens.net>
7378
7379         * man/gshadow.5.xml: Fix the newgrp section in the gshadow.5
7380         manpage. Thanks to Andre Majorel <aym-naibed@teaser.fr>.
7381
7382 2007-11-27  Nicolas François  <nicolas.francois@centraliens.net>
7383
7384         * man/Makefile.am: Added the login.defs variables description to
7385         the man's EXTRA_DIST.
7386
7387 2007-11-27  Nicolas François  <nicolas.francois@centraliens.net>
7388
7389         * man/chfn.1.xml: Uses CHFN_AUTH, CHFN_RESTRICT, LOGIN_STRING.
7390         * man/chgpasswd.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
7391         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
7392         * man/chpasswd.8.xml: Switch to using entities for ENCRYPT_METHOD,
7393         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
7394         * man/chsh.1.xml: Uses CHSH_AUTH, LOGIN_STRING.
7395         * man/expiry.1.xml: Does not use any login.defs parameter.
7396         * man/gpasswd.1.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
7397         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS.
7398         * man/login.defs.5.xml: Added CHSH_AUTH.
7399         * man/login.defs.5.xml: Cross reference -> cross references.
7400         * man/login.defs.5.xml: chfn only uses CHFN_AUTH when no_pam.
7401         * man/login.defs.5.xml: chsh uses CHSH_AUTH, not CHFN_AUTH.
7402         * man/login.defs.d/CHSH_AUTH.xml: Added.
7403         * man/login.defs.5.xml: chsh uses parameters only when no_pam.
7404         * man/login.defs.5.xml: expiry does not use CONSOLE_GROUPS, even
7405         if linked in the binary.
7406         * man/newusers.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
7407         MD5_CRYPT_ENAB, PASS_MAX_DAYS, PASS_MIN_DAYS, PASS_WARN_AGE,
7408         SHA_CRYPT_MIN_ROUNDS, UMASK.
7409
7410 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
7411
7412         * man/generate_translations.mak, man/po/Makefile.in.in: Add
7413         --expand-all-entities to the call to xml2po to avoid translating
7414         the external entities separately.
7415
7416 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
7417
7418         * man/login.defs.d/, man/login.defs.d/CHFN_RESTRICT.xml,
7419         man/login.defs.d/MAIL_DIR.xml, man/login.defs.d/PASS_MAX_DAYS.xml,
7420         man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml,
7421         man/login.defs.d/CHFN_AUTH.xml, man/login.defs.d/MD5_CRYPT_ENAB.xml,
7422         man/login.defs.d/PASS_WARN_AGE.xml, ·man/login.defs.d/UMASK.xml,
7423         man/login.defs.d/PASS_MIN_DAYS.xml, man/login.defs.d/UID_MAX.xml,
7424         man/login.defs.d/LOGIN_STRING.xml, man/login.defs.d/GID_MAX.xml,
7425         man/login.defs.d/ENCRYPT_METHOD.xml, man/login.defs.d/USERDEL_CMD.xml,
7426         man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml, man/login.defs.5.xml:
7427         Put each variable description in an external entities. This will permit
7428         to reference them in the various utils manpages.
7429         * man/login.defs.5.xml: Describe the usage of variables by each
7430         tools when compiled without PAM support.
7431
7432 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
7433
7434         * po/stats: Do not generate gmo files.
7435
7436 2007-11-25  Nicolas François  <nicolas.francois@centraliens.net>
7437
7438         * man/po/LINGUAS: Added missing LINGUAS.
7439         * man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
7440         man/po/ru.po, man/po/sv.po: Updated.
7441
7442 2007-11-25  Nicolas François  <nicolas.francois@centraliens.net>
7443
7444         * configure.in, man/po/Makefile.in.in, man/po/Makevars,
7445         man/po/POTFILES.in, man/Makefile.am: Generate the PO files for the
7446         manpages in the man/po directory (instead of man/<lang>). Use a
7447         Makefile.in.in based on gettext's one. This ensure that the PO are
7448         generated before being used in the <lang> directories.
7449         * man/generate_mans.mak, man/generate_translations.mak,
7450         man/Makefile.am: New makefile for the generation of manpages from
7451         XML (generate_mans.mak). This avoid duplicate chunks in
7452         generate_translations.mak and Makefile.am
7453         * man/de/de.po, man/fr/fr.po, man/it/it.po, man/pl/pl.po,
7454         man/ru/ru.po, man/sv/sv.po: Moved to...
7455         * man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
7456         man/po/ru.po, man/po/sv.po: ... here.
7457
7458 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7459
7460         * src/userdel.c, src/lastlog.c, src/newusers.c, src/chpasswd.c,
7461         src/usermod.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
7462         src/su.c, src/groupmod.c, src/passwd.c, src/groupadd.c,
7463         src/chage.c, src/faillog.c, src/chsh.c: Do not use tabulations in
7464         Usage strings.
7465         * po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po,
7466         po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/hu.po, po/id.po,
7467         po/it.po, po/ja.po, po/nb.po, po/pl.po, po/pt_BR.po, po/pt.po,
7468         po/ro.po, po/ru.po, po/sk.po, po/sv.po, po/tl.po, po/tr.po,
7469         po/uk.po, po/vi.po: Unfuzzy previous changes.
7470         * po/bs.po, po/he.po, po/nn.po, po/sq.po: No Usage string
7471         translated. Just updated PO.
7472         * po/dz.po, po/km.po, po/ko.po, po/ne.po, po/nl.po, po/zh_CN.po,
7473         po/zh_TW.po: It would be too error prone for me to unfuzzy these
7474         ones. Updated PO. (km and ne should be reviewed: options are
7475         translated).
7476
7477 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7478
7479         * po/ne.po, po/bs.po, po/cs.po, po/pt_BR.po, po/km.po, po/es.po,
7480         po/eu.po, po/ko.po, po/hu.po, po/sk.po, po/vi.po, po/uk.po,
7481         po/ro.po, po/sq.po, po/ru.po, po/id.po, po/nb.po, po/el.po,
7482         po/gl.po, po/fr.po, po/nl.po, po/pl.po, po/nn.po, po/it.po,
7483         po/dz.po, po/tl.po, po/pt.po, po/ca.po, po/da.po, po/tr.po,
7484         po/sv.po, po/de.po, po/ja.po, po/zh_TW.po, po/he.po, po/fi.po,
7485         po/zh_CN.po: Run "make update-po" in the po directory.
7486
7487 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7488
7489         * configure.in: New configure option: --with-sha-crypt enabled by
7490         default. Keeping the feature enabled is safe. Disabling it permits
7491         to disable the references to the SHA256 and SHA512 password
7492         encryption algorithms from the usage help and manuals (in addition
7493         to the support for these algorithms in the code).
7494         * libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
7495         src/chpasswd.c, src/chgpasswd.c, src/passwd.c: ENCRYPT_METHOD is
7496         always supported in login.defs. Remove the ENCRYPTMETHOD_SELECT
7497         preprocessor condition.
7498         * libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
7499         src/chpasswd.c, src/chgpasswd.c, src/passwd.c: Disable SHA256 and
7500         SHA512 if USE_SHA_CRYPT is not defined (this corresponds to a
7501         subset of the ENCRYPTMETHOD_SELECT sections).
7502
7503 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7504
7505         * lib/encrypt.c: If we requested a non DES encryption, make sure
7506         crypt returned a encrypted password longer than 13 chars. This
7507         protects against the GNU crypt() which does not return NULL if the
7508         algorithm is not supported, and return a DES encrypted password.
7509
7510 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7511
7512         * lib/groupio.c: Add missing #include "getdef.h"
7513
7514 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7515
7516         * src/newusers.c: Provide the crypt method to all the
7517         crypt_make_salt invocations.
7518         * src/newusers.c: Tag the ENCRYPTMETHOD_SELECT dependent code
7519         accordingly.
7520
7521 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7522
7523         * libmisc/salt.c: Make sure method is not NULL, defaulting to DES.
7524         Thanks to Dan Kopecek <dkopecek@redhat.com>.
7525         * src/chpasswd.c, src/chgpasswd.c: Do not use DES by default, but
7526         the system default define in /Etc/login.defs. Thanks to Dan
7527         Kopecek <dkopecek@redhat.com>.
7528         * NEWS, man/chpasswd.8.xml, man/chgpasswd.8.xml: Do not mention
7529         DES as the default algorithm.
7530         * src/chpasswd.c, src/chgpasswd.c: Tag the ENCRYPTMETHOD_SELECT
7531         dependent code accordingly.
7532
7533 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7534
7535         * libmisc/salt.c: Move the srandom call to gensalt.
7536         * libmisc/salt.c (gensalt): Replace the test on salt_size by an
7537         assert.
7538
7539 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7540
7541         Patch contributed by Dan Kopecek <dkopecek@redhat.com>
7542         * src/chpasswd.c, src/chgpasswd.c, src/newusers.c: Fix compilation
7543         when ENCRYPTMETHOD_SELECT is not defined.
7544         * libmisc/salt.c (MAGNUM): The nul char was put on (array)[2]
7545         instead of (array)[3].
7546         * libmisc/salt.c: MAGNUM should be defined even if
7547         ENCRYPTMETHOD_SELECT is not defined.
7548         * libmisc/salt.c: Use random instead of rand.
7549         * libmisc/salt.c (gensalt): New function to generate a salt
7550         (instead of using gettimeofday).
7551
7552 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7553
7554         * NEWS, src/newusers.c: New options -c/--crypt-method
7555         -s/--sha-rounds.
7556
7557 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7558
7559         * src/chpasswd.c: Added crypt method: NONE.
7560         * src/chpasswd.c: Added --sha-rounds to the usage().
7561         * libmisc/Makefile.am, libmisc/getlong.c, src/chgpasswd.c,
7562         src/chpasswd.c, lib/prototypes.h: New getlong function. Replace
7563         chpasswd's and chgpasswd's getnumber.
7564
7565 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7566
7567         * lib/groupio.c: Removed unused variable 'member'.
7568
7569 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7570
7571         * man/chpasswd.8.xml: Document the variables used by chpasswd.
7572         The definitions are copied from login.defs. I should try to use a
7573         less error prone process for this.
7574
7575 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7576
7577         * man/login.defs.5.xml: Use <replaceable> for the values set by
7578         users. (was sometimes <emphasis remap='I'>)
7579         * man/login.defs.5.xml: Use <option> vor the variable names. This
7580         makes the manpage much more readable.
7581         * man/login.defs.5.xml (ENCRYPT_METHOD, MD5_CRYPT_ENAB,
7582         SHA_CRYPT_MIN_ROUNDS, SHA_CRYPT_MAX_ROUNDS): Mention that command
7583         line option may supersede the system setting.
7584         * man/login.defs.5.xml: Document the variables used by chpasswd
7585         and chgpasswd.
7586
7587 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7588
7589         * lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
7590         svn propset svn:keywords Id
7591
7592 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7593
7594         * NEWS, lib/getdef.c, man/login.defs.5.xml: New login.defs
7595         variable: MAX_MEMBERS_PER_GROUP. Used for the split groups support.
7596         * lib/commonio.c, lib/commonio.h: Add an open_hook and close_hook
7597         operation. They are called after the database is actually opened
7598         and parse, or before it is closed.
7599         * lib/groupio.c: Add an open_hook to merge split groups, and an
7600         close group to split groups if MAX_MEMBERS_PER_GROUP is set.
7601         This fixes gpasswd and chgpasswd when split groups are used.
7602         * lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: No open or close
7603         hooks for these databases. (unsure about what should be the gshadow
7604         behavior for split groups)
7605
7606 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7607
7608         * NEWS, src/gpasswd.c: Read the group and shadow groups using
7609         gr_locate and sgr_locate. gpasswd write in the file database. Thus
7610         it should read information from the file database, not using
7611         getgrnam. The change to sgr_locate is just for consistency. This
7612         requires opening the group databases (read only) using
7613         gr_open/sgr_open.
7614
7615 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7616
7617         * configure.in: SHADOWGRP added to AM_CONDITIONAL for the
7618         generation of manpages.
7619         * man/generate_translations.mak: Added pam/no_pam condition (like
7620         in man/Makefile.am).
7621         * man/Makefile.am, man/generate_translations.mak: Added
7622         gshadow/no_gshadow condition.
7623         * man/gpasswd.1.xml: Use the gshadow/no_gshadow condition to
7624         change the manpage depending on the shadow group support.
7625         * NEWS: Indicate that manpages should be re-generated if configure
7626         option are changed, due to conditions.
7627
7628 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7629
7630         * po/ru.po: Updated to 399t. Thanks to Yuri Kozlov <kozlov.y@gmail.com>.
7631         * man/po/ru.po: Updated to 757t. Thanks also to Yuri Kozlov
7632         <kozlov.y@gmail.com>.
7633
7634 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7635
7636         * man/Makefile.am: Add support for conditionally including
7637         paragraphs. (e.g. to support the documentation of PAM and !PAM
7638         features).
7639
7640 2007-11-21  Nicolas François  <nicolas.francois@centraliens.net>
7641
7642         * man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow,
7643         and /etc/passwd to section FILES.
7644         * man/newusers.8.xml: Mentions that PAM is not used to set the
7645         passwords.
7646         * man/chpasswd.8.xml: Added section FILES (/etc/passwd,
7647         /etc/shadow, /etc/login.defs).
7648         * man/chpasswd.8.xml: Use the same paragraph as in newusers.8.xml
7649         to indicate that PAM is not used.
7650         * man/chgpasswd.8.xml: Added section FILES (/etc/group,
7651         /etc/gshadow, /etc/login.defs).
7652
7653 2007-11-21  Nicolas François  <nicolas.francois@centraliens.net>
7654
7655         * src/newusers.c: Try harder to get the GID equal to the UID.
7656         This was not the case when the GID is not specified, and a GID
7657         exist with an ID higher than the all the UIDs.
7658         * src/newusers.c: Typo in comment: contrained -> constrained.
7659
7660 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7661
7662         * src/chgpasswd.c: If the shadow group file is not present, do not
7663         try to locate the group entry from /etc/gshadow, and set the
7664         password in /etc/group.
7665
7666 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7667
7668         * libmisc/obscure.c, libmisc/salt.c, src/passwd.c: Match DES, MD5,
7669         SHA256, and SHA512 exactly (not only the first 3/6 chars).
7670         * libmisc/salt.c (SHA_salt_rounds): Set rounds to the specified
7671         prefered_rounds value, if specified.
7672         * src/gpasswd.c, libmisc/salt.c: Fix compilation warnings (use
7673         size_t for lengths).
7674         * src/chpasswd.c, src/chgpasswd.c: Add missing parenthesis.
7675
7676 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7677
7678         * man/sv, man/de, man/fr, man/pl, man/ru, man/it: Ignore the
7679         generated manpages. Add *.[1358] to the svn:ignore property.
7680
7681 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7682
7683         * src/chgpasswd.c, src/chpasswd.c: The -c, -e, and -m options are
7684         exclusives.
7685
7686 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7687
7688         * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document how the
7689         encryption algorithm is chosen for the passwords. Document the new
7690         -c and -s options. Add a reference to login.defs(5).
7691         * man/login.defs.5.xml: Document the ENCRYPT_METHOD,
7692         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS, and SHA_CRYPT_MAX_ROUNDS
7693         variables.
7694         * etc/login.defs: Indicate that MD5_CRYPT_ENAB is deprecated.
7695         Document the relationship with PAM for MD5_CRYPT_ENAB and
7696         ENCRYPT_METHOD.
7697
7698 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7699
7700         * src/passwd.c: Increase the size of crypt_passwd from 128 to 256
7701         to avoid overflow in case of SHA512 (161 should be sufficient).
7702
7703 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7704
7705         * lib/prototypes.h, libmisc/salt.c: Add parameters to
7706         crypt_make_salt to force the crypt method and number of rounds.
7707         * libmisc/salt.c: Add parameter to SHA_salt_rounds to force the
7708         number of rounds.
7709         * libmisc/salt.c, lib/getdef.c: ENCRYPT_METHOD and MD5_CRYPT_ENAB
7710         are needed also when USE_PAM (e.g. for chpasswd).
7711         * src/passwd.c, src/newusers.c, src/gpasswd.c: Use the new
7712         crypt_make_salt prototype
7713         * src/chpasswd.c, src/chgpasswd.c: Add option -c, --crypt-method
7714         and -s, --sha-rounds to specify the crypt method and number of
7715         rounds in case of one of the SHA methods. The new prototype of
7716         crypt_make_salt simplifies the handling of -m, --md5.
7717
7718 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7719
7720         * libmisc/salt.c: The salt has a random size (between 8 and 16
7721         bytes).
7722         * lib/getdef.c, etc/login.defs: Add definitions for
7723         SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS.
7724         * libmisc/salt.c: Use SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS
7725         to add a random number of rounds if needed.
7726
7727 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7728
7729         * libmisc/salt.c (MAGNUM): Terminate the array with nul (the array
7730         is then used with strcat).
7731         * libmisc/salt.c (crypt_make_salt): Initialize result[0] to nul at
7732         the beginning (was not initialized when USE_PAM).
7733         * libmisc/salt.c (crypt_make_salt): Check that ENCRYPT_METHOD is a
7734         valid crypt method.
7735
7736 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7737
7738         * NEWS, libmisc/obscure.c, libmisc/salt.c, src/passwd.c,
7739         lib/getdef.c, etc/login.defs: Add support for SHA256 and SHA512
7740         encrypt methods. Apply RedHat's patch shadow-4.0.18.1-sha256.patch.
7741         Thanks to Peter Vrabec. Hardly no changes except re-indent and
7742         changes related to recent modifications (max_salt_len in
7743         crypt_make_salt). Changes in lib/defines.h not applied (definition
7744         of ENCRYPTMETHOD_SELECT). I will add a configure check or flag.
7745
7746 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7747
7748         * man/de/Makefile.am: Add su.1 to the generated manpages.
7749         * man/fr/Makefile.am: Add id.1 to EXTRA_DIST. It will be
7750         generated.
7751         * man/pl/Makefile.am: Add groupmems.8 to the generated manpages.
7752         * man/it/Makefile.am: Add logoutd.8 to EXTRA_DIST. It will be
7753         generated.
7754         * man/de/su.1, man/fr/id.1, man/pl/groupmems.8, man/it/logoutd.8:
7755         Removed, since auto-generated.
7756
7757 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7758
7759         Fix some compilation warnings:
7760         * src/login.c: "dereferencing type-punned pointer will break
7761         strict-aliasing rules", add a variable indirection: ptr_pam_user.
7762         * lib/commonio.c: do not initialize the sb stat structure.
7763         * lib/pwio.c, lib/shadowio.c, lib/sgroupio.c, lib/groupio.c:
7764         initialize the security context if WITH_SELINUX.
7765         * lib/nscd.c: The service argument is not const (used in the exec*
7766         parameters). This matches with the prototype definition.
7767         * src/groupmems.c: Avoid ++i when i is also used in the same line.
7768         * src/newusers.c: i is positive every time it is compared. Add
7769         cast to unsigned int.
7770         * src/nologin.c: Use a main() prototype with no arguments.
7771         * libmisc/getdate.y: Initialize the type and value fields of the
7772         terminating entry for each TABLE.
7773         * libmisc/tz.c: Use "TZ=CST6CDT" as the default timezone.
7774
7775 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7776
7777         * man/pl/Makefile.am: Add getspnam.3 to EXTRA_DIST since it is
7778         generated with shadow.3.
7779         * man/generate_translations.mak: Clean all the manpages, based on
7780         $(EXTRA_DIST), not $(man_MANS).
7781
7782 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7783
7784         * man/sv/getspnam.3, man/sv/faillog.5, man/sv/faillog.8,
7785         man/sv/grpconv.8, man/sv/chsh.1, man/sv/shadow.3,
7786         man/sv/grpunconv.8, man/sv/shadow.5, man/sv/newgrp.1,
7787         man/sv/limits.5, man/sv/gpasswd.1, man/sv/sg.1, man/sv/userdel.8,
7788         man/sv/lastlog.8, man/sv/login.access.5, man/sv/grpck.8,
7789         man/sv/chfn.1, man/sv/expiry.1, man/sv/newusers.8,
7790         man/sv/chpasswd.8, man/sv/pwconv.8, man/sv/logoutd.8,
7791         man/sv/groupmems.8, man/sv/usermod.8, man/sv/pwunconv.8,
7792         man/sv/su.1, man/sv/groupdel.8, man/sv/chgpasswd.8,
7793         man/sv/login.defs.5, man/sv/vipw.8, man/sv/useradd.8,
7794         man/sv/gshadow.5, man/sv/passwd.1, man/sv/groupmod.8,
7795         man/sv/passwd.5, man/sv/chage.1, man/sv/porttime.5,
7796         man/sv/login.1, man/sv/pwck.8, man/sv/nologin.8,
7797         man/sv/groupadd.8, man/sv/suauth.5, man/sv/vigr.8,
7798         man/sv/groups.1, man/de/passwd.1, man/de/newgrp.1, man/de/chsh.1,
7799         man/de/passwd.5, man/de/login.1, man/de/vipw.8, man/de/chfn.1,
7800         man/de/vigr.8, man/de/groups.1, man/fr/getspnam.3,
7801         man/fr/faillog.5, man/fr/faillog.8, man/fr/grpconv.8,
7802         man/fr/chsh.1, man/fr/shadow.3, man/fr/grpunconv.8,
7803         man/fr/shadow.5, man/fr/newgrp.1, man/fr/limits.5,
7804         man/fr/gpasswd.1, man/fr/sg.1, man/fr/userdel.8,
7805         man/fr/login.access.5, man/fr/lastlog.8, man/fr/grpck.8,
7806         man/fr/chfn.1, man/fr/expiry.1, man/fr/newusers.8,
7807         man/fr/chpasswd.8, man/fr/pwconv.8, man/fr/logoutd.8,
7808         man/fr/usermod.8, man/fr/pwunconv.8, man/fr/su.1,
7809         man/fr/groupdel.8, man/fr/login.defs.5, man/fr/vipw.8,
7810         man/fr/useradd.8, man/fr/gshadow.5, man/fr/passwd.1,
7811         man/fr/groupmod.8, man/fr/passwd.5, man/fr/porttime.5,
7812         man/fr/chage.1, man/fr/login.1, man/fr/pwck.8, man/fr/groupadd.8,
7813         man/fr/suauth.5, man/fr/vigr.8, man/fr/groups.1, man/pl/faillog.5,
7814         man/pl/faillog.8, man/pl/chsh.1, man/pl/grpconv.8,
7815         man/pl/grpunconv.8, man/pl/shadow.5, man/pl/newgrp.1,
7816         man/pl/limits.5, man/pl/gpasswd.1, man/pl/sg.1, man/pl/userdel.8,
7817         man/pl/login.access.5, man/pl/lastlog.8, man/pl/grpck.8,
7818         man/pl/chfn.1, man/pl/expiry.1, man/pl/newusers.8,
7819         man/pl/pwconv.8, man/pl/chpasswd.8, man/pl/logoutd.8,
7820         man/pl/usermod.8, man/pl/pwunconv.8, man/pl/su.1,
7821         man/pl/groupdel.8, man/pl/vipw.8, man/pl/login.defs.5,
7822         man/pl/useradd.8, man/pl/passwd.1, man/pl/groupmod.8,
7823         man/pl/passwd.5, man/pl/porttime.5, man/pl/chage.1,
7824         man/pl/login.1, man/pl/pwck.8, man/pl/groupadd.8, man/pl/suauth.5,
7825         man/pl/vigr.8, man/pl/groups.1, man/ru/getspnam.3,
7826         man/ru/faillog.5, man/ru/faillog.8, man/ru/grpconv.8,
7827         man/ru/chsh.1, man/ru/shadow.3, man/ru/grpunconv.8,
7828         man/ru/shadow.5, man/ru/newgrp.1, man/ru/limits.5,
7829         man/ru/gpasswd.1, man/ru/sg.1, man/ru/userdel.8,
7830         man/ru/login.access.5, man/ru/lastlog.8, man/ru/grpck.8,
7831         man/ru/chfn.1, man/ru/expiry.1, man/ru/newusers.8,
7832         man/ru/chpasswd.8, man/ru/pwconv.8, man/ru/logoutd.8,
7833         man/ru/groupmems.8, man/ru/usermod.8, man/ru/pwunconv.8,
7834         man/ru/su.1, man/ru/groupdel.8, man/ru/chgpasswd.8,
7835         man/ru/login.defs.5, man/ru/vipw.8, man/ru/useradd.8,
7836         man/ru/gshadow.5, man/ru/passwd.1, man/ru/groupmod.8,
7837         man/ru/passwd.5, man/ru/chage.1, man/ru/porttime.5,
7838         man/ru/login.1, man/ru/pwck.8, man/ru/nologin.8,
7839         man/ru/groupadd.8, man/ru/suauth.5, man/ru/vigr.8,
7840         man/ru/groups.1, man/it/getspnam.3, man/it/faillog.5,
7841         man/it/faillog.8, man/it/grpconv.8, man/it/chsh.1,
7842         man/it/shadow.3, man/it/grpunconv.8, man/it/shadow.5,
7843         man/it/newgrp.1, man/it/gpasswd.1, man/it/sg.1, man/it/userdel.8,
7844         man/it/lastlog.8, man/it/grpck.8, man/it/chfn.1, man/it/expiry.1,
7845         man/it/newusers.8, man/it/chpasswd.8, man/it/pwconv.8,
7846         man/it/usermod.8, man/it/pwunconv.8, man/it/su.1,
7847         man/it/groupdel.8, man/it/vipw.8, man/it/useradd.8,
7848         man/it/passwd.1, man/it/groupmod.8, man/it/passwd.5,
7849         man/it/porttime.5, man/it/chage.1, man/it/login.1, man/it/pwck.8,
7850         man/it/groupadd.8, man/it/vigr.8, man/it/groups.1,
7851         man/pl/shadow.3, man/pl/sulogin.8, man/pl/id.1, man/ru/sulogin.8,
7852         man/ru/id.1, man/it/id.1: Remove generated translated manpages.
7853         They are still distributed with the shadow tarballs.
7854
7855 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7856
7857         * man/pl/chgpassw.8: Remove chgpassw.8 since the real manpage
7858         should be named chgpasswd.8.
7859
7860 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7861
7862         * man/vigr.8.xml: Remove file. The vigr man page is generated from
7863         the vipw XML file.
7864
7865 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7866
7867         * lib/prototypes.h, configure.in, libmisc/Makefile.am,
7868         libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
7869         libmisc/xgetgrnam.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c:
7870         Added functions xgetpwnam(), xgetpwuid(), xgetgrnam(),
7871         xgetgrgid(), and xgetspnam(). They allocate memory for the
7872         returned structure and are more robust to successive calls. They
7873         are implemented with the libc's getxxyyy_r() functions if
7874         available.
7875         * NEWS, libmisc/limits.c, libmisc/entry.c, libmisc/chowntty.c,
7876         libmisc/addgrps.c, libmisc/myname.c, libmisc/rlogin.c,
7877         libmisc/pwdcheck.c, src/newgrp.c, src/login_nopam.c, src/login.c,
7878         src/userdel.c, src/lastlog.c, src/grpck.c, src/gpasswd.c,
7879         src/newusers.c, src/chpasswd.c, src/chfn.c, src/groupmems.c,
7880         src/usermod.c, src/expiry.c, src/groupdel.c, src/chgpasswd.c,
7881         src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c, src/pwck.c,
7882         src/groupadd.c, src/chage.c, src/login.c, src/suauth.c,
7883         src/faillog.c, src/groups.c, src/chsh.c, src/id.c: Review all the
7884         usage of one of the getpwnam(), getpwuid(), getgrnam(),
7885         getgrgid(), and getspnam() functions. It was noticed on
7886         http://bugs.debian.org/341230 that chfn and chsh use a passwd
7887         structure after calling a pam function, which result in using
7888         information from the passwd structure requested by pam, not the
7889         original one. It is much easier to use the new xget... functions
7890         to avoid these issues. I've checked which call to the original
7891         get... functions could be left (reducing the scope of the
7892         structure if possible), and I've left comments to ease future
7893         reviews (e.g. /* local, no need for xgetpwnam */).
7894         Note: the getpwent/getgrent calls should probably be checked also.
7895         * src/groupdel.c, src/expiry.c: Fix typos in comments.
7896         * src/groupmod.c: Re-indent.
7897         * lib/Makefile.am, lib/groupmem.c, lib/groupio.c, lib/pwmem.c,
7898         lib/pwio.c, lib/shadowmem.c, lib/shadowio.c: Move the __<xx>_dup
7899         functions (used by the xget... functions) from the <xx>io.c files
7900         to the new <xx>mem.c files. This avoid linking some utils against
7901         the SELinux library.
7902
7903 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7904
7905         * man/pl/pl.po: Fix typo: chgpassw -> chgpasswd.
7906         * man/pl/Makefile.am: Fix typo: chgpassw -> chgpasswd.
7907         * man/de/de.po: groups shall not be translated (for command,
7908         refname, or refentrytitle).
7909
7910 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7911
7912         * src/login.c: Fix typo introduced while fixing
7913         http://bugs.debian.org/451521 (compile fix).
7914
7915 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7916
7917         * libmisc/Makefile.am: Fix typo: EXTRA_DOST -> EXTRA_DIST.
7918
7919 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7920
7921         * src/login_nopam.c: Fix a typo in a comment.
7922
7923 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7924
7925         * src/useradd.c: Do not document the behavior compared to old
7926         versions.
7927
7928 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7929
7930         * man/usermod.8.xml: Document the differences between locking an
7931         account and locking a password.
7932
7933 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7934
7935         * NEWS, src/usermod.c: Refuse to unlock an account when it would
7936         result in a passwordless account.  Based on Openwall's patch
7937         shadow-4.0.4.1-owl-usermod-unlock.diff.
7938         * NEWS, src/passwd.c: Likewise.
7939
7940 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7941
7942         * src/userdel.c (path_prefix): Make sure that the prefix is the
7943         name of a directory (not only the beginning of a directory).
7944         Openwall patch shadow-4.0.4.1-owl-userdel-path_prefix.diff.
7945
7946 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7947
7948         * NEWS, src/newgrp.c: Do not give an indication that the group has no
7949         password.
7950         * src/newgrp.c: Do not only bail on syslog if the password is not
7951         valid. Also give an indication to the user on stderr.
7952
7953 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7954
7955         Fixes from Openwall patch shadow-4.0.4.1-owl-chage-drop-priv.diff:
7956         * src/chage.c: Remove cleanup(). pw_lock is never called. Replace
7957         cleanup(2) by spw_unlock and remove the calls to cleanup(1).
7958         * src/chage.c: Remove variable pwrw. It is always set to 0. The
7959         password database is always read only.
7960         * src/chage.c: Make chage -l also drop the saved GID.
7961         * src/chage.c: Prefer setregid/setreuid to setgid/setuid.
7962
7963 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7964
7965         Fixes from Openwall patch shadow-4.0.4.1-alt-man.diff:
7966         * man/useradd.8.xml: Indicate that the NIS caveats is also valid
7967         for any external database as LDAP.
7968         * man/groupadd.8.xml: Likewise.
7969         * man/groupadd.8.xml: Reorder and reformat the caveats bullets.
7970
7971 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7972
7973         * NEWS: Applied Debian patch 409_man_generate_from_PO to
7974         automatically generate the translated manpages from the POs.
7975         * man/Makefile.am: Replace the individual rules for the generation
7976         of the manpages (from XML) by a generic Makefile rule an
7977         dependencies for the linked manpages.
7978         * man/generate_translations.mak: Generic rules for all the
7979         generated translated manpages (if ENABLE_REGENERATE_MAN).
7980         * man/Makefile.am: Removed rules for all the generated translated
7981         manpages.
7982         * man/sv/Makefile.am, man/de/Makefile.am, man/fr/Makefile.am,
7983         man/pl/Makefile.am, man/ru/Makefile.am, man/it/Makefile.am:
7984         Include generate_translations.mak to handle the generated
7985         translations (XML and roff files).
7986         * man/Makefile.am: Translated XML files moved from the CLEANFILES
7987         variable of man/Makefile.am to the various languages Makefiles.
7988
7989 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7990
7991         * man/chpasswd.8.xml: Document that chpasswd does not use PAM to
7992         update the passwords. This fixes http://bugs.debian.org/396726.
7993         Debian patch 411_chpasswd_document_no_pam.
7994
7995 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7996
7997         * NEWS, src/su.c: Avoid terminating the PAM library in the forked
7998         child.  This is done later in the parent after closing the PAM
7999         session. This fixes http://bugs.debian.org/412061.
8000         Debian patch 405_su_no_pam_end_before_exec.
8001
8002 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8003
8004         * man/newgrp.1.xml: Mention sg in the newgrp manpage.
8005         This fixes http://bugs.debian.org/396690.
8006         Debian patch 410_newgrp_man_mention_sg.
8007
8008 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8009
8010         * src/passwd.c: Fix typo: the warndays option was called warning.
8011         This is now warndays, as documented in the manpage and usage.
8012         This fixes http://bugs.debian.org/445481.
8013         Debian patch 417_passwd_warndays.
8014
8015 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8016
8017         * NEWS, src/pwck.c: Remove the preprocessor check SHADOWPWD. The
8018         variable is no more defined (and always assumed).
8019         Debian patch 493_pwck_no_SHADOWPWD.
8020
8021 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8022
8023         * NEWS, src/passwd.c, man/passwd.1.xml: -l/-u options: edit the
8024         shadow account expiry field *in addition* to editing the password
8025         field.  This fixes http://bugs.debian.org/389183.
8026         Debian patch 494_passwd_lock.
8027
8028 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8029
8030         * NEWS, src/newgrp.c: Do not request a password when a user uses
8031         newgrp to switch to her primary group.
8032         This fixes http://bugs.debian.org/396691.
8033         Debian patch 497_newgrp_primary_group.
8034         * src/newgrp.c: Remove a comment which states otherwise.
8035
8036 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8037
8038         * src/login.c: Log an error if the password entry could not be
8039         found (respect LOG_UNKFAIL_ENAB to avoid logging a password). This
8040         fixes the Debian bug http://bugs.debian.org/451521
8041
8042 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8043
8044         * man/useradd.8.xml: -b documenation: Use the same notation for
8045         the -d argument as in the -d documentation.
8046
8047 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8048
8049         * src/useradd.c: Allow the -b option even without the -D option.
8050
8051 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8052
8053         * src/usermod.c: Use the same error message for the below errors.
8054         (option working ONLY if another is specified).
8055
8056 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8057
8058         * src/usermod.c: Make usermod -o and -u work independently of the
8059         argument order.
8060
8061 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8062
8063         * src/usermod.c: Validate that two of the -L, -p, and -U options
8064         are not used at the same time after the parsing of options. -U
8065         used to be allowed after -p or -L, but not before.
8066
8067 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8068
8069         * src/usermod.c: Make usermod -d and -m work independently of the
8070         argument order. Thanks to Justin Pryzby <jpryzby+d@quoininc.com>
8071         for the patch. This fixes http://bugs.debian.org/451518.
8072
8073 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8074
8075         * NEWS, lib/nscd.c: Execute nscd -i instead of using the private
8076         glibc socket to flush the nscd tables. This comes from the RedHat
8077         patch shadow-4.0.16-nscd.c.
8078         * lib/commonio.c: Forbid inheritance of the passwd and group files
8079         to the spawed processes (like nscd). This comes from the RedHat
8080         patch shadow-4.0.17-notInheritFd.patch.
8081         * lib/nscd.h: Update header.
8082
8083 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8084
8085         * src/usermod.c (fail_exit): Add static variables pw_locked,
8086         spw_locked, gr_locked, and sgr_locked to indicate which files must
8087         be unlocked.
8088         * src/usermod.c (open_files, close_files): Open and close the
8089         group files as well as the passwd files. This permit to check if
8090         the group files modification are allowed before writing the passwd
8091         files.
8092         * src/usermod.c (grp_update, update_gshadow, update_group): Do not
8093         return a status code, but call fail_exit() in case of error. The
8094         group files are no more opened and closed in update_gshadow() and
8095         update_group().
8096         * src/usermod.c (main): move the call to grp_update between
8097         open_files and close_files.
8098         * src/usermod.c: Differentiate failure to add a group entry and
8099         failure to add a shadow group entry.
8100
8101 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8102
8103         * src/userdel.c: Differentiate failure to update a group entry and
8104         failure to update a shadow group entry.
8105
8106 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8107
8108         * src/userdel.c, src/usermod.c, src/useradd.c: Inform the user if
8109         out of memory while updating a group database.
8110
8111 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8112
8113         * NEWS, src/usermod.c: Update the group database before flushing
8114         the nscd caches.
8115
8116 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8117
8118         * NEWS, src/userdel.c: Abort if an error is found while updating the
8119         user or group database. No changes will be written in the
8120         databases.
8121
8122 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
8123
8124         * src/useradd.c: It is no more needed to check that the user's
8125         groups are specified only once in the group file. This is checked
8126         by gr_update().
8127
8128 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
8129
8130         * lib/commonio.c (next_entry_by_name): New function.
8131         * NEWS, lib/commonio.c (commonio_update): When an entry is updated, make
8132         sure that there are no other entry with the same name. This fixes
8133         an infinite loop in userdel and usermod when an (erroneous) group
8134         file contains two entries with the same name.
8135         (https://bugzilla.redhat.com/show_bug.cgi?id=240915)
8136
8137 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
8138
8139         * libmisc/salt.c: Make sure the salt string is terminated at the
8140         right place (either 8th, or 11th position).
8141         * NEWS, src/chgpasswd.c, src/chpasswd.c: The protocol + salt does
8142         not need 15 chars. No need for a temporary buffer.
8143         This change the fix committed on 2007-11-10. The salt provided to
8144         pw_encrypt could have been too long.
8145
8146 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
8147
8148         * man/fr/fr.po: Fix typo: missing / in <placeholder-1/>. This
8149         caused the gpasswd title to be incomplete in the French manpage.
8150
8151 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
8152
8153         * configure.in: Check if the l64a function exists instead of a64l
8154         which we do not use.
8155         * libmisc/salt.c: Add support for uClibc with no l64a().
8156
8157 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
8158
8159         * configure.in: Check if the netdb.h header file and the innetgr
8160         function exist.
8161         * src/login_nopam.c, NEWS: Add support for systems with no
8162         innetgr().  On those systems, username with an @ will be treated
8163         like any other username (i.e. lookup in the local database for an
8164         user with an @). Thanks to Mike Frysinger for the patch.
8165
8166 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
8167
8168         * src/useradd.c: Indentation fix.
8169
8170 2007-11-14  Nicolas François  <nicolas.francois@centraliens.net>
8171
8172         * src/newgrp.c, NEWS: Declare the child and pid variable at the
8173         beginning of a block. This fixes a compilation issue with gcc 2.95.
8174         The intent is the same as Gentoo's patch shadow-4.0.12-gcc2.patch.
8175
8176 2007-11-14  Nicolas François  <nicolas.francois@centraliens.net>
8177
8178         * src/Makefile, NEWS: Add a suidperms variable. This should ease
8179         the change of permission of suid binaries for distributors (not
8180         recommended).
8181
8182 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
8183
8184         * ./, libmisc/, src/, contrib/, doc/, lib/, man/, man/sv/,
8185         man/de/, man/ja/, man/fi/, man/pt_BR/, man/fr/, man/pl/, man/hu/,
8186         man/tr/, man/ru/, man/zh_TW/, man/id/, man/zh_CN/, man/cs/,
8187         man/es/, man/ko/, man/it/, etc/, etc/pam.d/, po/: Restore the
8188         ignore patterns from the previous repository.
8189
8190         * libmisc/*.c, libmisc/*.h, libmisc/getdate.y, shadow.spec.in,
8191         src/*.c, contrib/groupmems.shar, contrib/pwdauth.c,
8192         doc/README.platforms, doc/WISHLIST, doc/console.c.spec.txt,
8193         lib/*.c, lib/*.h, COPYING, man/*.xml, man/sv/*.[1358],
8194         man/de/*.[1358], man/ja/*.[1358], man/fi/*.[1358],
8195         man/fr/*.[1358], man/pt_BR/*.[1358], man/pl/*.[1358],
8196         man/hu/*.[1358], man/tr/*.[1358], man/ru/*.[1358],
8197         man/zh_TW/*.[1358], man/id/*.[1358], man/zh_CN/*.[1358],
8198         man/cs/*.[1358], man/es/*.[1358], man/ko/*.[1358],
8199         man/it/*.[1358], etc/login.access, etc/login.defs, NEWS: Added the
8200         subversion svn:keywords property (Id) for proper identification.
8201
8202 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
8203
8204         * man/sv/sv.po, man/de/de.po, man/fr/fr.po, man/pl/pl.po,
8205         man/ru/ru.po, man/it/it.po: Run "make update-po" in the man
8206         directory.
8207
8208         * po/ne.po, po/bs.po, po/cs.po, po/pt_BR.po, po/km.po, po/es.po,
8209         po/eu.po, po/ko.po, po/hu.po, po/sk.po, po/vi.po, po/uk.po,
8210         po/ro.po, po/sq.po, po/ru.po, po/id.po, po/nb.po, po/el.po,
8211         po/gl.po, po/fr.po, po/nl.po, po/pl.po, po/nn.po, po/it.po,
8212         po/dz.po, po/tl.po, po/pt.po, po/ca.po, po/da.po, po/tr.po,
8213         po/sv.po, po/de.po, po/ja.po, po/zh_TW.po, po/he.po, po/fi.po,
8214         po/zh_CN.po: Run "make update-po" in the po directory.
8215
8216 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
8217
8218         * NEWS, src/newgrp.c: Don't ask for a password if there are no
8219         group passwords. Just directly give up. This comes from the
8220         Fedora's patch shadow-4.0.13-newgrpPwd.patch, and seems to be the
8221         only part with an effect.
8222
8223 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
8224
8225         * NEWS, src/chgpasswd.c, src/chpasswd.c: Fix chpasswd and
8226         chgpasswd stack overflow. Based on Fedora's
8227         shadow-4.0.18.1-overflow.patch.
8228
8229 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
8230
8231         * NEWS, src/useradd.c: Allow non numerical group identifier to be
8232         specified with useradd's -g option. Applied Debian patch
8233         397_non_numerical_identifier. Thanks also to Greg Schafer
8234         <gschafer@zip.com.au>.
8235
8236 2007-10-28  Nicolas François  <nicolas.francois@centraliens.net>
8237
8238         * configure.in: Prepare the next release: 4.0.18.2. The gettext
8239         version used for the configuration will be 0.16.
8240
8241 2007-10-28  Nicolas François  <nicolas.francois@centraliens.net>
8242
8243         * po/ja.po: Remove a plural form. nplurals=1 for japanese.
8244         Moreover, msgstr[0] was identical to msgstr[1].
8245
8246 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
8247
8248         * libmisc/limits.c, man/limits.5.xml, etc/limits: Apply patch sent
8249         by Justin Bronder <jsbronder@gmail.com>. See Debian bug #442334.
8250         This adds support to 2 new resource limits: max nice value, and
8251         max real time priority. This is only used when shadow is not
8252         compiled with PAM support.
8253
8254 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
8255
8256         * man/gpasswd.1.xml: Describe the options separately in the
8257         OPTIONS section. Simplify the synopsis.
8258
8259 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
8260
8261         * README, po/Makevars: Update contact information.
8262
8263 2007-10-27  Christian Perrier  <bubulle@debian.org
8264
8265         * src/newgrp.c, src/passwd.c, src/su.c:
8266         No longer 'apologize' to users when they use incorrect passwords
8267         Remove "Sorry" from programs display
8268         Imported from Debian's patch 413_no-sorry-in-passwd and
8269         102_de-fix-sorry
8270         * man/fr/fr.po: fix translation errors. Imported from Debian's
8271         patch 201_fix_man_su_fr and 416_man-fr_newgrp
8272         * man/it/it.po, man/Makefile.am, man/it/Makefile.am:
8273         Use gettext for the Italian man pages translation. Imported from
8274         Debian's patch 202_it_man_uses_gettext. Thanks to Giuseppe
8275         Sacco who contributed the Italian translation.
8276         * man/de/de.po: (nearly) complete German translation of man pages
8277         Imported from Debian's patch 203_de-man-update. Thanks to 
8278         Simon Brandmair
8279         * src/usermod.c: Clarify the online help of usermod for "-a"
8280         Imported from Debian's patch 402-clarify_usermod_usage
8281         * man/shadow.5.xml: fix spelling error. Imported from Debian's
8282         patch 433_shadow.5-typo_312430
8283         * src/su.c: Be up front on the origin of su and mention the GNU
8284         origin. Imported from Debian's patch 438_su_GNU_origin
8285
8286 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
8287
8288         * NEWS, po/zh_CN.po: Updated Chinese translation. Imported from
8289         Debian's patch 105_zh_CN. Thanks to Ming Hua for the update.
8290
8291 2007-10-13  Tommi Vainikainen  <thv+debian@iki.fi>
8292
8293         * NEWS, po/fi.po: Updated Finish translation (400t).
8294
8295 2007-10-13  Nicolas François  <nicolas.francois@centraliens.net>
8296
8297         * NEWS, src/su.c: If compiled without PAM support, enforce the
8298         limits from /etc/limits when one of the -, -l, or --login options
8299         is set, even if called by root. Thanks to Justin Bronder.
8300
8301 2007-10-07  Nicolas François  <nicolas.francois@centraliens.net>
8302
8303         * NEWS, Changelog: Convert the Changelog and NEWS files to UTF-8
8304         (it was partially ISO-8859-2).
8305
8306 2007-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8307
8308         * 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:
8309         groupadd.8, groupmod.8, login.1, useradd.8, userdel.8, usermod.8: grammar
8310         mistakes and other correctstions (by Schulenberg <bensberg@justemail.net>).
8311
8312 2007-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8313
8314         * NEWS, src/usermod.c:
8315         fixed handle -a option in usermod (by Benno Schulenberg <bensberg@justemail.net>).
8316
8317 2006-12-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8318
8319         * man/sv/sv.po:
8320         more UTF8 fixe (by Mikael Magnusson <mikma@users.sourceforge.net>).
8321
8322         * man/sv/sv.po:
8323         UTF8 fixes (by Mikael Magnusson <mikma@users.sourceforge.net>).
8324
8325 2006-11-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8326
8327         * man/pl/Makefile.am, man/pl/chgpassw.8, man/pl/chpasswd.8, man/pl/pl.po:
8328         translation chpasswd.8 and chgpassw.8 finished.
8329
8330 2006-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8331
8332         * man/pl/pl.po: resolve fuzzy entries.
8333
8334         * 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:
8335         spelling fixes 's/super user/superuser/' (by Benno Schulenberg <bensberg@justemail.net>).
8336
8337         * man/sv/sv.po, man/de/de.po, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po:
8338         run "make update-po".
8339
8340         * man/newusers.8.xml, man/su.1.xml:
8341         fixed wrong word, a few typos, some grammar mistakes, and puts in a comma here
8342         and there for clarity (by Benno Schulenberg <bensberg@justemail.net>).
8343
8344         * man/pl/groupmod.8, man/pl/chage.1, man/pl/chsh.1, man/pl/lastlog.8, man/pl/vipw.8:
8345         regenerated.
8346
8347         * man/de/de.po: run "make update-po".
8348
8349         * man/Makefile.am:
8350         added de to LINGUAS but man/de/de.po still need many work.
8351
8352 2006-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
8353
8354         * src/useradd.c: indent code.
8355
8356         * NEWS, src/useradd.c:
8357         improved auditing support (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211659).
8358
8359 2006-11-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
8360
8361         * 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:
8362         run "make update-po".
8363
8364         * NEWS, po/nl.po:
8365         updated (by cobaco (aka Bart Cornelis) <cobaco@skolelinux.no>).
8366
8367         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po:
8368         "make update-po".
8369
8370 2006-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
8371
8372         * man/su.1.xml:
8373         added sg(1) to the SEE ALSO section (Debian Bug#396690).
8374
8375 2006-10-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8376
8377         * man/newusers.8.xml: clarify pw_gid fileld content description.
8378
8379         * man/it/Makefile.am, man/sv/Makefile.am:
8380         s/man_nonpam/man_nopam/ (merged 498_man_nonpam_undefined Debian patch).
8381
8382         * po/nl.po:
8383         fixed https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212892
8384
8385 2006-10-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8386
8387         * man/newusers.8.xml: there is no pw_age fileld in passwd.
8388
8389         * man/fr/fr.po:
8390         Fix an error in the passwd.1 French translation (fixed Debian bug #395537).
8391
8392         * 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:
8393         cleanups on begin DESCRIPTION section.
8394
8395         * man/pl/pl.po: typos.
8396
8397 2006-10-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8398
8399         * po/pl.po: cleanups.
8400
8401 2006-10-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8402
8403         * man/pl/pl.po: more translations.
8404
8405         * NEWS:
8406         UTF-8 corrections (by Benno Schulenberg <bensberg@justemail.net>).
8407
8408 2006-10-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8409
8410         * man/groupdel.8.xml: added description for exit code 6.
8411
8412 2006-08-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8413
8414         * man/de/de.po: copy & paste some msgid to msgstr.
8415
8416         * man/de/de.po:
8417         kill some fuzzy (by Nicolas François <nicolas.francois@centraliens.net>).
8418
8419 2006-08-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8420
8421         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po, man/passwd.1.xml:
8422         s/change password/password change/ in passwd(1) (by Simon Brandmair <sbrandmair@gmx.net>).
8423
8424         * man/de/de.po:
8425         initial version based on partial translations only for passwd(1) by
8426         Simon Brandmair <sbrandmair@gmx.net>.
8427
8428         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/useradd.c, src/userdel.c, src/usermod.c:
8429         flush nscd cashes after close /etc/{group,passwd} files.
8430
8431 2006-08-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
8432
8433         * po/tl.po: updated (by Eric Pareja <xenos@upm.edu.ph>).
8434
8435 2006-08-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8436
8437         * NEWS, po/ja.po: updated (by Takeo Nakano <nakano@webmasters.gr.jp>).
8438
8439 2006-08-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
8440
8441         * man/fr/Makefile.am:
8442         removed whitespaces following trailing backslashes.
8443
8444         * NEWS, configure.in: release 4.0.18.1.
8445
8446         * 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:
8447         fixed missing man pages in dist tar ball necessary on build when PAM is disabled.
8448
8449         * NEWS, src/groupmems.c:
8450         fixed groupmems compilation when PAM is disabled (by Johannes Winkelmann <jw@smts.ch>).
8451
8452         * configure.in:
8453         typo s/followig/following/ (by Johannes Winkelmann <jw@smts.ch>).
8454
8455 2006-08-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8456
8457         * NEWS: release date corrected.
8458
8459         * NEWS, src/su.c:
8460         fixed set enviroment too early when using PAM, so move it to !USE_PAM
8461         (patch submitted by Mike Frysinger <vapier@gentoo.org>).
8462
8463 2006-07-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8464
8465         * 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:
8466         fr man pages are now up to date.
8467
8468         * man/fr/fr.po:
8469         more updates for 4.0.18 (by Nicolas François <nicolas.francois@centraliens.net>).
8470
8471         * man/fr/fr.po:
8472         updated for 4.0.18 (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8473
8474 2006-07-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8475
8476         * 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:
8477         updated.
8478
8479         * src/useradd.c, src/usermod.c:
8480         fixed UID/GID overflow (fixed http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920).
8481         Fixed expiredate/inactive/mindays/warndays/maxdays overflow (simillar to RH#198920).
8482
8483         * src/passwd.c:
8484         fixed inactive/mindays/warndays/maxdays overflow (similar to RH#198920).
8485
8486         * src/groupadd.c, src/groupmod.c:
8487         fixed GID overflow (fixed http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920).
8488
8489 2006-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
8490
8491         * src/.cvsignore: groupmems added.
8492
8493 2006-07-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8494
8495         * po/fr.po:
8496         updated for 4.0.18 (by ean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8497
8498         * po/uk.po: break lines longer than 80 cols and add missing \n.
8499
8500         * po/uk.po:
8501         updated for 4.0.18 (by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>).
8502
8503         * man/pl/pl.po, man/ru/ru.po, man/sv/sv.po, man/chgpasswd.8.xml, man/chpasswd.8.xml, man/fr/fr.po:
8504         s/instead DES/instead of DES/
8505
8506         * NEWS: sv man pages are partially translated.
8507
8508 2006-07-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8509
8510         * src/groupmems.c: fix compilation warnings.
8511
8512         * po/ko.po: use \t.
8513
8514         * po/nl.po: break lines longer than 80 cols and add missing \n.
8515
8516 2006-07-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8517
8518         * man/ru/faillog.5: regenerated.
8519
8520         * po/ko.po: updated for 4.0.18 (by Changwoo Ryu <cwryu@debian.org>).
8521
8522 2006-07-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8523
8524         * man/faillog.5.xml, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po:
8525         added <refmiscinfo class="sectdesc"> tag for faillog.5.xml.
8526
8527         * man/sv/Attic/grupper.1: removed.
8528
8529         * 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:
8530         corrected text charset and other minor cleanups (by Daniel Nylander <info@danielnylander.se>).
8531
8532         * po/tr.po: break lines longer than 80 cols.
8533
8534         * po/tr.po:
8535         updated for 4.0.18 (by Mehmet TURKER <mturker@innova.com.tr>).
8536
8537         * configure.in, man/Makefile.am, man/sv/Makefile.am:
8538         fixes for "make {dist|distchec}" and sv man pages.
8539
8540         * 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:
8541         full sv man pages set added (by Daniel Nylander <info@danielnylander.se>).
8542         This man pages are translated using new XML/xml2po/gettext infrastructure.
8543
8544         * po/pl.po: updated for 4.0.18.
8545
8546 2006-07-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8547
8548         * po/pt.po:
8549         updated for 4.0.18 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8550
8551         * po/gl.po, NEWS:
8552         updated for 4.0.18 (by Jacobo Tarrio <jacobo@tarrio.org>).
8553
8554         * NEWS, po/eu.po:
8555         updated for 4.0.18 (by Piarres Beobide <pi@beobide.net>).
8556
8557         * 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:
8558         updated for 4.0.18 (by Yuri Kozlov <kozlov.y@gmail.com>).
8559
8560         * po/vi.po, NEWS:
8561         updated for 4.0.18 (by Clytie Siddall <clytie@riverland.net.au>).
8562
8563         * NEWS, po/cs.po:
8564         updated for 4.0.18 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8565
8566         * NEWS, po/sv.po:
8567         updated for 4.0.18 (by Daniel Nylander <info@danielnylander.se>).
8568
8569         * NEWS, po/ca.po:
8570         updated for 4.0.18 (by Guillem Jover <guillem@debian.org>).
8571
8572 2006-07-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
8573
8574         * po/hu.po: cleanups.
8575
8576         * NEWS, po/da.po:
8577         updated for 4.0.18 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8578
8579         * po/hu.po, NEWS: updated for 4.0.18 (by SZERVÁC Attila <sas@321.hu>).
8580
8581         * NEWS: typos.
8582
8583         * man/ru/ru.po, man/fr/fr.po, man/pl/pl.po: run "make update-po".
8584
8585         * man/su.1.xml: fixes in <refsynopsisdiv>.
8586
8587         * src/groupmems.c: indent soutrce code.
8588
8589         * src/groupmems.c: use shadow Copyright.
8590
8591         * 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:
8592         added src/groupmems.c to POTFILES.in.
8593
8594         * NEWS, etc/pam.d/Makefile.am, etc/pam.d/groupmems, man/Makefile.am, man/groupmems.8.xml, src/Makefile.am, src/groupmems.c:
8595         groupmems rewrited for use PAM and getopt_long() nad now it is enabled
8596         for build and install (patch by George Kraft <gk4@swbell.net>).
8597
8598         * NEWS, configure.in: start prepare for 4.0.18.
8599
8600 2006-07-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
8601
8602         * 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:
8603         run "make update-po" and some cleanups (added missing \n and use tabs instead spaces).
8604
8605         * src/su.c: s#[login]#[LOGIN]# in help message.
8606
8607         * man/useradd.8.xml:
8608         added missing --<foo> long options names in "Changing the default values" section.
8609
8610         * po/tr.po: updated (by Murat Şenel <muratasenel@gmail.com>).
8611
8612 2006-07-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8613
8614         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.
8615
8616         * man/useradd.8.xml: added newusers(8) to SEE ALSO section.
8617
8618         * etc/login.defs:
8619         removed GETPASS_ASTERISKS (patch by Mike Frysinger <vapier@gentoo.org>).
8620
8621 2006-07-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8622
8623         * NEWS, man/pl/chsh.1, man/pl/pl.po: pl chage(1): translation finished.
8624
8625         * NEWS:
8626         s#fix by Mike Frysinger <vapier@gentoo.org>)#(patch by Ulrich Mueller <ulm@kph.uni-mainz.de>; http://bugs.gentoo.org/139966#
8627
8628         * NEWS, configure.in:
8629         S/Key: removed assign getpass() to libshadow_getpass() on autoconf level
8630         (fix by Mike Frysinger <vapier@gentoo.org>).
8631
8632 2006-07-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
8633
8634         * man/vipw.8.xml: make options <replaceable> in SYNOPSIS.
8635
8636         * 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:
8637         s/group/GROUP/ in groupadd help message.
8638
8639         * src/su.c (main):
8640         move **envcp declaration to #ifdef USE_PAM (fixed warning about unused
8641         variable when shadow is builded with PAM didabled).
8642
8643         * man/pl/pl.po, NEWS, man/pl/chage.1: pl chage(1) translation finished.
8644
8645         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.
8646
8647         * man/chsh.1.xml: updated after rewrite chsh for use getopt_long().
8648
8649         * po/pl.po: kill fuzzy.
8650
8651 2006-07-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8652
8653         * 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:
8654         one \t more in help message.
8655
8656         * 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:
8657         updated.
8658
8659         * NEWS, src/chsh.c: chsh rewrited for use getopt_long().
8660
8661 2006-07-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8662
8663         * man/pl/groupmod.8, man/pl/pl.po: finish translation groupmod(8).
8664
8665         * man/fr/fr.po, man/groupmod.8.xml, man/pl/groupmod.8, man/pl/pl.po, man/ru/ru.po:
8666         cleanups in groupmod(8).
8667
8668         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml, src/usermod.c, NEWS:
8669         back to previouse usermod -a option sematics and clarify -a behavior
8670         on documentation level (by Greg Schafer <gschafer@zip.com.au>).
8671
8672         * man/fr/fr.po, man/groupmod.8.xml, man/pl/pl.po, man/ru/ru.po:
8673         updated groupmod man page.
8674
8675 2006-07-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8676
8677         * src/groupmod.c: too many \t in help message.
8678
8679         * 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:
8680         updated.
8681
8682         * 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:
8683         run "make update-po".
8684
8685         * src/groupmod.c: cleunps in help message.
8686
8687         * src/chage.c: s/user/\[LOGIN\]/ in help message.
8688
8689         * src/passwd.c: s/\[login\]/\[LOGIN\]/ in help message.
8690
8691         * NEWS, src/groupmod.c: groupmod rewrited for use getopt_log().
8692
8693 2006-07-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
8694
8695         * po/sv.po:
8696         added missing \n in help messages and few other minor cleanups.
8697
8698         * NEWS, po/sv.po:
8699         updated for 4.0.17 (by Daniel Nylander <info@danielnylander.se>).
8700
8701         * NEWS: 4.0.17 release date i 10-07-2006.
8702
8703         * NEWS, libmisc/copydir.c:
8704         fixed segfault usermod/userdel on remove home directory when it can't
8705         be removed; for example when it is /dev/null (fixed http://bugs.gentoo.org/139148).
8706
8707         * src/login.c, src/logoutd.c, src/userdel.c, libmisc/limits.c:
8708         remove USER_PROCESS conditionsi (code simplifications).
8709
8710 2006-07-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8711
8712         * po/km.po: kill all fuzzy (Sokhem <khoemsokhem@khmeros.info>).
8713
8714 2006-07-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8715
8716         * po/de.po: kill fuzzy (by Holger Wansing <linux@wansing-online.de>).
8717
8718 2006-07-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8719
8720         * man/Makefile.am: removed duplicated all target.
8721
8722         * NEWS, po/LINGUAS, po/ne.po:
8723         new Nepali translation (by Paras Pradhan <pradhanparas@gmail.com>).
8724
8725         * NEWS, po/LINGUAS, po/dz.po: new Dzongkha translation.
8726
8727         * NEWS, po/de.po:
8728         updated for 4.0.17 (by Holger Wansing <linux@wansing-online.de>).
8729
8730         * NEWS, po/nl.po:
8731         updated for 4.0.17 (by "cobaco (aka Bart Cornelis)" <cobaco@skolelinux.no>)
8732
8733 2006-06-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
8734
8735         * po/ko.po: cleanups (by darehanl <darehanl@gmail.com>).
8736
8737         * src/usermod.c: fixes in getopt_long() optstring: s/a/a:/ and added h.
8738
8739         * src/faillog.c:
8740         fixed long_options[] entries: s/no_argument/required_argument/ for lock-secs,
8741         maximum, time and user options.
8742
8743         * NEWS, configure.in:
8744         improved SELinux detection on autoconf level (based on patch by
8745         Dan Yefimov <dan@D00M.lightwave.net.ru>).
8746
8747         * po/ro.po, NEWS:
8748         updated for 4.0.17 (by Sorin Batariuc <sorin@bonbon.net>).
8749
8750 2006-06-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8751
8752         * NEWS: cleanups.
8753
8754         * man/pl/pl.po: more translations for chage(1).
8755
8756         * TODO: remove done things.
8757
8758         * NEWS, lib/Attic/getpass.c, lib/Makefile.am, lib/getdef.c, lib/pwauth.c, po/POTFILES.in:
8759         removed using private implementatuon getpass() libc function (now getpass() is
8760         used also when S/KEY support is enabled).
8761
8762         * NEWS, src/Makefile.am: move nologin do $(sbindir).
8763
8764         * man/pl/pl.po: more work.
8765
8766         * man/pl/pl.po: more translations.
8767
8768         * po/pl.po: s/KEY=VALUE/KLUCZ=WARTOŚĆ/
8769
8770         * po/pl.po: s/SEC/SEK/
8771
8772         * src/chpasswd.c: added missing #include "exitcodes.h".
8773
8774         * src/chpasswd.c: s/exit (1)/exit (E_USAGE)/
8775
8776         * man/Makefile.am:
8777         move all current i18n man pages automation inside "if ENABLE_REGENERATE_MAN .. endif".
8778
8779         * man/Makefile.am:
8780         add an error message so people don't have to go digging through
8781         source to find out what's up (by Mike Frysinger <vapier@gentoo.org>).
8782
8783         * 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:
8784         updated ru man pages (regenerated from man/ru/ru.po -> man/ru/*xml -> roff).
8785
8786         * NEWS, po/ru.po:
8787         updated for 4.0.17 (by Yuri Kozlov <kozlov.y@gmail.com>).
8788
8789         * NEWS, po/LINGUAS, po/km.po:
8790         new km translation (Sokhem <khoemsokhem@khmeros.info>).
8791
8792         * 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:
8793         cleanups in groupadd help message.
8794
8795         * NEWS, po/nb.po:
8796         updated for 4.0.17 (by Bjørn Steensrud <bjornst@powertech.no>).
8797
8798         * NEWS, po/da.po:
8799         updated for 4.0.17 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8800
8801         * po/pl.po:
8802         s/twóş/twĂłrz/ (fix by Michał Łomnicki <michal.lomnicki@gmail.com>).
8803
8804         * NEWS, po/pt.po:
8805         updated for 4.0.17 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8806
8807         * NEWS, po/vi.po:
8808         updated for 4.0.17 (by Clytie Siddall <clytie@riverland.net.au>).
8809
8810         * NEWS, po/cs.po:
8811         updated for 4.0.17 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8812
8813         * po/eu.po, po/fr.po, po/gl.po, po/pl.po:
8814         Project-Id-Version: shadow 4.0.17
8815
8816         * NEWS, po/sk.po:
8817         updated for 4.0.17 (by Peter Mann <Peter.Mann@tuke.sk>).
8818
8819         * NEWS, po/ko.po:
8820         updated for 4.0.17 (by Changwoo Ryu <cwryu@debian.org>).
8821
8822 2006-06-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8823
8824         * NEWS, configure.in: schedule release 40.17 on 26-06-2006.
8825
8826         * src/useradd.c:
8827         adjust last fix for leave some fix mail spool creation after rewrite internal
8828         configuration API.
8829
8830         * src/useradd.c, NEWS:
8831         fixed mail spool file creation (bug cached by Frans Pop <elendil@planet.nl>,
8832         fixed http://bugs.debian.org/374705).
8833
8834 2006-06-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8835
8836         * 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:
8837         better looking help messages output. Added one empty line at end of help message.
8838
8839         * po/ru.po, po/sk.po, po/sv.po, po/tl.po, po/uk.po, po/ro.po, po/pt_BR.po:
8840         break help messages lines before col 80.
8841
8842         * man/pl/pl.po: more work on usermod.
8843
8844         * po/pl.po: cleanups.
8845
8846 2006-06-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8847
8848         * man/pl/vipw.8:
8849         regenerated using fixed DocBook XSL Stylesheets v1.70.1 (I must submit my
8850         fixes common/pl.xml do DocBook XSL Stylesheets mantainer).
8851
8852         * man/fr/fr.po, man/ru/ru.po: updated.
8853
8854         * man/pl/lastlog.8, man/pl/pl.po: finish translate lastlog(8).
8855
8856         * man/lastlog.8.xml: improved NOTE section content.
8857
8858         * po/pl.po: iprove lastlog help message.
8859
8860         * man/fr/fr.po, man/lastlog.8.xml, man/pl/pl.po, man/ru/ru.po:
8861         Better lastlog short description. Now it is:
8862         lastlog - reports the most recent login of all users or of a given user
8863
8864         * man/Makefile.am, man/fr/fr.po, man/lastlog.8.xml, man/pl/pl.po, man/ru/ru.po:
8865         Fixed CAVEATS section (what the hell is mmdf ? :)
8866
8867         * man/ru/ru.po, NEWS, man/faillog.5.xml, man/fr/fr.po, man/pl/pl.po:
8868         added missing information about fail_locktime element of faillog struct
8869         in faillog(5) man page (by Thorsten Kukuk <kukuk@suse.de>).
8870
8871 2006-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8872
8873         * 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:
8874         fully regenerated man pages.
8875
8876         * man/Makefile.am:
8877         hack for generate translated xml files with lang="<lang> in <refentry> tag.
8878         Now is possible testing correctnes of XSLT sheets languages definition.
8879
8880 2006-06-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8881
8882         * NEWS, po/eu.po: updated (by Piarres Beobide <pi@beobide.net>).
8883
8884 2006-06-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8885
8886         * 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:
8887         s/ \\n"/\\n"/ in translated strings.
8888
8889         * man/pl/pl.po: more translations for usermod.
8890
8891         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml:
8892         added <command> tags for at and crontab.
8893
8894         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml:
8895         remove /etc/login.defs from FILES section.
8896
8897         * po/gl.po: updated (by Jacobo Tarrio <jtarrio@trasno.net>).
8898
8899         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
8900
8901         * po/pl.po:
8902         updated usermod help message and fixed few other things introduced during
8903         copy&paset from useradd help message.
8904
8905         * 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:
8906         fixes in help message:
8907         s/login/LOGIN/
8908         s/new login directory/new home directory/
8909         s/new initial login group/new primary group/
8910         s/tlist of supplementary/new tlist of supplementary/
8911         s/LOGIN/NEW_LOGIN/
8912
8913         * 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:
8914         cleanups in usermod help message.
8915
8916         * po/es.po, po/eu.po, po/fi.po, po/tl.po: cleanups.
8917
8918         * 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:
8919         s/\\\t /\\\t/
8920
8921 2006-06-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8922
8923         * NEWS, configure.in, man/Makefile.am:
8924         reverte using docbook.sourceforge.net in XSLT url.
8925
8926         * po/pl.po: cleanups.
8927
8928 2006-06-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8929
8930         * man/Makefile.am:
8931         improved gen-xmls target: now this target generates only missing xml files.
8932
8933 2006-06-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
8934
8935         * NEWS, po/sk.po:
8936         updated for 4.0.16 (by Peter Mann <Peter.Mann@tuke.sk>).
8937
8938         * NEWS, po/es.po:
8939         updated for 4.0.16 (by Ruben Porras <nahoo82@gmail.com>).
8940
8941         * NEWS, po/fi.po:
8942         updated for 4.0.16 (by Tommi Vainikainen <thv+debian@iki.fi>).
8943
8944         * NEWS, man/cs/Makefile.am, man/cs/groupmems.8, man/cs/groupmod.8, man/cs/grpck.8, man/cs/gshadow.5:
8945         new cs man pages: groupmems(8), groupmod(8), grpck(8), gshadow(5)
8946         (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8947
8948         * NEWS, po/cs.po:
8949         updated for 4.0.16 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8950
8951 2006-06-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8952
8953         * NEWS, configure.in, man/Makefile.am:
8954         regenerate roff man pages using docbook-style-xsl-1.70.1.
8955         This version uses new base URL: http://docbook.sf.net/release/xsl/current/
8956
8957         * man/.cvsignore: shadow-man-pages.pot added.
8958
8959         * man/Makefile.am:
8960         added temporary gen-xmls targed and dependencies beetwen .pot and .po files.
8961
8962         * man/chgpasswd.8.xml: removed <!DOCTYPE> tag (isn't neccessary).
8963
8964 2006-05-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
8965
8966         * man/pl/pl.po: chage(1) translation.
8967
8968         * man/pl/Attic/chage.1.xml: removed.
8969
8970         * man/chage.1.xml, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po:
8971         chage requires shadow access and can't work without this.
8972
8973         * po/da.po:
8974         updated for 4.0.16 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8975
8976         * po/pl.po: s/_DAYS/_DNI/
8977
8978 2006-05-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8979
8980         * NEWS: s/OWL/Owl/
8981
8982         * NEWS: new release date for 4.0.16 is 05-06-2006.
8983
8984         * NEWS: fixed last usermod changes comment. Current is:
8985         better fix for old CERT VU#312962 (which was fixed in shadow 4.0.8):
8986         fixed forgoten checking of the return value from fchown() before
8987         proceeding with the fchmod() (based on Owl patch prepared by
8988         Rafal Wojtczuk <nergal@owl.openwall.com>)
8989
8990         * src/useradd.c (create_mail):
8991         move checking create_mail_spool is "yes" on top function.
8992
8993         * man/pl/pl.po: cleanups.
8994
8995         * po/fr.po:
8996         plugged fuzzy (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8997
8998         * po/fr.po:
8999         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
9000
9001 2006-05-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9002
9003         * man/Makefile.am:
9004         simplifications in update-po target and fixes in dist-po-files target.
9005
9006         * NEWS, po/eu.po:
9007         updated for 4.0.16 (by Piarres Beobide <pi@beobide.net>).
9008
9009 2006-05-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
9010
9011         * 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:
9012         bunch of cleanups in chfn(1), faillog(8), gpasswd(1), groupadd(8),
9013         groupmems(8), limits(5), login(1), login.defs(5), newgrp(1), passwd(1),
9014         passwd(5) and su(1) (by Yuri Kozlov <kozlov.y@gmail.com>).
9015
9016         * man/Makefile.am, man/ru/ru.po: added ru to LINGUAS.
9017
9018         * po/ru.po: updated for 4.0.16 (by Yuri Kozlov <kozlov.y@gmail.com>).
9019
9020 2006-05-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9021
9022         * man/fr/fr.po, man/pl/pl.po, man/chage.1.xml, man/passwd.1.xml:
9023         s/-n/-m/ in passwd(1). Improved -m, --mindays description in chage(1) and passwd(1).
9024         More pl translations.
9025
9026         * po/vi.po: updated (by Clytie Siddall <clytie@riverland.net.au>).
9027
9028         * NEWS, po/hu.po:
9029         updated for 4.0.16 (by Gabor Kelemen <kelemeng@gnome.hu>).
9030
9031 2006-05-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
9032
9033         * man/cs/Makefile.am, man/it/Makefile.am, man/ru/Makefile.am:
9034         id and sulogin executables are not installed by "make install",
9035         but a few translated man pages are still installed.
9036         (patch by Lasse Collin <lasse.collin@tukaani.org>)
9037
9038 2006-05-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
9039
9040         * NEWS, po/vi.po:
9041         updates for 4.0.16 (by Clytie Siddall <clytie@riverland.net.au>).
9042
9043         * po/gl.po: updated for 4.0.16 (by Jacobo Tarrio <jtarrio@debian.org>).
9044
9045 2006-05-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9046
9047         * po/pl.po: more cleanups.
9048
9049         * po/fr.po:
9050         updated for 4.0.16 (by Christian Perrier <bubulle@kheops.frmug.org>).
9051
9052         * 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:
9053         use common style in FILES sections.
9054
9055         * 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:
9056         begin <refpurpose> text from lowercase.
9057
9058         * man/fr/fr.po, man/pl/pl.po, man/pwconv.8.xml, man/vipw.8.xml:
9059         remove "." from <refpurpose>.
9060
9061         * po/pl.po: cleanups.
9062
9063         * po/pl.po: typo.
9064
9065         * 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:
9066         *.xml added.
9067
9068         * 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:
9069         .xml2po.mo added.
9070
9071         * NEWS, man/pl/vipw.8: update pl vipw(8) man page.
9072
9073         * src/useradd.c: s/mailbox/mailbox file/
9074
9075         * man/pl/pl.po: seems vipw finished.
9076
9077         * man/fr/fr.po, man/vipw.8.xml: s/Quiet mode database./Quiet mode./
9078
9079         * man/pl/pl.po: more entries.
9080
9081         * 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:
9082         /mailbox/mailbox file/
9083
9084         * man/pl/pl.po: fill few entries.
9085
9086         * man/Makefile.am: fixes in dist-po-files target.
9087
9088         * man/Makefile.am: pl added to Linguas. Some mprovements.
9089
9090         * man/fr/fr.po:
9091         initial version based on ond version submited by Christian Perrier <bubulle@debian.org>.
9092
9093         * man/pl/pl.po: initial version.
9094
9095         * man/Makefile.am:
9096         implemet update-po target and dist, dist-check hooks for put .po and
9097         .pot files in dist tar ball.
9098
9099         * src/chgpasswd.c:
9100         reverte struct group newgr declaration but use them only conditionaly (#ifndef SHADOWGRP).
9101
9102 2006-05-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
9103
9104         * NEWS, configure.in: schedule release 4.0.16 to 29.05.06.
9105
9106         * po/pl.po: updated.
9107
9108         * 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:
9109         run "make update-po".
9110
9111         * NEWS, src/useradd.c:
9112         fixed userdel CERT VU#312962: fixed forgoten checking of the return
9113         value from fchown() before proceeding with the fchmod() (prepared
9114         based on OWL fix submited by Solar Designer <solar@openwall.com>),
9115         Use in userdel login.defs::MAIL_DIR instead hardcoded /var/mail on created
9116         mailbox path (based on OWL fixes submited by Solar Designer <solar@openwall.com>).
9117
9118 2006-05-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9119
9120         * man/.cvsignore: added *.[1358]
9121
9122         * NEWS, man/ru/Makefile.am, man/ru/chgpasswd.8:
9123         added chgpasswd(8) ru man page (by Yuri Kozlov <kozlov.y@gmail.com>).
9124
9125         * po/gl.po: updated (by Jacobo Tarrio <jtarrio@debian.org>).
9126
9127         * NEWS, man/ru/login.defs.5, man/ru/passwd.1, man/ru/userdel.8, man/ru/usermod.8:
9128         updated ru login.defs(5), passwd(1), userdel(8), usermod(8) man pages
9129         (by Yuri Kozlov <kozlov.y@gmail.com>).
9130
9131         * NEWS, po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
9132
9133         * NEWS, po/pt.po: updated (by Miguel Figueiredo <elmig@debianpt.org>).
9134
9135 2006-05-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9136
9137         * 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:
9138         pw_auth(3) man page removed (outdated).
9139
9140         * 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:
9141         install limits(5), login.access(5) and porttime(5) man pages only when
9142         shadow is builded with PAM support disabled.
9143
9144         * NEWS: cleanups.
9145
9146         * autogen.sh:
9147         by default in development enviroment use CFLAGS="-O2 -Wall".
9148
9149         * src/chgpasswd.c (main): remove two unused variables (newgr and now).
9150
9151         * src/userdel.c (main): removed unused arg variable.
9152
9153         * libmisc/setupenv.c (setup_env):
9154         move *cp varable to #ifndef PAM part (fixed compilation
9155         warning about unused variable).
9156
9157         * lib/getdef.c: now GETPASS_ASTERISKS is SKEY #define dependent.
9158
9159         * configure.in, NEWS, lib/Attic/getpass.c, lib/pwauth.c:
9160         by default do not use libshadow_getpass() as getpass() replacemement.
9161         Use libshadow_getpass() only when S/KEY support is enabled.
9162         Current glibc getpass() handles correctly longer than 8 characters
9163         passwords and libshadow_getpass() is used only because libc getpass()
9164         do not handles password prompting with echo enabled.
9165
9166         * src/sulogin.c: break long line.
9167
9168         * lib/pwauth.c:
9169         added #include <unistd.h> and remove localy defined getpass() prototype.
9170
9171 2006-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9172
9173         * man/Makefile.am: removed dupplicated sulogin.8.xml from EXTRA_DIST.
9174
9175         * man/Attic/pw_auth.3.xml, man/Makefile.am: remove pw_auth(3) man page.
9176
9177         * NEWS, lib/getdef.c: move login.defs::MD5_CRYPT_ENAB to non-PAM part.
9178
9179         * 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:
9180         typo (s/removel/removal/)
9181
9182 2006-05-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9183
9184         * man/userdel.8.xml:
9185         updated (after add getopt_log() support for userdel).
9186
9187         * po/pl.po: updated.
9188
9189         * 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:
9190         userdel rewrited for use getopt_log().
9191
9192         * po/pl.po: cleanups.
9193
9194         * etc/pam.d/Makefile.am, etc/pam.d/chgpasswd: new file.
9195
9196 2006-05-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9197
9198         * NEWS, po/da.po:
9199         updated (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
9200
9201 2006-05-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9202
9203         * NEWS, po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9204
9205         * NEWS, configure.in, etc/Makefile.am, etc/pam.d/Makefile.am:
9206         install default/template configuration files:
9207         - if shadow is configured with use PAM install /etc/pam.d/* files,
9208         - if shadow do not uses PAM install /etc/{limits,login.acces} files,
9209         - install /etc/login.defs and /etc/default/useradd files.
9210
9211         COMMENT: it is possible to extend this for install above files for specified
9212         distribution. For example: if exist /etc/fedora-release install Fedora specyfic
9213         default configuration files and this files can be distributed in dist tar ball.
9214
9215         * NEWS, po/gl.po: updated (by Jacobo Tarrio <jtarrio@trasno.net>).
9216
9217 2006-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9218
9219         * NEWS, po/fr.po:
9220         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9221
9222         * NEWS, lib/commonio.c:
9223         fixed handle relative symlinks too in lib/commonio.c (merge patch from Fedora).
9224
9225         * NEWS, lib/nscd.c: properly notify nscd to flush its cache
9226         (https://bugzilla.redhat.com/bugzilla/186803).
9227
9228         * NEWS, libmisc/copydir.c (copy_tree):
9229         fixes for verify return values mkdir() and chown()
9230         on copy files (merge 482_libmisc_copydir_check_return_values Debian patch).
9231
9232         * 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:
9233         use '%s' cytation instead `%s'.
9234
9235         * NEWS, src/su.c:
9236         reverte http://bugs.debian.org/276419 (this is Debian specyfic).
9237
9238         * 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:
9239         use '%s' cytation instead \"%s\".
9240
9241         * 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:
9242         typo.
9243
9244         * po/pl.po: updated.
9245
9246         * NEWS, libmisc/setupenv.c (setup_env):
9247         export MAIL only when MAIL_CHECK_ENAB is enabled
9248         (Mike Frysinger <vapier@gentoo.org>).
9249
9250         * 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:
9251         warn when the members of a group differ in /etc/groups and /etc/gshadow
9252         (fixed http://bugs.debian.org/75181).
9253
9254         * NEWS, src/su.c:
9255         concatenate the non-su arguments and provide them to the shell with
9256         the -c option (fixes for http://bugs.debian.org/317264 and
9257         http://bugs.debian.org/276419).
9258
9259 2006-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9260
9261         * NEWS, man/passwd.1.xml:
9262         better document how password strength is checked (fixed http://bugs.debian.org/115380).
9263
9264 2006-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
9265
9266         * NEWS, man/usermod.8.xml:
9267         added missing -a option description (by Christian Perrier <bubulle@debian.org>).
9268
9269 2006-04-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9270
9271         * NEWS, man/hu/chsh.1, man/hu/login.1, man/hu/newgrp.1:
9272         fixed typos (by Koblinger Egmont <egmont@uhulinux.hu>).
9273
9274 2006-04-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9275
9276         * NEWS, po/LINGUAS, po/hu.po:
9277         new hu translation (by SZERVÁC Attila <sas@321.hu>).
9278
9279 2006-04-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9280
9281         * man/userdel.8.xml:
9282         minior fixes for the note under the -f option (Mike Frysinger <vapier@gentoo.org>).
9283
9284 2006-04-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9285
9286         * NEWS, po/id.po: updatd (by Parlin Imanuel <pimanuel@gmail.com>).
9287
9288 2006-04-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9289
9290         * src/su.c: indent code.
9291
9292         * NEWS, src/su.c:
9293         fixed exit with a status 0 when the invoked command is terminated
9294         by a signal which was not catched
9295         (fixed by Eero Häkkinen <eero17@bigfoot.com>)
9296
9297         * README:
9298         simple patch to fixup grammar and Gentoo distfile URL (by Mike Frysinger <vapier@gentoo.org>).
9299
9300 2006-03-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
9301
9302         * 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:
9303         removed <!DOCTYPE> tag (require strict DocBook XML V4.3//EN DTD isn't neccessary).
9304
9305         * NEWS, src/login.c:
9306         cancel login timeout after authentication so that patient people
9307         timing out on network directory services can log in with local
9308         accounts (http://bugs.debian.org/107148).
9309
9310         * man/fr/login.defs.5, man/ja/login.defs.5, man/pl/useradd.8, man/ru/login.defs.5:
9311         remove CREATE_HOME.
9312
9313         * NEWS, man/login.defs.5.xml:
9314         CREATE_HOME is not supported by useradd (patch by Mike Frysinger <vapier@gentoo.org>).
9315
9316 2006-03-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9317
9318         * po/nl.po:
9319         s/wachtwoord is mes succes aangepast/wachtwoord is met succes aangepast/
9320         (typo reported by Wim De Smet <wdesmet@yucom.be>).
9321
9322 2006-03-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
9323
9324         * src/passwd.c:
9325         removed GPASSWD_PROGRAM, CHFN_PROGRAM CHFN_PROGRAM #defines (not used now).
9326
9327         * NEWS, man/Makefile.am, man/chgpasswd.8.xml:
9328         chgpasswd(8): new man page.
9329
9330 2006-03-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9331
9332         * 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:
9333         remove english roff man pages from repo.
9334
9335 2006-03-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
9336
9337         * NEWS, src/chgpasswd.c:
9338         fixes for build correctly with --disable-shadowgrp
9339         (patch by Johannes Winkelmann <jw@tks6.net>)
9340
9341 2006-03-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
9342
9343         * man/pl/chage.1: fixed typo.
9344
9345 2006-03-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9346
9347         * po/it.po:
9348         updated for 4.0.15 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9349
9350 2006-03-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9351
9352         * NEWS, po/nb.po:
9353         updated for 4.0.15 (by Bjørn Steensrud <bjornst@powertech.no>).
9354
9355         * po/pt.po:
9356         updated for 4.0.15 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
9357
9358         * man/Makefile.am, NEWS, configure.in:
9359         do not install translated man pages if shadow is configured with --disable-nls
9360         (based patch submited by Mike Frysinger <vapier@gentoo.org>).
9361
9362         * NEWS, po/pt_BR.po:
9363         updated for 4.0.15 (by Andre Luis Lopes <andrelop@debian.org>).
9364
9365         * po/fr.po:
9366         updated for 4.0.15 (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
9367
9368 2006-03-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9369
9370         * NEWS, configure.in, lib/pwauth.c:
9371         added fixes for detect BSD's S/Key with updated the skeychallenge() function
9372         for take a fourth argument in case BSD version
9373         (patch submited by Mike Frysinger <vapier@gentoo.org>)
9374
9375         * README: added paragragraph about S/Key support.
9376
9377         * po/sk.po: updated for 4.0.15 (by Peter Mann <Peter.Mann@tuke.sk>).
9378
9379         * NEWS: newgrp: do not link with libselinux.
9380
9381         * NEWS, po/zh_CN.po:
9382         updated for 4.0.15 (by Carlos Z.F. Liu <carlosliu@users.sourceforge.net>).
9383
9384         * po/ru.po: updated for 4.0.15 (by Yuri Kozlov <kozlov.y@gmail.com>).
9385
9386         * src/Makefile.am:
9387         removed $(LIBSELINUX) from newgrp_LDADD (newgrp does not need to be linked
9388         with SELinux libraries).
9389
9390         * 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:
9391         ru man pages: added new nologin(8) and updated all other man pages
9392         (by Yuri Kozlov <kozlov.y@gmail.com>).
9393
9394 2006-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9395
9396         * NEWS, po/nl.po:
9397         updated for 4.0.15 (by cobaco (aka Bart Cornelis) <cobaco@linux.be>).
9398
9399         * po/vi.po:
9400         updated for 4.0.15 (by Clytie Siddall <clytie@riverland.net.au>).
9401
9402         * po/sv.po:
9403         updated for 4.0.15 (by Daniel Nylander <po@danielnylander.se>).
9404
9405 2006-03-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9406
9407         * po/eu.po: updated for 4.0.15 (by pi <pi@beobide.net>).
9408
9409         * po/ro.po: cleanups.
9410
9411         * NEWS, po/tl.po:
9412         updated for 4.0.15 (by Eric Pareja <xenos@upm.edu.ph>).
9413
9414         * po/ro.po: updated for 4.0.15 (by Sorin B. <sorin@bonbon.net>).
9415
9416         * NEWS, po/es.po:
9417         updated for 4.0.15 (by Ruben Porras <nahoo82@gmail.com>).
9418
9419 2006-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9420
9421         * NEWS, po/da.po:
9422         updated for 4.0.15 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
9423
9424         * NEWS, man/fi/chsh.1, man/fi/su.1:
9425         update fi chsh(1), su(1) man pages generated from XML files
9426         (Tommi Vainikainen <thv+debian@iki.fi>).
9427
9428         * NEWS, po/fi.po:
9429         updated for 4.0.15 (by Tommi Vainikainen <thv+debian@iki.fi>).
9430
9431         * NEWS, po/cs.po:
9432         updated for 4.0.15 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9433
9434         * 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:
9435         added new cs man pages: expiry(1), faillog(5), faillog(8), gpasswd(1),
9436         groupadd(8), groupdel(8), logoutd(8), nologin(8), vipw(8).
9437
9438         * NEWS: typo.
9439
9440         * src/useradd.c, NEWS, lib/getdef.h, man/Attic/login.defs.5, man/login.defs.5.xml, src/login.c, src/newusers.c:
9441         default UMASK if not specified in login.defs is 022.
9442
9443 2006-03-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9444
9445         * po/pl.po: updated for 4.0.15.
9446
9447         * NEWS, po/gl.po:
9448         updated for 4.0.15 (by Jacobo Tarrio <jtarrio@trasno.net>).
9449
9450         * NEWS, configure.in: schedule release 4.0.15 to 13-03-2006.
9451
9452 2006-03-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9453
9454         * NEWS: typo (s/onas Meurer/Jonas Meurer/)
9455
9456         * src/.cvsignore: added chgpasswd.
9457
9458         * 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:
9459         chgpasswd: new tool (by Jonas Meurer <mejo@debian.org>).
9460
9461         * 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:
9462         s/Unexpected/unexpected/
9463
9464         * 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:
9465         print the usage and exit if an additional argument is profided to
9466         lastlog (merge 488_laslog_verify_arguments Debian patch).
9467
9468 2006-03-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9469
9470         * man/Attic/chpasswd.8, man/chpasswd.8.xml:
9471         fixed CAVEATS section (by Justin Pryzby <justinpryzby@users.sourceforge.net>)
9472
9473 2006-02-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
9474
9475         * man/Attic/passwd.1, man/passwd.1.xml:
9476         fixed SYNOPSIS section (http://bugs.debian.org/352136).
9477
9478 2006-02-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
9479
9480         * po/ro.po: updated (by Sorin Batariuc <sorin@bonbon.net>).
9481
9482 2006-02-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
9483
9484         * NEWS, lib/Makefile.am, src/Makefile.am:
9485         login, nologin, su: do not link with libselinux
9486         (merge 490_link_selinux_only_when_needed Debian patch).
9487
9488         * NEWS, src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c:
9489         fixed confusing error message if /proc is not mounted
9490         (http://bugs.debian.org/352494
9491         patch Nicolas François <nicolas.francois@centraliens.net>)
9492
9493         * po/ro.po:
9494         updated (commited http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347755).
9495
9496         * NEWS, po/ca.po: updated (by Jordi Mallach <jordi@debian.org>).
9497
9498 2006-02-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9499
9500         * man/gpasswd.1.xml, man/passwd.1.xml, man/passwd.5.xml, man/pwck.8.xml, man/sg.1.xml, man/useradd.8.xml:
9501         cleanups.
9502
9503         * po/gl.po: updated (Jacobo Tarrio <jtarrio@trasno.net>).
9504
9505         * NEWS, po/pt.po:
9506         updated (by Miguel Figueiredo <mfigueiredo@gmail.com>).
9507
9508 2006-02-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9509
9510         * NEWS, po/it.po:
9511         update (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9512
9513         * po/vi.po: update (by Clytie Siddall <clytie@riverland.net.au>).
9514
9515         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9516
9517 2006-02-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9518
9519         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9520
9521         * 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:
9522         run "make update-po".
9523
9524         * po/pl.po: updated.
9525
9526         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
9527
9528         * po/eu.po: update (by ^pi^ <pi@beobide.net>).
9529
9530 2006-02-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9531
9532         * NEWS, src/login.c:
9533         merge 433_login_more_LOG_UNKFAIL_ENAB Debian patch:
9534         - TOO MANY LOGIN... logged if PAM_MAXTRIES or failcount >= retries
9535           (was onl test PAM_MAXTRIES),
9536         - print to stderr (in addition to syslog) in case of maximum number of
9537           tries exceeded,
9538         - always prints the number of tries in the syslog entry.
9539         - add special handling for PAM_ABORT
9540         - add an entry to failog, as when USE_PAM is not defined. (#53164)
9541         - changed pam_end to PAM_END. This is certainly was a mistake.
9542           PAM_END is pam_close_seesion + pam_end. Here, the session is still not
9543           open, we don't have to close it.
9544         - a HAVE_PAM_FAIL_DELAY is missing
9545
9546         * po/ro.po: kill one fuzzy.
9547
9548         * po/ro.po, NEWS: updated (by Sorin B. <sorin@bonbon.net>).
9549
9550         * src/gpasswd.c: s/die/catch_signals/
9551
9552         * src/expiry.c, src/sulogin.c: s/catch/catch_signals/
9553
9554         * src/su.c: /su_catch_sig/chatch_signals/
9555
9556 2006-02-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9557
9558         * src/id.c, src/groups.c, libmisc/getdate.y: lint code using CC=g++.
9559
9560         * NEWS, src/su.c:
9561         fixed pam session support (patch from Topi Miettinen; fixed #57526, #55873,
9562         #57532 Debian bugs).
9563
9564         * NEWS:
9565         fixed pam session support (patch from Topi Miettinen; fixed #57526,
9566         #55873, #57532 Debian bugs).
9567
9568         * NEWS, src/userdel.c:
9569         user's group is already removed by update_groups(). remove_group()
9570         is not needed (bug introduced in 4.0.14 on merge FC fixes). Fixed by Nicolas
9571         François <nicolas.francois@centraliens.net>
9572
9573         * NEWS, src/useradd.c: allways remove group and gshadow databases lock,
9574         Fixed by Nicolas François <nicolas.francois@centraliens.net>
9575         (http://bugs.debian.org/348250)
9576
9577         * NEWS, src/userdel.c: fixed excess audit_logger() argument.
9578
9579         * NEWS, lib/prototypes.h:
9580         corrected prototypes in lib/prototypes.h (thre is no audit_help_log(); added
9581         audit_logger() prototype).
9582
9583         * src/login.c: fixed missing ";" in declaration.
9584
9585         * man/Attic/limits.5, man/limits.5.xml:
9586         fixed example limits string (by Yuri Kozlov <kozlov.y@gmail.com>).
9587
9588 2006-02-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9589
9590         * 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:
9591         added missing \n on display password status if password must be chaged.
9592
9593 2006-02-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9594
9595         * src/useradd.c, NEWS:
9596         fixed allow non-unique UID (http://bugs.debian.org/351281).
9597
9598 2006-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9599
9600         * po/cs.po: updated (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9601
9602 2006-01-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9603
9604         * NEWS, po/vi.po:
9605         updated (by Clytie Siddall <clytie@riverland.net.au>).
9606
9607 2006-01-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
9608
9609         * po/fr.po:
9610         typo (fixed by Christian Perrier <bubulle@kheops.frmug.org>).
9611
9612         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
9613
9614 2006-01-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
9615
9616         * 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:
9617         fixes some issues that cause warnings when the manpages are
9618         displayed (by Nicolas François <nicolas.francois@centraliens.net>).
9619
9620 2006-01-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
9621
9622         * NEWS, po/eu.po: updated (by pi <pi@beobide.net>).
9623
9624         * libmisc/addgrps.c, libmisc/xmalloc.c, src/groups.c:
9625         fixes after linting code using CC=g++: cast {m,re}alloc() return value to
9626         proper type.
9627
9628 2006-01-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
9629
9630         * 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:
9631         uniformity and grammar fixes (by Christine Spang <spangarang@twcny.rr.com>).
9632
9633         * NEWS, po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
9634
9635 2006-01-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9636
9637         * po/fr.po, NEWS:
9638         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9639
9640 2006-01-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
9641
9642         * 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:
9643         variouse code cleanups for make possible compilation of shadow with
9644         -Wall -Werror (by Alexander Gattin <xrgtn@yandex.ru>).
9645
9646         * 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:
9647         move exit() outside libmisc/shell.c::shell() for handle shell() errors
9648         on higher level (now is better visable where some programs exit with 126 and
9649         127 exit codes); added new shell() parameter (char *const envp[]) which allow
9650         fix preserving enviloment in su on using -p.
9651         (patch by Alexander Gattin <xrgtn@yandex.ru>)
9652
9653         * NEWS, po/el.po:
9654         updated (by Konstantinos Margaritis <markos@debian.org>).
9655
9656 2006-01-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9657
9658         * lib/exitcodes.h: new #defines:
9659         #define E_CMD_NOEXEC           126     /* can't run command/shell */
9660         #define E_CMD_NOTFOUND         127     /* can't find command/shell to run */
9661
9662 2006-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9663
9664         * man/Attic/passwd.1, man/passwd.1.xml:
9665         fixes after reviewed for grammatical and other small errors that detract from the
9666         polish of the content to native English speakers.
9667         I also went ahead and changed all gender references to be a consistent
9668         "his/her" (or equivalent) - the original had a mix of just "his", just
9669         "her", and occasionally "his/her".
9670         (by Christine Spang <spangarang@twcny.rr.com>).
9671
9672         * po/it.po: updated (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9673
9674 2006-01-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
9675
9676         * NEWS: updated.
9677
9678         * libmisc/shell.c: remove DEBUG code.
9679
9680         * po/LINGUAS, po/gl.po, NEWS:
9681         added new gl translation (by Jacobo Tarrio <jtarrio@trasno.net>).
9682
9683 2006-01-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9684
9685         * po/eu.po: small update (by pi <pi@beobide.net>).
9686
9687 2006-01-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9688
9689         * src/su.c: fixed compilation error.
9690
9691 2006-01-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9692
9693         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>)
9694         http://bugs.debian.org/346449
9695
9696 2006-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9697
9698         * NEWS, man/Attic/useradd.8, man/useradd.8.xml:
9699         better document useradd -d option: will not add the user's home directory
9700         if it does not already exist (http://bugs.debian.org/154996)
9701
9702         * 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:
9703         added handle -c,--command option for GNU su compliance (merge
9704         437_su_-c_option Debian Patch).
9705
9706         * man/Attic/login.1, man/Attic/passwd.1, man/Attic/su.1, man/login.1.xml, man/passwd.1.xml, man/su.1.xml:
9707         man pages cleanups.
9708         (http://bugs.debian.org/341489)
9709
9710         * NEWS, man/Attic/nologin.8, man/Makefile.am, man/nologin.8.xml:
9711         nologin(8) man pages added (merge 478_nologin.8.xml Debian patch).
9712
9713         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>)
9714         http://bugs.debian.org/346376
9715
9716 2006-01-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9717
9718         * po/id.po: updated (by Parlin Imanuel <parlin_i@yahoo.com>)
9719         http://bugs.debian.org/345514
9720
9721         * 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:
9722         added translate login prompt string (suggested by Evgeniy Dushistov).
9723
9724 2006-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9725
9726         * NEWS, configure.in: start work on 4.1.0.
9727
9728         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9729         http://bugs.debian.org/346017
9730
9731 2006-01-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9732
9733         * NEWS: correct 4.0.14 release date (03-01-2006).
9734
9735         * src/Makefile.am: reverte install nologin in sbindir and use usbindir.
9736
9737         * po/POTFILES.in: removed src/chsh_chkshell.c.
9738
9739         * lib/prototypes.h: remove grdbm.c prototypes.
9740
9741         * lib/prototypes.h, src/Attic/chsh_chkshell.c, src/Makefile.am, src/chsh.c:
9742         move check_shell() from src/chsh_chkshell.c to src/chsh.c.
9743
9744         * configure.in:
9745         s/libpam_misc is missing/libpam_misc is missing for enable PAM support/
9746
9747 2006-01-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9748
9749         * etc/pam.d/.cvsignore: added.
9750
9751         * src/su.c: indent code.
9752
9753         * src/su.c:
9754         without it, $(su - user -c "echo \$SHELL") wont return the good value, but
9755         $(su user -c "echo \$SHELL") will.
9756         I think LOGNAME can also be set (this is done in setup_env, in the
9757         fakelogin case).
9758         (by Nicolas François <nicolas.francois@centraliens.net>)
9759
9760         * src/su.c:
9761         simplifies how -p is handled (at least for its documentation).
9762         (by Nicolas François <nicolas.francois@centraliens.net>)
9763
9764         * src/su.c: fixes "su - -- root" or "su - root -- -c" (it is needed if
9765         the second patch is applied).
9766         (by Nicolas François <nicolas.francois@centraliens.net>)
9767
9768         * src/su.c:
9769         This second patch changes the way options are handled by getopt. Once a
9770         non-su option is found, the getopt processing is stopped.
9771         Whithout this patch, "su root -c ls" won't work (getopt will complain that
9772         -c is not an su option).
9773         (by Nicolas François <nicolas.francois@centraliens.net>).
9774
9775         * 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:
9776         prepare for use on Fedora Core.
9777
9778         * po/cs.po, po/pl.po: run "make update-po".
9779
9780         * src/Makefile.am: move nologin to sbindir.
9781
9782         * man/Attic/groupadd.8, man/groupadd.8.xml: s/gid/GID/
9783
9784         * man/Attic/lastlog.8, man/Attic/useradd.8, man/lastlog.8.xml, man/useradd.8.xml:
9785         s/uid/UID/
9786
9787 2005-12-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9788
9789         * po/tl.po: updated for 4.0.14 (by Eric Pareja <xenos@upm.edu.ph>).
9790
9791 2005-12-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9792
9793         * NEWS, po/ca.po:
9794         updated for 4.0.14 (by Guillem Jover <guillem@debian.org>).
9795
9796 2005-12-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9797
9798         * po/el.po:
9799         updated for 4.0.14 (by Konstantinos Margaritis <markos@debian.org>).
9800
9801 2005-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9802
9803         * doc/.cvsignore, etc/.cvsignore, lib/.cvsignore, po/.cvsignore, src/.cvsignore, .cvsignore, contrib/.cvsignore:
9804         added a lot of generated files they are not listed in .cvsignore files
9805         (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9806
9807         * src/su.c:
9808         fixed some comments and replace getuid() by !amroot. This removes a system
9809         call and may be more readable (Nicolas François <nicolas.francois@centraliens.net>).
9810
9811         * man/Attic/su.1, man/su.1.xml:
9812         added forgoten the SHELL argument description (by Nicolas François <nicolas.francois@centraliens.net>).
9813
9814         * man/Attic/useradd.8, man/useradd.8.xml:
9815         s/group/user/ (cached by Nicolas François).
9816
9817 2005-12-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9818
9819         * man/ko/vigr.8: added.
9820
9821         * po/it.po:
9822         updated for 4.0.14 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9823
9824 2005-12-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9825
9826         * NEWS, po/pt.po:
9827         updated for 4.0.14 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
9828
9829         * src/useradd.c:
9830         s/grp_update/grp_add/ in comment (by Nicolas François <nicolas.francois@centraliens.net>).
9831
9832         * man/Attic/login.1, man/login.1.xml:
9833         added use <envar></envar> tags instead <emphasis></emphasis>.
9834
9835         * man/Attic/su.1, man/su.1.xml: added use <envar></envar>.
9836
9837         * man/Attic/su.1, man/su.1.xml:
9838         updated man page after change su for use getopt_long()
9839         (by Nicolas François <nicolas.francois@centraliens.net>)
9840
9841 2005-12-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
9842
9843         * NEWS, po/fi.po:
9844         updated for 4.0.14 (by Tommi Vainikainen <thv+debian@iki.fi>).
9845
9846         * po/ru.po: updated for 4.0.14 (by Yuri Kozlov <kozlov.y@gmail.com>).
9847
9848         * man/ru/login.1, man/ru/passwd.1, man/ru/pwck.8, man/ru/vipw.8:
9849         updated (by Yuri Kozlov <kozlov.y@gmail.com>_.
9850
9851         * doc/Attic/README.linux, doc/Makefile.am: removed.
9852
9853         * README, doc/Attic/README.linux:
9854         move contributors list from doc/README.linux to README.
9855
9856         * doc/Attic/LSM, doc/Attic/README, doc/Makefile.am:
9857         removed (outdated content).
9858
9859         * NEWS, po/cs.po:
9860         updated cs.po for 4.0.14 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9861
9862         * po/pl.po: updated.
9863
9864         * po/fr.po:
9865         kill one fuzzy (by Christian Perrier <bubulle@kheops.frmug.org>).
9866
9867         * NEWS, po/da.po:
9868         updated da.po for 4.0.14 (by Claus Hindsgaul <claus_h@image.dk>).
9869
9870         * po/eu.po: updated for 4.0.14 (by pi <pi@beobide.net>).
9871
9872         * NEWS, po/vi.po:
9873         updated vi.po fo 4.0.14 (by Clytie Siddall <clytie@riverland.net.au>).
9874
9875 2005-12-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9876
9877         * NEWS: set release day for 4.0.14 to 19-12-2005.
9878
9879         * src/login.c:
9880         removed #include "libaudit.h" (it is conditionaly included in "defines.h").
9881
9882         * src/su.c:
9883         replaced "shell" by "shellstr". "shell" is also the name of a function.
9884         (Nicolas François <nicolas.francois@centraliens.net>).
9885
9886         * src/vipw.c: - added missing break in case 'q'.
9887
9888         * 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:
9889         added es, ko vigr(8) and vipw(8), hu lastlog(8), ko vipw(8), zh_CN su(1),
9890         zh_TW chpasswd(8) and su(1),
9891
9892 2005-12-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9893
9894         * doc/Attic/LICENSE, doc/Makefile.am, COPYING:
9895         move doc/LICENSE to COPYING.
9896
9897         * doc/WISHLIST: remove some outdated/finished things.
9898
9899         * doc/Attic/README.nls, doc/Attic/README.pam, doc/Makefile.am: removed.
9900
9901 2005-12-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9902
9903         * 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:
9904         run "make update-po" (merge changes in su messages).
9905
9906         * NEWS, src/su.c:
9907         added handle -s/--shell, -m/-p/preserve-environment options like GNU su
9908         (based on patches from Debian submited by
9909         Nicolas François <nicolas.francois@centraliens.net>)
9910
9911         * NEWS: updated.
9912
9913         * src/su.c:
9914         added handle -s/--shell option like in GNU su (based on Debian patch sublmited
9915         by Nicolas François <nicolas.francois@centraliens.net>).
9916
9917         * src/su.c:
9918         make -, -l , --login option as no_argument (based on fix by Nicolas François).
9919
9920         * po/it.po:
9921         cosmetic fixes (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9922
9923 2005-12-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9924
9925         * man/es/Makefile.am: s/patches/passwd/
9926
9927 2005-12-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9928
9929         * 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:
9930         added tr man pages.
9931
9932         * 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:
9933         added es, hu, pt_BR, zh_CN zh_TW translations passwd(5).
9934
9935         * man/Attic/id.1, man/Attic/pw_auth.3, man/Attic/sulogin.8:
9936         regenerated.
9937
9938         * man/ko/Makefile.am: added su.1 to man_MANS.
9939
9940         * man/Makefile.am: reverte incorrect commit.
9941
9942         * 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:
9943         added full set (up to date) fr man pages (by Nicolas François <nicolas.francois@centraliens.net>).
9944
9945 2005-12-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9946
9947         * 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:
9948         cleanups.
9949
9950         * 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:
9951         s/--force /--force/
9952
9953         * 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:
9954         s/--skel SKEL_DIR /--skel SKEL_DIR/
9955
9956         * 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:
9957         s/--delete /--delete/
9958
9959         * NEWS, po/ru.po:
9960         updated ru translatios for 4.0.14 (by Yuri Kozlov <kozlov.y@gmail.com>).
9961
9962         * po/eu.po: finish update for 4.0.14 (by pi <pi@beobide.net>).
9963
9964         * po/it.po:
9965         updated for 4.0.14 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9966
9967 2005-12-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9968
9969         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9970
9971         * NEWS, po/eu.po: Basque translation updated (by pi <pi@beobide.net>).
9972
9973         * 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:
9974         s/LOGIN/login/ in usage() output.
9975
9976 2005-12-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9977
9978         * 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:
9979         rewrited vipw for use getopt_long().
9980
9981         * man/Attic/passwd.1, man/passwd.1.xml: cleanups.
9982
9983         * man/ko/Makefile.am: commented newgrp.1 (must be updated).
9984
9985 2005-12-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9986
9987         * man/Makefile.am: update-po target added.
9988
9989         * man/Attic/pwck.8, man/pwck.8.xml: document -q option.
9990
9991         * NEWS, lib/getdef.c:
9992         $MAIL_FILE is used in userdel and usermod, $MD5_CRYPT_ENAB
9993         is used by crypt_make_salt, which is used by chpasswd, gpasswd and newusers.
9994         Both variables moved to PAM not dependent (447_missing_login.defs_variables
9995         Debian patch).
9996
9997         * NEWS, src/su.c:
9998         export $USER and $SHELL as well as $HOME (http://bugs.debian.org/11003 and
9999         http://bugs.debian.org/11189).
10000
10001         * NEWS, man/Attic/login.1, man/login.1.xml:
10002         document how to initiate a trusted path on linux
10003         (http://bugs.debian.org/305600).
10004
10005         * NEWS, src/chage.c:
10006         fix chage display when the last change field is set to 0.
10007         This is consistent with PAM (merge 427_chage_expiry_0 Debian patch).
10008
10009 2005-12-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
10010
10011         * configure.in: added man/fi/Makefile to AC_CONFIG_FILES().
10012
10013         * 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:
10014         convert all translated man pages to UFT-8.
10015
10016         * NEWS, src/userdel.c:
10017         fix incorrect audit record in userdel (https://bugzilla.redhat.com/bugzilla/174392).
10018
10019         * 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:
10020         s/--all /--all/
10021
10022         * 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:
10023         update by some informations about translators (by Christian Perrier) and run "make update-po".
10024
10025 2005-11-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
10026
10027         * NEWS, src/su.c:
10028         if an password is expired, su should propose to change this password
10029         (fixed http://bugs.debian.org/321384).
10030
10031         * src/Makefile.am, src/login.c, NEWS:
10032         added auditing support (based on Fedora patch for login from util-linux).
10033
10034         * src/useradd.c: remove use rflg.
10035
10036         * man/ru/Makefile.am: typo.
10037
10038         * po/pl.po: partialy updated.
10039
10040         * 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:
10041         run "make update-po".
10042
10043         * NEWS, src/useradd.c: merge PUG fixes from RedHat patch.
10044
10045 2005-11-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
10046
10047         * NEWS, po/it.po:
10048         updated (by Danilo Piazzalunga <danilopiazza@gmail.com>).
10049
10050         * 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:
10051         added full set of ru man pages (by Yuri Kozlov <kozlov.y@gmail.com>).
10052
10053 2005-11-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10054
10055         * NEWS, src/Makefile.am, src/nologin.c: added nologin program.
10056
10057         * NEWS, src/su.c: rewrited for use getopt_long().
10058
10059 2005-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10060
10061         * po/zh_CN.po: updated (by Ming Hua <minghua@rice.edu>).
10062
10063 2005-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10064
10065         * man/Attic/usermod.8, man/usermod.8.xml:
10066         rewrited for document long options.
10067
10068         * NEWS, src/vipw.c:
10069         added a "quiet" mode (http://bugs.debian.org/190252.
10070
10071         * po/de.po:
10072         fixed wrong translation in german po file (http://bugs.debian.org/338373
10073         by Nico Golde <nico@ngolde.de>).
10074
10075         * 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:
10076         added fi chfn(1), chsh(1), passwd(1), su(1).
10077
10078         * NEWS, man/it/Makefile.am, man/it/newusers.8: added it newusers(8).
10079
10080         * NEWS, po/fr.po:
10081         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
10082
10083 2005-11-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10084
10085         * NEWS, src/Makefile.am, src/newgrp.c:
10086         added auditing support for newgrp (by Steve Grubb <sgrubb@redhat.com>).
10087
10088         * NEWS, configure.in, libmisc/audit_help.c:
10089         switch over to a new logging function (by Steve Grubb <sgrubb@redhat.com>).
10090
10091         * README: typo.
10092
10093 2005-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10094
10095         * po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
10096
10097 2005-11-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
10098
10099         * configure.in:
10100         s/logdir/shadow_cv_logdir/ fix wrong var name (by Mike Frysinger <vapier@gentoo.org>).
10101
10102         * 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:
10103         move information about all shadow man pages authors from man pages to README file.
10104
10105         * src/userdel.c: added two new error messages to translated phrases.
10106
10107         * NEWS, src/userdel.c:
10108         remove the user's group unless it is not really a user-private group
10109         (based on FC patch).
10110
10111 2005-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
10112
10113         * src/usermod.c: fix long name options name in long_options[].
10114
10115 2005-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10116
10117         * src/userdel.c: indent source code.
10118
10119         * NEWS, src/userdel.c:
10120         make the userdel -f option force the removal of the user's group (even if it
10121         is the primary group of another user)
10122         (merge 453_userdel_-f_removes_group Debian patch),
10123
10124         * NEWS, man/Attic/login.1, man/login.1.xml:
10125         better explain the respective roles of login, init and getty with regards
10126         to the utmp file (merge 440_manpages-login.1 Debian patch).
10127
10128         * man/Attic/userdel.8, man/userdel.8.xml:
10129         aphabetic order options description.
10130
10131         * NEWS, man/Attic/userdel.8, man/userdel.8.xml:
10132         document the -f option; document the group removal behavior (merge
10133         455_userdel.8.xml Debian patch).
10134
10135         * NEWS, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
10136         document that useradd/groupadd refuse adding entries already in an
10137         external database (http://bugs.debian.org/282184).
10138
10139         * NEWS, libmisc/sulog.c:
10140         log in successful/failed su through syslog (http://bugs.debian.org/190215).
10141
10142         * 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:
10143         updated it groupdel(8), passwd(1), pwconv(8), useradd(8), userdel(8), usermod(8) man pages
10144         (merge 205_it-manpages Debian patch).
10145
10146         * man/pt_BR/gpasswd.1: merge 204_pt_BR-manpages Debian patch.
10147
10148 2005-10-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
10149
10150         * man/Attic/porttime.5, man/Attic/pwck.8, man/Attic/shadow.3, man/porttime.5.xml, man/pwck.8.xml:
10151         improvements by Yuri Kozlov <kozlov.y@gmail.com>.
10152
10153         * NEWS, po/tl.po: updated (by Eric Pareja <xenos@upm.edu.ph>).
10154
10155         * 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:
10156         remove "." from su message.
10157
10158         * 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:
10159         "make update-po".
10160
10161         * src/usermod.c: cleanups in usage() output.
10162
10163         * src/usermod.c: indent code.
10164
10165         * NEWS, src/usermod.c:
10166         rewrited for use getopt_long() (Christian Perrier <bubulle@kheops.frmug.org>).
10167
10168 2005-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10169
10170         * po/uk.po: updated (by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>).
10171
10172 2005-10-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10173
10174         * 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:
10175         bunch of cleanups (Yuri Kozlov <kozlov.y@gmail.com>).
10176
10177 2005-10-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10178
10179         * 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:
10180         Simplifications: move all per shadow tool declared struct pam_conv conv
10181         from src/*c to lib/pam_defs.h. #include "pam_defs.h" instead <security/pam_appl.h>
10182         and <security/pam_misc.h>.
10183         Patch partialy based on openpam fixes by Rob Holland <rob@inversepath.com>.
10184
10185         * NEWS, lib/commonio.c:
10186         fixed grpck segmentation fault on using -s when /etc/gshadow is empty (fix by
10187         Tomasz Lemiech <szpajder@staszic.waw.pl>).
10188
10189 2005-10-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10190
10191         * man/Attic/faillog.5, man/faillog.5.xml:
10192         typos (by A Costa <agcosta@gis.net>).
10193
10194 2005-10-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
10195
10196         * man/Attic/chage.1, man/Attic/chpasswd.8, man/chage.1.xml, man/chpasswd.8.xml:
10197         typos (by A Costa <agcosta@gis.net>).
10198
10199         * NEWS, po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
10200
10201 2005-10-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10202
10203         * 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:
10204         newgrp(1): added de, es, zh_CN, zh_TW translations.
10205
10206 2005-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10207
10208         * man/Attic/gpasswd.1, man/gpasswd.1.xml:
10209         move "Notes about group passwords" section from passwd man page.
10210
10211         * src/passwd.c, NEWS, man/Attic/passwd.1, man/passwd.1.xml:
10212         remove handle -f, -g and -s options in passwd.
10213
10214         * 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:
10215         use locase in <refentrytitle>.
10216
10217         * man/Attic/pw_auth.3, man/Attic/pw_auth.3.xml, man/Attic/shadow.3, man/shadow.3.xml:
10218         added refmiscinfo class="sectdesc">Library Calls</refmiscinfo> in <refmeta>.
10219
10220         * 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:
10221         added <refmiscinfo class="sectdesc">System Management Commands</refmiscinfo>
10222         in <refmeta>.
10223
10224         * 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:
10225         added <refmiscinfo class="sectdesc">File Formats and Conversions</refmiscinfo>
10226         in <refmeta>.
10227
10228         * man/Attic/pwconv.8, man/Attic/suauth.5, man/Attic/vipw.8, man/pwconv.8.xml, man/suauth.5.xml, man/vipw.8.xml:
10229         remove <refentryinfo><date></date></refentryinfo> and <refmiscinfo class='date'> tags.
10230
10231         * man/Attic/newgrp.1, man/Attic/sg.1, man/newgrp.1.xml, man/sg.1.xml:
10232         added <refmiscinfo class="sectdesc">User Commands</refmiscinfo> tag.
10233
10234 2005-10-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
10235
10236         * NEWS, configure.in: start work on 4.0.14.
10237
10238 2005-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10239
10240         * NEWS: move release 4.0.13 date to 10-10-2005.
10241
10242         * NEWS:  added infor about removed duplicated pam_start() in chage.
10243
10244         * NEWS: updated.
10245
10246         * man/Makefile.am: added sg.1.xml to man_XMANS.
10247
10248         * man/Attic/chage.1, man/chage.1.xml:
10249         cleanups (by Yuri Kozlov <kozlov.y@gmail.com>).
10250
10251         * man/Attic/newgrp.1, man/newgrp.1.xml:
10252         use <filename> in few more places.
10253
10254         * man/Attic/newgrp.1, man/newgrp.1.xml:
10255         better newgrp description (http://bugs.debian.org/325558).
10256
10257 2005-10-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
10258
10259         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
10260         remove using pam_chauthtok().
10261
10262         * src/chsh.c: finish PAM support using pam_start() & co.
10263
10264         * src/chage.c: remove using pam_chauthtok() on finish chage.
10265
10266         * src/chfn.c:
10267         use E_NOPERM in more places. remove using pam_chauthtok() on finish chfn.
10268
10269         * src/chfn.c: cleanups.
10270
10271         * src/chage.c:
10272         removed duplicaded not moved PAM code) was introduced during merge
10273         shadow-4.0.4.1-owl-pam-auth.diff patch).
10274
10275         * src/chfn.c: finish PAM support.
10276
10277 2005-10-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
10278
10279         * man/Attic/chfn.1, man/Attic/chsh.1, man/chfn.1.xml, man/chsh.1.xml:
10280         cleanups (by  Alexander Gattin <xrgtn@yandex.ru>).
10281
10282 2005-10-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10283
10284         * NEWS, src/userdel.c:
10285         userdel should not remove the group which is primary for someone else (fix
10286         by Nicolas François <nicolas.francois@centraliens.net> http://bugs.debian.org/295416)
10287
10288 2005-10-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
10289
10290         * 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:
10291         s/<emphasis remap='B'>/<emphasis>/
10292
10293         * man/Attic/sg.1, man/sg.1.xml: use <command> instead <emphasis>.
10294
10295         * man/newgrp.1.xml, man/sg.1.xml, man/chage.1.xml, man/chsh.1.xml, man/login.defs.5.xml:
10296         s/\.  /\. /
10297
10298         * man/Attic/shadow.5, man/shadow.5.xml:
10299         better document "!" and "*" fields in /etc/shadow
10300         (based on 441_manpages-shadow.5 patch from Debian).
10301
10302         * man/Attic/newgrp.1, man/newgrp.1.xml:
10303         SHADOWPWD was removed (always enabled)
10304         (based on 446_newgrp.1_no_SHADOWPWD patch from Debian).
10305
10306         * po/ru.po: updated for 4.0.13 (by Yuri Kozlov <kozlov.y@gmail.com>).
10307
10308 2005-09-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
10309
10310         * NEWS: cleanups.
10311
10312         * 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:
10313         next round of cleanups.
10314
10315         * man/Makefile.am: added rules for id.1, pw_auth.3 and sulogin.8.
10316
10317         * libmisc/setupenv.c:
10318         during the changes on libmisc/setupenv.c, a piece of code was moved
10319         without its comment (merge 449_comment_missplaced Debian patch).
10320
10321 2005-09-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
10322
10323         * 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:
10324         added missing references to /etc/login.defs and login.defs(5)
10325         (Christian Perrier <bubulle@kheops.frmug.org>).
10326
10327 2005-09-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
10328
10329         * NEWS: s/XSL/XSLT/
10330
10331         * po/pl.po: few updates.
10332
10333         * man/Attic/passwd.1, man/passwd.1.xml:
10334         -i option description is back (lost on rewrite and pointed by
10335         Miroslav Kure <kurem@upcase.inf.upol.cz>).
10336
10337         * po/cs.po:
10338         updated for 4.0.13 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10339
10340 2005-09-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10341
10342         * NEWS: updated.
10343
10344         * configure.in: fixes for correct handle --with{,out}-<feature>.
10345
10346         * configure.in:
10347         use @<:@ @:>@ instead ( ) inside AC_HELP_STRING() and s/feactures/features/
10348         (based on fixes by Mike Frysinger <vapier@gentoo.org>).
10349
10350         * po/da.po: updated for 4.0.13 (by Claus Hindsgaul <claus_h@image.dk>).
10351
10352         * po/es.po: updated for 4.0.13 (by Ruben Porras <nahoo@inicia.es>).
10353
10354 2005-09-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
10355
10356         * NEWS, libmisc/failure.c:
10357         use "%c" in strftime() output (based on patch from
10358         http://bugs.debian.org/89902 by Christian Perrier <bubulle@debian.org>)
10359
10360         * man/Attic/getspnam.3, man/Attic/shadow.3, man/shadow.3.xml:
10361         added <refname>getspnam</refname> to <refnamediv>.
10362
10363         * man/Attic/sg.1, man/sg.1.xml: fixed <cmdsynopsis>.
10364
10365         * man/Attic/sg.1, man/Makefile.am, man/sg.1.xml:
10366         added separated sg(1) man page.
10367
10368 2005-09-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10369
10370         * lib/commonio.c, NEWS:
10371         don't assume selinux is enabled if is_selinux_enabled() returns -1
10372         (merge isSelinuxEnabled FC patch by Jeremy Katz <katzj@redhat.com>).
10373
10374         * po/ro.po: updated (by Sorin Batariuc <sorin@bonbon.net>).
10375
10376 2005-09-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10377
10378         * NEWS: schedule release 4.0.13 to 03-10-2005.
10379
10380 2005-09-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10381
10382         * 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:
10383         regenerate all roff man pages using DocBook XSL Stylesheets 1.69.1.
10384
10385         * man/logoutd.8.xml: fixed id inside <refentry>.
10386
10387         * 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:
10388         added missing <para></para> inside <listitem> tags for pass correctly xmllint.
10389
10390         * man/Attic/login.access.5, man/login.access.5.xml:
10391         rewrited FILES section.
10392
10393         * man/login.access.5.xml: cleanups.
10394
10395 2005-09-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10396
10397         * NEWS, man/Attic/passwd.5, man/passwd.5.xml:
10398         rewrited based on work by Greg Wooledge <greg@wooledge.org>
10399         http://bugs.debian.org/328113
10400
10401 2005-09-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10402
10403         * po/ro.po: updates (by Sorin Batariuc <sorin@bonbon.net>).
10404
10405 2005-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10406
10407         * 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:
10408         remove empty lines after comment.
10409
10410         * src/useradd.c: group all #include.
10411
10412         * po/fr.po:
10413         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
10414
10415 2005-09-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10416
10417         * src/gpasswd.c: remove exit(1) after failure().
10418
10419         * src/usermod.c: consolidate few #ifdef WITH_AUDIT .. #endif sections.
10420
10421 2005-09-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
10422
10423         * src/Makefile.am: added missing $(LDADD) in gpasswd_LDADD.
10424
10425         * NEWS, libmisc/limits.c:
10426         fixed setup max address space limits (added missing break statement in case)
10427         spoted by Lasse Collin <lasse.collin@tukaani.org>
10428         (fix for non-PAM case)
10429
10430         * configure.in: try find and use by default feactures:
10431         with_audit="yes"
10432         with_libcrack="no"
10433         with_libpam="yes"
10434         with_libskey="no"
10435         with_selinux="yes"
10436         Report on finish also S/Key and CrackLib support.
10437
10438         * configure.in: cleanups.
10439
10440         * src/Makefile.am: sort *_LDADD.
10441
10442         * src/Makefile.am: added missing gpasswd_LDADD = $(LIBAUDIT).
10443
10444         * 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:
10445         indent code.
10446
10447         * libmisc/Makefile.am: sort libmisc_a_SOURCES elements.
10448
10449         * libmisc/audit_help.c: added shadow copyright text and indent file.
10450
10451         * libmisc/audit_help.c:
10452         patr of auditing support not added on commiting audit changes.
10453
10454         * src/Makefile.am: s/AUDIT/LIBAUDIT/
10455
10456         * configure.in: added reporting on finish is auditing is enabled.
10457         Change to use shared libaudit. Aded missing AC_SUBST(LIBAUDIT).
10458         Break some to log lines.
10459
10460         * 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:
10461         auditing support added. Patch prepared by Peter Vrabec
10462         <pvrabec@redhat.com> basing on work by Steve Grubb from
10463         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159215 Now auditing
10464         support have commands: chage, gpasswd, groupadd, groupdel, groupmod,
10465         useradd, userdel, usermod.
10466
10467         * po/pt.po: finish update (by Christian Perrier <bubulle@debian.org>).
10468
10469 2005-09-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
10470
10471         * po/pt.po, NEWS: updated (by Miguel Figueiredo <elmig@debianpt.org>).
10472
10473 2005-09-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
10474
10475         * src/passwd.c:
10476         fix warning (initialization makes pointer from integer without a cast) in
10477         long_options[] entry.
10478
10479         * po/fr.po, NEWS:
10480         partialy updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
10481
10482 2005-09-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10483
10484         * src/chage.c: indent source sode.
10485
10486         * src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c, NEWS:
10487         change to use new selinux API for selinux_check_passwd_access()
10488         (patch from Fedora by Dan Walsh <dwalsh@redhat.com>).
10489
10490 2005-09-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
10491
10492         * man/Attic/newgrp.1, man/newgrp.1.xml: finished rewrite.
10493
10494         * etc/login.defs: moved from login.defs.linux.
10495
10496         * src/login_nopam.c: use #ident.
10497
10498         * etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, etc/Makefile.am:
10499         remove login.defs.hurd and login.defs.linux.
10500
10501         * src/groupadd.c, src/useradd.c:
10502         as same as in man pages to useradd and groupadd change to 1000 default
10503         GID_MIN and UID_MIN (if not found in login.defs).
10504
10505         * etc/login.defs: s/chkpasswd/chpasswd/
10506
10507 2005-08-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
10508
10509         * man/Makefile.am, man/chsh.1.xml, man/limits.5.xml, man/login.access.5.xml, man/newgrp.1.xml, man/newusers.8.xml:
10510         fixed id= in <refentry>.
10511
10512         * man/Attic/gpasswd.1, man/gpasswd.1.xml:
10513         fixed refentry id (must be 'gpasswd.1').
10514
10515         * man/Makefile.am, man/newgrp.1.xml:
10516         raw version converted from roff using doclifter.
10517
10518         * lib/exitcodes.h: new exit codes:
10519         #define E_PASSWD_NOTFOUND       14      /* not found password file */
10520         #define E_GROUP_NOTFOUND        16      /* not found group file */
10521         #define E_GSHADOW_NOTFOUND      17      /* not found shadow group file */
10522
10523         * man/Attic/chage.1, man/chage.1.xml, lib/exitcodes.h:
10524         change to 15 (from 14) exit code in chage when shadow not found.
10525
10526         * 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:
10527         use #ident preprocesor directive istead RCID macro with content similar
10528         to example described in ident(1) man page (modern compilers like latest GCC
10529         removes not used functions by global optimization).
10530         So "ident /usr/bin/passwd" will show again some useable informations.
10531
10532         * man/Makefile.am: added support for regenerate roff files from XML.
10533         Added depeing shadow-man-pages.pot on $(man_XMANS).
10534
10535 2005-08-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
10536
10537         * man/Attic/login.1, man/login.1.xml, NEWS:
10538         added securetty(5) to SEE ALSO section (fixed Debian bug http://bugs.debian.org/325773).
10539
10540         * po/pl.po: more updates.
10541
10542         * configure.in:
10543         typo in handle --with-selinux. Fixes in xsltproc detection.
10544
10545         * autogen.sh:
10546         added --enable-man and --enable-maintainer-mode to configure options.
10547
10548         * man/Attic/chage.1, man/chage.1.xml, NEWS:
10549         added EXIT VALUES section (by Nicolas François <nicolas.francois@centraliens.net>).
10550
10551         * man/Attic/passwd.1, man/passwd.1.xml:
10552         remove "Password expiry information" section (all options are described now
10553         in OPTIONS section). Describe -a and -k options.
10554
10555         * NEWS, src/su.c:
10556         fixed twice copy enviroment which causes auth problems (bug was introduced in 4.0.12;
10557         fix by Nicolas François <nicolas.francois@centraliens.net>).
10558
10559         * 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:
10560         s/Incorrect password for `%s'/Incorrect password for %s/ (one phrase for translate less).
10561
10562         * 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:
10563         s/login: failure forking: %s/%s: failure forking: %s/ (one phrase for translate less).
10564
10565         * po/pl.po: partialy updated.
10566
10567 2005-08-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
10568
10569         * lib/exitcodes.h, src/chage.c:
10570         s/E_NOT_SHADOWED/E_SHADOW_NOTFOUND/ and change value of this exit code to 14.
10571
10572         * NEWS, lib/exitcodes.h, src/chage.c:
10573         differentiate the different failure causes by the exit value
10574         This will permit to adduser Debian script to detect if chage failed because the
10575         system doesn't have shadowed passwords (fix for http://bugs.debian.org/317012)
10576         Plain merge 443_chage_exit_values Debian patch.
10577
10578         * 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:
10579         use tabs in indentation (~10KB less in all xml files).
10580
10581         * 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:
10582         run "make update-po" and remove obsoleted strings.
10583
10584         * src/expiry.c, src/login.c: remove #if 0 .. #endif code.
10585
10586         * src/login.c: remove #if 1 .. #endif.
10587
10588         * 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:
10589         merge 010_more-i18ned-messages Debian patch which adds i18n support for few more messages
10590         (orginaly patch was prepared by Guillem Jover <guillem@debian.org>).
10591
10592         * man/id/chsh.1:
10593         fix .SH (fix merged from 207_id-manpages debian patch).
10594
10595 2005-08-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
10596
10597         * acinclude.m4: add aclocal macros (based on acinclude.m4 from glib):
10598         JH_PATH_XML_CATALOG: checks the location of the XML Catalog,
10599         JH_CHECK_XML_CATALOG: checks if a particular URI appears in the XML catalog.
10600
10601         * man/Attic/useradd.8, man/useradd.8.xml:
10602         cleanups in "Changing the default values" section.
10603
10604         * man/useradd.8.xml:
10605         replace <emphasis remap='I'></emphasis> by <replaceable></replaceable>.
10606         Other minor cleanups.
10607
10608         * configure.in:
10609         fixed missing )] in AC_ARG_WITH(skey, ..) (thank for fix to Yuri Kozlov <kozlov.y@gmail.com>).
10610
10611         * 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:
10612         typos, and change some arguments so they do not match the name of a
10613         command (fixes by Nicolas François <nicolas.francois@centraliens.net>).
10614
10615         * NEWS, libmisc/chkname.c, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
10616         fix regular expression describing alloved login/group names (pointed
10617         by Nicolas François <nicolas.francois@centraliens.net>)
10618         (correct is [a-z_][a-z0-9_-]*[$]).
10619
10620         * man/Attic/useradd.8, man/useradd.8.xml:
10621         remove "Creating New Users" section and merge this directly in DESCRIPTION.
10622         Add <option></option> for -o in EXIT VALUES section.
10623
10624         * po/ru.po, NEWS:
10625         update ru translations (by Yuri Kozlov <kozlov.y@gmail.com>).
10626
10627 2005-08-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10628
10629         * man/Attic/passwd.1, man/passwd.1.xml:
10630         removed "Account maintenance" section.
10631
10632         * man/Attic/passwd.1, man/passwd.1.xml: partialy done rewrite.
10633
10634         * po/ro.po:
10635         some fixes after review of the translation (by Sorin Batariuc <sorin@bonbon.net>).
10636
10637         * man/Attic/lastlog.8, man/lastlog.8.xml:
10638         s/Print help message and exit./Display help message and exit./
10639
10640         * man/Attic/chage.1, man/chage.1.xml: document -h,--help option.
10641
10642         * man/Attic/groupadd.8, man/groupadd.8.xml:
10643         document -h,--help option. added <option></option> for -o in EXIT VALUES.
10644         Cleanups in SYNOPSIS section.
10645
10646         * man/Attic/chage.1, man/Attic/faillog.8, man/chage.1.xml, man/faillog.8.xml:
10647         replace <emphasis remap='I'></emphasis> by <replaceable></replaceable>.
10648
10649         * man/Attic/lastlog.8, man/lastlog.8.xml:
10650         document new -b,--before option.
10651
10652         * 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:
10653         s/lastlog results/lastlog records/ in lastlog usage output.
10654
10655         * man/Attic/lastlog.8, man/lastlog.8.xml:
10656         add "" aroud <command></command>.
10657
10658         * 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:
10659         alphabetic order options in lastlog usage output. Run "make -C po update-po".
10660
10661         * src/lastlog.c, NEWS:
10662         added handle -b option which allow print only lastlog records older than
10663         specified DAYS (fix by <miles@lubin.us>).
10664
10665         * libmisc/salt.c, NEWS:
10666         fixed for use login.defs::MD5_CRYPT_ENAB only if PAM support
10667         is disabled (fix by John Gatewood Ham <zappaman@buraphalinux.org>).
10668
10669 2005-08-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10670
10671         * configure.in:
10672         use AC_HELP_STRING() in AC_ARG_ENABLE() and AC_ARG_WITH().
10673         Exit with error message if configure was runed --with-selinux
10674         and libselinux not found.
10675
10676 2005-08-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10677
10678         * libmisc/chkname.c, NEWS, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
10679         documents in CAVEATS section the limitations shadow places on user and
10680         group names (fix by Mike Frysinger <vapier@gentoo.org>).
10681
10682         * 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:
10683         added missing -i, --inactive in usage() output.
10684
10685 2005-08-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
10686
10687         * 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:
10688         passwd rewrited for use getopt_long().
10689
10690         * man/Attic/chage.1, man/chage.1.xml: /warndays/--warndays/
10691
10692         * 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:
10693         remove trailing spaces.
10694
10695         * 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:
10696         reorder #includes, indentations and minor cleanups.
10697
10698         * src/newgrp.c: indent code.
10699
10700         * NEWS, src/newgrp.c:
10701         when newgrp process sits between parent and child shells, it should
10702         propagate STOPs from child to parent and CONTs from parent to child,
10703         otherwise e.g. bash's "suspend" command won't work.
10704         Fixed Debian http://bugs.debian.org/314727
10705
10706 2005-08-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10707
10708         * configure.in: typo.
10709
10710         * configure.in:
10711         add display short summary information on finish autoconf script.
10712
10713         * NEWS, configure.in: start work on 4.0.13.
10714
10715 2005-08-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10716
10717         * po/ru.po: updated for 4.0.12 (by Yuri Kozlov <yuray@id.ru>).
10718
10719         * NEWS, po/sk.po:
10720         updated for 4.0.12 (by Peter Mann <Peter.Mann@tuke.sk>).
10721
10722 2005-08-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10723
10724         * po/nl.po, NEWS:
10725         updated for 4.0.12 (by cobaco (aka Bart Cornelis) <cobaco@linux.be>).
10726
10727 2005-08-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10728
10729         * NEWS, po/fi.po:
10730         updated for 4.0.12 (by Tommi Vainikainen <thv+debian@iki.fi>).
10731
10732         * NEWS, po/de.po:
10733         updated for 4.0.12 (by Frank Schmid <frank@cs-schmid.de>).
10734
10735         * po/pt.po, NEWS:
10736         updated for 4.0.12 (by Miguel Figueiredo <elmig@debianpt.org>).
10737
10738 2005-08-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
10739
10740         * po/cs.po:
10741         updated for 4.0.12 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10742
10743         * src/chpasswd.c, src/groupdel.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
10744         remove duplicated #include <pwd.h>.
10745
10746         * po/pl.po: finished update for 4.0.12.
10747
10748         * 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:
10749         s/Not copying any file into it./Not copying any file from skel directory into it./
10750
10751         * 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:
10752         break warning message longer than 80 characters.
10753
10754         * po/pl.po: updated.
10755
10756         * 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:
10757         fixed missing \n in usage() output.
10758
10759         * lib/getdef.c, src/login.c, src/newgrp.c, NEWS:
10760         remove using login.defs::CLOSE_SESSIONS variable and allways close PAM session.
10761
10762 2005-08-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10763
10764         * NEWS, configure.in:
10765         realy enable shadow group support by default (pointed by
10766         Greg Schafer <gschafer@zip.com.au> and Peter Vrabec <pvrabec@redhat.com>).
10767         Indentations in --help output.
10768
10769         * man/Attic/chage.1, man/chage.1.xml:
10770         s/occurrence/occurence/ (334_chage.1-typo Debian patch).
10771
10772         * man/Attic/chfn.1, man/chfn.1.xml:
10773         s/may only change may only change/may only change/ (based on 336_chfn.1 Debian patch).
10774
10775         * man/it/Makefile.am: cleanups (443_man_it_Makefile.am Debian patch).
10776
10777         * man/Attic/userdel.8, man/userdel.8.xml: s/an NIS client/a NIS client/
10778
10779         * man/Attic/useradd.8, man/useradd.8.xml: s/an NIS group/a NIS group/
10780
10781         * man/Attic/lastlog.8, man/lastlog.8.xml:
10782         s/you have an high UID/you have a high UID/
10783
10784         * man/Attic/lastlog.8, man/lastlog.8.xml:
10785         added missing <para></para> in AUTHORS section (cached by Nicolas).
10786
10787         * 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:
10788         run "make update-po".
10789
10790         * po/POTFILES.in: added missing libmisc/pwdcheck.c. Sorted.
10791
10792 2005-08-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
10793
10794         * NEWS: s/22-07-2005/22-08-2005/
10795
10796         * NEWS: schedule release 4.0.12 in 22-07-2005.
10797
10798         * libmisc/setupenv.c, man/pl/login.defs.5, NEWS, etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, lib/getdef.c:
10799         removed handle login.defs::QMAIL_DIR variable.
10800
10801         * libmisc/chowntty.c, NEWS:
10802         allow regular user to login on read-only root file system (not only for root).
10803         Patch by Nicolas François <nicolas.francois@centraliens.net>
10804         Fix for http://bugs.debian.org/52069
10805
10806         * NEWS, man/Attic/usermod.8, man/usermod.8.xml:
10807         give the correct range for system users: 0-999 instead of 0-99
10808         (http://bugs.debian.org/286258)
10809
10810         * man/Attic/chage.1, man/chage.1.xml: s/an password/a password/
10811
10812         * man/Attic/chage.1, man/chage.1.xml, src/chage.c, NEWS:
10813         another maxdays fix based on 427_chage_expiry_0 Debian patch
10814         (fix for http://bugs.debian.org/78961).
10815         Better description -1 value passed in -E, -I and -M options.
10816
10817         * src/gpasswd.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, NEWS:
10818         added flushing group nscd cache on exit.
10819
10820         * src/pwck.c, src/pwconv.c, NEWS:
10821         added flushing passwd nscd cache on exit.
10822
10823         * NEWS, src/usermod.c:
10824         fixed handle -p option (patch by Peter Vrabec <pvrabec@redhat.com>).
10825         Indented.
10826
10827         * man/Attic/chage.1, man/chage.1.xml, NEWS, src/chage.c:
10828         use -1 as value for disable password inactivity.
10829         Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
10830         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=109499
10831         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=137498
10832
10833 2005-08-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10834
10835         * 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:
10836         do not copy files from skel directory if home directory exist and write
10837         warning message about not copying skel files.
10838         Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
10839         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143150
10840         https://bugzilla.redhat.com/beta/show_bug.cgi?id=158574
10841         https://bugzilla.redhat.com/beta/show_bug.cgi?id=80242
10842
10843         * po/pl.po: updated.
10844
10845 2005-08-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10846
10847         * src/useradd.c:
10848         s/spoll/spool/ (spoted by Nicolas François <nicolas.francois@centraliens.net>).
10849
10850 2005-08-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
10851
10852         * NEWS, src/su.c:
10853         ignore SIGINT while authenticating. A ^C could defeat the waiting
10854         period and permit brute-force attacks (fixed http://bugs.debian.org/288827).
10855
10856 2005-08-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
10857
10858         * lib/defines.h, NEWS, configure.in:
10859         added require ngettext (added [need-ngettext] to AM_GNU_GETTEXT() parameters)
10860         and stub prototype for ngettext() in lib/prototypes.h (neccessary if shadow
10861         compiled with disabled NLS support)
10862         Based on fixes by Martin Schlemmer <azarah@nosferatu.za.org>.
10863
10864         * src/faillog.c: start using exitcodes.h.
10865
10866         * 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:
10867         regenerate all roff man pages using DocBook XSL Stylesheets 1.69.0.
10868
10869         * 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:
10870         remove flushing shadow nscd cache (nscd do not caches shadow map).
10871
10872 2005-08-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10873
10874         * 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:
10875         rewrited groupadd for use getopt_long().
10876
10877         * src/chage.c: indent.
10878
10879         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/userdel.c:
10880         do OPENLOG() before pam_start().
10881
10882         * NEWS, src/groupadd.c: fixed double OPENLOG().
10883
10884         * src/passwd.c, src/vipw.c, src/userdel.c: reorder nscd_flush_cache().
10885
10886         * 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:
10887         cleanups in printf() translated messages for make translators work easier.
10888
10889         * NEWS, src/chage.c: added flushing NSS shadow map on exit.
10890
10891         * 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:
10892         s/the the/the/
10893
10894         * po/POTFILES.in: removed lib/{grpack,gspack,pwpack,sppack}.c.
10895
10896         * NEWS, src/newusers.c:
10897         added flushing NSS passwd, shadow and group maps.
10898
10899         * NEWS, src/chpasswd.c, src/useradd.c:
10900         added flushing NSS shadow map on exit.
10901
10902         * lib/prototypes.h: removed outdated prototypes for lib/gsdbm.c.
10903
10904         * NEWS, lib/Attic/grpack.c, lib/Attic/gspack.c, lib/Attic/pwpack.c, lib/Attic/sppack.c, lib/Makefile.am, lib/prototypes.h:
10905         remove lib/{grpack,gspack,pwpack,sppack}.c and prototypes from lib/prototypes.h (outdated).
10906
10907         * lib/prototypes.h: removed outdated prototypes from lib/pwdbm.c.
10908
10909 2005-07-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
10910
10911         * NEWS, src/usermod.c: added flushing NSS shadow map.
10912
10913 2005-07-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
10914
10915         * man/Attic/chage.1, man/chage.1.xml:
10916         typo (s/passwordchanges/password changes/).
10917
10918 2005-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10919
10920         * lib/getdef.c, src/su.c:
10921         ENV_SUPATH and ENV_PATH must be used independently to PAM.
10922
10923         * lib/exitcodes.h: added E_BAD_ARG.
10924
10925         * src/gpasswd.c: start use exitcodes.h.
10926
10927         * lib/getdef.c: remove ENV_ROOTPATH def_table[] (not used).
10928
10929 2005-07-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10930
10931         * src/chsh.c: start use exitcodes.h.
10932
10933 2005-07-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
10934
10935         * 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:
10936         added --no-location to po/Makevars::XGETTEXT_OPTIONS: shorter .po files.
10937
10938         * NEWS, src/grpck.c, src/pwck.c:
10939         pwck: now pwck OPENLOG with correct name ("pwck" instead "pwsk"),
10940         pwck, grpck: replace all puts() with printf() - it fixes problems with extra blank
10941         lines printed in some messages
10942         (fixes by Alexander Gattin <arg@online.com.ua>)
10943
10944 2005-07-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10945
10946         * po/Makevars: added:
10947         MSGID_BUGS_ADDRESS = kloczek@pld.org.pl
10948
10949 2005-07-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10950
10951         * src/chfn.c: start use #include "exitcodes.h",
10952
10953         * lib/exitcodes.h: cleanups.
10954
10955         * lib/Makefile.am, lib/exitcodes.h, src/chage.c:
10956         start separate all E_* exit codes to lib/exitcodes.h.
10957
10958         * 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:
10959         use separated message "Password set to expire." instead "Password changed."
10960         on "passwd -e" (fix by Christian Perrier <bubulle@debian.org>).
10961
10962         * NEWS, po/fr.po:
10963         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
10964
10965         * NEWS, configure.in: start work on 4.0.12.
10966
10967 2005-07-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10968
10969         * 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:
10970         4.0.11.1 will be released tmorrow (21-07-2005).
10971
10972         * configure.in, NEWS:
10973         fixed configure.in: now is possible build shadow with enabled/disabled shadow group
10974         support (thanks for report symptoms of the bug to Greg Schafer <gschafer@zip.com.au>).
10975
10976         * po/sv.po, NEWS: update finished (by Per Olofsson <pelle@dsv.su.se>)
10977
10978         * po/sv.po: partialy updated (by Per Olofsson <pelle@dsv.su.se>).
10979
10980 2005-07-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10981
10982         * NEWS, configure.in: start work on 4.0.12.
10983
10984 2005-07-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
10985
10986         * libmisc/sub.c:
10987         fixed compilation warning about incompatible implicit declaration of built-in
10988         function printf: added "#include <stdio.h>".
10989
10990         * src/groupadd.c:
10991         move #ifdef USE_PAM .. #endif #includes outside #ifdef SHADOWGRP .. #endif.
10992
10993         * libmisc/pwdcheck.c:
10994         added missing "#include <stdio.h>" (fix compilation with PAM disabled).
10995
10996         * 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:
10997         run "make update-po".
10998
10999         * src/su.c:
11000         move declaration of pamh nad caught variables to #ifdef USE_PAM .. #endif.
11001
11002         * po/pl.po, NEWS: updated pl translation.
11003
11004 2005-07-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11005
11006         * NEWS, po/sk.po:
11007         updated for 4.0.11 (by Peter Mann <Peter.Mann@tuke.sk>).
11008
11009 2005-07-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
11010
11011         * NEWS, po/cs.po:
11012         updated for 4.0.11 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
11013
11014 2005-07-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
11015
11016         * po/de.po, NEWS:
11017         updated for 4.0.11 (by Frank Schmid <frank@cs-schmid.de>).
11018
11019 2005-07-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11020
11021         * NEWS, po/pt.po:
11022         updated for 4.0.11 (by Miguel Figueiredo <elmig@debianpt.org>).
11023
11024 2005-07-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11025
11026         * po/stats: reorder gsub().
11027
11028         * po/ru.po: cleanups.
11029
11030         * po/ru.po, NEWS:
11031         updated for 4.0.11 (by Yuri Kozlov <yucoz@yandex.ru>).
11032
11033 2005-07-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11034
11035         * lib/getdef.c:
11036         move MAIL_DIR variable from def_table[] to part independent to USE_PAM
11037         (still used in userdel/usermod).
11038
11039         * NEWS, man/Attic/pwck.8, man/pwck.8.xml:
11040         document -q option (based on Debian patch for fix http://bugs.debian.org/309408)
11041         Rewrited OPTIONS section and better SYNOPSIS.
11042
11043         * NEWS, po/da.po:
11044         - updated for 4.0.11 (by Claus Hindsgaul <claus_h@image.dk>).
11045
11046         * NEWS, src/su.c:
11047         ignore SIGINT while authenticating. A ^C could defeat the waiting period and
11048         permit brute-force attacks. Also ignore SIGQUIT.
11049         Fixed: http://bugs.debian.org/52372 and http://bugs.debian.org/288827
11050
11051         * po/fi.po, NEWS:
11052         - updated for 4.0.11 (by Tommi Vainikainen <thv+debian@iki.fi>).
11053
11054         * po/ro.po: - updated Project-Id-Version field.
11055
11056         * NEWS, po/ro.po:
11057         - updated for 4.0.11 (by Sorin B. <sorin@bonbon.net>).
11058
11059 2005-07-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
11060
11061         * NEWS, man/Attic/lastlog.8, man/lastlog.8.xml:
11062         document that lastlog is a sparse file, and don't need to be rotated.
11063         http://bugs.debian.org/219321
11064
11065         * src/chage.c: use E_USAGE=2 as usage() exit code.
11066
11067         * NEWS, po/es.po:
11068         updated for 4.0.11 (by Ruben Porras <nahoo82@telefonica.net>).
11069
11070         * src/useradd.c: cleanups in usage() oyput.
11071
11072         * 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:
11073         cleanups in usage() output.
11074
11075         * NEWS: release 4.0.11 is sheduled to 18-06-2005.
11076
11077 2005-07-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11078
11079         * man/Attic/login.1, man/login.1.xml, NEWS:
11080         better explain the respective roles of login, init and getty with regards
11081         to the utmp file (based on 441_manpages-shadow.5 Debian patch)
11082
11083         * man/Attic/su.1, man/groupdel.8.xml, man/su.1.xml, man/Attic/groupdel.8:
11084         s/presense/presence/; s/filesystem/file system/
11085         (sed on 440_manpages-login.1 Debian patch)
11086
11087         * 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:
11088         removed shadowconfig(8) man page (will be maintained in Debian shadow pkg repository).
11089
11090         * man/it/sg.1: added.
11091
11092         * man/it/Makefile.am: more files in man_MANS.
11093
11094         * man/it/Makefile.am: move pwunconv.8 to man_MANS.
11095
11096         * man/useradd.8.xml, man/Attic/useradd.8:
11097         updated after rewrite for for getopt_long() in useradd (-D and -k options
11098         idescription must be finished).
11099
11100         * 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:
11101         rewrited for use getopt_long().
11102
11103         * po/stats: more gsub().
11104
11105 2005-07-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
11106
11107         * src/newgrp.c:
11108         indent source code and use fix for handle splitted groups unconditionaly.
11109
11110         * lib/nscd.c: indent.
11111
11112         * NEWS, src/newgrp.c:
11113         add fix for handle splitted NIS groups: extends the functionality that,
11114         if the requested group is given, all groups of the same GID are tested for
11115         membership of the requesting user.
11116         (fix by Christian Mudra <C.Mudra@science-computing.de>
11117
11118         * lib/nscd.c, NEWS:
11119         for some reason doing the INVALIDATE call with two write()'s fails.
11120         Do one writev() call instead. http://bugs.gentoo.org/show_bug.cgi?id=80413
11121         (submited by Martin Schlemmer <azarah@gentoo.org>)
11122
11123         * NEWS, lib/nscd.c:
11124         merge nscd-socket-path patch from Fedora: newer glibc's have a different nscd socket
11125         location (/var/run/nscd/socket instead /var/run/.nscd_socket).
11126
11127 2005-07-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11128
11129         * po/stats: improved.
11130
11131         * man/Attic/groupadd.8, man/groupadd.8.xml, NEWS:
11132         document -o option in groupadd(8).
11133
11134         * configure.in: s/'"$<foo>" != "no"'/'"$<foo>" = "yes"'/
11135
11136         * NEWS, configure.in, lib/Makefile.am, lib/pwauth.c:
11137         S/Key support is back.
11138
11139         * 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:
11140         run "make update-po".
11141
11142         * po/pl.po: updated.
11143
11144         * src/useradd.c: s,key=value,KEY=VALUE,
11145
11146         * src/groupadd.c, NEWS, man/Attic/groupadd.8, man/groupadd.8.xml:
11147         change -O option to -K and document it in man page.
11148
11149         * man/Attic/useradd.8, man/useradd.8.xml, src/useradd.c:
11150         s/NAME=VALUE/KEY=VALUE/; s/key=value/KEY=VALUE/
11151
11152         * src/chfn.c, src/groupadd.c, src/groupmems.c, src/login.c, src/passwd.c, src/vipw.c:
11153         sort cases in switch (flag) {}.
11154
11155         * src/gpasswd.c, src/groupadd.c, src/groupmems.c, src/groupmod.c, src/passwd.c, src/useradd.c, src/usermod.c:
11156         sort getopt() optstring.
11157
11158         * src/useradd.c:
11159         remove A: from getopt() optstring (the same bug as in usermod).
11160
11161         * src/usermod.c:
11162         remove A: from getopt() optstring (it was for handle AUTH_METHODS code but now
11163         it is not used option). Catched by Thorsten Kukuk <kukuk@suse.de>.
11164
11165         * 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:
11166         indent source code. Added usermod error message about -a option usage to translated messages.
11167
11168         * po/POTFILES.in: mistake s,chage_chkshell.c,chsh_chkshell.c,
11169
11170         * po/POTFILES.in: s,libmisc/chkshell.c,src/chage_chkshell.c,
11171
11172         * man/Attic/usermod.8, man/usermod.8.xml, src/usermod.c, NEWS:
11173         added -a option. This flag can only be used in conjunction with the -G
11174         option. It cause usermod to append user to the current supplementary group list.
11175         (patch by Peter Vrabec <pvrabec@redhat.com>)
11176
11177         * libmisc/Attic/chkshell.c, libmisc/Makefile.am, src/Attic/chsh_chkshell.c, src/Makefile.am:
11178         move libmisc/chkshell.c to src/chsh_chkshell.c. check_shell() is used only by chsh.
11179
11180 2005-07-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
11181
11182         * Attic/acconfig.h, NEWS, configure.in:
11183         finish move all autoheader templates from acconfig.h to configure.in.
11184
11185         * 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:
11186         added missing \n in chage error messages.
11187
11188         * 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:
11189         run "make update-po".
11190
11191         * src/usermod.c: move all #include in one place.
11192
11193         * src/useradd.c: s/-O/-K/
11194
11195         * man/Attic/useradd.8, man/useradd.8.xml:
11196         cleanups in Note: in -K description.
11197
11198         * NEWS, man/Attic/useradd.8, man/useradd.8.xml, src/useradd.c:
11199         change -O option to -K and document it in man page.
11200
11201         * man/Attic/useradd.8, man/useradd.8.xml:
11202         added separated <cmdsynopsis></cmdsynopsis> for -D description and remove using </srb> tags from
11203         <refsynopsisdiv id='synopsis'>.
11204
11205         * src/login.c:
11206         replace #ifdef USE_PAM .. #endif #ifndef USE_PAN .. #endif by
11207         #ifdef USE_PAM .. #else .. #endif.
11208
11209         * src/su.c: conditiona code reorganization.
11210
11211         * src/login.c: remove one #ifndef USE_PAM .. #endif.
11212
11213         * libmisc/setupenv.c: move setup $MAIL to !USE_PAM.
11214
11215         * libmisc/setupenv.c, src/su.c:
11216         consolidate two sections of code #ifndef USE_PAM to one.
11217
11218         * src/su.c, src/sulogin.c, libmisc/setupenv.c, libmisc/tz.c, src/login.c, NEWS:
11219         fixed erroneous warning messages about some login.defs variables when used with PAM
11220         (fix by DJ Lucas <dj@linuxfromscratch.org>)
11221
11222 2005-07-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11223
11224         * configure.in, libmisc/getdate.y, libmisc/utmp.c, src/logoutd.c:
11225         remove non-USG code.
11226
11227         * Attic/acconfig.h, configure.in:
11228         start moving all autoheader templates from acconfig.h to configure.in.
11229
11230         * configure.in: remove not used AC_DEFINE(HAVE_LIBCRYPT).
11231
11232         * Attic/acconfig.h, NEWS, configure.in:
11233         stop with error message if crypt() not found. Remove --with{,out}-libcrypt switch.
11234
11235         * src/login.c: fixed use SYSLOG macro.
11236
11237 2005-07-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11238
11239         * src/login_nopam.c: fixed use SYSLOG macro.
11240
11241 2005-07-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
11242
11243         * NEWS, src/login.c:
11244         setup limits and umask (using login.defs ULIMITS and UMASK variables) only when
11245         PAM support is disabled (it is task for pam_limits and pam_umask modules).
11246
11247 2005-06-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
11248
11249         * src/sulogin.c, src/login.c, src/login_nopam.c, NEWS:
11250         use SYSLOG macro instead syslog() which saves the locale, sets the locale to C,
11251         sends the message and restores the locale (fix by Nicolas François <nicolas.francois@centraliens.net>).
11252
11253         * 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:
11254         in SEE ALLSO section added refer to gpasswd(8)
11255         (suggested by Mike Frysinger <vapier@gentoo.org>)
11256
11257         * NEWS, configure.in: start work on 4.0.11.
11258
11259 2005-06-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
11260
11261         * NEWS: +1 day release 4.0.10 date.
11262
11263         * po/pl.po: kill fuzzy.
11264
11265         * po/de.po: partial update by Frank Schmid <frank@cs-schmid.de>.
11266
11267 2005-06-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11268
11269         * po/ca.po: run "make update-po".
11270
11271         * po/sk.po: updated sk translation by Peter Mann <Peter.Mann@tuke.sk>.
11272
11273 2005-06-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
11274
11275         * NEWS: typo.
11276
11277 2005-06-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11278
11279         * po/pl.po: typo.
11280
11281         * po/pl.po: updated for 4.0.10.
11282
11283         * po/ru.po, NEWS: updated ru translation by maintainer.
11284
11285         * NEWS: added past releases dates. Cleanups.
11286
11287         * man/Attic/shadowconfig.8: merge version generated from XML file.
11288
11289         * po/ca.po, po/cs.po, po/da.po, po/fi.po, NEWS:
11290         translations updated by maintainers.
11291
11292 2005-06-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11293
11294         * 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):
11295         s/EXPIRE/EXPIRE_DATE/.
11296
11297         * po/pl.po: start update for 4.0.10.
11298
11299         * 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:
11300         s/uid/UID/ in all commnets and messages.
11301
11302         * libmisc/failure.c, libmisc/limits.c, lib/pwio.c:
11303         s/uid/UID/ in comments.
11304
11305         * 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:
11306         s/gid/GID/ in all comments and messages.
11307
11308         * 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:
11309         one message in i18n messages less: use in all places "Permission denied" instead
11310         "permission denied".
11311
11312         * libmisc/getdate.y:
11313         remove extern for gmtime(), localtime() and mktime() and instead add #include <time.h>.
11314
11315         * libmisc/entry.c: removed extern for fgetpwent().
11316
11317         * 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:
11318         now most of the man pages now are generated from XML files so in case any submiting
11319         any chages to this resources please make diff fies to XML files.
11320
11321         * man/Attic/pw_auth.3.xml: cleanups.
11322
11323         * man/grpck.8.xml, man/passwd.1.xml:
11324         correctly code EXIT VALUES section using <variablelist>. Cleanups.
11325
11326         * man/shadow.3.xml: cleanups.
11327
11328 2005-06-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11329
11330         * man/ja/Attic/mkpasswd.8, man/ja/Makefile.am, man/pl/Attic/mkpasswd.8, man/pl/Makefile.am:
11331         remove ja and pl mkpasswd.8 man pages.
11332
11333 2005-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
11334
11335         * man/pwck.8.xml, man/useradd.8.xml, man/userdel.8.xml:
11336         correctly code EXIT VALUES section.
11337
11338         * Attic/acconfig.h: removed DES_RPC and OPIE templates.
11339
11340         * 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:
11341         removed mkpasswd.
11342
11343         * man/Makefile.am: do not install mkpasswd(8) man page.
11344
11345         * src/Makefile.am: move mkpasswd.c to EXTRA_DIST.
11346
11347         * man/passwd.5.xml:
11348         use <itemizedlist mark='bullet'> for describe passwd fields. Remove outdated
11349         information about additional fields in comment field. Cleanups.
11350
11351         * man/newusers.8.xml: cleanups.
11352
11353         * man/gshadow.5.xml:
11354         use <itemizedlist mark='bullet'> for gshadow fields desscription.
11355
11356         * man/shadow.5.xml: cleanups.
11357
11358         * man/shadow.5.xml:
11359         use <itemizedlist mark='bullet'> for describe shadow fields.
11360
11361         * man/Attic/pw_auth.3.xml: cleanups.
11362
11363         * man/Attic/pw_auth.3.xml: use correct <refname>.
11364
11365         * man/Attic/pw_auth.3.xml: cleanups.
11366
11367         * man/groupdel.8.xml, man/groupmod.8.xml:
11368         correctly code EXIT VALUES section.
11369
11370         * man/groupadd.8.xml: cleanups.
11371
11372         * man/Attic/mkpasswd.8.xml: added missing <variablelist> tag.
11373
11374         * man/usermod.8.xml: cleanups.
11375
11376         * man/usermod.8.xml: remove <sbr/> tags from SYNOPSIS section.
11377
11378         * man/faillog.8.xml: cleanups.
11379
11380         * man/faillog.5.xml:
11381         put struct faillog definition in <programlisting></programlisting>.
11382
11383         * man/chsh.1.xml, man/chpasswd.8.xml: cleanups.
11384
11385         * man/groupadd.8.xml:
11386         seems I found good way for code EXIT VALUES section.
11387
11388         * man/shadow.3.xml:
11389         put meanings of each field spwd struct in <itemizedlist mark='bullet'>.
11390
11391         * man/shadow.3.xml:
11392         place definition of struct spwd in <programlisting></programlisting>.
11393
11394         * NEWS, src/userdel.c:
11395         userdel now deletes user groups from /etc/gshdow as well as /etc/group.
11396         Fix by Nicolas François <nicolas.francois@centraliens.net>.
11397         http://bugs.debian.org/99442
11398
11399         * 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:
11400         fixed bug in usermod ad run "make -C po update-po".
11401         When relocating a user's home directory, don't fail and remove the new
11402         home directory if we can't remove the old home directory for some
11403         reason; the results can be spectularly poort if, for instance, only
11404         the rmdir() fails. Patch prepared by Timo Lindfors <lindi-spamtrap@newmail.com>.
11405         http://bugs.debian.org/166369
11406
11407 2005-06-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
11408
11409         * src/login.c: indent.
11410
11411         * 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:
11412         cleanups.
11413
11414 2005-06-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11415
11416         * 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:
11417         cleanups.
11418
11419         * man/login.1.xml: rewrited FILES section.
11420
11421         * man/id.1.xml, man/lastlog.8.xml, man/gshadow.5.xml: cleanups.
11422
11423         * man/groups.1.xml: typos.
11424
11425         * man/chfn.1.xml, man/expiry.1.xml, man/gpasswd.1.xml: cleanups.
11426
11427 2005-06-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11428
11429         * NEWS:
11430         last patch for UTMPX was submited by by Nicolas François <nicolas.francois@centraliens.net>
11431
11432         * libmisc/failure.c, libmisc/failure.h, NEWS:
11433         use also UTMPX API instead UTMP on failure (login was by affected this when shadow
11434         was builded without PAM support).
11435
11436         * NEWS, src/login.c:
11437         the PAM session needs to be closed as root, thus before change_uid()
11438         http://bugs.debian.org/53570 http://bugs.debian.org/195048 http://bugs.debian.org/211884
11439
11440         * man/Attic/passwd.1, man/passwd.1.xml:
11441         s/compatiblity/compatibility/ (fix by Christian Perrier <bubulle@kheops.frmug.org>).
11442
11443 2005-06-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11444
11445         * NEWS, man/Attic/chfn.1, man/chfn.1.xml:
11446         give more details about the influence of login.defs on what's allowed to
11447         users (based on Debian patches).
11448
11449         * NEWS, src/su.c:
11450         fix syslogs to be less ambiguous. Use old:new format instead of old-new
11451         because '-' can appear in usernames.
11452         http://bugs.debian.org/213592
11453
11454         * NEWS, src/login.c:
11455         made login's -f option also able to use the username after -- if none
11456         was passed as it's optarg
11457         http://bugs.debian.org/53702
11458
11459         * po/POTFILES.in, NEWS, libmisc/Attic/setup.c, libmisc/Makefile.am:
11460         not used now (removed).
11461
11462         * man/Attic/usermod.8, man/usermod.8.xml:
11463         s/inactive_time/inactive_days/ in -f parameter in SYNOPSIS (fix by Christian
11464         Perrier <bubulle@debian.org>).
11465
11466 2005-06-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
11467
11468         * man/Attic/grpck.8, man/grpck.8.xml:
11469         typo: s/incorrectable/uncorrectable/ (by A Costa <agcosta@gis.net>).
11470
11471         * man/Attic/gshadow.5, man/gshadow.5.xml:
11472         typos: s/folowing/following/; s/encryped/encrypted/; s/supercedes/supersedes/
11473         (by A Costa <agcosta@gis.net>).
11474
11475         * man/Attic/shadow.5, man/shadow.5.xml:
11476         typos: s/encryped/encrypted/; s/supercedes/supersedes/
11477         (by A Costa <agcosta@gis.net>)
11478
11479 2005-06-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11480
11481         * src/login.c, NEWS:
11482         check for hushed login and pass PAM_SILENT if true.
11483         http://bugs.debian.org/48002
11484
11485         * src/login.c, NEWS:
11486         fixed loggin of username on succesful login (was using the normal username,
11487         when it should have used pam_user) http://bugs.debian.org/47819
11488
11489 2005-06-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11490
11491         * NEWS, po/zh_TW.po: updated (by Tetralet <tetralet@pchome.com.tw>).
11492
11493         * NEWS, po/ca.po: updated (by Guillem Jover <guillem@debian.org>).
11494
11495         * man/de/passwd.1:
11496         added small comment with marker usefull for translators.
11497
11498 2005-05-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11499
11500         * 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:
11501         indent all.
11502
11503         * 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:
11504         remove using SHADOWPWD #define so now shadow is allways builded with shadow
11505         password support.
11506
11507 2005-05-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11508
11509         * 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:
11510         rewrite for use getopt_long().
11511
11512 2005-05-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11513
11514         * NEWS, configure.in: start working on 4.0.10.
11515
11516         * man/Makefile.am: remove shadow-man-pages.pot target from all.
11517
11518 2005-05-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
11519
11520         * lib/encrypt.c, NEWS:
11521         fixed passwd segfault in non-PAM connfiguration (submited by Greg Schafer <gschafer@zip.com.au>).
11522
11523         * po/sv.po: upsdate (by Christian Perrier <bubulle@debian.org>).
11524
11525         * NEWS, src/newgrp.c:
11526         fixed NULL pointer dereference - getlogin() and ttyname() can
11527         return NULL which is not checked (http://bugs.debian.org/162303).
11528
11529         * man/Attic/su.1, man/pwconv.8.xml, man/su.1.xml, man/Attic/pwconv.8:
11530         fixed typo (s,similiar,similar,).
11531
11532 2005-05-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11533
11534         * NEWS, po/ro.po: updated by Sorin B. <sorin@bonbon.net>.
11535
11536         * po/ru.po, NEWS: updated by yu-koz <yu-koz@yandex.ru>.
11537
11538 2005-05-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11539
11540         * po/ro.po: few updates by Sorin Batariuc <sorin@bonbon.net>.
11541
11542 2005-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11543
11544         * po/ru.po: updated (by Yuri Kozlov <yuray@id.ru>).
11545
11546 2005-05-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11547
11548         * po/vi.po:
11549         completed translations for HEAD (by Clytie Siddall <clytie@riverland.net.au>).
11550
11551 2005-05-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11552
11553         * NEWS, po/LINGUAS, po/vi.po: added new vi translation.
11554
11555         * NEWS, lib/getdef.c:
11556         leaves the table as it is, and changes from the binary search to
11557         a sequential one (fix by Lucas Correia Villa Real <lucasvr@gobolinux.org>).
11558
11559         * man/Attic/passwd.1, man/passwd.1.xml:
11560         make bold passwd and chfn commands.
11561
11562 2005-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
11563
11564         * man/usermod.8.xml, man/vipw.8.xml: cleanups.
11565
11566 2005-04-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
11567
11568         * 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:
11569         replace <emphasis remap='B'></emphasis> by <command></command>.
11570
11571         * 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:
11572         fixed lastlog --help message (s,--login,--user,) http://bugs.debian.org/249611
11573
11574         * 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:
11575         use <varlistentry></varlistentry> in FILES section. Cleanups.
11576
11577         * 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:
11578         cleanups.
11579
11580         * man/Attic/vipw.8, man/vipw.8.xml:
11581         small fix: s,vi,vi(1), (reported by Helge Kreutzmann <kreutzm@itp.uni-hannover.de> in
11582         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=260636).
11583         s,VISUAL,$VISUAL; s,EDITOR,$EDITOR,
11584
11585 2005-04-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11586
11587         * man/login.1.xml: fixed bold (use <command></command>). Cleanups.
11588
11589         * man/Attic/login.1: fixed typo in bold.
11590
11591         * man/chage.1.xml: fixed italic. Cleanups.
11592
11593         * man/Attic/chage.1: fixed typo in italic.
11594
11595         * man/login.defs.5.xml:
11596         fixed italic (use <filename></filename> istead italic). Cleanups.
11597
11598         * man/Attic/login.defs.5: fixed typo in italic.
11599
11600         * man/vipw.8.xml: fixed italic (use <filename></filename>).
11601
11602         * man/Attic/vipw.8: typo in italic.
11603
11604         * man/Makefile.am:
11605         added target for generate shadow-man-pages.pot. List all now useable xml files
11606         in man_XMANS variable.
11607
11608         * man/pwconv.8.xml:
11609         fixed bold. Use in more places <command></command> istead bold.
11610
11611         * man/Attic/login.defs.5: typo in bold.
11612
11613         * man/su.1.xml:
11614         removed comment. Use <variablelist></variablelist> in Files secstion.
11615         Fixed bold.
11616
11617         * man/Attic/pwconv.8, man/Attic/su.1: typo in bold.
11618
11619 2005-04-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11620
11621         * NEWS, configure.in: start work on 4.0.9.
11622
11623         * po/nl.po: kill fuzzy.
11624
11625         * man/Attic/chage.1:
11626         reverte last commit (by mistake commited experimental version generated from XML file).
11627
11628         * NEWS, po/nl.po:
11629         updated for 4.0.8 (by "cobaco (aka Bart Cornelis)" <cobaco@linux.be>).
11630
11631         * 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:
11632         two typos (s,specyfied,specified,; s,maiximum,maximum,).
11633
11634         * NEWS, po/sk.po:
11635         updated for 4.0.8 (by Peter Mann <Peter.Mann@tuke.sk>).
11636
11637         * src/lastlog.c: typo (s,specyfied,specified,)
11638
11639         * src/faillog.c: typo (s,maiximum,maximum,).
11640
11641 2005-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
11642
11643         * 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:
11644         added <refmiscinfo class="sectdesc">User Commands</refmiscinfo> in <refmeta></refmeta>.
11645
11646         * 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:
11647         Use encoding="UTF-8" and DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN".
11648
11649         * 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:
11650         better formation using "xmlindent -l 80 -d 2".
11651
11652 2005-04-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11653
11654         * 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:
11655         updated it man pages: chfn.1, chsh.1, groups.1, grpck.8, grpconv.8, grpunconv.8,
11656         id.1, lastlog.8, login.1, newgrp.1, pwunconv.8, shadow.5, vigr.8, vipw.8.
11657         new it man pages: chage.1, chpasswd.8, expiry.1, faillog.5, faillog.8,
11658         getspnam.3, logoutd.8, porttime.5, pwck.8, shadow.3, shadowconfig.8, su.1.
11659         (by Danilo Piazzalunga <danilopiazza@libero.it>)
11660
11661         * po/uk.po:
11662         cleanups in plural forms (by Roman Festchook <roma@polesye.net>).
11663
11664         * 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:
11665         reformated using xemacs.
11666
11667 2005-04-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11668
11669         * po/fr.po, NEWS:
11670         updated for 4.0.8 (by Christian Perrier <bubulle@kheops.frmug.org>).
11671
11672         * NEWS, po/eu.po: updated for 4.0.8 (by ^pi^ <piarres@gmail.com>).
11673
11674         * NEWS, po/uk.po:
11675         updated for 4.0.8 (by Roman Festchook <roma@polesye.net>).
11676
11677         * po/cs.po:
11678         updated for 4.0.8 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
11679
11680         * po/da.po, NEWS:
11681         updated for 4.0.8 (by Claus Hindsgaul <claus_h@image.dk>).
11682
11683         * po/ko.po, NEWS:
11684         updated for 4.0.8 (by Changwoo Ryu <cwryu@debian.org>).
11685
11686         * po/fi.po: kill one fuzzy (by Tommi Vainikainen <thv+debian@iki.fi>).
11687
11688 2005-04-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
11689
11690         * man/chpasswd.8.xml: Rewrited by hand & xemacs.
11691
11692         * man/chfn.1.xml: cleanups in <refentry> tag.
11693
11694         * man/chfn.1.xml: Rewrited by hand & xemacs.
11695
11696         * NEWS, po/pt.po:
11697         updated for 4.0.8 (by Miguel Figueiredo <elmig@debianpt.org>).
11698
11699         * po/es.po, NEWS: updated (by Ruben Porras <nahoo@inicia.es>).
11700
11701 2005-04-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11702
11703         * man/Attic/useradd.8:
11704         fixed typos in useadd syntax (in SYNOPSIS section) catched using doclifter.
11705
11706         * 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:
11707         raw version converted using doclifter.
11708
11709         * configure.in: remove handle --with-lib{opie,skey}.
11710
11711         * man/de/chsh.1:
11712         synced with english version (by Simon Brandmair <sbrandmair@gmx.net>).
11713
11714         * man/Attic/usermod.8: improved -o description.
11715
11716         * man/de/passwd.1:
11717         added translation EXIT VALUES section (by Simon Brandmair <sbrandmair@gmx.net>).
11718
11719         * NEWS, po/it.po:
11720         updated it translation (by Danilo Piazzalunga <danilopiazza@libero.it>).
11721
11722 2005-04-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11723
11724         * 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:
11725         cleanups.
11726
11727         * po/pl.po: updated.
11728
11729         * src/usermod.c:
11730         use the same error message ("%s: PAM authentication failed\n") on fail
11731         authentication as in other tools.
11732
11733         * 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:
11734         run "make update-po".
11735
11736         * src/login.c, src/login_nopam.c:
11737         fixed build with disabled PAM support: move bad_time_notify() and check_nologin()
11738         back to src/login.c but use this functions #ifndef USE_PAM.
11739
11740         * NEWS, lib/Makefile.am, lib/pwauth.c:
11741         remove not working OPIE and SKEY support.
11742
11743         * configure.in: typo (s,SELinuux,SELinux,).
11744
11745         * NEWS: typos.
11746
11747         * NEWS: chage, useradd, usermod: reduce multiple OPENLOG() calls.
11748
11749         * src/useradd.c, src/usermod.c: fix multiple OPENLOG() calls.
11750
11751         * src/chage.c: cleanups.
11752
11753         * src/chage.c: fix multiple OPENLOG() calls.
11754
11755         * src/chage.c:
11756         use E_SUCCESS/E_NOPERM #defines instead 0/1 in exit() arguments.
11757
11758 2005-04-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
11759
11760         * src/passwd.c:
11761         adjust also syslog message on usage -S option without permission.
11762         Consolidate SELinix and non-SELinux code.
11763
11764         * 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:
11765         fix #61313 Debian bug: "passwd -S root" (as a normal user) should not
11766         display "You may not change the password for root.
11767
11768         * NEWS, man/Attic/passwd.1:
11769         fix #160477 Debian bug: improve -S output description.
11770
11771         * man/de/passwd.1:
11772         new translation by Simon Brandmair <sbrandmair@gmx.net> with merged all
11773         changes between revision 1.2 a 1.5.
11774
11775 2005-04-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11776
11777         * man/Attic/passwd.1, man/pl/passwd.1: bold passwd and chage commands.
11778
11779         * NEWS, src/vipw.c:
11780         fixed race condition in vipw (Debian #242407 bug; fix by Alexander Gattin
11781         <arg@online.com.ua>).
11782
11783         * man/pl/Attic/chage.1.xml, man/pl/chage.1:
11784         synced with english version.
11785
11786         * man/Attic/chage.1, man/chage.1.xml:
11787         add info about what mean -1 passed n expiredate parameter (based on #304542
11788         Debian bug; submited by Federico Grau <grauf@rfa.org>).
11789
11790 2005-04-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11791
11792         * po/fi.po, NEWS:
11793         updated translation (by Tommi Vainikainen <tvainikan@cc.hut.fi>).
11794
11795         * 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:
11796         cleanups and unifications in SEE ALSO section.
11797
11798 2005-04-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11799
11800         * configure.in:
11801         Info documentation says about AC_GNU_SOURCE: "should be called before any
11802         macros that run the C compiler". So move this macro on top configure.in for
11803         avoid autoconf warnings.
11804
11805         * configure.in:
11806         AC_SYS_LARGEFILE() performs checking is fseeko() is avalaible so "fseeko" can
11807         be removed from AC_CHECK_FUNCS() parameters.
11808
11809         * NEWS, configure.in: Remove using AC_PROG_GCC_TRADITIONAL macro.
11810         Add using AC_GNU_SOURCE macro for kill compilation warnings about implicit
11811         declaration of function `fseeko'.
11812
11813         * po/cs.po: killed fuzzy (by Miroslav Kure <kurem@debian.cz>).
11814
11815         * man/ja/newgrp.1, man/pl/newgrp.1, NEWS, man/Attic/newgrp.1, man/hu/newgrp.1:
11816         newgrp uses /bin/sh (not bash).
11817
11818         * 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:
11819         describe /etc/group in FILES section as "group account information".
11820
11821         * man/Attic/grpck.8:
11822         describe /etc/passwd in FILES section as "user account information".
11823
11824         * po/stats: small script for generate translations statistics.
11825
11826         * NEWS, po/cs.po: Updated by Miroslav Kure <kurem@debian.cz>.
11827
11828         * 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:
11829         describe /etc/shadow in FILES section as "secure user account information".
11830
11831         * man/Attic/newgrp.1:
11832         Reformated paragraph. s,Bourne shell,\fBbash\fR shell,
11833
11834         * NEWS, man/Attic/newgrp.1:
11835         fix #251926, #166173, #113191 Debian bugs: explain why editing /etc/group
11836         (without gshadow) doesn't permit to use newgrp.
11837
11838         * 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:
11839         added/fixed Plural-Forms: header entries. Run "make update-po".
11840
11841         * po/pl.po:
11842         added Plural-Forms: header entry and updated for last change in
11843         libmisc/failure.c.
11844
11845         * libmisc/failure.c:
11846         break message text with failure login since last login.
11847
11848         * libmisc/failure.c:
11849         Use ngettext instead of string concatenation and static number of cases.
11850         Patch by Tommi Vainikainen <tvainika@cc.hut.fi>.
11851
11852 2005-04-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
11853
11854         * po/cs.po:
11855         new translation maintainer: Miroslav Kure <kurem@debian.cz>.
11856
11857 2005-04-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11858
11859         * po/pl.po: updated for 4.0.8.
11860
11861 2005-04-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11862
11863         * 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:
11864         changed faillog records display format for allow fit in 80 columns all
11865         faillog atributies.
11866
11867         * 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:
11868         run "make update-po". Updated pl.po.
11869
11870         * src/faillog.c (usage): typo (s,IDAYS,DAYS,).
11871
11872         * man/Attic/faillog.8, NEWS:
11873         updated after rewrite faillog command for use getopt_long().
11874
11875         * src/faillog.c:
11876         Add handle -h,--help option. Show in usage output information about
11877         -t,--time option. Remove handle -p option.
11878
11879         * 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:
11880         run "make update-po".
11881
11882         * po/POTFILES.in: updated.
11883
11884         * man/Attic/gpasswd.1: typo (s,fB,\fB,).
11885
11886 2005-04-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
11887
11888         * NEWS, man/ja/login.1:
11889         updated ja man page for Debian #95213 bug (by Kenshi Muto <kmuto@debian.org>).
11890
11891         * 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:
11892         next round of cleanups: removed NDBM code (unused).
11893
11894         * src/login.c: consilidate some !USE_PAM lines.
11895
11896         * src/login.c, src/login_nopam.c:
11897         move bad_time_notify() and check_nologin() to src/login_nopam.c.
11898
11899         * lib/prototypes.h: remove not used login_desrpc() prototype.
11900
11901         * lib/Attic/rad64.c, lib/encrypt.c, lib/prototypes.h, lib/Makefile.am:
11902         remove lib/rad64 with not used c64i() and i64c() functions.
11903
11904         * lib/encrypt.c:
11905         remove "#ifdef SW_CRYPT .. #endif" and "#ifdef DOUBLESIZE .. #endif" unused code.
11906
11907         * lib/encrypt.c: remove "#ifdef MD5_CRYPT .. #endif" unused code.
11908
11909         * libmisc/salt.c:
11910         remove prototypes for *l64a() and add #include <stdlib.h>. Remove unused
11911         now code (old style random salt generator).
11912
11913         * src/chage.c: cleanups.
11914
11915         * src/chpasswd.c:
11916         remove prototypes for *l64a() and add #include <stdlib.h>.
11917
11918         * src/login.c: remove login_fbtab() prototype.
11919
11920         * src/chage.c:
11921         remove prototypes for a64l() and *l64a() and add #include <stdlib.h>.
11922
11923 2005-04-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11924
11925         * 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:
11926         more replaces "-" by "\-" (s,\\-,-,g; s,-,\\-,g).
11927
11928         * man/pl/usermod.8: finish sync with english version.
11929
11930         * man/hu/login.1, man/pl/login.1, NEWS, man/Attic/login.1, man/de/login.1:
11931         removed fragment about abilities pass enviroment variables in login prompt.
11932
11933         * man/Attic/gpasswd.1, man/Attic/newgrp.1:
11934         fixes by Nicolas Nicolas François <nicolas.francois@centraliens.net> (not all
11935         commited).
11936
11937 2005-04-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11938
11939         * 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:
11940         replace all "-" by "\-" (s,\\-,-,; s,-,\\-,).
11941
11942         * man/cs/groups.1: cleanups.
11943
11944         * NEWS, src/su.c:
11945         fixed use of SU_WHEEL_ONLY in su. Now su realy is avalaible for wheel group
11946         members. Thanks to Mike Frysinger <vapier@gentoo.org> for report:
11947         http://bugs.gentoo.org/show_bug.cgi?id=80345
11948
11949         * man/pl/Attic/chage.1.xml:
11950         converted from roff using doclifter. Rewrited by hand. Probably will be
11951         removed after prepare infrastructure for translate man pages using gettext
11952         but temporary I need this for some experiments.
11953
11954         * src/login.c: remove unused #ifded LOGIN_FBTAB .. #endif code.
11955
11956         * configure.in, libmisc/Attic/login_access.c, libmisc/Makefile.am, src/Makefile.am, src/login.c, src/login_nopam.c:
11957         move libmisc/login_access.c to src/login_mopam.c.
11958         Remove using LOGIN_ACCESS #define. Now LOGIN_ACCESS is equal to !USE_PAM.
11959         In src/login_nopam.c will be cumulated non-PAM specyfic login code.
11960
11961         * src/lastlog.c, src/login.c, src/useradd.c, src/usermod.c, libmisc/log.c:
11962         cleanups: remove using #include "lastlog_.h".
11963
11964         * src/login.c: fixed build with PAM support disabled.
11965
11966         * src/login.c: remove "#ifdef HUP_MESG_FILE .. #endif" code.
11967
11968         * src/login.c: reindent using -l80.
11969
11970         * man/Attic/chage.1, man/chage.1.xml:
11971         s/chage/chage command/ in DESCRIPTION.
11972
11973         * man/chage.1.xml:
11974         converted from roff using doclifter. Rewrited by hand.
11975
11976         * 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:
11977         cleanups.
11978
11979         * man/Attic/pwconv.8: fixed typo: s,fI,\fI,
11980
11981         * po/POTFILES.in: remove libmisc/login_{desrpc,krb}.c.
11982
11983         * lib/getdef.c, libmisc/Attic/login_desrpc.c, libmisc/Attic/login_krb.c, libmisc/Makefile.am, src/login.c, NEWS, autogen.sh, configure.in:
11984         drop never finished kerberos and des_rpc support.
11985
11986         * man/it/chfn.1: cleanups.
11987
11988 2005-04-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
11989
11990         * NEWS, configure.in:
11991         fixed UTMP path detection (by Kelledin <kelledin@users.sf.net>).
11992
11993         * man/fr/chsh.1: typo.
11994
11995         * man/de/Makefile.am, man/de/passwd.5:
11996         imported from Deutscher manpages.
11997
11998         * man/cs/Makefile.am, man/cs/groups.1, man/cs/lastlog.8, man/cs/su.1:
11999         new files imported from Czech man-pages.
12000
12001         * 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:
12002         cleanups: aded missing \fR.
12003
12004         * man/Attic/gpasswd.1, man/Attic/gshadow.5, man/Makefile.am, NEWS:
12005         added new file (by Nicolas Nicolas François <nicolas.francois@centraliens.net>).
12006
12007 2005-03-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
12008
12009         * man/pl/chage.1, man/pl/chfn.1, man/pl/chsh.1, man/pl/gpasswd.1:
12010         added missing \fR.
12011
12012         * man/pl/groupmod.8: typo: s,\fI,\fR,
12013
12014         * man/pl/login.1, man/pl/passwd.1: cleanups: aded missing \fR.
12015
12016         * man/pl/sulogin.8: cleanups.
12017
12018         * man/pl/useradd.8: cleanups: aded missing \fR.
12019
12020         * man/pl/usermod.8: partialy synced with english version.
12021
12022         * man/Attic/usermod.8: typo.
12023
12024         * NEWS, man/Attic/usermod.8:
12025         fixed #302388 Debian bug: added separated -o option description.
12026
12027         * lib/getdef.c:
12028         FAILLOG_ENAB, LOGIN_STRING moved to code "#ifndef USE_PAM" dependent.
12029
12030         * lib/pwauth.c, lib/pwauth.h: enable pw_auth() only #ifndef USE_PAM.
12031
12032         * 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:
12033         reindent all source code using -l80.
12034
12035         * libmisc/.indent.pro, src/.indent.pro, lib/.indent.pro: -l80 added.
12036
12037         * lib/gshadow.c, NEWS:
12038         rewrited group count to dynamic (by John Newbigin <jnewbigin@ict.swin.edu.au >).
12039
12040         * 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:
12041         run "make update-po".
12042
12043         * src/login.c: use allways "\n%s login: " login prompt.
12044
12045         * src/login.c: removed radius support (even not compiles).
12046
12047         * doc/Attic/README.mirrors, doc/Makefile.am: removed.
12048
12049         * src/userdel.c (update_user): removed next redundant closing }.
12050
12051         * src/userdel.c: remove using unused NO_REMOVE_MAILBOX #define.
12052
12053         * src/userdel.c (update_user): removed redundant closing }.
12054
12055 2005-03-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12056
12057         * lib/getdef.c:
12058         move PASS_MAX_DAYS, PASS_MIN_DAYS and PASS_WARN_AGE to part PAM not dependent
12059         (used in useradd, pwconv).
12060
12061         * configure.in, src/Makefile.am:
12062         move define LOCALEDIR using AC_DEFINE_UNQUOTED() to src/Makefile.am::AM_CPPFLAGS.
12063
12064         * man/Attic/pwconv.8: typo in bold.
12065
12066         * doc/Attic/INSTALL: removed.
12067
12068         * doc/Attic/README.sun4, doc/Makefile.am: removed outdated README.sun4.
12069
12070 2005-03-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
12071
12072         * po/pl.po: put mine data in Last-Translator: field.
12073
12074         * src/newusers.c:
12075         use the same as in useradd default UMASK (022 instead 077) if diffrent not
12076         defined in login.defs.
12077
12078         * NEWS, libmisc/copydir.c:
12079         added SELinux changes (based on Fedora patch).
12080
12081         * NEWS: typo.
12082
12083         * man/Attic/login.defs.5: typo in bold.
12084
12085         * src/chfn.c, src/chsh.c, lib/getdef.c:
12086         move CHFN_AUTH, CHSH_AUTH variables from login.defs to part !USE_PAM dependent.
12087         Use "auth required pam_unix.so" in /etc/pam.d/{chfn,chsh} for force enter password
12088         on use chfn/chsh.
12089
12090         * lib/getdef.c: added CHSH_AUTH variable in def_table[] table.
12091
12092         * src/chsh.c: s/CHFN_AUTH/CHSH_AUTH/
12093
12094         * man/Attic/shadow.5, man/Attic/passwd.5:
12095         add more accurate information about what contains field with encrypted password in
12096         each passwd/shadow line (reported by Mike Brodbelt).
12097
12098         * autogen.sh: reorder.
12099
12100         * lib/getdef.c:
12101         CRACKLIB_DICTPATH, ENV_HZ, ENV_PATH, ENV_ROOTPATH, ENV_SUPATH, ENV_TZ,
12102         ENVIRON_FILE, FTMP_FILE, ISSUE_FILE, LASTLOG_ENAB, MAIL_CHECK_ENAB, MAIL_DIR,
12103         MAIL_FILE, MD5_CRYPT_ENAB, MOTD_FILE, NOLOGINS_FILE, OBSCURE_CHECKS_ENAB,
12104         PASS_ALWAYS_WARN, PASS_CHANGE_TRIES, PASS_MAX_DAYS, PASS_MAX_LEN, PASS_MIN_DAYS,
12105         PASS_MIN_LEN, PASS_WARN_AGE, PORTTIME_CHECKS_ENAB, SU_WHEEL_ONLY, QMAIL_DIR,
12106         QUOTAS_ENAB, ULIMIT variables moved to code "#ifndef USE_PAM" dependent.
12107
12108         * configure.in:
12109         fix importand typo: added missing ",". Now LOGIN_ACCESS realy is defined only
12110         when PAM is not enabled.
12111
12112         * libmisc/obscure.c, libmisc/limits.c:
12113         all functions from this file are "#ifndef USE_PAM" dependent.
12114
12115         * libmisc/setugid.c (change_uid):
12116         removed dead code depndent on "#ifdef BSD".
12117
12118         * libmisc/ttytype.c (ttytype):
12119         removed dead code depend on "defined(SUN) || defined(BSD) || defined(SUN4)".
12120
12121         * src/login.c (setup_tty): remove dead code.
12122
12123         * libmisc/rlogin.c:
12124         fix compilation warning: replace #include <unistd.h> by #include <netdb.h>
12125         where ruserok() is declared.
12126
12127 2005-03-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12128
12129         * po/pl.po: kill one fuzzy entry.
12130
12131 2005-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12132
12133         * NEWS, libmisc/log.c:
12134         fixed create lastlog entry fo users never loged in on non-PAM
12135         variant of login (fix by <oracular@ziplip.com>).
12136
12137 2005-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12138
12139         * NEWS, etc/Attic/login.defs.linux, etc/login.defs, lib/getdef.c, man/pl/login.defs.5:
12140         remove handle login.defs::NOLOGIN_STR (never used).
12141
12142 2005-02-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
12143
12144         * man/Attic/shadow.5:
12145         added missing '\&' in line starting with '\.', which causes groff to skip
12146         it entirely (fix submited by Danilo Piazzalunga <danilopiazza@libero.it>).
12147
12148         * TODO: cleanups.
12149
12150 2005-02-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12151
12152         * src/useradd.c, NEWS:
12153         useradd: fixes a potential security problem when mailbox is created in
12154         useradd.
12155         Patch and comment by Koblinger Egmont <egmont@uhulinux.hu>:
12156         Only two arguments are passed to the open() call though it expects three
12157         because O_CREAT is present. Hence the permission of the file first becomes
12158         some random garbage found on the stack, and an attacker can perhaps open
12159         this file and hold it open for reading or writing before the proper
12160         fchmod() is executed. (Actually, we could also pass the final "mode" to
12161         the open() call and then save the consequent fchmod().)
12162
12163 2005-02-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12164
12165         * NEWS, po/LINGUAS, po/tl.po:
12166         added tl translation (fron Debian resources).
12167
12168 2005-02-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12169
12170         * NEWS, src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c:
12171         SELinux changes: added changes in chage, chfn, chsh, passwd for allow
12172         construct more grained user password/accuunt properties on SELinux
12173         policies level. Patch originally based on RH changes (submited by Chris
12174         PeBenito <pebenito@gentoo.org>)
12175
12176 2005-02-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12177
12178         * po/fr.po, NEWS:
12179         updated translation (by Jean-Luc Coulon <jean-luc.coulon@wanadoo.fr>) from
12180         Debian resources.
12181
12182 2005-01-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12183
12184         * NEWS, configure.in: open work on 4.0.8.
12185
12186 2005-01-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
12187
12188         * 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:
12189         "make update-po".
12190
12191 2005-01-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12192
12193         * NEWS, po/it.po:
12194         updated it translations (by Danilo Piazzalunga <danilopiazza@libero.it>).
12195
12196 2005-01-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
12197
12198         * libmisc/rlogin.c: remove ruserok() prototyle and #include <unistd.h>.
12199
12200         * lib/getdef.c: remove strtol() prototype (it comes with <stdlib.h>).
12201
12202         * po/da.po, po/es.po, po/nl.po, po/pl.po, po/pt.po:
12203         "Project-Id-Version: shadow 4.0.7".
12204
12205         * NEWS, po/fi.po:
12206         updated fi translation (by Tommi Vainikainen <thv+debian@iki.fi>).
12207
12208 2005-01-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12209
12210         * po/da.po, po/es.po, po/pl.po, po/pt.po: kill fuzzy entries.
12211
12212         * po/nl.po, NEWS:
12213         updated nl translations (by cobaco (aka Bart Cornelis)" <cobaco@linux.be>).
12214
12215         * lib/Makefile.am (libshadow_la_LIBADD): removed snprintf.h.
12216
12217         * NEWS, po/LINGUAS, po/zh_TW.po:
12218         added zh_TW translation (from Debian resources).
12219
12220         * 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:
12221         "make update-po".
12222
12223         * 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:
12224         "less means better" added fixes which makes english texts more consistent
12225         especially with capitalization issues. Based on fixes by Tommi Vainikainen
12226         <thv+debian@iki.fi> (make all text begining from lower case .. not upper).
12227         This patch cuts i18n entries in each po/*po file from 420 to 402.
12228
12229 2005-01-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12230
12231         * NEWS: added pt to updated translations.
12232
12233         * lib/defines.h: reverte last change (mistake).
12234
12235         * po/pt.po:
12236         updated translation by Miguel Figueiredo <elmig@debianpt.org>.
12237
12238 2005-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
12239
12240         * NEWS: typo.
12241
12242         * NEWS: update da, es and pl (100%) translations.
12243
12244         * po/pl.po: finish translations.
12245
12246         * po/da.po: updated translations by Claus Hindsgaul <claus_h@image.dk>.
12247
12248         * NEWS, TODO: Typos found by Claus Hindsgaul <claus_h@image.dk>.
12249
12250         * po/es.po: Updates from Ruben Porras <nahoo@inicia.es>.
12251
12252         * lib/defines.h: - remove usong shadow_.h.
12253
12254         * po/pl.po: kill fuzzy.
12255
12256         * 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:
12257         remove unused now files in lib/ directory.
12258
12259         * 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:
12260         Now correctly shadow passes "make distcheck".
12261
12262         * NEWS: typo.
12263
12264 2005-01-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
12265
12266         * 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:
12267         switch faillog ro use getopt_long().
12268
12269         * etc/pam.d/su: aded line with "session required pam_env.so".
12270
12271 2004-12-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12272
12273         * man/de/Makefile.am, man/de/vigr.8, man/de/vipw.8, NEWS:
12274         added de vigr(8), vipw(8) man pages (from Debian resources).
12275
12276 2004-12-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12277
12278         * po/LINGUAS, po/ro.po, po/sq.po, NEWS:
12279         added ro, sq translations (from Debian resources).
12280
12281 2004-12-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
12282
12283         * configure.in:
12284         added checing is fseeko() function is avalaibabe in system: added fseeko to
12285         AC_CHECK_FUNCS parameters.
12286
12287         * lib/Makefile.am:
12288         fixed warning message about incorrect try linking non-PIC code with shared
12289         library: removed $(top_builddir)/libmisc/libmisc.a from libshadow_la_LIBADD.
12290
12291         * NEWS:
12292         - final entry about fixed large file support in lastlog and faillog.
12293
12294         * src/vipw.c, lib/Attic/pwent.c, lib/Attic/grent.c:
12295         use fseeko() instead fseek(). This not realuy neccessary because in this
12296         cases fseek() was used for move to begin of file. This only for minimize
12297         external functions count.
12298
12299         * src/faillog.c:
12300         fixes for allow operate on large files by faillog: use fseeko() instead
12301         fseek().
12302
12303         * src/lastlog.c:
12304         fixes for allow operate lastlog on large files: use fseeko() instead fseek()
12305         and do not casrt file offsets to unsigned long (based on large-file patch
12306         from FC).
12307
12308         * src/faillog.c: fixed typo in usage().
12309
12310 2004-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12311
12312         * man/pl/newgrp.1: fixed typo in bold macro.
12313
12314 2004-12-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
12315
12316         * man/pl/chpasswd.8: remove bold from NAZWA section.
12317
12318 2004-12-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12319
12320         * src/faillog.c: remove using Prog variable.
12321
12322         * configure.in, NEWS:
12323         fixed large file support: added AC_SYS_LARGEFILE macro to autoconf.
12324
12325         * man/Attic/groupmod.8, man/pl/groupmod.8: separate OPTIONS section.
12326
12327         * man/pl/chpasswd.8: sync with english version.
12328
12329         * man/Attic/chpasswd.8:
12330         bold "chpasswd" command name in CAVEATS section.
12331
12332         * man/Attic/chpasswd.8: s/protect/protected/
12333
12334         * man/pl/lastlog.8: cleanups.
12335
12336         * man/Attic/chpasswd.8, man/Attic/lastlog.8, man/Attic/newusers.8:
12337         remove bold from NAME section.
12338
12339         * man/it/groupadd.8, man/it/useradd.8: separate OPZIONI section.
12340
12341         * man/pl/groupmems.8: fixes in OPCJE section.
12342
12343         * man/Attic/chpasswd.8: more cleanups.
12344
12345 2004-12-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
12346
12347         * 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:
12348         Fixed varoiuse typos and misspeling based partialy on patch from Bug#141322
12349         from Debian (submited by Christian Perrier <bubulle@debian.org>).
12350
12351         * man/Attic/chpasswd.8: more cleanups.
12352
12353         * man/pl/faillog.8, man/Attic/faillog.8, man/ja/faillog.8:
12354         remove from OPTIONS section information about avalaibability on some systems
12355         faillog database in other location thad listed in FILES section.
12356
12357         * man/Attic/chpasswd.8: updated.
12358
12359         * man/fr/faillog.5:
12360         fixed FICHIERS secttion: corrected change to italic on /var/log/faillog.
12361
12362         * src/faillog.c:
12363         move main() to the end of file and reorder rest functions. Now declararion
12364         finction prototypes can be removed.
12365
12366 2004-12-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12367
12368         * NEWS: updated.
12369
12370         * man/pl/lastlog.8: synced with current english version.
12371
12372         * man/Attic/lastlog.8: use the same style as in chpasswd(8).
12373
12374         * 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:
12375         "make update-po" after rewrite lastlog.
12376
12377         * src/lastlog.c: Rewrite for use the same style as in chpasswd.c.
12378         Move open lastlog file after commadline option parsing so now --help option
12379         can be used by user without read access to lastlog file.
12380
12381         * src/chpasswd.c:
12382         s/display this help and exit/display this help message and exit/ in ussage()
12383         output.
12384
12385         * 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:
12386         "make update-po".
12387
12388         * src/chpasswd.c:
12389         Added handle -h|--help option. Improved and updated ussage() output.
12390
12391 2004-12-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12392
12393         * 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:
12394         "make update-po" and resolve fuzzy with last change in src/chpasswd.c.
12395
12396         * src/chpasswd.c, NEWS:
12397         switch chpasswd to use getopt_long() and adds a --md5 option
12398         (by Ian Gulliver <ian@penguinhosting.net>).
12399
12400         * NEWS, configure.in: start work on 4.0.7.
12401
12402 2004-11-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12403
12404         * NEWS: cleanups.
12405
12406         * 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:
12407         removed not used translations.
12408
12409         * NEWS, src/su.c:
12410         fix adding of pam_env env variables to enviroment (Martin Schlemmer <azarah@nosferatu.za.org>).
12411
12412         * NEWS, configure.in:
12413         fixed filling MAIL_SPOOL_DIR and MAIL_SPOOL_FILE variables which was allways
12414         empty (Gregorio Guidi <g.guidi@sns.it>)
12415
12416         * NEWS: updated.
12417
12418         * 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:
12419         do not translate variable names from /etc/default/useradd during "useradd -D".
12420
12421 2004-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12422
12423         * 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:
12424         correction: groups/users with gid/uid 0 and 999 are reserved for system accounts.
12425
12426         * 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:
12427         zgroups/users with gid/uid 0 and 499 are typically reserved for system accounts.
12428
12429 2004-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
12430
12431         * 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:
12432         separated OPTIONS section.
12433
12434         * lib/commonio.c: reverte last change.
12435
12436         * libmisc/pwdcheck.c:
12437         one word fix .. ommited "else" was removed. Now security bug which allow
12438         unauthorized account properties modification is realy closed.
12439
12440 2004-10-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12441
12442         * lib/commonio.c:
12443         add matchpathcon to create the files correctly when they do not exist (based
12444         on patch from FC).
12445
12446         * man/Attic/passwd.1: fixed two typos ("/" in incorrect place).
12447
12448 2004-10-27  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12449
12450         * etc/pam.d/useradd: - added header
12451
12452         * etc/pam.d/chfn, etc/pam.d/chsh, etc/pam.d/userdel: - fixed header
12453
12454 2004-10-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
12455
12456         * etc/pam.d/chfn, etc/pam.d/chsh, etc/pam.d/userdel:
12457         added missing template/example PAM service config files for chfn, chsh, userdel.
12458
12459         * NEWS, configure.in: start 4.0.6.
12460
12461 2004-10-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12462
12463         * 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:
12464         remove adduser(8) roff include man page to useradd(8).
12465
12466         * lib/Makefile.am: more fixes for non-inst libmisc.
12467
12468         * libmisc/Makefile.am, src/Makefile.am, NEWS:
12469         change libmisc to private static library.
12470
12471         * etc/pam.d/Makefile.am: typo.
12472
12473 2004-10-24  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12474
12475         * po/pl.po: - more translation/formatting fixes
12476
12477         * po/pl.po: - updated translation
12478
12479         * 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:
12480         - make update-po, updated usage() translation
12481
12482         * src/useradd.c: - syntax fix for useradd in usage()
12483
12484         * 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:
12485         - usage() formatting and other fixes
12486
12487         * po/fi.po: - proper UTF
12488
12489         * po/pl.po: - pl translation fixes/updates by Jakub Bogusz
12490
12491 2004-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
12492
12493         * 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:
12494         use default path to PAM modules.
12495
12496         * 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:
12497         Remove shadow PAM config file. Added PAM config files for: chage, chpasswd,
12498         groupadd, groupdel, groupmod, login, newusers.
12499
12500         * 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:
12501         "make update-po".
12502
12503         * configure.in: reverte previous incorrect commit.
12504
12505         * NEWS, src/su.c:
12506         add pam_open_session() support. If builded without PAM support
12507         propagate $DISPLAY and $XAUTHORITY enviroment variables.
12508         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
12509
12510 2004-10-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12511
12512         * configure.in: cleanups.
12513
12514         * lib/defines.h:
12515         define syslog() depending on ENABLE_NLS (not on HAVE_SETLOCALE).
12516
12517 2004-10-23  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12518
12519         * man/fr/Makefile.am: - killed non-existent manpage
12520
12521 2004-10-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12522
12523         * libmisc/copydir.c, NEWS:
12524         when placing symlinks into /etc/skel copy_tree of libmisc/copydir.c will
12525         properly create the symlink in the destination directory but not change the
12526         ownership to the target user/group. This makes httpd Option
12527         SymlinkIfOwnerMatch break for default weg pages including symlinks placed
12528         into /etc/skel/public_html for example.
12529         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=66819
12530
12531 2004-10-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
12532
12533         * src/Makefile.am:
12534         seems I foud CorrectWay(tm) for add some symlinks on install target.
12535
12536         * po/pl.po: more fixes.
12537
12538         * po/pl.po: added missing \n.
12539
12540         * 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:
12541         more verbose/human readable -l output. This output is much more beter for
12542         send directly via email for each users as message with account status (for
12543         example as message with warning about account/password expiration).
12544
12545         * configure.in: start prepare for 4.0.5.
12546
12547         * src/Makefile.am, libmisc/Makefile.am, lib/Makefile.am, configure.in:
12548         move LOCALEDIR to autoheader variables. Remove redefining DEFS in
12549         Makefile.am (not neccessary now).
12550
12551         * 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:
12552         applied OWL shadow-4.0.4.1-owl-pam-auth.diff patch by Solar Designer
12553         <solar@openwall.com>:
12554           Moved the PAM authentication in user management commands after
12555           command-line parsing, made it use separate service names for each command.
12556           Use constant strings rather than argv[0] for syslog ident in the user
12557           management commands.
12558
12559         * man/Attic/useradd.8:
12560         reword the useradd manpage a little to make it more clear. Fix from:
12561         http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-apps/shadow/files/shadow-4.0.4.1-useradd-manpage-update.patch?rev=1.1
12562
12563         * configure.in: added libselinux detection.
12564
12565         * lib/Makefile.am, lib/commonio.c, lib/commonio.h, NEWS, autogen.sh, configure.in:
12566         added SELinux support (basing on patch from Gentoo).
12567
12568         * man/fr/Makefile.am (man_MANS): added getspnam.3.
12569
12570 2004-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12571
12572         * 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:
12573         English grammar fix: s/is a not a valid group name/is not a valid group name/
12574         (pointed by Mike Frysinger <vapier@gentoo.org>).
12575
12576 2004-10-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
12577
12578         * NEWS, src/userdel.c:
12579         When removing a user with userdel, userdel always exits 1 (fixed).
12580         Based on http://bugs.gentoo.org/show_bug.cgi?id=66687.
12581
12582 2004-08-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12583
12584         * configure.in:
12585         Use AC_SEARCH_LIBS() for inet_ntoa(), socket(), gethostbyname() probing (instead AC_CHECK_FUNC()).
12586
12587 2004-08-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12588
12589         * man/Makefile.am: shadow(3) man page moved to man_MANS.
12590
12591         * libmisc/ttytype.c: Removed getenv() prototype (it is in <stdlib.h>).
12592
12593         * src/Attic/mkpasswd.c:
12594         Removed fgetsx() prototype (it is in lib/prototypes.h).
12595
12596         * man/it/vigr.8: Fixed typo (s/wipw/vipw/).
12597
12598 2004-08-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12599
12600         * NEWS: Typo.
12601
12602         * 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:
12603         Run "make update-po".
12604
12605         * po/ca.po, po/da.po, po/nl.po, po/pt_BR.po: Converted to UTF-8.
12606
12607         * po/LINGUAS: Typo.
12608
12609         * 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:
12610         New translations: bs, ca, da, eu, he, id, nb, nl, nn, pt, pt_BR, tr,
12611         zh_CN (stolen froM Debian)
12612
12613         * 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:
12614         Corrected section number.
12615
12616 2004-08-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12617
12618         * 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:
12619         Options description in alphabetical order.
12620
12621         * NEWS, src/login.c:
12622         Applied 036_pam_access_with_preauth.patch Debian patch submited by Bjorn
12623         Torkelsson <Bjorn.Torkelsson@hpc2n.umu.se>: add support for PAM account
12624         management to restrict access using pam_access when login is invoked with -f.
12625
12626 2004-06-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12627
12628         * man/Attic/getspnam.3: added roff link to shadow(3).
12629
12630         * man/Makefile.am (man_MANS): added getspnam.3.
12631
12632 2004-06-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
12633
12634         * NEWS, lib/commonio.c, lib/getdef.c, src/vipw.c:
12635         Applied OWL shadow-4.0.4.1-owl-check-reads.diff patch by Solar Designer.
12636         Add checking for read errors in commonio and vipw/vigr (not doing so could
12637         result in data loss when the records are written back).
12638
12639         * NEWS: Add note about apply shadow-4.0.4.1-owl-tmp.diff OWL patch.
12640
12641         * src/useradd.c, configure.in:
12642         Remove looking for mkstemp() prototype and allways use mkstemp() (removed
12643         using mktemp if mkstemp() not found).
12644         Partialy based on tmp OWL patch by Solar Designer <solar@openwall.com>.
12645
12646         * NEWS, libmisc/pwdcheck.c:
12647         Fixed securirty bug which allow unauthorized account properties modification.
12648         Affected tools: chfn and chsh.
12649         Bug was discovered by Martin Schulze <joey@infodrom.org>.
12650
12651 2004-05-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12652
12653         * NEWS: typo.
12654
12655         * NEWS, po/LINGUAS, po/it.po:
12656         added it translation (by Danilo Piazzalunga <danilopiazza@libero.it>).
12657
12658 2004-05-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12659
12660         * NEWS: typos.
12661
12662         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
12663
12664 2004-05-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12665
12666         * po/sk.po: run "make update-po".
12667
12668         * NEWS, po/LINGUAS, po/sk.po:
12669         added sk translation (by Mann <Peter.Mann@tuke.sk>, submited by Christian
12670         Perrier <bubulle@kheops.frmug.org>).
12671
12672 2004-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12673
12674         * configure.in:
12675         Use autoconf cache variables for file and directory location tests (by
12676         Maciej W. Rozycki  <macro@ds2.pg.gda.pl>).
12677
12678 2004-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12679
12680         * man/Attic/passwd.5:
12681         Correct path directory delimiters (by Maciej W. Rozycki <macro@ds2.pg.gda.pl>).
12682
12683         * libmisc/xmalloc.c (malloc):
12684         Remove the declaration (by Maciej W. Rozycki <macro@ds2.pg.gda.pl>).
12685
12686 2004-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12687
12688         * src/login.c, NEWS:
12689         Fixed handle -f option: now it works correctly without specify "-h
12690         <host>" if open login session localy is required (thanks for help
12691         investigate bug for Krzysztof Kotlenga).
12692
12693         * po/es.po: Updated (by Ruben Porras <nahoo82@telefonica.net>).
12694
12695 2004-04-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12696
12697         * 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:
12698         Run "update-po".
12699
12700 2004-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
12701
12702         * po/es.po: Updated to current (by run "update-po").
12703
12704         * po/es.po: Converted to utf-8.
12705
12706         * po/LINGUAS: Added es.
12707
12708         * po/es.po, NEWS:
12709         Added es translation (by Ruben Porras <nahoo82@telefonica.net>).
12710
12711 2004-04-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12712
12713         * po/ko.po, NEWS:
12714         Updated ko translations (by Changwoo Ryu <cwryu@debian.org>).
12715
12716 2004-04-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
12717
12718         * po/fi.po: iconv -f iso8859-9 -t utf8
12719
12720 2004-03-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12721
12722         * libmisc/age.c:
12723         Use endsgent() conditionaly depending on SHADOWGRP (fix submited by Gabor Z.
12724         Papp <gzp@papp.hu>).
12725
12726         * po/LINGUAS, po/fi.po, NEWS:
12727         Added fi translation (by Tommi Vainikainen <thv@iki.fi>).
12728
12729         * README: Fixed shadow and shadow-commit lists on-line archives URLs.
12730
12731 2004-01-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12732
12733         * NEWS, configure.in, man/fr/Makefile.am, man/hu/Makefile.am, man/it/Makefile.am:
12734         New version 4.0.4.1
12735         bug fixes in automake files for generate correct tar ball on "make dist":
12736         added midsiing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
12737
12738         * man/ko/Makefile.am: New version 4.0.4.1
12739         bug fixes in automake files for generate correct tar ball on "make dist":
12740         added missing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
12741
12742         * man/de/Makefile.am, man/es/Makefile.am: New version 4.0.4.1
12743         bug fixes in automake files for generate correct tar ball on "make dist":
12744         added midsiing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
12745
12746         * configure.in: Fixed checking is avalaible st_rdev in struct stat.
12747
12748 2004-01-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
12749
12750         * po/pl.po: Typo.
12751
12752         * man/pl/useradd.8: Cleanups in SYNOPSIS.
12753
12754 2004-01-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12755
12756         * po/pl.po: Cleanups.
12757
12758 2004-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12759
12760         * configure.in: Cleanups after autoupdate.
12761
12762 2004-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12763
12764         * 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:
12765         Added missing information about -f options in groupadd usage mesage (document
12766         this also in man page).
12767
12768 2003-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12769
12770         * lib/Attic/lastlog_.h, libmisc/log.c, libmisc/utmp.c, src/lastlog.c, src/login.c:
12771         More time() or gettimeofday() prevention overwrite memory on 64bit arch
12772         (partialy based on patch from MDK).
12773
12774         * 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:
12775         Post remove TCFS support "make update-po".
12776
12777         * man/Makefile.am: Removed getspnam.3 from EXTRA_DIST.
12778
12779         * po/POTFILES.in: Removed lib/tcfsio.c.
12780
12781         * lib/Attic/tcfsio.c, lib/Attic/tcfsio.h, lib/Makefile.am, src/passwd.c, src/userdel.c, NEWS, configure.in, doc/Attic/README.pam:
12782         Removed TCFS support (tcfs is dead).
12783
12784         * configure.in:
12785         Added using AM_MAINTAINER_MODE. AC_INIT without parameters.
12786
12787         * Attic/acconfig.h, configure.in:
12788         Cleanups on autoheadres level: use AC_DEFINE(VAR, VAL, [Comment]) for
12789         USE_PAM, HAVE_TCFS and TCFS_GDBM_SUPPORT.
12790
12791         * src/newusers.c, src/useradd.c, Attic/acconfig.h, autogen.sh, lib/Attic/pwpack.c, NEWS:
12792         Remove all old BSD_QUOTA dependent code.
12793
12794 2003-12-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
12795
12796         * lib/Makefile.am, libmisc/Makefile.am, src/Makefile.am:
12797         Removed -I$(top_srcdir) from INCLUDES (isn't neccessary becaus this is in
12798         DEFAULT_INCLUDES) - slightly shorter compile output.
12799
12800         * Makefile.am, configure.in:
12801         Added using AM_GNU_GETTEXT([external]) - removed intl SUBDIRS.
12802         Added locale.h to AC_CHECK_HEADERS() - lib/defines.h have part which depends
12803         on HAVE_LOCALE_H.
12804
12805         * lib/nscd.h: Added missing newline at end of file.
12806
12807         * Attic/acconfig.h: Remove unused (#un)defines.
12808
12809         * autogen.sh: Typo.
12810
12811         * autogen.sh: Much more simpler script - use autoreconf.
12812
12813         * 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:
12814         "make update-po".
12815
12816 2003-12-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12817
12818         * po/LINGUAS: Languages list for gettext 1.12.x.
12819
12820 2003-10-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12821
12822         * po/pl.po: Kill fuzzy entries.
12823
12824 2003-10-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12825
12826         * man/Attic/usermod.8:
12827         Typo: missing "." on end of sentence (submited by Stepan Kasal <kasal@ucw.cz>).
12828
12829 2003-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12830
12831         * 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:
12832         convert all po/*.po files to utf-8.
12833
12834 2003-09-05  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12835
12836         * po/ru.po: - fixed header
12837
12838 2003-07-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12839
12840         * 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:
12841         Otput "passwd: password updated successfully\n" message on successfull
12842         password change (based on Debian changes).
12843
12844         * src/newgrp.c: Remove work around for unsecure gettext.
12845
12846 2003-06-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12847
12848         * src/useradd.c, src/usermod.c:
12849         Added initializing memory in variables when get_groups() function is not called,
12850         and memory allocated for user_groups is not initialized (in both useradd and
12851         usermod when -G options is used and in usermod when -l option is used).
12852         That causing segfaults sometimes.
12853         This fix is importand but not critical because usermod and usermod aren't suid
12854         root.
12855         Problem reported and fixed by Alexey Voinov <voins@altlinux.ru>.
12856
12857 2003-06-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
12858
12859         * man/Attic/login.1: Fixed FILES section.
12860
12861         * 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:
12862         Indented.
12863
12864         * src/chage.c: Move *flg variables to global.
12865
12866         * Attic/acconfig.h: Comment for USG.
12867
12868 2003-05-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12869
12870         * man/de/chfn.1, man/de/login.1:
12871         Fixed section name (s/NAME/BEZEICHNUNG/).
12872
12873         * man/de/chfn.1, man/de/chsh.1: Sync FILES section with en version.
12874
12875         * man/Attic/login.1: Typo (s/avr/var/).
12876
12877         * man/de/login.1: Sync FILES section with en man version.
12878
12879         * man/de/chfn.1, man/de/chsh.1, man/de/login.1: Remove ^M from EOL.
12880
12881         * man/de/login.1, man/de/Makefile.am, man/de/chfn.1, man/de/chsh.1, NEWS:
12882         Next round updates from Josef Spillner <josef@ggzgamingzone.org>: update
12883         chsh(1), login(1) and added new chfn(1) german man pages.
12884
12885         * NEWS: Added info about remove d_passwd(5), dialups(5) man pags.
12886
12887 2003-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12888
12889         * 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:
12890         One TODO entry gone: fix nscd flushing databases on change (use
12891         per service flushing method instead HUPing nscd process).
12892
12893         * lib/Makefile.am, lib/commonio.c, lib/nscd.c, lib/nscd.h, libmisc/Attic/nscd.c, libmisc/Attic/nscd.h, libmisc/Makefile.am:
12894         Move nscd.{c,h} from libmisc/ to lib/.
12895         Fix warning about implicit declaration of function `nscd_flush_cache' in lib/commonio.c.
12896
12897         * lib/pwauth.h: Fix pw_auth() prototype.
12898
12899         * libmisc/Attic/nscd.c, libmisc/Attic/nscd.h, libmisc/Makefile.am:
12900         Added header file for nscd communication functions.
12901
12902         * libmisc/chkname.c (good_name):
12903         fixed warning about comparison between pointer and integer.
12904
12905         * 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:
12906         "make update-po".
12907
12908         * src/useradd.c (main):
12909         chain create_mail() and small fix in usage message.
12910
12911         * src/userdel.c: Removed AUTH_METHODS code.
12912
12913         * lib/pwauth.c: Fixed pw_auth() prototype.
12914
12915         * src/sulogin.c, src/usermod.c: Removed AUTH_METHODS code.
12916
12917         * 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:
12918         "make update-po".
12919
12920         * src/useradd.c: Indent.
12921
12922         * 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:
12923         Cleanups continuations: removed old AUTH_METHODS dependent code,
12924         removed also pwauth(8) man page.
12925
12926         * man/pl/Makefile.am (man_MANS): remove d_passwd.5 man page.
12927
12928         * 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:
12929         Cleanups in usage messages.
12930
12931         * src/newgrp.c: Cleanups in comments.
12932
12933         * 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:
12934         "make update-po".
12935
12936         * lib/getdef.c (main): remove gettextize error messages from test code.
12937
12938         * NEWS: Cleanups.
12939
12940 2003-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12941
12942         * 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:
12943         Added handle by useradd /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes|no}.
12944         Now on adding user account can be added also created empty user mail
12945         spool. Curent code handle only mailbox.
12946         TODO: add handle create user mail spool in maildir format.
12947
12948         * TODO: Typo.
12949
12950         * src/chage.c (usage): fix missing ")".
12951         (main): updated commented description.
12952
12953         * src/useradd.c: Indent.
12954
12955         * man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8:
12956         Minor cleanups.
12957
12958         * man/Attic/chage.1, man/pl/chage.1:
12959         Rewrite for use claissic list form options descriptions.
12960
12961         * man/pl/groupadd.8:
12962         s/Polecenie groupadd posiada opcje:/Polecenie groupadd posiada następujące opcje:/
12963
12964         * TODO: ALL:
12965         move base passwd/shadow/group/gshadow operation to module for allow write
12966         diffrent backend modules for db, NIS, LDAP and others. Default backend it
12967         will be choose depending on /etc/nsswitch.conf and allow overrride this by
12968         -r <repository> options (where the <repository> can be file, db, nis
12969         nisplus, ldap .. like on /etc/nsswitch.conf in service column).
12970         passwd have old piece of code with handling -r option and it will be good
12971         finish this and propagate on other shadow tools for allow operate on other
12972         user databases by well known tools.
12973
12974         useradd:
12975         add handle /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes,no} for allow
12976         create empty mail spool for added user.
12977
12978         * man/pl/Attic/d_passwd.5, man/pl/Attic/dialups.5: Removed.
12979
12980         * man/Attic/groupmems.8: Close few \fB by add \fR.
12981
12982         * man/Attic/groupadd.8, man/Attic/groupmems.8: Minor cleanups.
12983
12984 2003-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12985
12986         * src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c:
12987         Move non-SHADOWPWD stub code to end of file (like in chage.c) and do not use
12988         gettextized message.
12989
12990         * 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:
12991         "make update-po".
12992
12993         * src/chage.c, NEWS:
12994         Now all code depend on SHADOWPWD. If shadow will not be configured on
12995         autoconf level for using shadow possword chage is olny stub which informs
12996         "chage not configured for shadow password support."
12997
12998         * man/it/Makefile.am: Removed EXTRA_DIST (not neccessary).
12999
13000         * man/es/Makefile.am: Removed groups.1 (doen't exist es groups(1)).
13001
13002         * man/de/Makefile.am (man_MANS): added login.1.
13003
13004         * man/de/Makefile.am: Removed EXTRA_DIST (isn't neccessary now).
13005
13006         * 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:
13007         Install groups(1) man page (moved from EXTRA_DIST to man_MANS).
13008
13009         * po/.cvsignore:
13010         Added files generated by gettextize from gettext 0.11.5.
13011
13012         * 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:
13013         Updated after removing dialup tools.
13014
13015         * po/POTFILES.in: Removed lib/{dialchk,dialup}.c and src/dpasswd.c.
13016
13017 2003-05-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
13018
13019         * libmisc/shell.c (shell): do not gettexitize DEBUG message.
13020
13021         * 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:
13022         Removed "#if 0 .. #endif" dead code.
13023
13024         * libmisc/utmp.c: Fixed unterminated #if.
13025
13026         * libmisc/Attic/login_access.c (resolve_hostname):
13027         cleanup: removed #if 1 .. #endif.
13028
13029         * libmisc/.cvsignore: Added getdate.c.
13030
13031         * libmisc/Attic/getdate.c:
13032         Removed - this file is generated by bison/yacc.
13033
13034         * configure.in:
13035         Change file name passwd in AC_INIT argument from lib/dialchk.c to src/passwd.c.
13036
13037         * src/su.c:
13038         Removed dead code (#if 0 .. #endif) with call motd() and mailcheck()
13039         (was commnted because GNU su doesn't do this).
13040
13041 2003-05-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
13042
13043         * 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:
13044         Removed old dpasswd and DIALUPS_CHECK_ENAB login.defs handling code from login.
13045
13046         * doc/Attic/ANNOUNCE, doc/Makefile.am, NEWS: Removed old doc/ANNOUNCE.
13047
13048         * src/login.c, lib/getdef.c, etc/Attic/login.defs.linux, NEWS:
13049         Remove NO_PASSWORD_CONSOLE code.
13050
13051 2003-05-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
13052
13053         * 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:
13054         Remove old SVR4, ATT_AGE, ATT_COMMENT dependent code.
13055
13056         * src/chage.c:
13057         Remove some ageing code which was not used if SHADOWPWD isn't defined.
13058         Now handling mindays, maxdays and lastday also depends on SHADOWPWD.
13059
13060 2003-05-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13061
13062         * 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:
13063         Reformated.
13064
13065         * etc/login.defs:
13066         Use FHS 2.x compliant paths to lastlog, sulog, mail spool and also change
13067         ENV_SUPATH to PATH=/sbin:/bin:/usr/sbin:/usr/bin and
13068         ENV_PATH to PATH=/bin:/usr/bin
13069
13070         * 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:
13071         Removed old stuff.
13072
13073 2003-04-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
13074
13075         * 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:
13076         make update-po
13077
13078         * src/su.c: Remove not mached #endif after removing ATT_AGE code.
13079
13080         * man/ko/passwd.5: Remove ^M from end of line.
13081
13082         * 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:
13083         Removed old ATT_AGE (account ageing in passwd file) dependent code.
13084
13085         * po/pl.po: Fix chage and lastlog messages.
13086
13087 2003-04-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
13088
13089         * libmisc/limits.c, src/logoutd.c:
13090         More utmp/utmpx fixes: use endutend() or endutxend() depending on HAVE_UTMPX_H.
13091
13092         * 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:
13093         Run "make update-po" after remove SVR4 code and fix duplicated entries in sv.po.
13094
13095         * NEWS, src/login.c, src/logoutd.c, src/useradd.c:
13096         Remove old SVR4 and SVR4_SI86_EUA dependent code from login, useradd and
13097         logoutd.
13098
13099 2003-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
13100
13101         * man/pl/usermod.8: Remove "OD TŁUMACZA" section.
13102
13103         * 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:
13104         Added EXIT VALUES section with full description exit codes.
13105
13106         * src/groupadd.c: Typo (s/nut/not/).
13107
13108         * man/Attic/shadowconfig.8: Merge changes from Debian.
13109
13110         * NEWS, man/Attic/passwd.5:
13111         Remove text about password aging from passwd(5) (based on Debian changes).
13112
13113         * 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:
13114         More unification in lastlog command syntax.
13115
13116         * man/Attic/lastlog.8, man/it/lastlog.8, man/ja/lastlog.8, man/pl/lastlog.8:
13117         Unifications in SYNOPSIS.
13118
13119         * 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:
13120         Remove ^M from end of line.
13121
13122         * man/Attic/gpasswd.1, man/Attic/groupadd.8:
13123         Indentation in FILES section.
13124
13125         * src/pwconv.c, src/useradd.c, src/userdel.c:
13126         s/bad command syntax/invalid command syntax/
13127
13128         * src/userdel.c:
13129         Indent by hand (seems indent have problems with complex conditions).
13130
13131         * man/ru/Makefile.am: man_MANS: s#passwd.1#passwd.5#
13132
13133         * po/pl.po: s/nie mogę/nie można/
13134
13135         * po/fr.po: Emoticon removed.
13136
13137         * NEWS, configure.in, man/Makefile.am, man/ru/.cvsignore, man/ru/Makefile.am, man/ru/passwd.5:
13138         Added ru passwd(1) man page from KSI resources.
13139
13140         * 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:
13141         Added chch(1), chfn(1) man pages from chinese man pages translation
13142         project.
13143         Added id(1) man page czech man pages translation project.
13144         Updated ja man pages and added expiry(1).
13145
13146         * man/hu/groups.1, man/hu/login.1:
13147         Remove info about $HOME/.profile from FILES section (this does not depends
13148         stricte on shadow).
13149
13150         * configure.in, man/Makefile.am, man/es/Makefile.am:
13151         Added es man pages to ac/am suit.
13152
13153         * man/es/.cvsignore, man/hu/.cvsignore, man/pt_BR/.cvsignore, man/zh_CN/.cvsignore, man/zh_TW/.cvsignore:
13154         Added .cvsignore files.
13155
13156         * man/hu/Makefile.am, man/hu/su.1:
13157         Added su(1) man page from hungarian man pages translation project.
13158
13159 2003-04-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
13160
13161         * NEWS: Ready for gettext 0.11.5, automake 1.7.4, autoconf 2.57.
13162         Many cleanups and unifications in man pages.
13163
13164         * 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:
13165         Fixes: correct utmp/wtmp paths.
13166         Unifications: bold commnanda and italify other file names.
13167         Other minor changes and cleanups and unifications.
13168
13169         * libmisc/limits.c: More utmpx/utmp fixes.
13170
13171         * 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:
13172         Usage help message unification (s/usage:/Usage:/).
13173
13174         * TODO: Missing "are".
13175
13176         * src/logoutd.c, src/userdel.c, NEWS:
13177         Handle also utmpx if avalaile in userdel and logoutd.
13178
13179 2003-04-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
13180
13181         * src/sulogin.c: Remove unused utent declaration.
13182
13183         * src/sulogin.c, src/login.c:
13184         Remove #include <utmp.h> and <utmpx.h>. This comes with #include "prototypes.h".
13185
13186         * lib/prototypes.h:
13187         "#include <utmp.h>" or "#include <utmpx.h>" depending on HAVE_UTMPX_H.
13188
13189         * libmisc/failure.c:
13190         Remove "#include <utmp.h>" (this is included in failure.h).
13191
13192         * configure.in:
13193         On detect mail spool directory location try first /var/mail.
13194
13195 2003-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
13196
13197         * 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:
13198         Indent all using current .indent.pro settings.
13199
13200         * po/Makevars: New file neccessary for gettext >=0.11.5.
13201
13202         * man/Makefile.am: Removed getspnam.3 from man_MANS (dos not exist).
13203
13204         * po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po:
13205         Fixes after filtering gettext 0.11.5 (missing headers elements, inforrect
13206         format strings).
13207
13208 2003-04-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
13209
13210         * NEWS, man/de/passwd.1:
13211         updated german passwd(1) man page (by Josef Spillner <josef@ggzgamingzone.org>)
13212
13213 2003-03-12  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13214
13215         * po/pl.po: - updated; terminology unification
13216
13217 2003-02-28  Paweł Gołaszewski  <blues@pld.org.pl>
13218
13219         * etc/login.defs: - missing "MD5_CRYPT_ENAB  yes" added
13220
13221 2003-01-20  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13222
13223         * configure.in: - added Makefiles for man/zh_{CN,TW}
13224
13225         * 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:
13226         - added zh man pages from MDK (2 x 6) and from cman (1)
13227
13228 2003-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13229
13230         * man/ja/shadow.3, man/pl/shadow.3, man/Attic/shadow.3:
13231         sync spwd structure declaration with current glibc declaration (tahnks for
13232         point this bug to Michael Kerrisk <michael.kerrisk@gmx.net>).
13233
13234         * man/pl/faillog.5: s/konsolę/terminal/
13235
13236 2002-12-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
13237
13238         * src/Makefile.am: typo (s/EXTRA_DOST/EXTRA_DIST/).
13239
13240 2002-10-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
13241
13242         * src/Makefile.am:
13243         fixed making vigr symlink to vipw (not vipw to vigr) in install-exec-hook (fix submited by
13244         Dimitar Zhekov <jimmy@is-vn.bg>).
13245
13246         * 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:
13247         removed debian directory.
13248
13249 2002-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13250
13251         * NEWS, src/newgrp.c:
13252         Use CLOSE_SESSIONS depending code only when USE_PAM.
13253         The problem was reported by Mattias Webjorn Eriksson using Slackware
13254         8.1 and reproduced it using slackware-current (9.0beta) (fix submited by
13255         Simon Williams <simon@no-dns-yet.org.uk>).
13256
13257 2002-10-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13258
13259         * 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:
13260         changed utmp and wtmp files paths (s#/etc/utmp/#/var/run/utmp#; s#/etc/wtmp#/var/log/wtmp#)
13261
13262         * po/ru.po, configure.in: added ru translation (from KSI resources).
13263
13264 2002-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13265
13266         * NEWS, libmisc/failure.c:
13267         libbmisc/failure.c (too_many_failures): incorrect if() condition in non-PAM
13268         dependent code in fail login handling (fixed by Krzysztof Oledzki <ole@ans.pl>).
13269
13270 2002-08-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
13271
13272         * man/pl/useradd.8, man/Attic/useradd.8, NEWS:
13273         document useradd and groupadd -M option in en and pl man pages
13274         (by Jakub Mikusek <mick3y@o.k.pl>).
13275
13276         * configure.in: start prepare 4.0.4.
13277
13278 2002-03-18  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13279
13280         * 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:
13281         - updated to man-pages-ja-20020315 (except cvs tags)
13282
13283 2002-03-15  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13284
13285         * TODO: - remove already done pl man updates from the list
13286
13287 2002-03-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
13288
13289         * 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:
13290         added ko man pages.
13291
13292         * man/de/.cvsignore, man/de/Makefile.am:
13293         automake files for de man pages.
13294
13295         * TODO: updated.
13296
13297         * 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:
13298         added cs, de, fr, id, it, ko man pages to ac/am.
13299
13300 2002-03-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13301
13302         * 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:
13303         "make update-po"
13304
13305         * po/de.po, NEWS, configure.in:
13306         added de translation (by Frank Schmid <frank@cs-schmid.de>).
13307
13308         * NEWS: added info about Solar patch for man pages.
13309
13310 2002-03-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13311
13312         * 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:
13313         added some raw cs, de, es, fr, id, it man pages from national
13314         man pages translation projects (all man pages not yet added to Makefile.am
13315         files because all need some work).
13316
13317         * man/hu/chfn.1, man/hu/id.1:
13318         added id(1) chfn(1) from hu man pages translation project (it need some work
13319         because this documents describes GNU version id and chfn from util-linux).
13320
13321         * man/hu/Makefile.am, man/hu/login.1:
13322         added login(1) man page from hu man pages translation project.
13323
13324         * po/POTFILES.in: updated (suath.c moved to src/).
13325
13326         * src/Makefile.am: added su_SOURCES with "su.c suauth.c".
13327
13328         * libmisc/Makefile.am:
13329         remove suauth.c from libmisc_la_SOURCES (varialbles and functions from
13330         this file are usesd only in su).
13331
13332         * libmisc/Attic/suauth.c, src/suauth.c: move suauth.c o src/.
13333
13334         * libmisc/Attic/suauth.c:
13335         move "struct passwd pwent" outside #ifdef SU_ACCESS.
13336
13337 2002-03-09  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13338
13339         * 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:
13340         - sync with en versions
13341
13342         * 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:
13343         - update to chage.1; formatting/typo fixes
13344
13345 2002-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
13346
13347         * po/uk.po, po/ko.po, po/pl.po, po/sv.po, po/ja.po, po/cs.po, po/el.po, po/fr.po:
13348         "make update-po"
13349
13350 2002-03-09  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13351
13352         * 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:
13353         - further "SEE ALSO" references sorting
13354
13355 2002-03-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
13356
13357         * 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:
13358         merged shadow-4.0.0-owl-man.patch by Solar Designer <solar@openwall.com>.
13359
13360         * NEWS: updated for 4.0.3.
13361
13362         * libmisc/Attic/suauth.c, libmisc/utmp.c, src/login.c, src/su.c:
13363         swapped utent dnd pwent efinition/extern and now shadow source can be configured
13364         --with-shared (fix by Dimitar Zhekov <jimmy@is-vn.bg>).
13365
13366 2002-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13367
13368         * configure.in: start prepare 4.0.3.
13369
13370         * src/Makefile.am:
13371         use ln -sf instead ln -s in install-exec-hok (fix pointed by Dimitar Zhekov
13372         <jimmy@is-vn.bg>).
13373
13374 2002-03-02  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13375
13376         * man/pl/passwd.1: sync with en version
13377
13378         * man/Attic/passwd.1: - they -> his/her, user's
13379         - typos
13380         - fix sentence about "writing down"
13381
13382         * man/Attic/passwd.1: relocation by NAKANO Takeo
13383
13384 2002-02-28  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13385
13386         * man/hu/passwd.1: missing "-"
13387
13388         * man/ja/Attic/shadowconfig.8, man/ja/passwd.5, man/ja/shadow.5:
13389         - updated to man-pages-ja-20020215
13390
13391 2002-02-23  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13392
13393         * po/cs.po, po/fr.po, po/pl.po, po/sv.po, po/uk.po, man/pl/useradd.8:
13394         - typos in pl/useradd.8; commented out unsupported -r option description
13395         - useradd "usage" formatting fixes
13396         - fix translation in uk.po
13397
13398 2002-02-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
13399
13400         * configure.in: release 4.0.2.
13401
13402 2002-02-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13403
13404         * Attic/shadow-utils.spec.in, Makefile.am, configure.in, shadow.spec.in:
13405         rename spec file s/shadow-utils.spec/shadow.spec/
13406
13407         * po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/sv.po, po/uk.po:
13408         update-po before release.
13409
13410         * po/ko.po, po/pl.po: cleanups.
13411
13412 2002-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13413
13414         * 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:
13415         placa ".so man<level>/<man_page>.<level>" in roff .so includes (seems some
13416         man page viewers do not handles correctly man documents without subdirectory
13417         name in roff .so incude).
13418
13419 2002-01-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
13420
13421         * 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:
13422         resolve many fuzzy translations also all this which may cause problems on
13423         displaing long uid/gid.
13424
13425         * 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:
13426         drop translate some messages in id output (about {,e}{u,g}id).
13427
13428 2002-01-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13429
13430         * README: s#password: cvs#password: [empty password]#
13431
13432 2002-01-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13433
13434         * NEWS: two new entries.
13435
13436         * libmisc/chkname.c (good_name):
13437         allow usernames ending with "$" for allow create machine
13438         acounts for samba (thanks for point this problem in 4.0.1 by
13439         Jerome Borsboom <borsboom@tch.fgg.eur.nl>).
13440
13441         * 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:
13442         s/invalid user name `%s'/invalid user name '%s'/
13443
13444 2002-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13445
13446         * configure.in:
13447         fix in libpam_misc detection (removed one "," AC_CHECK_LIB()).
13448         Thanks to Silvan Minghetti for report this.
13449
13450 2002-01-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13451
13452         * NEWS: start prepare to 4.0.2.
13453
13454         * po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po, po/cs.po:
13455         updated.
13456
13457         * configure.in: It is good time to release 4.0.1.
13458
13459         * libmisc/.indent.pro, lib/.indent.pro: added -pcs option.
13460
13461         * TODO: some things goes out other in.
13462
13463         * src/newgrp.c, NEWS:
13464         added ability to log session closes in newgrp (look at long nice comments
13465         inside source code :_) by Joseph Parmelee <jparmele@wildbear.com>.
13466
13467         * src/groupadd.c, src/useradd.c:
13468         next part fixes for handle long UID/GID (by Thorsten Kukuk <kukuk@suse.de>).
13469
13470         * lib/getdef.c, lib/getdef.h:
13471         adeded getdef_unum(): get unsigned numerical value from table of
13472         definitions (Thorsten Kukuk <kukuk@suse.de>).
13473
13474         * NEWS: updated.
13475
13476         * libmisc/isexpired.c:
13477         remove "#if defined(SHADOWPWD)" (not removed during remove AGING).
13478
13479         * etc/Makefile.am: useradd config file added to EXTRA_DIST.
13480
13481 2002-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
13482
13483         * po/sv.po, po/uk.po, po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po:
13484         update.
13485
13486         * 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:
13487         Add -pcs to .indent.pro file and reindent all code.
13488         Remove "\n" from all SYSLOG() messages.
13489
13490         * NEWS: s/SuSe/SuSE/
13491
13492 2001-12-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
13493
13494         * man/pl/useradd.8, man/Attic/useradd.8: documment -o option.
13495
13496         * 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:
13497         correct package name (s/shadow-password/shadow/).
13498
13499         * src/chage.c, src/expiry.c, src/login.c, src/passwd.c, src/su.c, libmisc/age.c, libmisc/isexpired.c, NEWS, configure.in:
13500         Finish integrate AGING code into SHADOWPW.
13501         Remove handle old HAVE_USERSEC_H code.
13502
13503         * po/uk.po: typo.
13504
13505         * 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:
13506         cleanups.
13507
13508         * 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:
13509         standarize usage messages syntax.
13510
13511         * man/pl/useradd.8, man/pl/usermod.8, man/pl/vipw.8, man/pl/userdel.8:
13512         removed duplicated man page text.
13513
13514         * 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:
13515         standarize usage meissages syntax.
13516
13517         * src/chage.c, NEWS (main):
13518         merge part Solar shadow-4.0.0-owl-pam-auth.diff patch with reorder
13519         nitialize PAM and checkin is chage is runed by root or not - now chage can be
13520         runed from non-root account for checking by user own accout information.
13521
13522         * src/pwck.c: indent source.
13523
13524         * src/pwck.c (main): remove old work around for Slackware bug.
13525
13526 2001-12-20  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13527
13528         * man/ja/Attic/adduser.8, man/ja/Makefile.am, man/ja/limits.5, man/ja/pwconv.8:
13529         - updated to man-pages-ja-20011215
13530
13531 2001-11-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13532
13533         * src/grpck.c:
13534         remove check for a Slackware bug (make sure GID is not -1; it was special
13535         meaning for some syscalls).
13536
13537         * 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:
13538         fixes for handle/print correctly 32bit uid/gid (Thorsten Kukuk <kukuk@suse.de>).
13539
13540         * src/chage.c: - break usage vomment line.
13541
13542         * lib/defines.h:
13543         removed bunch spaces on end line in conditionale #include <errno.h>
13544         which in some cases dissallow compile correctly shadow (thanks for
13545         Silvan Minghetti <bullet@users.sourceforge.net>).
13546
13547 2001-11-17  Michał Moskal  <malekith@pld.org.pl>
13548
13549         * NEWS:
13550         - mention fix for SEGV when using pwck -s on /etc/passwd file with
13551           empty lines in it
13552
13553         * lib/commonio.c:
13554         - installed fix for SEGV when using pwck -s on /etc/passwd file with
13555           empty lines in it
13556
13557 2001-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13558
13559         * libmisc/chkname.c, NEWS:
13560         next merge from Solar patches (shadow-4.0.0-owl-check_names.diff) but only
13561         part this patch with checking login name matching; checking is login
13562         string isn't longer than possible probably it will be good prepare using
13563         _POSIX_LOGIN_NAME_MAX from <bits/posix1_lim.h>
13564
13565 2001-11-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13566
13567         * NEWS: typos.
13568
13569         * NEWS: added info about new hu man pages.
13570
13571         * NEWS: updated.
13572
13573 2001-11-16  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13574
13575         * 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:
13576         - updated to man-pages-ja-20011115.tar.gz
13577
13578         * man/ja/groups.1: 3c26de91cfd359c0b7c36ca3cd3e170d  groups.1
13579
13580         * man/ja/grpconv.8: 402190c04b8df45e20afd01e3acd0da4  grpconv.8
13581
13582         * man/ja/grpunconv.8: 402190c04b8df45e20afd01e3acd0da4  grpunconv.8
13583
13584         * man/ja/id.1: 3edc687b1c09bbdd170553f326a71711  id.1
13585
13586         * man/ja/newusers.8: c2ecaa6ddffe07de2c39be3aefb5bcae  newusers.8
13587
13588         * man/ja/pwunconv.8: 402190c04b8df45e20afd01e3acd0da4  pwunconv.8
13589
13590         * man/ja/Attic/shadowconfig.8:
13591         f79300c0db64fd961443177c88605087  shadowconfig.8
13592
13593         * man/ja/useradd.8: 3333b9a2e5a388a472fb05106d65a596  useradd.8
13594
13595         * man/ja/vigr.8: 42825938683e54e391897ea100001af1  vigr.8
13596
13597         * man/ja/vipw.8: 0cb8db0f1f19de7690f0ef9baeceb919  vipw.8
13598
13599 2001-11-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13600
13601         * lib/Attic/getpass.c:
13602         one fix warning from Solar shadow-4.0.0-owl-warnings.diff.
13603
13604         * src/chage.c, lib/defines.h:
13605         move "#include <errno.h>" to /lib/defines.h.
13606
13607         * configure.in: added AC_CHECK_HEADERS(errno.h)
13608
13609         * src/chage.c: apply shadow-4.0.0-owl-chage-drop-priv.diff and
13610         shadow-4.0.0-owl-chage-ro-no-lock.diff by Solar Designer <solar@openwall.com>.
13611         Added locks which are needed when doing r/w accesses, not when running as root.
13612         If root does read-only, there's no lock needed. Added missing
13613         "#include <errno.h>" for above.
13614
13615 2001-11-14  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13616
13617         * configure.in: - added hu directory antry
13618
13619         * man/Makefile.am: - groups.1 moved to EXTRA_DIST
13620         - added hu directory entry
13621
13622         * man/ja/Makefile.am: - sorted
13623         - shadow.3 moved to EXTRA_DIST
13624
13625         * man/pl/Makefile.am: - sorted
13626         - added entries for new pages
13627         - EXTRA_DIST synced with man/Makefile.am
13628
13629         * 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:
13630         - man pages from Debian
13631
13632         * man/Attic/groupmems.8: - typo
13633
13634         * man/pl/expiry.1, man/pl/groupmems.8: - translated pages
13635
13636 2001-11-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13637
13638         * libmisc/Makefile.am:
13639         fix building with cracklib enabled: $(LIBCRACK) added to libmisc_la_LIBADD.
13640
13641         * src/useradd.c: typo.
13642
13643 2001-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13644
13645         * 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:
13646         removed prototypes which are defined in libc header files
13647         (Thorsten Kukuk <kukuk@suse.de>).
13648
13649         * libmisc/Attic/nscd.c, libmisc/Makefile.am, lib/commonio.c:
13650         implemetn better reloading the nscd cache (per NSS map)
13651         by Thorsten Kukuk <kukuk@suse.de>
13652
13653         * src/login.c, libmisc/setupenv.c:
13654         fixed warnings "not used but defined" on compile using gcc 3.0.x
13655         by bulletpr00ph <bullet@users.sourceforge.net>.
13656
13657 2001-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
13658
13659         * NEWS: New entries for 4.0.1.
13660
13661         * po/pl.po: few more pl translations.
13662
13663         * po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po:
13664         "make update-po".
13665
13666         * po/ja.po, po/ko.po, configure.in:
13667         added ja, ko translations found in SuSe.
13668
13669 2001-10-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13670
13671         * src/useradd.c: sort alphabetically *flg variables.
13672
13673         * debian/Attic/Makefile.am, debian/Attic/tar.c: removed.
13674
13675 2001-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13676
13677         * 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:
13678         added vigr(1) man page as roff .so link to vipw(1),                                                                             - added sg(1) man page as roff .so link to newgrp(1).
13679
13680         * src/Makefile.am:
13681         added install symlinks newgrp -> sg, vipw -> vigr in install-exec-hook target.
13682
13683 2001-10-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13684
13685         * lib/Makefile.am (libshadow_la_SOURCES):
13686         reverte last change and added rcsid.h,
13687         (EXTRA_DIST): added missing "\".
13688
13689         * src/Makefile.am: (DEFS):
13690         - fix -DLOCALEDIR in DEFS,
13691         - added -DHAVE_CONFIG_H,
13692         - removed @DEFS@.
13693
13694         * lib/Makefile.am:
13695         added missing shadow_.h file to libshadow_la_SOURCES.
13696
13697 2001-09-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
13698
13699         * Makefile.am (AUTOMAKE_OPTIONS):
13700         version changed to 1.5 and added dist-bzip2.
13701
13702         * lib/Makefile.am, libmisc/Makefile.am, src/Makefile.am:
13703         add .indent.pro to EXTRA_DIST.
13704
13705         * etc/Makefile.am, etc/useradd: add example /etc/defaults/useradd.
13706
13707 2001-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13708
13709         * TODO: last touch.
13710
13711         * TODO: more TODO.
13712
13713         * lib/commonio.c, NEWS:
13714         Fix bug discovered and fixed by Marcel Ritter <Marcel.Ritter@rrze.uni-erlangen.de>
13715         Due to a big buffer size in lib/commonio.c this error does only appear
13716         if a line gets longer than 4096 bytes (there are probably very few people
13717         stumbling across this).
13718         Ths bug can be exposed by trashing /etc/groups file using useradd with script:
13719                 #!/bin/sh
13720                 typeset -i NUM
13721                 NUM=0
13722                 groupadd demogroup
13723                 while [ $NUM -le 1000 ]; do
13724                    useradd -g demogroup -G demogroup -p "NONE" user$NUM
13725                    NUM=$NUM+1
13726                 done
13727
13728 2001-09-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13729
13730         * src/groups.c, src/id.c, src/newgrp.c, src/useradd.c, src/usermod.c, libmisc/addgrps.c, NEWS:
13731         remove limit 32 to groups per user (the same user can belong to
13732         more than 32 groups) by use sysconf(_SC_NGROUPS_MAX) instead constant
13733         NGROUPS_MAX (patch by Radu Constantin Rendec <radu.rendec@ines.ro>)
13734         NOTE: it probably need testing on other system for add some conditionals
13735         for using sysconf(_SC_NGROUPS_MAX) or NGROUPS_MAX constant.
13736
13737 2001-08-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
13738
13739         * etc/pam.d/Makefile.am, etc/pam.d/useradd: added file for useradd.
13740
13741 2001-08-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
13742
13743         * src/useradd.c (set_defaults):
13744         handle correctly error open/create useradd default config
13745         filei (based on orginal post to bugtraq).
13746
13747         * TODO: documment in pt_BR, ja man pages -s {pw,grp}ck option.
13748
13749         * libmisc/sulog.c, NEWS:
13750         remove limit to 6 chars logged tty name (apply 012_libmisc_sulog.c.diff Debian
13751         patch).
13752
13753         * man/pl/Attic/shadowconfig.8, man/Attic/shadowconfig.8:
13754         - aply 021_man_shadowconfig_usr_doc.diff debian patch.
13755
13756         * src/Makefile.am, lib/Makefile.am:
13757         use $(top_builddir) in .la files paths (for allow correct compile if
13758         $(top_builddir) isn't the same as $(top_srcdir)).
13759
13760         * po/.cvsignore, po/Attic/ChangeLog: removed ChangeLog.
13761
13762 2001-08-18  Michał Moskal  <malekith@pld.org.pl>
13763
13764         * src/grpck.c: - fixed getopt() call, thnx to arekm
13765
13766 2001-08-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13767
13768         * NEWS: - include last changes to list changes in version 4.0.0.
13769
13770 2001-08-14  Michał Moskal  <malekith@pld.org.pl>
13771
13772         * NEWS: - mention new -s options
13773
13774         * man/pl/grpck.8, man/pl/pwck.8, man/Attic/grpck.8, man/Attic/pwck.8:
13775         - documented new -s options
13776
13777         * src/grpck.c, src/pwck.c: - added -s option to sort output files
13778
13779         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
13780         - added pw_sort, gr_sort, sgr_sort and spw_sort functions
13781
13782         * lib/commonio.c, lib/commonio.h:
13783         - added commonio_sort{,_wrt} functions
13784
13785 2001-08-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13786
13787         * po/Attic/ChangeLog, po/uk.po, configure.in:
13788         added uk translation (Roman Festchook <roma@polesye.net>).
13789
13790         * src/logoutd.c (mani):
13791         s/ut->ut_libe/ut->ut_user/ on prepare strin with user name for syslog
13792         line (reported by Roman Festchook <roma@polesye.net>).
13793
13794 2001-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13795
13796         * Attic/acconfig.h: - added missing USG.
13797
13798 2001-07-04  Marek Michałkiewicz  <marekm@pld.org.pl>
13799
13800         * lib/commonio.c:
13801         fix buffer overflow (not a security hole) in commonio_setname
13802
13803 2001-06-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
13804
13805         * NEWS: entry about dropping support one argument pam_strerror().
13806
13807         * libmisc/pam_pass.c, src/login.c, src/su.c, Attic/acconfig.h, configure.in, lib/defines.h, lib/pam_defs.h:
13808         drop detecting is pam_strerror() need one or two arguments. Instead using
13809         PAM_STRERROR() macro use directly pam_strerror() function with two arguments.
13810         pam_strerror() with one argument is obsoleted.
13811
13812         * configure.in:
13813         pass display error message if libpam_misc not found in correct argument
13814         AC_CHECK_LIB().
13815
13816         * configure.in:
13817         added checking for libpam_misc if libpam found and if libpam_misc is avalaible
13818         add them to $LIBPAM. Othervise exit fron autoconf script with error message.
13819         Now shadow compiles if pam support is enabled.
13820
13821 2001-06-28  Marek Michałkiewicz  <marekm@pld.org.pl>
13822
13823         * libmisc/copydir.c: fix overwriting existing file (add O_TRUNC)
13824
13825 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13826
13827         * configure.in: remove intl/po2tbl.sed from AC_OUTPUT().
13828
13829         * configure.in:
13830         removed add md5.o md5crypt.o conditionaly to $LIBOBJS (this is obsoleted).
13831         In current version ndling md5 functionality is included conditionaly
13832         inside md5.c and md5crypt.c source files.
13833
13834         * lib/Attic/md5.c: added comments for #endif.
13835
13836         * configure.in: also do not use SU_ACCESS when PAM is used.
13837
13838         * configure.in:
13839         - check pam directly by AC_CHECK_LIB() (PAM from PLD is now fixed an also other
13840           PAM implementation must be fixed for this method checkin is libpam is avalaible;
13841           sorry .. no way this is plain linking procedure bug),
13842         - use AC_DEFINE(LOGIN_ACCES) only when PAM isn't used.
13843
13844 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
13845
13846         * src/Makefile.am:
13847         add LDADD for groupmod and usermod, as they use PAM too
13848
13849         * src/login.c, src/su.c: fix uninitialized variable failcount
13850         skip '*' in pw_shell for subsystem root
13851
13852 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13853
13854         * src/login.c: use "extern int login_access()" only if !USE_PAM.
13855
13856         * src/Makefile.am:
13857         added LDADD rules for programs which uses PAM and cracklib.
13858
13859 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
13860
13861         * libmisc/chowntty.c:
13862         allow root login even on read-only root filesystem
13863
13864         * libmisc/Makefile.am: add -DHAVE_CONFIG_H to DEFS
13865
13866 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13867
13868         * autogen.sh: run configure by default with --disable-desrpc,
13869         fix: --with-libpam (not --with-pam).
13870
13871 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
13872
13873         * libmisc/chowntty.c:
13874         libmisc/chowntty.c (chown_tty): move perror() before syslog() call
13875         which might change errno.
13876
13877         * man/pl/login.defs.5, man/Attic/login.defs.5:
13878         (UMASK): Default value is 077, not 0 - see NEWS for shadow-3.3.2-951106.
13879
13880 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13881
13882         * NEWS, configure.in: prepare for release 4.0.0 version.
13883
13884         * configure.in: remove commented line.
13885
13886 2001-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13887
13888         * po/pl.po: fixed charset (must be iso-8859-2).
13889
13890         * 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:
13891         added ja man pages.
13892
13893 2001-05-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
13894
13895         * src/Attic/shadowconfig.sh, src/Makefile.am, debian/Attic/Makefile.am, debian/Attic/shadowconfig.sh:
13896         move shadowconfig.sh to debian/
13897
13898         * src/Makefile.am: added missing -I${top_srcdir} to INCLUDES.
13899
13900         * lib/Makefile.am: empty DEFS and INCLUDES="-I$(top_srcdir)".
13901
13902         * libmisc/Makefile.am:
13903         empty DEFS and INCLUDES="-I$(top_srcdir) -I$(top_srcdir)/lib".
13904
13905 2001-03-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
13906
13907         * src/.indent.pro, lib/.indent.pro, libmisc/.indent.pro:
13908         directory indent config file is -kr -i8 -bad (indent open this file and
13909         read options if options not specyfied in commnad line).
13910
13911         * autogen.sh (conf_flags): added --with-pam.
13912
13913         * NEWS: start complette next release information.
13914
13915 2001-02-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
13916
13917         * shlib/Attic/Makefile.am, shlib/Attic/Makefile.in.saved: - removed.
13918
13919         * src/Makefile.am, libmisc/Makefile.am, lib/Makefile.am:
13920         Rewrited automake suit for building lib, libmisc and src (now this look much
13921         better). Also for all is now used libtool in proper way.
13922
13923         * configure.in:
13924         - added useing AM_DISABLE_SHARED, AM_ENABLE_STATIC for disable compile shared
13925           libraries and enable static,
13926         - some cosmetics.
13927
13928         * Makefile.am (SUBDIRS): reorder libmisc must be before lib.
13929
13930 2001-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13931
13932         * man/pt_BR/Makefile.am: - added man_MANS to EXTRA_DIST.
13933
13934 2001-01-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
13935
13936         * 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:
13937         include pt_BR man pages for gpasswd(1), groupadd(1), groupdel(8),
13938         groupmod(8), shadow(5).
13939
13940 2001-01-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13941
13942         * TODO: - updated.
13943
13944         * 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:
13945         many small cleanups, fixes also removed commented obsoleted texts.
13946
13947 2001-01-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
13948
13949         * autogen.sh: add to conf_flags --disable-shared.
13950
13951         * 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:
13952         put or move to top cemmented Id cvs keyword,
13953         (passwd.1): documment -e option (patch from Debian),
13954         (userdel.1): remove commented obsoleted options.
13955
13956         * man/Makefile.am:
13957         put all files in man_MANS and EXTRA_DIST in alphabethic order.
13958
13959         * src/chpasswd.c, src/pwunconv.c:
13960         remove from comments program description and history logs.
13961
13962         * src/Makefile.am: move groups to bin_PROGRAMS.
13963
13964 2000-12-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13965
13966         * src/su.c: Based on Debian modyfications:
13967         (main): #endif /* USE_PAM */ #ifdef USE_PAM replaced by #else,
13968         (main): removed some dead code (scoped by #if 0 .. #endif).
13969         (main): call to re-establish SIGINT to right place.
13970
13971         * man/pl/passwd.1: Removed SEE ALSO to shadow(3) and passwd(3).
13972
13973         * man/pl/shadow.5, man/Attic/shadow.5: Removed SEE ALSO to shadow(3).
13974
13975         * man/Attic/passwd.1:
13976         Removed SEE ALSO to passwd(3) and commented shadow(3).
13977
13978 2000-12-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13979
13980         * src/useradd.c (main):
13981         use "useradd" instead "shadow in pam_start() parameters - this
13982         allow use separated pam config file for useradd (for example for allow
13983         specified non-root user for add user).
13984
13985 2000-11-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
13986
13987         * TODO: remove write expiry(1) man page.
13988
13989         * man/Attic/expiry.1, man/Makefile.am:
13990         added expiry(1) man page from Debian.
13991
13992         * man/pl/lastlog.8, man/Attic/lastlog.8:
13993         updated man pages for whole dispaly syntax.
13994
13995         * src/lastlog.c (main): fixed command line syntax description.
13996
13997         * src/lastlog.c (main):
13998         display correctly and full current commnad line lastlog syntax
13999         and also output this string using gettext.
14000
14001         * src/lastlog.c (main):
14002         merge src_lastlogin.c patch from debian with use getopt_long()
14003         instead getopt() for add handling --help, --user, --time switches and
14004         dipslay useage message on -h, --help and as default action.
14005
14006 2000-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
14007
14008         * src/groupmems.c, po/el.po, po/fr.po, po/pl.po, po/sv.po, po/POTFILES.in, po/cs.po:
14009         added i18n support for src/groupmems.c.
14010
14011         * src/useradd.c:
14012         * (set_defaults): use mkstemp() if avalaible. Othereise use mktemp().
14013
14014         * configure.in: * added checking for mkstemp().
14015
14016         * src/useradd.c: * (set_defaults): use mkstemp() instead mktemp(),
14017         * (mani): fix compilation error in previouse RH patch (removed using nflg).
14018
14019 2000-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
14020
14021         * TODO: - groupmems need some work on add PAM and i18n support.
14022
14023         * src/groupmems.c, man/Attic/groupmems.8:
14024         Added raw version groupmems program for administer members of a user's
14025         primary group. groupmems was written by George Kraft IV <gk4@us.ibm.com>
14026         and this tool have BSD license.
14027
14028         * src/Attic/patchlevel.h, src/Makefile.am:
14029         patchlevel.h, Makefile.am: removed patchlevel.h file,
14030         Makefile.am: removed bindir, sbindir (this comes with autoconf).
14031
14032 2000-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
14033
14034         * TODO: - write expire man page.
14035
14036 2000-10-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
14037
14038         * 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:
14039         Julianne F. Haugh new contact adress.
14040
14041         * NEWS: - summary chanfes for 20001016.
14042
14043         * doc/Attic/README.shadow-paper, doc/Makefile.am:
14044         - removed outdated README.shadow-paper.
14045
14046         * configure.in: - release 20001016.
14047
14048 2000-10-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
14049
14050         * man/pl/Makefile.am, man/Makefile.am: fixes in man/{,po}/Makefile.am:
14051         - $(man_MANS) added to EXTRA_DISTS,
14052         - do not install by default groups.1, id.1, pw_auth.3, shadow.3, pwauth.8,
14053           sulogin.8, dpasswd.8 (moved to EXTRA_DISTS),
14054
14055 2000-10-15  Marek Michałkiewicz  <marekm@pld.org.pl>
14056
14057         * lib/commonio.c (reload_nscd): Disable for now because not every
14058         version of nscd can handle it, unless ENABLE_NSCD_SIGHUP defined.
14059
14060 2000-10-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
14061
14062         * libmisc/pwdcheck.c, libmisc/Makefile.am: - added missing pwdcheck.c.
14063
14064         * configure.in: - removed old/Makefile from AC_OUTPUT list.
14065
14066 2000-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
14067
14068         * README: - fixed information about RO cvs access.
14069
14070         * NEWS: - summary changes description for shadow-20001012.
14071
14072         * configure.in: - release changed to 20001012.
14073
14074         * etc/Makefile.am: - removed shells and suauth from EXTRA_DIST.
14075
14076         * doc/Makefile.am: - removed README.debian from EXTRA_DIST.
14077
14078         * libmisc/Makefile.am: - removed pwdcheck.c from libmisc_a_SOURCES.
14079
14080         * debian/Attic/Makefile.am: - removed FILES from EXTRA_DIST.
14081
14082         * contrib/Makefile.am: - s/udbachk.v012.tgz/udbachk.tgz/
14083
14084         * doc/Makefile.am: - removed CHANGES (this file was moved to ../NEWS).
14085
14086 2000-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
14087
14088         * po/Attic/ChangeLog: - add empty file (gettext requires this).
14089
14090 2000-10-10  Arkadiusz Miśkiewicz  <misiek@pld.org.pl>
14091
14092         * README: typos fixed
14093
14094 2000-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
14095
14096         * Makefile.am: - added shadow-utils.spec.in to EXTR_DIST.
14097
14098         * redhat/Attic/shadow-utils.spec.in: - obsoleted.
14099
14100         * Attic/stamp-h.in: - removed (this file is autogenerated by autoconf).
14101
14102         * po/pl.po, po/sv.po, po/cs.po, po/el.po, po/fr.po:
14103         - update before release.
14104
14105         * doc/Attic/LSM: - new maintainer and new primary site.
14106
14107         * Makefile.am: - README added to EXTRA_DIST.
14108
14109         * README: - added README with all shadow sites and resources details.
14110
14111         * Attic/shadow-utils.spec.in: - partialy rewrited.
14112
14113         * configure.in: - change version to 20001010.
14114
14115         * Makefile.am: - added NEWS to EXTRA_DIST.
14116
14117         * Makefile.am, TODO: - added TODO.
14118
14119         * doc/Attic/CHANGES, NEWS: - rename doc/CHANGES -> NEWS.
14120
14121 2000-10-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
14122
14123         * 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:
14124         - remove redhat/ directory with obsoleted files.
14125
14126         * po/.cvsignore, src/.cvsignore, man/.cvsignore, man/pl/.cvsignore, .cvsignore, libmisc/.cvsignore:
14127         - shut up cvs.
14128
14129         * man/Makefile.am: - removed redundant ${man_MANS} from EXTRA_DIST.
14130
14131         * src/useradd.c:
14132         - fix a security bug (adduser could overwrite previously existing
14133           groups (shadow-19990827-group.patch from RH),
14134
14135         * po/cs.po, po/el.po, po/fr.po, po/pl.po, po/sv.po:
14136         - "make updated-po".
14137
14138         * 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:
14139         - added man pages for grpconv(8), grpunconv(8), pwunconv(8) (.so link to
14140           pwconv(8))
14141
14142         * man/pl/Attic/adduser.8, man/pl/Makefile.am, man/Attic/adduser.8, man/Makefile.am:
14143         - added man page for adduser(8) (.so link to useradd(8)).
14144
14145         * po/Attic/doit:
14146         - removed (in po/Makefile.in.in exist special update-po target).
14147
14148         * etc/pam.d/passwd, etc/pam.d/su: - cosmetics.
14149
14150         * etc/pam.d/Attic/shadow: - sample PAM config file for shadow utils.
14151
14152         * etc/pam.d/Makefile.am: - added shadow to EXTRA_DIST
14153
14154         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
14155         - bind to shadow PAM file instead userdb (mainly PAMimication all shadow
14156           utils is used for proper updating db files but in real this can be used
14157           for perform many other tasks).
14158
14159         * src/Makefile.am: - added linking with @LIBPAM@ all PAMified tools.
14160
14161         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
14162         - added PAM support (bind to common "userdb" PAM authentication description
14163           file).
14164
14165         * src/chage.c: - added PAM support.
14166
14167 2000-10-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
14168
14169         * autogen.sh:
14170         - added autogen.sh script which prepare raw source code from cvs to use.
14171
14172 2000-10-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
14173
14174         * man/pl/useradd.8, man/pl/userdel.8, man/pl/usermod.8, man/pl/vipw.8:
14175         - merged changes from PTM.
14176
14177         * man/pl/Makefile.am:
14178         - simplified: use only man_MANS and remaped $(mandir) variable.
14179
14180 2000-09-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
14181
14182         * po/cs.po, configure.in:
14183         - added cs translation (Jiri Pavlovsky <Jiri.Pavlovsky@ff.cuni.cz>).
14184
14185 2000-09-05  Marek Michałkiewicz  <marekm@pld.org.pl>
14186
14187         * 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:
14188         *** empty log message ***
14189
14190 2000-09-02  Marek Michałkiewicz  <marekm@pld.org.pl>
14191
14192         * 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:
14193         *** empty log message ***
14194
14195 2000-08-26  Marek Michałkiewicz  <marekm@pld.org.pl>
14196
14197         * 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:
14198         *** empty log message ***
14199
14200 1999-08-27  Marek Michałkiewicz  <marekm@pld.org.pl>
14201
14202         * 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:
14203         *** empty log message ***
14204
14205 1999-07-09  Marek Michałkiewicz  <marekm@pld.org.pl>
14206
14207         * 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:
14208         *** empty log message ***
14209
14210 1999-06-07  Marek Michałkiewicz  <marekm@pld.org.pl>
14211
14212         * 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:
14213         *** empty log message ***
14214
14215 1999-03-07  Marek Michałkiewicz  <marekm@pld.org.pl>
14216
14217         * 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:
14218         *** empty log message ***
14219
14220 1998-12-28  Marek Michałkiewicz  <marekm@pld.org.pl>
14221
14222         * 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:
14223         *** empty log message ***
14224
14225 1998-07-24  Marek Michałkiewicz  <marekm@pld.org.pl>
14226
14227         * 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:
14228         *** empty log message ***
14229
14230 1998-06-26  Marek Michałkiewicz  <marekm@pld.org.pl>
14231
14232         * 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:
14233         *** empty log message ***
14234
14235 1998-05-29  Marek Michałkiewicz  <marekm@pld.org.pl>
14236
14237         * 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:
14238         *** empty log message ***
14239
14240 1998-04-16  Marek Michałkiewicz  <marekm@pld.org.pl>
14241
14242         * 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:
14243         *** empty log message ***
14244
14245 1998-04-02  Marek Michałkiewicz  <marekm@pld.org.pl>
14246
14247         * 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:
14248         *** empty log message ***
14249
14250 1998-01-30  Marek Michałkiewicz  <marekm@pld.org.pl>
14251
14252         * 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:
14253         *** empty log message ***
14254
14255 1998-01-25  Marek Michałkiewicz  <marekm@pld.org.pl>
14256
14257         * Attic/acconfig.h: *** empty log message ***
14258
14259 1997-12-14  Marek Michałkiewicz  <marekm@pld.org.pl>
14260
14261         * 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:
14262         *** empty log message ***
14263
14264 1997-12-08  Marek Michałkiewicz  <marekm@pld.org.pl>
14265
14266         * 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:
14267         *** empty log message ***
14268
14269 1997-10-01  Marek Michałkiewicz  <marekm@pld.org.pl>
14270
14271         * 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:
14272         *** empty log message ***
14273
14274 1997-09-30  Marek Michałkiewicz  <marekm@pld.org.pl>
14275
14276         * 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:
14277         *** empty log message ***
14278
14279 1997-09-29  Marek Michałkiewicz  <marekm@pld.org.pl>
14280
14281         * man/Attic/chpasswd.8, man/Attic/pwconv.8, man/Attic/pwunconv.8, man/Attic/su.1, man/Makefile.am:
14282         *** empty log message ***
14283
14284 1997-06-16  Marek Michałkiewicz  <marekm@pld.org.pl>
14285
14286         * 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:
14287         *** empty log message ***
14288
14289 1997-06-01  Marek Michałkiewicz  <marekm@pld.org.pl>
14290
14291         * 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:
14292         *** empty log message ***
14293
14294 1997-05-02  Marek Michałkiewicz  <marekm@pld.org.pl>
14295
14296         * 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:
14297         *** empty log message ***
14298
14299 1997-02-11  Marek Michałkiewicz  <marekm@pld.org.pl>
14300
14301         * 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:
14302         *** empty log message ***
14303
14304 1997-01-08  Marek Michałkiewicz  <marekm@pld.org.pl>
14305
14306         * 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:
14307         *** empty log message ***
14308
14309 1996-10-27  Marek Michałkiewicz  <marekm@pld.org.pl>
14310
14311         * 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:
14312         *** empty log message ***
14313
14314 1996-09-25  Marek Michałkiewicz  <marekm@pld.org.pl>
14315
14316         * 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:
14317         *** empty log message ***
14318
14319 1996-09-20  Marek Michałkiewicz  <marekm@pld.org.pl>
14320
14321         * 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:
14322         *** empty log message ***
14323
14324 1996-09-10  Marek Michałkiewicz  <marekm@pld.org.pl>
14325
14326         * 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:
14327         *** empty log message ***
14328
14329 1996-08-10  Marek Michałkiewicz  <marekm@pld.org.pl>
14330
14331         * 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:
14332         New file.
14333
14334         * contrib/adduser-old.c, contrib/adduser.sh, contrib/adduser2.sh, contrib/atudel:
14335         960810 - first version under cvs
14336
14337         * 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:
14338         New file.
14339