]> granicus.if.org Git - shadow/blob - ChangeLog
* src/useradd.c: Remove unused Zflg.
[shadow] / ChangeLog
1 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
2
3         * src/useradd.c: Remove unused Zflg.
4
5 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
6
7         * src/chgpasswd.c: Fix typo sp -> sg. sg_namp -> sg_name
8         * src/chgpasswd.c: Always update the group file when SHADOWGRP is
9         not enabled.
10
11 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
12
13         * src/newgrp.c: Fix typo in notreached annotation.
14
15 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
16
17         * src/usermod.c: Add annotations to indicate that fail_exit() does
18         not return.
19         * src/usermod.c: Fix typo in notreached annotation.
20
21 2011-07-30  Nicolas François  <nicolas.francois@centraliens.net>
22
23         * libmisc/find_new_uid.c: free (used_uids) on return.
24         * libmisc/find_new_gid.c: free (used_gids) on return.
25
26 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
27
28         * lib/commonio.c: Fix NIS commit from 2011-07-14.
29
30 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
31
32         * NEWS, src/chpasswd.c: Create a shadow entry if the password is
33         set to 'x' in passwd and there are no entry in shadow for the
34         user.
35         * NEWS, src/chgpasswd.c: Create a gshadow entry if the password is 
36         set to 'x' in group and there are no entry in gshadow for the 
37         group.
38
39 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
40
41         * src/pwunconv.c: Exit after printing usage when arguments or
42         options are provided.
43         * src/pwunconv.c: Re-indent.
44         * src/pwunconv.c: Open the shadow file read only.
45         * src/grpunconv.c: Exit after printing usage when arguments or
46         options are provided.
47         * src/grpunconv.c: Open the gshadow file read only.
48
49 2011-07-28  Nicolas François  <nicolas.francois@centraliens.net>
50
51         * src/chgpasswd.c: Fix typo.
52
53 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
54
55         * NEWS, src/login.c: Do not log in utmp / utmpx / wtmp when PAM is
56         enabled. This is already done by pam_lastlog. Note that
57         pam_lastlog can only log the parent PID, not the PID of the
58         process forked by login.
59
60 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
61
62         * src/chpasswd.c: Add annotations to indicate that usage() does
63         not return.
64         * src/chpasswd.c: Reindent.
65         * src/chpasswd.c: Remove dead code. No need to set crypt_method
66         to NULL when it is already NULL. sflg is only set if crypt_method
67         is not NULL.
68
69 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
70
71         * src/lastlog.c: Add annotations to indicate that usage() does not
72         return.
73
74 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
75
76         * src/faillog.c: Add annotations to indicate that usage() does not
77         return.
78         * src/faillog.c: Fix message: this is faillog, not lastlog.
79         * src/faillog.c: Check that there are no extra arguments after
80         parsing the options.
81
82 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
83
84         * src/chgpasswd.c: Add annotations to indicate that usage() does
85         not return.
86         * src/chgpasswd.c: Split usage in smaller parts. Those parts are
87         already translated for chpasswd. Usage is now closer to
88         chpasswd's.
89         * src/chgpasswd.c: Remove dead code. No need to set crypt_method
90         to NULL when it is already NULL. sflg is only set if crypt_method
91         is not NULL.
92
93 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
94
95         * src/expiry.c: Remove dead code.
96         * src/expiry.c: Improve comments.
97
98 2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
99
100         * src/grpck.c: Added comments.
101         * src/grpck.c: Avoid implicit conversion of pointer to boolean.
102         * src/grpck.c: Remove dead code. argc cannot be lower than optind.
103         Avoid checking twice in a row for NULL != list[i].
104
105 2011-07-22  Nicolas François  <nicolas.francois@centraliens.net>
106
107         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Fail in case of
108         invalid configuration. 
109         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Updated
110         comments.
111         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Be more strict
112         on the loop stop conditions. Stop if we passed the limit, even if
113         the limit itself was never noticed.
114
115 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
116
117         * man/po/fr.po: Fix some spacing issues due to configuration
118         variants.
119
120 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
121
122         * src/passwd.c: Overflow when computing the number of days based
123         on the scaling. Use of long long needed.
124
125 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
126
127         * NEWS, lib/commonio.h, lib/commonio.c: Additional messages to
128         indicate why locking failed.
129         * NEWS, lib/commonio.c: Fix the sort algorithm in case of NIS. NIS
130         entries were dropped.
131         * lib/commonio.c: NIS entries can start by '+' or '-'.
132
133 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
134
135         * NEWS, src/groupmod.c: When the gshadow file exists but there are
136         no gshadow entries, an entry is created if the password is changed
137         and group requires a shadow entry.
138
139 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
140
141         * src/usermod.c: Fix typo in comment.
142         * src/usermod.c (move_home): It is always an error to use -m if
143         the new home directory already exist (independently from the
144         existence of the old home directory did not exist)
145         * src/usermod.c (process_flags): Report usage if no options are
146         provided. Update the error message.
147         * src/usermod.c (process_flags): Check option compatibility and
148         dependency before options are discarded when no changes are
149         requested.
150         * src/usermod.c (process_flags): Check for oflg is not needed to
151         check if changes are needed.
152         * src/usermod.c: usage() does not return. Add annotations.
153         * src/usermod.c (update_gshadow): is_member was computed twice.
154         * src/usermod.c (update_group, update_gshadow): Reduce complexity
155         and document checks. Some checks were always true/false within
156         their call context.
157         * NEWS, src/usermod.c; man/usermod.8.xml: When the shadow file
158         exists but there are no shadow entries, an entry has to be created
159         if the password is changed and passwd requires a shadow entry, or
160         if aging features are used (-e or -f). Document this and also that
161         -e and -f require a shadow file.
162         * man/usermod.8.xml: Document behavior of an empty EXPIRE_DATE.
163         * man/usermod.8.xml: Document that the mail spool might have to be
164         renamed (as for the homedir)
165         * src/usermod.c (new_pwent): Document that pw_locate will not fail
166         because getpwnam returned successfully.
167         * src/usermod.c (process_flags): Do not display the usage in case
168         of an invalid -f value (similar to -e).
169         * src/usermod.c (process_flags): Indicate that the user name is
170         invalid, instead of just a 'field'.
171
172 2011-07-08  Nicolas François  <nicolas.francois@centraliens.net>
173
174         * src/groupadd.c: Fix typo in comment.
175         * src/userdel.c: Fix typo from 2011-06-04. Report failure on the
176         mailfile instead of user_home.
177         * lib/fields.c: Fixed typo from 2010-02-15. field insteadof cp
178         ought to be checked.
179         * src/vipw.c: Use Prog instead of progname. This is needed since
180         Prog is used in the library.
181         * configure.in: Fix typo. libcrack default is 'no'.
182         * src/groupmod.c: Avoid implicit conversion of pointer to boolean.
183         * src/groupmod.c: osgrp can be set only if pflg || nflg. No need
184         to check for pflg || nflg again
185
186 2011-07-08  Nicolas François  <nicolas.francois@centraliens.net>
187
188         * man/*.xml, man/config.xml.in: Add source and version
189         information. This reduce the amount of warnings during the
190         manpages generation.
191
192 2011-06-25  Nicolas François  <nicolas.francois@centraliens.net>
193
194         * man/passwd.1.xml: Added reference to chpasswd(8).
195         * man/po/ru.po: Add space between option and argument.
196
197 2011-06-16  Francisco Javier Cuadrado  <fcocuadrado@gmail.com>
198
199         * po/es.po: Spanish translation
200
201 2011-06-16  Nicolas François  <nicolas.francois@centraliens.net>
202
203         * libmisc/isexpired.c: Added parenthesis.
204         * libmisc/env.c: Added comments.
205         * libmisc/env.c: Avoid implicit conversion of pointer to boolean.
206
207 2011-06-16  Nicolas François  <nicolas.francois@centraliens.net>
208
209         * src/su.c: environ is provided by <unistd.h>.
210         * src/su.c: Added function prototypes.
211         * src/su.c: Rename shellstr parameter to shellname to avoid
212         collision with static variable.
213         * NEWS, src/su.c: Added support for PAM modules which change
214         PAM_USER.
215
216 2011-06-13  Nicolas François  <nicolas.francois@centraliens.net>
217
218         * src/su.c (prepare_pam_close_session): Extract the creation of a
219         child and listening for signal in the parent from run_shell().
220         prepare_pam_close_session() is now executed before the creation of
221         the pam session and before the UID is changed. This allows to
222         close the session as root.
223         * src/su.c: Also drop the controlling terminal when PAM is not
224         used.
225         * src/su.c: Remove run_shell().
226         * src/su.c: After prepare_pam_close_session() there is no need to
227         close the session in the child. Added pam_setcred to
228         prepare_pam_close_session().
229
230 2011-06-12  Nicolas François  <nicolas.francois@centraliens.net>
231
232         * src/su.c (save_caller_context): Extract from main() the code
233         used to save the caller's context.
234         * src/su.c: Split check_perms() in to a PAM (check_perms_pam) and
235         a non-PAM (check_perms_nopam) version.
236         * src/su.c: Cleanup check_perms_nopam().
237         * src/su.c: Merge environment setting blocks after the creation of
238         the session.
239         * src/su.c: Close the password databases together with syslog.
240         * src/su.c: Extract command line processing from main().
241         * src/su.c: Extract export of environment from main().
242
243 2011-06-10  Nicolas François  <nicolas.francois@centraliens.net>
244
245         * src/su.c: Group some of the environment processing blocks. The
246         definition of shellstr, PATH and IFS is not influenced (getenv,
247         getdef, restricted_shell) by and does not influence (addenv does
248         not change environ) the authentication. And the authentication
249         did not overwrite those definitions. This will ease an extraction
250         from the big main() function.
251         * src/su.c: Move definition of change_environment and shellstr
252         after the switch to the final subsystem. The previous architecture
253         forced to always change the environment (the shell starts with a
254         '*' and was thus restricted, and change_environment could not be
255         reset to false).
256         * src/su.c: No need to change the user's shell in case of
257         subsystem root. Update the comments.
258         * src/su.c: Define shellstr before the environment so that
259         restricted_shell is called only once. This will allow moving the
260         environment definition after the switch to the new user.
261         * src/su.c: Extract the authentication from the main function.
262         * lib/prototypes.h, src/suauth.c, src/su.c (check_su_auth): Do not
263         use the pwent global variable to communicate between APIs of
264         different files. Added boolean parameter su_to_root to
265         check_su_auth().
266         * src/su.c (check_perms): Return the passwd entry of the finally
267         authenticated user. Remove usage of the pwent variable.
268         * src/su.c: The password of the caller is the one from the
269         spwd structure only if the passwd's password is 'x'.
270         * src/su.c: Cleanup local variables.
271
272 2011-06-10  Nicolas François  <nicolas.francois@centraliens.net>
273
274         * src/su.c: Updating pwent after expire() is not useful. Only the
275         password information may have changed and they are not used
276         anymore afterwards.
277         * src/su.c: No need to call expire() if there are no shadow entry.
278         No need to convert a passwd entry into an spwd entry in that case.
279
280 2011-06-12  Thomas Blein  <tblein@tblein.eu>
281
282         * man/po/fr.po: French manpages translation
283
284 2011-06-05  Nicolas François  <nicolas.francois@centraliens.net>
285
286         * NEWS, src/su.c: Do not forward the controlling terminal to
287         commands executed with -c. This prevents tty hijacking which could
288         lead to execution with the caller's privileges. This required to
289         forward signals from the terminal (SIGINT, SIGQUIT, SIGTSTP) to
290         the executed command.
291
292 2011-06-05  Nicolas François  <nicolas.francois@centraliens.net>
293
294         * NEWS, src/userdel.c: Do not remove a group with the same name as
295         the user (usergroup) if this group isn't the user's primary group.
296
297 2011-06-04  Nicolas François  <nicolas.francois@centraliens.net>
298
299         * NEWS, src/userdel.c: Check the existence of the user's mail
300         spool before trying to remove it. If it does not exist, a warning
301         is issued, but no failure.
302
303 2011-06-03  Nicolas François  <nicolas.francois@centraliens.net>
304
305         * src/sulogin.c: Added Prog, needed because of the last xmalloc()
306         change.
307
308 2011-06-03  Nicolas François  <nicolas.francois@centraliens.net>
309
310         * man/zh_CN/, man/zh_CN/Makefile.am: Added directory, and zh_CN
311         Makefile.
312         * man/Makefile.am: Build zh_CN pages.
313         * man/generate_translations.mak: Add config.xml to CLEANFILES.
314         * man/po/zh_CN.po: limits, groups, faillog, expiry should not be
315         translated (command name, file name), also this broke the build
316         system as they are used to derive manpage names.
317
318 2011-06-02  Peter Vrabec  <pvrabec@redhat.com>
319
320         * src/lastlog.c, src/faillog.c: Fix underflows causing wrong entry
321         to be displayed.
322
323 2011-06-02  Nicolas François  <nicolas.francois@centraliens.net>
324
325         * libmisc/xmalloc.c: Harmonize message.
326
327 2011-06-02  Peter Vrabec  <pvrabec@redhat.com>
328
329         * libmisc/find_new_uid.c, libmisc/find_new_gid.c: Add missing
330         memory allocation check.
331
332 2011-06-02  Cal Peake  <cp@absolutedigital.net>
333
334         * NEWS, libmisc/addgrps.c: Fix allocator loop. Continue to
335         getgroups() when getgroups fails (-1) with errno==EINVAL.
336
337 2011-06-01  Simon Brandmair  <sbrandmair@gmx.net>
338
339         * man/newusers.8.xml, man/suauth.5.xml, man/suauth.5.xml,
340           man/logoutd.8.xml, man/chgpasswd.8.xml, man/groups.1.xml,
341           man/faillog.5.xml, man/login.defs.d/MD5_CRYPT_ENAB.xml,
342           man/login.defs.d/DEFAULT_HOME.xml,
343           man/login.defs.d/LOGIN_RETRIES.xml,
344           man/login.defs.d/MD5_CRYPT_ENAB.xml,
345           man/login.defs.d/PORTTIME_CHECKS_ENAB.xml, 
346           man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml:
347           Fix typos
348         * man/po/de.po: German translation of manpages completed
349
350 2011-05-23  Innocent De Marchi  <tangram.peces@gmail.com>
351
352         * po/ca.po: Catalan translation completed
353
354 2011-04-22  Miguel Figueiredo  <elmig@debianpt.org>
355
356         * po/pt.po: Portuguese translation completed
357
358 2011-04-22  Thomas Blein  <tblein@tblein.eu>
359
360         * po/fr.po: French translation completed
361
362 2011-04-16  Holger Wansing  <linux@wansing-online.de>
363
364         * po/de.po: German translation completed
365
366 2011-04-15  Fred Maranhão  <fred.maranhao@gmail.com>
367
368         * po/pt_BR.po: Brazilian Portuguese translation completed
369
370 2011-04-10  Yuri Kozlov  <yuray@komyakino.ru>
371
372         * po/ru.po: Russian translation completed
373
374 2011-04-07  Daniel Nylander  <po@danielnylander.se>
375
376         * po/sv.po: Swedish translation completed
377
378 2011-04-07  Joe Dalton  <joedalton2@yahoo.dk>
379
380         * po/da.po: Danish translation completed
381
382 2011-04-05  Timur Birsh  <taem@linukz.org>
383
384         * po/kk.po: Kazakh translation completed
385
386 2011-04-05  NAKANO Takeo  <nakano@st.seikei.ac.jp>
387
388         * po/ja.po: Japanese translation completed
389
390 2011-03-30  YunQiang Su  <wzssyqa@gmail.com>
391
392         * man/po/zh_CN.po: convert Simplified Chinese translation 
393           of manpages to gettext
394         * po/zh_CN.po: Simplified Chinese translation completed
395
396 2010-02-15  Nicolas François  <nicolas.francois@centraliens.net>
397
398         * man/ru/Makefile.am: Remove double inclusion of $(man_nopam)
399
400 2010-02-15  Nicolas François  <nicolas.francois@centraliens.net>
401
402         * libmisc/user_busy.c, src/userdel.c, src/usermod.c: Warn in
403         user_busy() rather than in src/userdel.c or src/usermod.c to
404         provide more accurate failure cause (user is logged in or user
405         still executes processes).
406
407 2010-02-15  Nicolas François  <nicolas.francois@centraliens.net>
408
409         * lib/groupio.c, lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: Check
410         entry validity before commits to databases.
411         * libmisc/fields.c, libmisc/Makefile.am, lib/fields.c,
412         lib/Makefile.am, po/POTFILES.in: fields.c moved from libmisc to
413         lib.
414         * lib/fields.c: Fail if input pointer is NULL.
415
416 2010-02-13  Nicolas François  <nicolas.francois@centraliens.net>
417
418         * NEWS, src/chfn.c, src/chsh.c: Fix CVE-2011-0721: forbid \n in
419         gecos or shell.
420
421 2011-02-12  Nicolas François  <nicolas.francois@centraliens.net>
422
423         * autogen.sh: Restore original autoreconf (see 2010-08-29's change
424         for autogen.sh)
425         * configure.in, man/po/Makefile.in.in, man/po/Makefile.in:
426         Makefile.in.in replaced by Makefile.in to avoid config.status
427         issues when there are multiple po directories.
428         * man/po/LINGUAS: Adapted to above change.
429         * man/po/POTFILES.in, man/po/XMLFILES: POTFILES.in replaced by
430         XMLFILES.
431         * man/Makefile.am: generate_mans.deps shall be included by make,
432         not automake.
433
434 2010-11-19  Nicolas François  <nicolas.francois@centraliens.net>
435
436         * NEWS, libmisc/console.c: Fix CONSOLE parser. This caused login
437         to hang when CONSOLE was configured with a colon separated list of
438         TTYs.  See http://bugs.gentoo.org/show_bug.cgi?id=324419
439
440 2010-09-05  Nicolas François  <nicolas.francois@centraliens.net>
441
442         Integrate review comments from Julien Cristau
443         * libmisc/copydir.c: Missing parenthesis in comment.
444         * libmisc/chowndir.c: Fixed memory leak on failed realloc().
445         * libmisc/chowndir.c: Make sure the buffer for the path is large
446         enough.
447         * libmisc/remove_tree.c: Remove check for NULL before free().
448
449 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
450
451         * man/po/fr.po: Fix 2 fuzzy strings.
452
453 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
454
455         * NEWS, src/usermod.c: Accept options in any order (username not
456         necessarily at the end)
457
458 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
459
460         * autogen.sh: Expand autoreconf to avoid running autopoint.
461
462 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
463
464         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
465         * po/*.po, man/po/*.po: Updated PO files.
466
467 2010-08-28  Brian M. Carlson  <sandals@crustytoothpaste.ath.cx>
468
469         * man/chsh.1.xml: Fix comma splice.
470
471 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
472
473         * lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
474         selinux_file_context renamed set_selinux_file_context.
475         * lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
476         Added reset_selinux_file_context.
477         * src/useradd.c: Check the return value of
478         set_selinux_file_context and reset_selinux_file_context.
479         * libmisc/copydir.c: Check the return value of
480         reset_selinux_file_context.
481
482 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
483
484         * src/su.c: Fix handling of environment variables when
485         the environment is not changed. In particular, this makes su
486         behave as documented regarding PATH and IFS (i.e. they are reset)
487         when -p is provided.
488
489 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
490
491         * man/su.1.xml: Fix typo.
492
493 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
494
495         * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
496         src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
497         src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
498         src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
499         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/chage.c,
500         src/groupadd.c, src/login.c, src/grpconv.c, src/groups.c,
501         src/grpunconv.c, src/chsh.c: Prog changed to a constant string.
502
503 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
504
505         * libmisc/limits.c: Avoid implicit conversion of integer to
506         boolean.
507         * libmisc/basename.c: Avoid implicit conversion of pointer to
508         boolean.
509         * libmisc/basename.c, lib/prototypes.h (Basename): Return a
510         constant string.
511         * libmisc/basename.c, libmisc/obscure.c, lib/prototypes.h,
512         libmisc/xmalloc.c, libmisc/getdate.h, libmisc/system.c,
513         libmisc/getgr_nam_gid.c, libmisc/failure.c, libmisc/valid.c: Add
514         splint annotations.
515         * libmisc/chowndir.c: Avoid memory leak.
516         * libmisc/chowndir.c: Do not check *printf/*puts return value.
517         * libmisc/chowntty.c: Avoid implicit conversion between integer
518         types.
519         * libmisc/obscure.c: Return a bool when possible instead of int.
520         * libmisc/shell.c: Do not check *printf/*puts return value.
521         * libmisc/shell.c: Do not check execle return value.
522         * libmisc/setupenv.c: Avoid implicit conversion between integer
523         types.
524         * libmisc/xmalloc.c: size should not be zero to avoid returning
525         NULL pointers.
526         * libmisc/hushed.c: Do not check *printf/*puts return value.
527         * libmisc/system.c: Avoid implicit conversion of integer to
528         boolean. safe_system last argument is a boolean.
529         * libmisc/system.c: Check return value of dup2.
530         * libmisc/system.c: Do not check *printf/*puts return value.
531         * libmisc/system.c: Do not check execve return value. 
532         * libmisc/salt.c: Do not check *printf/*puts return value.
533         * libmisc/loginprompt.c: Do not check gethostname return value.
534         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not check
535         gr_rewind/pw_rewind return value.
536         * libmisc/ttytype.c: Limit the number of parsed characters in the
537         sscanf format.
538         * libmisc/ttytype.c: Test if a type was really read.
539         * libmisc/sub.c: Do not check *printf/*puts return value.
540         * libmisc/sub.c: Avoid implicit conversion of integer to boolean.
541         * src/userdel.c: Fix typo in comment.
542         * src/userdel.c: Avoid implicit conversion of boolean to integer.
543         * src/userdel.c: safe_system last argument is a boolean.
544         * src/newusers.c: Avoid implicit conversion of boolean to integer.
545         * src/newusers.c: Avoid implicit conversion of integer to boolean.
546         * src/usermod.c: Add brackets.
547         * src/usermod.c: Avoid implicit conversion of characters or
548         integers to booleans.
549         * src/vipw.c: Avoid implicit conversion of integer to boolean.
550         * src/su.c: Avoid implicit conversion of integer to boolean.
551         * src/su.c: Add brackets.
552         * src/useradd.c: Avoid implicit conversion of characters or
553         integers to booleans.
554
555 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
556
557         * libmisc/obscure.c, lib/prototypes.h (obscure): Return a bool
558         instead of an int.
559         * libmisc/obscure.c, libmisc/tz.c, src/passwd.c, lib/encrypt.c,
560         libmisc/copydir.c, lib/prototypes.h: Add splint annotations.
561         * libmisc/tz.c: Fix some const issues.
562         * libmisc/tz.c: Avoid multi-statements lines.
563         * libmisc/tz.c: Add brackets.
564         * libmisc/copydir.c: Do not check *printf/*puts return value.
565         * libmisc/copydir.c: Fail if we cannot set or reset the SELinux
566         fscreate context.
567         * libmisc/copydir.c: Use xmalloc instead of malloc.
568         * libmisc/copydir.c: Do not check lutimes return value
569         * src/vipw.c: Avoid implicit conversion of integer to boolean.
570         * src/su.c (iswheel): Return a bool instead of an int.
571         * src/passwd.c: Remove insert_crypt_passwd(). Use xstrdup instead.
572         * src/passwd.c: Return constant strings when sufficient.
573         * src/passwd.c: Do not check *printf/*puts return value.
574         * src/passwd.c: Avoid implicit conversion of character to boolean.
575         * src/passwd.c: Do not check sleep return value.
576         * src/sulogin.c: Do not check *printf/*puts return value.
577         * lib/encrypt.c: Do not check fprintf return value.
578
579 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
580
581         * src/passwd.c: Fix a const issue.
582         * src/passwd.c: Avoid multi-statements lines.
583         * src/sulogin.c: Fix a const issue.
584
585 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
586
587         * libmisc/copydir.c, lib/prototypes.h: Caller can choose not to
588         copy the extended attributes (the SELinux context is hence reset)
589         * src/usermod.c: Copy the extended attributes.
590         * src/useradd.c: Only reset the SELinux context.
591
592 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
593
594         * configure.in: Fixed typo.
595
596 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
597
598         * libmisc/console.c, libmisc/motd.c, libmisc/setupenv.c,
599         libmisc/sulog.c, libmisc/hushed.c, libmisc/failure.c,
600         libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/obscure.c,
601         libmisc/pam_pass_non_interractive.c, src/userdel.c, src/login.c,
602         lib/commonio.c, lib/commonio.h, libmisc/setugid.c,
603         libmisc/setupenv.c: Fix some const issues.
604         * libmisc/motd.c: Avoid multi-statements lines.
605         * libmisc/motd.c: Support long MOTD_FILE.
606         * libmisc/list.c, lib/prototypes.h: Revert previous change.
607         dup_list and is_on_list are used with members as defined for the
608         group structure, and thus even if the list is not modified, the
609         list elements cannot be constant strings.
610         * libmisc/system.c: Avoid C++ comments.
611         * src/vipw.c: WITH_TCB cannot be tested inside a gettextized
612         string. Split the Usage string.
613         * lib/commonio.h: Re-indent.
614
615 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
616
617         * libmisc/audit_help.c (audit_logger):pgname is not used. We let
618         audit find out the name of the program.
619         * libmisc/audit_help.c: Re-indent.
620
621 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
622
623         * lib/groupio.c: Avoid implicit conversion from signed to unsigned.
624
625 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
626
627         * lib/commonio.c: Make sure there are no NULL pointer dereference.
628
629 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
630
631         * libmisc/remove_tree.c: Ignore snprintf return value.
632
633 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
634
635         * lib/prototypes.h, libmisc/list.c: dup_list() and is_on_list() do
636         not change the members of the list they receive. Added const
637         qualifiers.
638
639 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
640
641         * src/usermod.c: Re-indent.
642
643 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
644
645         * lib/commonio.c: Avoid multi-statements lines.
646
647 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
648
649         * man/po/fr.po: Fix a typo.
650
651 2010-06-24  Baurzhan Muftakhidinov  <baurthefirst@gmail.com>
652
653         * NEWS, po/kk.po: Updated Kazakh translation.
654
655 2010-04-12  Nicolas François  <nicolas.francois@centraliens.net>
656
657         * man/po/fr.po: Fix some typos. Minor updates: 886t70f187u.
658
659 2010-04-12  Nicolas François  <nicolas.francois@centraliens.net>
660
661         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
662         * po/*.po, man/po/*.po: Updated PO files.
663
664 2010-04-05  Nicolas François  <nicolas.francois@centraliens.net>
665
666         * man/newusers.8.xml, man/useradd.8.xml, man/groupadd.8.xml,
667         man/login.defs.d/UMASK.xml, man/login.defs.d/CREATE_HOME.xml,
668         man/login.defs.d/LOGIN_RETRIES.xml: Fix typos: choosen, overriden,
669         bahavior.
670
671 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
672
673         * man/usermod.8.xml: Document changes of ownerships.
674
675 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
676
677         * man/vipw.8.xml: Fix formatting typo.
678         * man/vipw.8.xml: Document the login.defs parameters only when tcb
679         is enabled.
680
681 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
682
683         * src/useradd.c: spool is a constant string.
684         * src/useradd.c: Set the new copy_tree's paramater 'copy_root' to false 
685
686 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
687
688         * src/usermod.c: move_home() is only called if mflg is set.
689         * src/usermod.c: Fail is -m is provided but the old home directory
690         is not a directory.
691         * src/usermod.c: Use the previous improvement of copy_tree to
692         provide better error diagnosis.
693         * src/usermod.c: When rename() is used, also change the ownership.
694         * src/usermod.c: Do not change the ownership of the root directory
695         twice.
696         * src/usermod.c: When -u is provided, only change the ownership of
697         the home directory if it is a directory.
698         * src/usermod.c: Also change ownerships when -g is used.
699
700 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
701
702         * lib/prototypes.h, libmisc/copydir.c: Add the old UID and GID to
703         copy_tree to detect when ownership shall be changed.
704         * libmisc/copydir.c: Document the behavior when the IDs are set to
705         -1.
706         * lib/prototypes.h, libmisc/copydir.c (copy_tree): Add parameter
707         copy_root.
708         * libmisc/copydir.c: error() and ctx can be static.
709         * libmisc/copydir.c (copy_hardlink): Remove parameter src.
710
711 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
712
713         * libmisc/chowndir.c: Dynamically allocate memory to support
714         path longer than 1024 characters.
715         * libmisc/chowndir.c: Fix typos in documentation.
716         * libmisc/chowndir.c: Support and document the behavior when a old
717         or new ID is set to -1.
718         * libmisc/chowndir.c: Improved error detection when chown fails.
719         * libmisc/chowndir.c: Harmonize error handling strategy when an
720         error occurs: stop changing ownership as soon as an error was
721         detected.
722
723 2010-04-03  Nicolas François  <nicolas.francois@centraliens.net>
724
725         * man/hu/passwd.5: Fix formatting typo.
726         * man/id/login.1: Likewise.
727
728 2010-03-31  Nicolas François  <nicolas.francois@centraliens.net>
729
730         * man/vipw.8.xml: When TCB is enabled, vipw uses login.defs.
731
732 2010-03-31  Nicolas François  <nicolas.francois@centraliens.net>
733
734         * NEWS, libmisc/copydir.c: When a hardlink is detected, the
735         original hardlink should not be removed.
736
737 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
738
739         * po/POTFILES.in, libmisc/Makefile.am, lib/prototypes.h,
740         libmisc/remove_tree.c, libmisc/copydir.c: Split remove_tree()
741         outside of copydir.c to avoid linking against libacl or libattr.
742
743 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
744
745         * src/su.c: shell's name must be -su when a su fakes a login.
746
747 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
748
749         * NEWS, configure.in, libmisc/copydir.c, man/useradd.8.xml,
750         man/usermod.8.xml, src/Makefile.am: Added support for ACLs and
751         Extended Attributes.
752
753 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
754
755         * libmisc/copydir.c: Document the sections closed by #endif
756
757 2010-03-27  Nicolas François  <nicolas.francois@centraliens.net>
758
759         * man/vipw.8.xml: Add section ENVIRONMENT.
760
761 2010-03-26  Nicolas François  <nicolas.francois@centraliens.net>
762
763         * etc/login.defs: Updated description of UMASK to indicate its
764         usage by pam_umask.
765         * man/login.defs.d/UMASK.xml: Likewise.
766
767 2010-03-25  Nicolas François  <nicolas.francois@centraliens.net>
768
769         * man/login.1.xml: login does not check for new mails in PAM
770         enabled versions. This is done by pam_mail.
771
772 2010-03-25  Nicolas François  <nicolas.francois@centraliens.net>
773
774         * NEWS, src/chpasswd.c, man/chpasswd.8.xml, man/login.defs.5.xml:
775         PAM enabled versions: restore the -e option to allow restoring
776         passwords without knowing those passwords. Restore together the -m
777         and -c options.
778
779 2010-03-23  Nicolas François  <nicolas.francois@centraliens.net>
780
781         * src/su.c, src/vipw.c, src/newgrp.c: When the child is
782         interrupted, stop ourself with a SIGSTOP signal.
783
784 2010-03-23  Nicolas François  <nicolas.francois@centraliens.net>
785
786         * src/newgrp.c: Limit the scope of variable pid.
787         * src/login_nopam.c: Limit the scope of variables end, lineno, i,
788         str_len.
789         * src/logoutd.c: Limit the scope of variable c.
790         * src/vipw.c: Re-indent.
791         * src/vipw.c: Close the file after the creation of the backup.
792         * src/useradd.c (set_default): Close input file on failure.
793         * src/useradd.c: Limit the scope of variables spool, file, fd, gr,
794         gid, mode.
795         * src/passwd.c: Limit the scope of variables last and ok.
796         * src/chage.c: Fix typo (non breaking space).
797         * src/login.c: Limit the scope of variables erasechar killchar, c,
798         failed.
799         * src/groups.c: Limit the scope of variable ngroups, pri_grp, i.
800         * src/id.c: Limit the scope of variable i.
801
802 2010-03-22  Nicolas François  <nicolas.francois@centraliens.net>
803
804         * lib/utent.c (getutline): Remove getutline(). This function is
805         no more used.
806         * lib/groupmem.c: Limit the scope of variable i.
807         * lib/shadow.c: Avoid implicit conversion of pointers and integers
808         to booleans.
809         * lib/shadow.c: Added brackets.
810         * libmisc/limits.c: Limit the scope of variable tmpmask.
811         * libmisc/copydir.c: Close opened file on failure.
812         * libmisc/loginprompt.c: Limit the scope of variable envc.
813         * libmisc/find_new_uid.c, libmisc/find_new_gid.c: Limit the scope
814         of variable id.
815
816 2010-03-21  Nicolas François  <nicolas.francois@centraliens.net>
817
818         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Detect some
819         misconfigurations of UID_MIN, UID_MAX, SYS_UID_MIN, SYS_UID_MAX (and
820         the GID equivalents)
821
822 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
823
824         * NEWS, configure.in: Next version will be 4.1.5.
825         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
826         * po/*.po, man/po/*.po: Updated PO files.
827
828 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
829
830         * libmisc/limits.c: Re-indent to make pmccabe happy.
831
832 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
833
834         * man/generate_translations.mak, man/generate_mans.mak: Fix
835         distcheck. All manpages generation code shall be enclosed in
836         ENABLE_REGENERATE_MAN conditions.
837
838 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
839
840         * man/useradd.8.xml: Do not document the features which are not
841         working.
842         * man/useradd.8.xml: Fix typo: -u was meant instead of -o.
843         * man/useradd.8.xml: Document that the default behavior depends on
844         CREATE_HOME.
845
846 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
847
848         * lib/groupio.c: Fix memory management insplit_groups().
849
850 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
851
852         * libmisc/strtoday.c: Empty dates indicate a disabled date, this is
853         not an error.
854
855 2010-03-19  Nicolas François  <nicolas.francois@centraliens.net>
856
857         * src/useradd.c, lib/commonio.c, po/POTFILES.in: Fix typos.
858         * libmisc/limits.c: Removed unused variable.
859
860 2010-03-19  Nicolas François  <nicolas.francois@centraliens.net>
861
862         * lib/commonio.c: Stop sorting entries when we reach the first
863         NIS line.
864
865 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
866
867         * src/chsh.c: Even for root, warn if an invalid shell is
868         specified. Alioth#311305
869
870 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
871
872         * man/limits.5.xml: Document the selection of the limits when
873         multiple lines match the user.
874
875 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
876
877         * libmisc/limits.c: Re-indent.
878         * libmisc/limits.c: Reformat the documentation. Avoid personal
879         comments.
880         * man/limits.5.xml: Document the new features.
881
882 2010-03-18  Thomas Orgis  <thomas@orgis.org>
883
884         * NEWS, libmisc/limits.c: Fix parsing of limits.
885         * NEWS, libmisc/limits.c: Add support for infinite limits.
886         * NEWS, libmisc/limits.c: Add support for @group syntax.
887
888 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
889
890         * lib/tcbfuncs.h: Re-indent.
891         * lib/tcbfuncs.h: Explicitly indicate function taking a void
892         parameter.
893
894 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
895
896         * src/useradd.c: When exiting because of a failure, warn if an
897         home directory created, but cannot be removed.
898
899 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
900
901         * libmisc/chowndir.c: Re-indent.
902         * libmisc/chowndir.c: Avoid assignment in comparisons.
903         * libmisc/chowndir.c: Added brackets and parenthesis.
904
905 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
906
907         * libmisc/strtoday.c: Add support for numerical dates, assuming
908         they are already specified in number of days since Epoch. Return
909         -2 in case of errors to support the specification of -1.
910         * src/usermod.c, src/useradd.c: Adapt to the new error value of
911         strtoday().
912         * src/chage.c:  Remove isnum(). Adapt to the new error value of
913         strtoday(). Support for numerical dates is moved to strtoday().
914
915 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
916
917         * man/po/fr.po: Harmonize name of parameters.
918
919 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
920
921         * NEWS: Indicate which tools support TCB.
922
923 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
924
925         * src/pwck.c: Unlock the password and shadow files when there is a
926         failure to prepare the update in memory.
927
928 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
929
930         * src/pwck.c: Only log to SYSLOG when acting on system files.
931
932 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
933
934         * src/pwck.c: Document the sections closed by #endif
935         * src/pwck.c, man/pwck.8.xml: No alternative shadow file can be
936         given when USE_TCB is enabled.
937         * src/pwck.c: Remove the -s option from the usage when USE_TCB is
938         enabled. The option is still supported, but has no effect, as
939         documented in the manpage.
940
941 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
942
943         * src/pwck.c: Do not use pwd_file and spw_file. Always use the
944         dbname() functions.
945
946 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
947
948         * src/pwck.c: Re-indent.
949
950 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
951
952         * src/userdel.c, src/usermod.c, src/vipw.c, src/useradd.c,
953         src/pwck.c, src/chage.c, lib/shadowio.c: Explicitly use the
954         SHADOWTCB_FAILURE return code instead of 0 or implicit conversion
955         to booleans.
956
957 2010-03-18  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
958
959         * src/pwck.c: Add support for TCB.
960         * src/pwck.c: Use spw_dbname() instead of spw_file since TCB
961         changes from a file to another depending on the user. Also use
962         pw_dbname() for consistency.
963
964 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
965
966         * src/faillog.c: Re-indent.
967
968 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
969
970         * lib/tcbfuncs.h: Added type shadowtcb_status.
971         * lib/tcbfuncs.h, lib/tcbfuncs.c: Return a shadowtcb_status
972         instead of an int.
973         * lib/tcbfuncs.c: Do not return in OUT_OF_MEMORY.
974         * lib/tcbfuncs.c: Only FreeBSD specify that the returned buffer is
975         NULL in case of failure. The return value of asprintf shall be
976         checked.
977         * lib/tcbfuncs.c: Avoid implicit conversion of pointers or
978         integers to booleans.
979         * lib/tcbfuncs.c: Avoid assignments in comparisons.
980         * lib/tcbfuncs.c: Do not free path before its last use.
981         * lib/tcbfuncs.c: Include shadowio.h, needed for the
982         spw_setdbname's prototype.
983         * lib/tcbfuncs.c: Ignore fflush() return value.
984         * lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.
985         * lib/tcbfuncs.c: Avoid integer to char conversions.
986         * lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.
987         * lib/tcbfuncs.c: Removed dead return.
988         * lib/tcbfuncs.c: move_dir() and shadowtcb_move() need a non NULL
989         stored_tcb_user.
990         * lib/tcbfuncs.c: Avoid implicit int to mode_t conversion.
991         * lib/tcbfuncs.c: Added brackets and parenthesis.
992         * lib/tcbfuncs.c: Re-indent.
993
994 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
995
996         * lib/commonio.c: Avoid implicit conversion of pointers to
997         booleans.
998         * lib/commonio.c: Ignore the return value of close when a
999         failure is reported.
1000
1001 2010-03-16  Nicolas François  <nicolas.francois@centraliens.net>
1002
1003         * man/faillog.8.xml: Document the behavior in display mode of the
1004         -a option.
1005         * NEWS, man/faillog.8.xml, src/faillog.c: Extend the -a option to
1006         the non-display mode. This changes the default behavior of the -l,
1007         -m, -r, -t options when -a is not specified (restrict to existing
1008         users).
1009
1010 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1011
1012         * man/chage.1.xml, man/login.defs.5.xml, man/pwck.8.xml,
1013         man/pwconv.8.xml, man/useradd.8.xml, man/userdel.8.xml,
1014         man/usermod.8.xml, man/vipw.8.xml: Document the usage of the
1015         TCB_AUTH_GROUP, TCB_SYMLINKS, and USE_TCB configuration
1016         parameters.
1017         * man/pwconv.8.xml, man/pwck.8.xml: Document the behavior when
1018         USE_TCB is enabled.
1019
1020 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1021
1022         * po/POTFILES.in, lib/tcbfuncs.c: Add more strings for
1023         translation.
1024         * lib/tcbfuncs.c: Indicate the name of the program in error
1025         messages. Avoid perror.
1026         * src/useradd.c: Re-indent.
1027         * src/useradd.c: Add more strings for translation. Indicate the
1028         name of the program in error messages.
1029         * src/userdel.c: Re-indent.
1030         * src/userdel.c: Add more strings for translation. Indicate the
1031         name of the program in error messages.
1032
1033 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1034
1035         * src/usermod.c: user_newname and user_newid cannot be used to
1036         test if the username or ID is changed. lflg and uflg should be
1037         used instead.
1038
1039 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
1040
1041         * src/userdel.c: Avoid perror. Give more verbose warnings.
1042
1043 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1044
1045         * man/Makefile.am: Indicate that man/generate_mans.deps is
1046         generated.
1047
1048 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1049
1050         * lib/commonio.c: Re-indent.
1051         * lib/commonio.c: Document the sections closed by #endif
1052         * lib/commonio.c: Added brackets.
1053         * lib/commonio.c: Avoid implicit conversion of integer to
1054         booleans.
1055
1056 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1057
1058         * src/userdel.c: Re-indent.
1059         * src/userdel.c: Added brackets.
1060         * src/userdel.c: Avoid implicit conversion of pointers to
1061         booleans.
1062
1063 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1064
1065         * lib/shadowio.c: Re-indent.
1066         * lib/shadowio.c: Added brackets and parenthesis.
1067         * lib/shadowio.c: Document the sections closed by #endif
1068         * lib/shadowio.c: Avoid negation of comparisons.
1069         * lib/shadowio.c: Avoid implicit conversion of integer to booleans
1070         and booleans to integers.
1071
1072 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1073
1074         * src/useradd.c: Re-indent.
1075         * src/useradd.c: Added brackets.
1076         * src/useradd.c: Avoid implicit conversion of integers to
1077         booleans.
1078         * src/useradd.c: Harmonize error messages.
1079
1080 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1081
1082         * src/vipw.c: Document the sections closed by #endif
1083         * src/vipw.c: Avoid implicit conversion of pointers or integers to
1084         booleans.
1085         * src/vipw.c: Added brackets and parenthesis.
1086         * src/vipw.c: Limit the definition of some variables and macros to
1087         the WITH_TCB scope.
1088         * src/vipw.c: Avoid assignment in comparisons.
1089         * src/vipw.c: Replace PASSWD_FILE (resp. GROUP_FILE and
1090         SGROUP_FILE) by pw_dbname () (resp. gr_dbname () and sgr_dbname ()).
1091         This is more consistent with the shadow file handling and may be
1092         useful to allow edition of another partition's files.
1093
1094
1095 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1096
1097         * src/usermod.c: Re-indent.
1098         * src/usermod.c: Avoid implicit conversion of pointers to
1099         booleans.
1100         * src/usermod.c: Added parenthesis.
1101
1102 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
1103
1104         * src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.
1105
1106 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
1107
1108         * src/userdel.c: Re-indent.
1109         * src/userdel.c: Avoid implicit conversion of pointers to
1110         booleans.
1111         * src/userdel.c: Document the sections closed by #endif
1112
1113 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
1114
1115         * src/pwconv.c: Only check USE_TCB if configured WITH_TCB.
1116
1117 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
1118
1119         * libmisc/copydir.c: Added parenthesis.
1120
1121 2010-02-14  Michael Bunk  <mb@computer-leipzig.com>
1122
1123         * NEWS, lib/gshadow.c: Fix parsing of gshadow entries.
1124
1125 2010-01-30  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
1126
1127         * NEWS: Add support for TCB.
1128         * lib/tcbfuncs.h, lib/tcbfuncs.c, lib/Makefile.am: New library to
1129         support TCB.
1130         * lib/prototypes, libmisc/copydir.c (remove_tree): Add boolean
1131         parameter remove_root.
1132         * configure.in: Add conditional WITH_TCB.
1133         * src/userdel.c, src/usermod.c: Add support for TCB. Update call to
1134         remove_tree().
1135         * src/pwconv.c, src/pwunconv.c: Should not be used with TCB enabled.
1136         * src/vipw.c: Add support for TCB. Update call to remove_tree().
1137         * src/useradd.c: Add support for TCB. Open the shadow file outside
1138         of open_files().
1139         * src/chage.c: Add support for TCB.
1140         * src/Makefile.am: Install passwd sgid shadow when TCB is enabled.
1141         * lib/getdefs.c, man/vipw.8.xml, man/login.defs.5.xml,
1142         man/login.defs/TCB_AUTH_GROUP.xml, man/login.defs/USE_TCB.xml,
1143         man/login.defs/TCB_SYMLINKS.xml, man/generate_mans.mak,
1144         man/generate_mans.deps, man/Makefile.am: New configuration
1145         parameters: TCB_AUTH_GROUP, TCB_SYMLINKS, USE_TCB.
1146         * lib/shadowio.c, lib/commonio.c: Add support for TCB.
1147
1148 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
1149
1150         * libmisc/env.c: Fix sanitize_env() noslash support. This fixes
1151         Alioth#311740.
1152
1153 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
1154
1155         * src/su.c: Do not sanitize the environment. This breaks
1156         --preserve-environment. This sanitation was disabled on Debian
1157         since quite some time with no reported issues, and sanitize_env()
1158         documentation agrees that it should be useless as all modern
1159         Unixes will handle setuid executables properly. This fixes
1160         Alioth#312287.
1161
1162 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
1163
1164         * libmisc/setupenv.c: Fix typo from 2009-11-01.
1165
1166 2010-01-24  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
1167
1168         * configure.in: Add support for TCB in configure.in. Actual TCB
1169         support will follow.
1170
1171 2009-11-05  Nicolas François  <nicolas.francois@centraliens.net>
1172
1173         * NEWS, src/groupmod.c: Fixed groupmod when configured with
1174         --enable-account-tools-setuid.
1175
1176 2009-11-01  Nicolas François  <nicolas.francois@centraliens.net>
1177
1178         * NEWS, man/login.defs.d/ENV_SUPATH.xml, libmisc/setupenv.c:
1179         Harmonize other paths and documentation with previous
1180         change.
1181
1182 2009-11-01  Michel Hermier  <michel.hermier@gmail.com>
1183
1184         * src/su.c: Set the default ENV_SUPATH to
1185         /sbin:/bin:/usr/sbin:/usr/bin (i.e. PATH when no ENV_SUPATH is
1186         specified).
1187
1188 2009-10-15  Thorsten Kukuk  <kukuk@suse.de>
1189
1190         * src/faillog.c, man/faillog.8.xml: Harmonize long option in code
1191         and documentation. Use --lock-secs instead of --lock-time.
1192
1193 2009-10-05  Miroslav Kure  <kurem@upcase.inf.upol.cz>
1194
1195         * po/cs.po: updated to 412t
1196
1197 2009-09-29  Clytie Siddall  <clytie@riverland.net.au>
1198
1199         * po/vi.po: updated to 412t
1200
1201 2009-09-27  Miroslav Kure  <kurem@upcase.inf.upol.cz>
1202
1203         * po/cs.po: updated to 411t1f
1204
1205 2009-09-24  Christian Perrier  <bubulle@debian.org>
1206
1207         * man/po/fr.po: Updated French translation to 835t99f165
1208
1209 2009-09-24  Clytie Siddall  <clytie@riverland.net.au>
1210
1211         * po/vi.po: updated to 348t30f34u
1212
1213 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1214
1215         * lib/commonio.c: Avoid pre-decrement operator (--n). Add some
1216         comments.
1217         * libmisc/cleanup.c: Fix off by one in an assertion.
1218
1219 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1220
1221         * src/su.c: Fix indentation.
1222         * src/su.c: Add more messages for translation.
1223         * src/su.c: Ignore kill() return value when sending the TERM
1224         signal. If it fails, a KILL should be sent anyway.
1225
1226 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1227
1228         * NEWS, src/su.c: When su receives a signal, wait for the child to
1229         terminate (after sending a SIGTERM), and kill it only if it did
1230         not terminate by itself. No delay will be enforced if the child
1231         cooperates. See http://bugs.gentoo.org/282094
1232         * NEWS, man/su.1.xml: Document su's exit values.
1233
1234 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1235
1236         * src/useradd.c: The default value for the CREATE_MAIL_SPOOL
1237         variable (i.e. if CREATE_MAIL_SPOOL= is specified without any
1238         values) is "no", not DCREATE_MAIL_SPOOL ("CREATE_MAIL_SPOOL=").
1239
1240 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1241
1242         * src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead.
1243         For consistency, change HOME, INACT, EXPIRE, SKEL, and
1244         CREATE_MAIL_SPOOL to DHOME, DINACT, DEXPIRE, DSKEL, and
1245         DCREATE_MAIL_SPOOL.
1246
1247 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1248
1249         * src/newusers.c: Prefer #ifdef over #if.
1250
1251 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
1252
1253         * configure.in: We do not use SETPGRP_VOID, and already assume
1254         that setpgrp has a void argument. Remove AC_FUNC_SETPGRP to ease
1255         cross compiling.
1256
1257 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
1258
1259         * man/generate_translations.mak, man/generate_mans.mak,
1260         po/Makefile.in.in: Removing and restoring the config.xml file
1261         broke parallel builds. Build the manpages based on *.xml-config
1262         files instead of *.xml files.  The *.xml do not include config.xml
1263         anymore, which permits to run xml2po without needing to remove
1264         config.xml. The config.xml is restored in the *.xml-config files.
1265         * man/groupadd.8.xml: Implementation of the above.
1266         * man/generate_mans.deps: Updated dependencies
1267
1268 2009-09-07  Steve Grubb  <sgrubb@redhat.com>
1269
1270         * libmisc/limits.c: Fix the format to match the unsigned long
1271         variable in argument.
1272         * libmisc/utmp.c: Fix tests. tmptty is a variable stack. ut_host
1273         is an array of the ut structure. None of them can be NULL.
1274
1275 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
1276
1277         * lib/shadowmem.c: Only copy the required fields of the struct
1278         spwd. (start with the primitive types)
1279         * lib/shadowmem.c: Avoid memzero() on a possibly NULL pointer.
1280         * lib/groupmem.c: Only copy the required fields of the struct
1281         group. (start with the primitive types)
1282         * lib/groupmem.c: Avoid memzero() on a possibly NULL pointer.
1283         * lib/groupmem.c: Free gr_mem in addition to its elements.
1284         * lib/sgroupio.c: The struct sgrp has no primitive types to be
1285         copied initially.
1286         * lib/sgroupio.c: Avoid memzero() on a possibly NULL pointer.
1287         * lib/sgroupio.c: Free sg_mem and sg_add in addition to their
1288         elements.
1289         * lib/pwmem.c: Only copy the required fields of the struct
1290         passwd. (start with the primitive types)
1291
1292 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
1293
1294         * lib/sgroupio.h: Harmonize splint annotations of sgr_locate()
1295         prototype with the one used in its definition.
1296
1297 2009-09-07  Steve Grubb  <sgrubb@redhat.com>
1298
1299         * libmisc/copydir.c, lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
1300         Fix some memory leaks.
1301
1302 2009-09-06  Nicolas François  <nicolas.francois@centraliens.net>
1303
1304         * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c,
1305         src/chpasswd.c, src/groupmems.c, src/usermod.c, src/chgpasswd.c,
1306         src/vipw.c, src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c,
1307         src/groupadd.c, src/chage.c, src/faillog.c, src/chsh.c: Use
1308         booleans for tests.
1309         * src/userdel.c, src/gpasswd.c, src/groupmems.c, src/usermod.c,
1310         src/groupmod.c, src/passwd.c: Use a break even after usage().
1311
1312 2009-09-05  Nicolas François  <nicolas.francois@centraliens.net>
1313
1314         * src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd
1315         Usage string. It was changed anyway to add the --help option.
1316
1317 2009-09-05  Mike Frysinger  <vapier@gentoo.org>
1318
1319         * NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c,
1320         src/newusers.c, src/chpasswd.c, src/groupmems.c, src/usermod.c,
1321         src/chgpasswd.c, src/vipw.c, src/su.c, src/useradd.c,
1322         src/groupmod.c, src/passwd.c, src/groupadd.c, src/chage.c,
1323         src/faillog.c, src/chsh.c: If someone uses the -h/--help options,
1324         the usage should not go to stderr nor should the utility exit with
1325         non-zero status. All of the shadow utils do just this
1326         unfortunately, so convert them over to sanity.
1327         * man/groupmems.8.xml, man/gpasswd.1.xml: Added option -h/--help.
1328
1329 2009-09-05  Nicolas François  <nicolas.francois@centraliens.net>
1330
1331         * src/useradd.c: Fixed wrong format string.
1332         * lib/gshadow.c: Removed declaration of unused variable.
1333
1334 2009-08-30  Mike Frysinger  <vapier@gentoo.org>
1335
1336         * man/generate_mans.mak, man/generate_translations.mak: Provide an
1337         useful error message when --enable-man is not enabled and the
1338         translated manpages are not generated.
1339
1340 2009-08-21  Nicolas François  <nicolas.francois@centraliens.net>
1341
1342         * man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They
1343         break the groff formatting.
1344
1345 2009-07-24  Nicolas François  <nicolas.francois@centraliens.net>
1346
1347         * po/fr.po: Fix typos, based on reviews by the Debian French
1348         translation team.
1349
1350 2009-07-24  Nicolas François  <nicolas.francois@centraliens.net>
1351
1352         * NEWS, configure.in: Prepare for the next release 4.1.4.2.
1353         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1354         * po/*.po, man/po/*.po: Updated PO files.
1355
1356 2009-07-23  Nicolas François  <nicolas.francois@centraliens.net>
1357
1358         * configure.in: Fixed definition of the SHELL configuration.
1359
1360 2009-07-23  Nicolas François  <nicolas.francois@centraliens.net>
1361
1362         * etc/login.defs: SYS_GID_MIN /SYS_UID_MIN changed from 100 to
1363         101. GID 100 seems to be used statically.
1364
1365 2009-07-22  Nicolas François  <nicolas.francois@centraliens.net>
1366
1367         * libmisc/shell.c, src/su.c: Execute the scripts with "sh -"
1368         rather than "sh".
1369
1370 2009-07-22  Nicolas François  <nicolas.francois@centraliens.net>
1371
1372         * configure.in, libmisc/shell.c, libmisc/setupenv.c, src/newgrp.c,
1373         src/su.c: Let the system shell be configurable.
1374
1375 2009-07-20  Nicolas François  <nicolas.francois@centraliens.net>
1376
1377         * NEWS, src/su.c, libmisc/shell.c: Added support for shells being a
1378         shell script without a shebang.
1379
1380 2009-07-19  Jean-Louis Dupond  <info@dupondje.be>
1381
1382         * po/nl.po: Fix obvious mistake in Dutch translation.
1383
1384 2009-07-18  Peter Vrabec  <pvrabec@redhat.com>
1385
1386         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not use
1387         getpwent / getgrent for system accounts. Trying the low-IDs with
1388         getpwuid / getgrgid should be more efficient on LDAP configured
1389         systems with many accounts.
1390         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Since
1391         system accounts are allocated from SYS_?ID_MIN to SYS_?ID_MAX in
1392         reverse order, accounts are packed close to SYS_?ID_MAX if
1393         SYS_?ID_MIN is already used but there are still dome gaps.
1394
1395 2009-07-05  Piarres Beobide  <pi+debian@beobide.net>
1396
1397         * po/eu.po: Updated Basque translation.
1398
1399 2009-06-20  Nicolas François  <nicolas.francois@centraliens.net>
1400
1401         * man/fi/Makefile.am: Stop distributing the Finnish translation of
1402         passwd.1 (outdated).
1403
1404 2009-06-20  Nicolas François  <nicolas.francois@centraliens.net>
1405
1406         * man/pwck.8.xml: The shadow file is optional.
1407         * man/pwck.8.xml: Updated description of the checks. Added
1408         description of the shadow checks.
1409         * man/pwck.8.xml: Updated description of the checks.
1410
1411 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1412
1413         * man/po/fr.po: Fixed typo (forunis)
1414
1415 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1416
1417         * lib/fputsx.c: Compare the result of fgets() with the provided
1418         buffer instead of NULL.
1419
1420 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1421
1422         * lib/gshadow.c: Removed limitation on the length of the gshadow
1423         lines.
1424         * lib/gshadow.c: Compare the result of fgetsx() with the provided
1425         buffer instead of NULL.
1426
1427 2009-06-11  Nicolas François  <nicolas.francois@centraliens.net>
1428
1429         * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetgrnam.c,
1430         libmisc/xgetpwuid.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c: Do
1431         not limit the size of the buffer to hold the group or user
1432         structure. It used to be limited to 16k, which caused issues with
1433         groups having many users.
1434
1435 2009-06-11  Nicolas François  <nicolas.francois@centraliens.net>
1436
1437         * src/su.c, man/su.1.xml: The default behavior (without -p or
1438         --login) is to copy most of the environment variables. Revert a
1439         previous change and update the documentation.
1440
1441 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1442
1443         * man/passwd.5.xml, man/shadow.5.xml: Document the passwd- and
1444         shadow- files.
1445
1446 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1447
1448         * NEWS, src/su.c: Preserve the DISPLAY and XAUTHORITY environment
1449         variables, even with --login. This was not the case before in the
1450         PAM version.
1451
1452 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1453
1454         * src/useradd.c, src/groupmod.c, src/groupadd.c, src/faillog.c:
1455         Fix typos. Take this opportunity to split the usage messages into
1456         smaller messages (one per option).
1457         * src/pwck.c: Fix typo.
1458
1459 2009-06-05  Petri Koistinen  <petri.koistinen@iki.fi>
1460
1461         * man/passwd.1.xml: The short option for --mindays is -n, not -m.
1462
1463 2009-06-04  Mike Frysinger  <vapier@gentoo.org>
1464
1465         * .gitignore, man/.gitignore, src/.gitignore: Added .gitignore
1466         files.
1467
1468 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1469
1470         * man/su.1.xml: Use <option> for the login.defs options.
1471         * man/su.1.xml: Improve the documentation of the su behavior
1472         regarding environment variables.
1473         * man/su.1.xml: Document that the login.defs file is used.
1474
1475 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1476
1477         * man/login.1.xml: Document that the login.defs file is used.
1478
1479 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1480
1481         * man/login.defs.d/ENVIRON_FILE.xml: Document the format for
1482         comments.
1483
1484 2009-05-26  Nicolas François  <nicolas.francois@centraliens.net>
1485
1486         * man/gpasswd.1.xml: Ease the translation of the refpurpose.
1487         * man/gpasswd.1.xml: Fix typo, shorten sentences.
1488
1489 2009-05-26  Nicolas François  <nicolas.francois@centraliens.net>
1490
1491         * man/pwck.8.xml, man/grpck.8.xml: Move the SEE ALSO section at
1492         the end.
1493
1494 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1495
1496         * src/vipw.c: Make sure opened files are closed.
1497
1498 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1499
1500         * man/chpasswd.8.xml, man/grpck.8.xml, man/newgrp.1.xml,
1501         man/passwd.1.xml, man/sg.1.xml: Avoid a spurious comma.
1502
1503 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1504
1505         * NEWS: New placeholder for the next release.
1506
1507 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1508
1509         * po/fr.po: Updated French translation.
1510
1511 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1512
1513         * NEWS: Prepare the next release.
1514         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1515         * po/*.po, man/po/*.po: Updated PO files.
1516
1517 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1518
1519         * man/passwd.1.xml: passwd -u does not reset the expiry field.
1520
1521 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1522
1523         * man/po/fr.po: Updated some strings.
1524
1525 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1526
1527         * NEWS, src/newgrp.c: Return the exit status of the child. Thanks
1528         to Lionel Elie Mamane.
1529
1530 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1531
1532         * src/usermod.c: Added warnings for absolute symlinks which could
1533         be broken by rename().
1534
1535 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1536
1537         * NEWS, src/userdel.c: Report errors to remove the user's mailbox.
1538         * NEWS, src/userdel.c: When USERGROUPS_ENAB is enabled, remove the
1539         user's group when the user was the only member. This is still not
1540         complete, as the user could have been specified twice in the
1541         members.
1542         * NEWS, src/userdel.c: Do not fail when -r is used and the home
1543         directory does not exist.
1544
1545 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1546
1547         * libmisc/copydir.c: Added warning for relative symlinks.
1548         * libmisc/copydir.c (remove_tree): There is no need to check if
1549         the root argument exist. opendir() will report this.
1550
1551 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1552
1553         * man/faillog.8.xml: Minor updates.
1554
1555 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1556
1557         * man/faillog.5.xml: Split a long paragraph. Typo fixes.
1558
1559 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1560
1561         * man/gpasswd.1.xml: Minor updates.
1562
1563 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1564
1565         * man/gshadow.5.xml: Updated documentation.
1566
1567 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1568
1569         * man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
1570         Harmonize formatting of login.defs and default/useradd variables.
1571         Use an <option> tag.
1572         * man/usermod.8.xml: Added reference to gshadow(5).
1573         * man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the
1574         USERDEL_CMD example.
1575
1576 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1577
1578         * src/su.c: Use a boolean instead of 0.
1579
1580 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
1581
1582         * man/usermod.8.xml: Fixed typos.
1583
1584 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
1585
1586         * configure.in: Next version will be 4.1.4.1.
1587
1588 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
1589
1590         * man/newusers.8.xml: Added notes regarding the ownership of
1591         files.
1592
1593 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1594
1595         * man/groupmod.8.xml: Split the -g option description into smaller
1596         paragraphs.
1597
1598 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1599
1600         * man/usermod.8.xml: Ownership of the mailbox is also changed with
1601         the -u option.
1602
1603 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1604
1605         * man/useradd.8.xml: When no passwords are provided, the password
1606         is disabled, not the account.
1607
1608 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1609
1610         * man/newusers.8.xml, man/chpasswd.8.xml, man/useradd.8.xml,
1611         man/groupadd.8.xml, man/usermod.8.xml, man/chgpasswd.8.xml,
1612         man/groupmod.8.xml: Added warning: passwords set with these tools
1613         may not respect the password policy.
1614
1615 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1616
1617         * man/groupadd.8.xml: Fixed formatting issue.
1618
1619 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1620
1621         * man/userdel.8.xml: Added warning for files that could remain
1622         owner by the removed user.
1623
1624 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1625
1626         * man/useradd.8.xml: Fix formatting typo.
1627
1628 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1629
1630         * man/groupdel.8.xml: Move the warning on filesystems checks to
1631         the CAVEAT section.
1632
1633 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1634
1635         * man/login.defs.d/GID_MAX.xml: Fixed typo. useradd was specified
1636         twice.
1637
1638 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1639
1640         * man/groupadd.8.xml, man/useradd.8.xml: names may also contain
1641         digits.
1642
1643 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1644
1645         * man/shadow.5.xml: What is important in shadow is not the
1646         encryption, but that the file is not world readable.
1647
1648 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1649
1650         * man/po/fr.po: Updated French translation. Thanks to ABBAS
1651         Belkacem for the login.defs update.
1652
1653 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1654
1655         * man/usermod.8.xml: Split the CAVEAT section in paragraphs.
1656         Updated information on the user_busy check.
1657
1658 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1659
1660         * man/userdel.8.xml: Document tat -f may force teh deletion of a
1661         busy user.
1662
1663 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1664
1665         * NEWS, src/usermod.c: Check if the user is busy when the user's
1666         UID, name or home directory is changed.
1667
1668 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1669
1670         * src/userdel.c, libmisc/user_busy.c, libmisc/Makefile.am,
1671         lib/prototypes.h: Move user_busy() to libmisc/user_busy.c.
1672         * NEWS, libmisc/user_busy.c: On Linux, do not check if an user is
1673         logged in with utmp, but check if the user is running some
1674         processes. If not on Linux, continue to search for an utmp record,
1675         but make sure the process recorded in the utmp entry is still
1676         running.
1677
1678 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1679
1680         * man/usermod.8.xml: Document the -m/--move-home option.
1681
1682 2009-05-17  Nicolas François  <nicolas.francois@centraliens.net>
1683
1684         * src/userdel.c (user_busy): Check if the process registered in
1685         utmp is still running. This avoids rejecting the removal of an
1686         user when UTMP was not updated and indicate that the user is still
1687         logged in.
1688
1689 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1690
1691         * NEWS, libmisc/console.c (console): Remove the leading /dev/ from
1692         the tty before comparing with the lines specified by CONSOLE.
1693         * src/su.c: Do not remove the /dev/ prefix since it is done by
1694         console().
1695
1696 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1697
1698         * man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE
1699         file.
1700
1701 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1702
1703         * NEWS, src/login.c: Fix failure of non PAM enabled versions when
1704         an empty username is entered after a first prompt.
1705
1706 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1707
1708         * src/passwd.c: Added missing end of line at the end of success
1709         messages.
1710
1711 2009-05-16  sacha  <sachall@infonie.fr>
1712
1713         * po/fr.po: Fixed typo in the vipw usage string.
1714
1715 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
1716
1717         * libmisc/shell.c: Removed invalid code that executed the user's
1718         shell as a shell script when the direct execution of the user's
1719         shell failed with ENOEXEC and the user's shell has a shebang. The
1720         interpreter might not be the right one.  Executing the user's
1721         shell with sh -c might be better, but I'm not sure we should try
1722         harder when there is a failure. Note: the removed code was only
1723         included #ifndef __linux__.
1724
1725 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
1726
1727         * man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed
1728         when the group is used by other users, not the user.
1729
1730 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
1731
1732         * src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the
1733         USERDEL_CMD script example from the source code to the
1734         documentation.
1735
1736 2009-05-11  Nicolas François  <nicolas.francois@centraliens.net>
1737
1738         * man/newusers.8.xml: PAM enabled version: describe how passwords
1739         are updated and how newusers behave in case of error.
1740
1741 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1742
1743         * NEWS, configure.in: New release will be 4.1.4.
1744         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1745         * po/*.po, man/po/*.po: Updated PO files.
1746
1747 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1748
1749         * libmisc/copydir.c: Added prototype of readlink_malloc(), and
1750         readlink_malloc() changed to static.
1751
1752 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1753
1754         * src/su.c: Avoid redeclaration of root_pw.
1755
1756 2009-05-10  NAKANO Takeo  <nakano@webmasters.gr.jp>
1757
1758         * po/ja.po: Updated Japanese translation.
1759
1760 2009-05-10  Jean-Luc Coulon (f5ibh)  <jean-luc.coulon@wanadoo.fr>
1761
1762         * po/fr.po: Updated French translation.
1763
1764 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1765
1766         * lib/commonio.c: Avoid PATH_MAX. On glibc, we can use realpath
1767         with a NULL argument.
1768         * src/useradd.c: Replace PATH_MAX by a fixed constant. The buffer
1769         was not meant as a storage for a path.
1770         * src/useradd.c, src/newusers.c, src/chpasswd.c: Better detection
1771         of fgets errors. Lines shall end with a \n, unless we reached the
1772         end of file.
1773         * libmisc/copydir.c: Avoid PATH_MAX. Support file paths with any
1774         length. Added readlink_malloc().
1775
1776 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1777
1778         * src/pwck.c: Warn if an user has an entry in passwd and shadow,
1779         and the password field in passwd is not 'x'.
1780         * src/grpck.c: Warn if a group has an entry in group and gshadow,
1781         and the password field in group is not 'x'.
1782
1783 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1784
1785         * man/login.defs.d/ENCRYPT_METHOD.xml,
1786         man/login.defs.d/MD5_CRYPT_ENAB.xml,
1787         man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Updated note for PAM
1788         enabled versions. These variables are only used for group
1789         passwords in this case.
1790
1791 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1792
1793         * man/chpasswd.8.xml: Sorted options alphabetically.
1794
1795 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1796
1797         * NEWS, src/newusers.c, src/Makefile.am: Added support for
1798         changing the passwords with PAM.
1799         * src/newusers.c: Split the usage string in smaller parts to
1800         allow enabling single parts.
1801         * man/newusers.8.xml: Indicate the options and configuration
1802         variables valid for PAM and non-PAM versions.
1803         * man/newusers.8.xml: Added pointer to /etc/pam.d/chpasswd.
1804
1805 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1806
1807         * src/userdel.c: Remove duplicate definitions of exit codes.
1808
1809 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1810
1811         * libmisc/non_interactive_pam_conv.c,
1812         libmisc/pam_pass_non_interractive.c, libmisc/Makefile.am: Renamed.
1813         * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
1814         non_interactive_password and non_interactive_pam_conv do not need
1815         to be externally visible.
1816         * libmisc/pam_pass_non_interractive.c: Added declaration of
1817         ni_conv.
1818         * libmisc/pam_pass_non_interractive.c: Only compile ifdef USE_PAM.
1819         * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
1820         Added do_pam_passwd_non_interractive().
1821         * src/chpasswd.c: Use do_pam_passwd_non_interractive().
1822
1823 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1824
1825         * libmisc/pam_pass.c: Removed comment regarding pam_misc. This is
1826         checked by configure.in.
1827
1828 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1829
1830         * man/login.defs.5.xml: PAM enabled chpasswd do not use any
1831         configuration variable from login.defs.
1832
1833 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1834
1835         * man/passwd.1.xml: Differentiate the files used for PAM and
1836         non-PAM versions.
1837
1838 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1839
1840         * man/chpasswd.8.xml: Describe how chpasswd behaves in case of error.
1841         * man/chpasswd.8.xml: Describe the PAM enabled chpasswd behavior.
1842         * man/chpasswd.8.xml: Differentiate the files and configurations
1843         used for PAM and non-PAM versions.
1844
1845 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1846
1847         * src/login.c: failcount does not need to be signed.
1848
1849 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1850
1851         * src/Makefile.am: PAM enabled chpasswd now needs to be linked to
1852         the PAM library, even if --enable-account-tools-setuid is not
1853         used.
1854
1855 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1856
1857         * src/chpasswd.c: Added the line number when an error is reported
1858         instead of only the username.
1859         * src/chpasswd.c: PAM enabled chpasswd may change the password
1860         database (for the user where the password update succeeded) even
1861         if there were a failure for one user. Do not indicate that changes
1862         were ignored.
1863
1864 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1865
1866         * src/passwd.c: Exit immediately when unlocking a password would
1867         result in a passwordless account. This avoid printing a success
1868         message after the warning.
1869
1870 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1871
1872         * src/nologin.c: Include <stdlib.h> to get EXIT_FAILURE.
1873
1874 2009-05-04  Nicolas François  <nicolas.francois@centraliens.net>
1875
1876         * NEWS, configure.in: Fix build failure on non-PAM enabled system
1877         when --without-pam is not specified.
1878
1879 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1880
1881         * lib/commonio.c: Ignore the return values of fclose() and
1882         unlink() in case of failure of fopen_set_perms() or
1883         create_backup().
1884         * lib/commonio.c: Should the backup file be unlink'ed in case of
1885         failure of create_backup()?
1886
1887 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1888
1889         * lib/getulong.c: Added splint annotations.
1890
1891 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1892
1893         * src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c,
1894         src/userdel.c, src/chpasswd.c, src/grpck.c, src/gpasswd.c,
1895         src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
1896         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
1897         src/groupadd.c, src/chage.c, src/login.c, src/faillog.c,
1898         src/sulogin.c, src/chsh.c, src/pwconv.c: Added splint annotations.
1899         * src/userdel.c, src/pwconv.c, src/lastlog.c, src/grpck.c,
1900         src/vipw.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/login.c,
1901         src/sulogin.c, src/usermod.c: Use return instead of exit at the
1902         end of main().
1903         * src/gpasswd.c, src/passwd.c, src/faillog.c: Use the exitcodes.h
1904         exit codes.
1905         * src/chpasswd.c: Added missing ||.
1906         * src/nologin.c: Do not include exitcodes.h.
1907         * src/nologin.c: Added brackets.
1908         * src/nologin.c: Avoid assignments in comparisons.
1909
1910 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1911
1912         * libmisc/getgr_nam_gid.c, lib/get_gid.c, lib/get_pid.c,
1913         lib/get_uid.c: Added splint annotations.
1914
1915 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1916
1917         * lib/exitcodes.h: Define E_SUCCESS as EXIT_SUCCESS. Added FIXMEs.
1918         * libmisc/chowntty.c, libmisc/rlogin.c, libmisc/sub.c,
1919         src/newusers.c, libmisc/sulog.c, libmisc/system.c, src/logoutd.c,
1920         src/groups.c, src/id.c, lib/encrypt.c, libmisc/audit_help.c,
1921         libmisc/limits.c: Return EXIT_FAILURE instead of 1, and
1922         EXIT_SUCCESS instead of 0.
1923         * libmisc/audit_help.c: Replace an fprintf() by fputs().
1924         * libmisc/audit_help.c: Remove documentation of the audit_logger
1925         returned values. The function returns void.
1926         * libmisc/system.c: Only return status if waitpid succeeded.
1927         Return -1 otherwise.
1928
1929 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1930
1931         * NEWS, src/chpasswd.c: Added support for changing the passwords
1932         with PAM.
1933         * src/chpasswd.c: Split the usage string in smaller parts to
1934         allow enabling single parts.
1935         * src/chpasswd.c: Do not set a global lock on the password files.
1936         This is done by PAM each time a password is updated.
1937
1938 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1939
1940         * lib/defines.h: Include <utmpx.h> and <utmp.h> to define
1941         USER_NAME_MAX_LENGTH.
1942
1943 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1944
1945         * src/login.c: Change a snprintf() to strncpy(). There are no
1946         format.
1947
1948 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1949
1950         * src/passwd.c: Harmonize status report at the end of passwd.
1951         Prefix the messages with "passwd: ", only indicate a password
1952         change if the password was actually changed, and password
1953         properties changed otherwise.
1954
1955 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1956
1957         * src/chgpasswd.c, src/newusers.c: There is no need to test for 0
1958         after getopt_long. No options have flag != NULL.
1959
1960 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1961
1962         * lib/prototypes.h: Replace #if by #ifdef
1963         * libmisc/Makefile.am, lib/prototypes.h,
1964         libmisc/non_interactive_pam_conv.c: Added
1965         non_interactive_pam_conv() and non_interactive_password.
1966
1967 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1968
1969         * libmisc/utmp.c, src/userdel.c, src/logoutd.c: Replace #if by #ifdef
1970
1971 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1972
1973         * src/vipw.c: Harmonize messages.
1974
1975 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1976
1977         * src/lastlog.c: Replace atoi() by getulong().
1978
1979 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1980
1981         * libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
1982
1983 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1984
1985         * libmisc/rlogin.c: Replace atoi() by getulong().
1986
1987 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1988
1989         * libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
1990
1991 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1992
1993         * libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
1994         are no more needed.
1995
1996 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1997
1998         * libmisc/limits.c: Replace strtol() by getlong().
1999         * libmisc/limits.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2000
2001 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2002
2003         * man/groupmod.8.xml, man/usermod.8.xml, man/groupadd.8.xml,
2004         man/useradd.8.xml: Added note to warn about insecurity in using
2005         --password.
2006         * man/groupmod.8.xml: Removed not regarding default if --password
2007         is not used. This was a cut&paste from groupadd.8.xml.
2008         * man/passwd.1.xml: Split some paragraphs.
2009         * man/passwd.1.xml: Recommend other encryption methods than DES.
2010
2011 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2012
2013         * src/login.c: Move update_utmp() after the PID or session ID
2014         changed in order to get more accurate data in UTMP. This also
2015         fixes "exec login" when login in installed setuid.
2016
2017 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2018
2019         * src/login.c: Reuse a string and avoid an untranslated message
2020         "Login incorrect".
2021
2022 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2023
2024         * src/login.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2025         * src/login.c: Avoid name clash between global variables and the
2026         update_utmp() arguments.
2027
2028 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2029
2030         * src/groupadd.c, lib/commonio.c, lib/groupio.c: Added missing
2031         include of <assert.h>
2032
2033 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2034
2035         * lib/prototypes.h: Replace HAVE_UTMPX_H by USE_UTMPX.
2036         * lib/prototypes.h, libmisc/log.c: Added splint annotations.
2037         * libmisc/log.c: Added SYSLOG warning when lseek fails (should not
2038         happen).
2039
2040 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2041
2042         * libmisc/mail.c, libmisc/copydir.c: Added missing include of
2043         <assert.h>
2044
2045 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2046
2047         * libmisc/env.c: Added assertions on the snprintf results.
2048
2049 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2050
2051         * NEWS, configure.in: Added configure option --enable-utmpx,
2052         disabled by default. This defines USE_UTMPX, which should be used
2053         instead of HAVE_UTMPX_H.
2054         * libmisc/utmp.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2055         * libmisc/utmp.c: Removed old comment on HAVE_STRUCT_UTMP_UT_ID
2056         and UTMPX support.
2057
2058 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
2059
2060         * man/po/fr.po: Fix typo.
2061
2062 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2063
2064         * src/newgrp.c: Close the databases before changing the UDI and
2065         GID.
2066
2067 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2068
2069         * libmisc/myname.c: Updated splint annotations.
2070
2071 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2072
2073         * lib/commonio.c: Added splint annotations.
2074         * lib/commonio.c: old_context should be local to commonio_close(),
2075         not global.
2076
2077 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
2078
2079         * src/passwd.c: Do not freecon strings duplicated with strdup.
2080         Also avoid allocation of memory.
2081         * src/passwd.c: Use SYSLOG instead of syslog.
2082
2083 2009-04-25  Miroslav Kure  <kurem@upcase.inf.upol.cz>
2084
2085         * po/cs.po: Updated to 352T7f8u
2086
2087 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2088
2089         * lib/commonio.h, lib/commonio.c: Added splint annotations.
2090         * lib/commonio.c: Do not assumes eptr is always notnull.
2091
2092 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2093
2094         * NEWS, po/pt.po: Updated Portuguese translation.
2095
2096 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2097
2098         * libmisc/copydir.c: Added splint annotations.
2099         * libmisc/copydir.c: Added assert to help splint.
2100         * libmisc/copydir.c: Free allocated structures in cas of failure.
2101         * libmisc/copydir.c: Avoid implicit conversion of pointers to
2102         booleans.
2103         * libmisc/copydir.c: Use buffers of size PATH_MAX instead of 1024
2104         for filenames.
2105         * libmisc/copydir.c: Use fchmod and fchown to change the mode of
2106         the opened file.
2107         * libmisc/copydir.c: Indicate the mode to open(), even if we chmod
2108         later.
2109
2110 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2111
2112         * lib/prototypes.h: Added prototypes of getulong() and get_pid().
2113         * lib/prototypes.h: Added splint annotations.
2114
2115 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2116
2117         * lib/commonio.c: Use get_pid() instead of strtol.
2118         * lib/commonio.c: Replace an int by a size_t.
2119
2120 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2121
2122         * lib/commonio.h: Added splint annotations.
2123
2124 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2125
2126         * lib/sgroupio.c: Free allocated structures on failure.
2127         * lib/sgroupio.c: Added splint annotations.
2128
2129 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2130
2131         * lib/Makefile.am, lib/get_pid.c, lib/getulong.c: Added get_pid()
2132         and getulong().
2133
2134 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2135
2136         * lib/getlong.c: Do not check for NULL string but empty string.
2137
2138 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2139
2140         * lib/groupio.c: Updated splint annotations.
2141         * lib/groupio.c: Added assert to help splint.
2142
2143 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2144
2145         * src/useradd.c: Check assumptions on snprintf().
2146         * src/useradd.c: Replace peror by an strerror and avoid an
2147         intermediate buffer.
2148         * src/useradd.c: Save errno between the failure and the report by
2149         perror/strerror.
2150         * src/useradd.c: Prefer xmalloc to malloc.
2151
2152 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2153
2154         * src/lastlog.c: Remove function calls from within assert().
2155
2156 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2157
2158         * libmisc/obscure.c: Change some int to size_t.
2159
2160 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2161
2162         * libmisc/console.c: Use a less disturbing construct for splint.
2163
2164 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2165
2166         * libmisc/limits.c: Parse the limits, umask, nice, maxlogin, file
2167         limit with getlog() / getulong(). This also means, in case of
2168         non-PAM enabled systems, that the umask specified on the GECOS
2169         fields should start with a 0 if specified in octal. (it used to be
2170         force to octal). Do the appropriate cast and range checking.
2171
2172 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2173
2174         * libmisc/salt.c: In case gettimeofday() fails, get some entropy
2175         from the PID.
2176
2177 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2178
2179         * libmisc/setupenv.c: Prefer snprintf to sprintf, even if a small
2180         context indicates no issues.
2181         * libmisc/setupenv.c: Avoid implicit conversion of pointers to
2182         booleans.
2183
2184 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2185
2186         * libmisc/loginprompt.c: Prefer snprintf to sprintf, even if a
2187         small context indicates no issues.
2188
2189 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2190
2191         * src/faillog.c: Remove function calls from within assert().
2192
2193 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
2194
2195         * libmisc/mail.c: Ignore the return value of puts().
2196         * libmisc/mail.c: Prefer snprintf to sprintf, even if a small
2197         context indicates no issues.
2198
2199 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2200
2201         * lib/commonio.c, lib/commonio.h, lib/groupio.c, lib/groupio.h,
2202         lib/pwio.c, lib/pwio.h, lib/shadowio.c, lib/shadowio.h: Added
2203         splint annotations. The *_locate() and *_next() functions
2204         currently return an observer. As the structure are often modified
2205         by the caller, it could maybe be changed to exposed later. (and
2206         non-const)
2207
2208 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2209
2210         * lib/pwauth.c: Use a boolean for wipe_clear_pass and use_skey.
2211         * lib/pwauth.c: Added splint annotations.
2212         * lib/pwauth.c: Added brackets and parenthesis.
2213         * lib/pwauth.c: Avoid assignments in comparisons.
2214         * lib/pwauth.c: Avoid implicit conversion of pointers or
2215         characters to booleans.
2216
2217 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2218
2219         * src/groupmod.c: Cast ID to ulongs and use ulong formats for IDs.
2220
2221 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2222
2223         * src/newgrp.c: Added splint annotations.
2224         * src/newgrp.c: audit_buf is only used in newgrp. Make it static.
2225         * src/newgrp.c: Ignore the return value of fputs().
2226         * src/newgrp.c: Use exit(EXIT_FAILURE) instead of exit(1).
2227
2228 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2229
2230         * libmisc/pwdcheck.c (passwd_check): The progname is not used.
2231         * libmisc/pwdcheck.c: Ignore the return value of sleep().
2232         * libmisc/pwdcheck.c: Use exit(EXIT_FAILURE) instead of exit(1).
2233
2234 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2235
2236         * libmisc/setupenv.c: Avoid assignments in comparisons.
2237         * libmisc/setupenv.c: Added brackets and parenthesis.
2238         * libmisc/setupenv.c: Ignore the return value of fclose (file
2239         opened read-only)
2240         * libmisc/setupenv.c: Ignore the return value of puts().
2241         * libmisc/setupenv.c: Avoid implicit conversion of pointers to
2242         booleans.
2243
2244 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2245
2246         * libmisc/find_new_gid.c, libmisc/find_new_uid.c,
2247         libmisc/isexpired.c, src/groupadd.c, lib/pwauth.h, lib/groupmem.c,
2248         lib/shadowmem.c, lib/pwmem.c, lib/prototypes.h: Added splint
2249         annotations.
2250
2251 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2252
2253         * libmisc/loginprompt.c: Use exit(EXIT_FAILURE) instead of
2254         exit(1).
2255         * libmisc/loginprompt.c: Avoid implicit conversion of pointers to
2256         booleans.
2257         * libmisc/loginprompt.c: Ignore return value of putc().
2258
2259 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2260
2261         * libmisc/env.c, libmisc/age.c: Added splint annotations.
2262         * libmisc/age.c: Added brackets and parenthesis.
2263         * libmisc/age.c: Ignore the return value of fclose (file opened
2264         read-only)
2265         * libmisc/age.c: Ignore puts() return value.
2266         * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
2267         * libmisc/age.c: Avoid assignments in comparisons.
2268
2269 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2270
2271         * lib/fputsx.c, lib/gshadow.c, lib/commonio.h: Added splint
2272         annotations.
2273
2274 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2275
2276         * lib/get_gid.c: gidstr should not be NULL, but the check was
2277         meant to make sure it is not empty.
2278         * lib/get_uid.c: Likewise.
2279
2280 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2281
2282         * lib/getdef.c: Added splint annotations.
2283         * lib/getdef.c: Ignore fputs() return value.
2284         * lib/getdef.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
2285
2286 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2287
2288         * src/faillog.c: Added splint annotations.
2289         * src/faillog.c: Cast ID to ulongs and use ulong formats for IDs.
2290         * src/faillog.c: Ignore fflush() return value.
2291         * src/faillog.c: Added parenthesis.
2292
2293 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2294
2295         * src/grpck.c: Ignore puts return value.
2296         * src/grpck.c: Avoid variable format string.
2297
2298 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2299
2300         * src/lastlog.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
2301         * src/lastlog.c: Added splint annotations.
2302         * src/lastlog.c: Avoid global pwent.
2303         * src/lastlog.c: Cast ID to ulongs and use ulong formats for IDs.
2304         * src/lastlog.c: Avoid assignment in comparisons.
2305         * src/lastlog.c: Ignore fclose() return value since the file is
2306         only opened for reading.
2307
2308 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2309
2310         * src/newgrp.c: Added assertion to guide splint (and me).
2311
2312 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2313
2314         * libmisc/find_new_gid.c: Use booleans instead of char fo
2315         used_gids.
2316         * libmisc/find_new_gid.c: Use getdef_ulong and cast to git_t to
2317         get GID values.
2318         * libmisc/find_new_gid.c: Use UL as a prefix for ulong values.
2319         * libmisc/find_new_uid.c: Likewise.
2320
2321 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2322
2323         * libmisc/yesno.c: Ignore the return value of puts.
2324
2325 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2326
2327         * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
2328         * libmisc/age.c: The return value of execl() is not used.
2329
2330 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2331
2332         * libmisc/xgetXXbyYY.c, libmisc/myname.c, libmisc/getgr_nam_gid.c,
2333         libmisc/salt.c, libmisc/list.c, libmisc/cleanup.c, src/login.c,
2334         lib/getdef.h, lib/groupio.c, lib/getlong.c, lib/gshadow_.h,
2335         lib/sgroupio.c, lib/shadowio.c, lib/pwio.c, lib/commonio.h,
2336         lib/fputsx.c, lib/prototypes.h: Added splint annotations.
2337         * lib/groupio.c: Avoid implicit conversion of pointers to
2338         booleans.
2339         * lib/groupio.c: Free allocated buffers in case of failure.
2340
2341 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2342
2343         * lib/defines.h: Added splint definitions to replace <locale.h>
2344
2345 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2346
2347         * libmisc/utmp.c, libmisc/age.c, libmisc/shell.c, lib/groupio.c,
2348         lib/groupio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c,
2349         lib/pwio.c, lib/commonio.c, lib/shadowio.h, lib/pwio.h,
2350         lib/commonio.h, lib/prototypes.h: Added splint annotations.
2351
2352 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2353
2354         * libmisc/utmp.c: Only set ut_time and ut_tv if gettimeofday()
2355         succeeds.
2356
2357 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2358
2359         * libmisc/utmp.c: Fix the check for empty host in prepare_utmp()
2360         and prepare_utmpx().
2361
2362 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2363
2364         * libmisc/utmp.c: The ut argument of prepare_utmp() and
2365         prepare_utmpx () might be NULL. ut_id needs to be forged in that
2366         case.
2367
2368 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2369
2370         * libmisc/utmp.c: Removed old documentation of setutmp().
2371
2372 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2373
2374         * libmisc/utmp.c: Use xmalloc() rather than malloc().
2375
2376 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2377
2378         * libmisc/utmp.c: The name returned by ttyame() needs to be copied
2379         locally.
2380
2381 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2382
2383         * src/login.c: Added assert()s for NULL (or ! NULL) username, and
2384         pwd. This helps splint.
2385         * src/login.c: Added splint annotations.
2386
2387 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2388
2389         * src/login.c: After login_prompt(), do not check for unset
2390         username, but for empty username.
2391
2392 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2393
2394         * lib/defines.h: Define USER_NAME_MAX_LENGTH, based on utmp and
2395         default to 32.
2396         * libmisc/chkname.c: Use USER_NAME_MAX_LENGTH.
2397         * src/login.c: Use USER_NAME_MAX_LENGTH instead of the default 32.
2398         username also needs to be bigger than USER_NAME_MAX_LENGTH because
2399         it has to be nul-terminated.
2400
2401 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2402
2403         * src/login.c: Use xmalloc() instead of malloc().
2404
2405 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2406
2407         * src/login.c: Ignore the return value of puts(), fputs(),
2408         strftime().
2409
2410 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2411
2412         * src/login.c: timeout, delay, and retries should be unsigned.
2413         * src/login.c: Ignore the return value of alarm() and sleep().
2414
2415 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2416
2417         * src/login.c: If we cannot get the terminal configuration, do not
2418         change the terminal configuration. setup_tty() is just a best
2419         effort configuration of the terminal.
2420         * src/login.c: Ignore failures when setting the terminal
2421         configuration.
2422         * src/login.c: Fail if the ERASECHAR or KILLCHAR configurations
2423         are not compatible with a cc_t type.
2424
2425 2009-04-22  Paul Szabo  <psz@maths.usyd.edu.au>
2426
2427         * src/login.c: utent might be NULL after get_current_utmp().
2428
2429 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2430
2431         * src/login.c: Removed temp_shell. No more used.
2432         * src/login.c: lastlog is only used #ifndef USE_PAM
2433         * src/login.c: Rename lastlog to ll to avoid name clash with the
2434         lastlog type.
2435
2436 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2437
2438         * src/login.c: Added update_utmp() to group the prepare_utmp and
2439         setutmp (and the utmpx versions).
2440
2441 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2442
2443         * src/login.c: Do not include netdb.h. gethostbyname() is no more
2444         called from within login.c. Also UT_ADDR does not exist anymore.
2445
2446 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2447
2448         * src/login.c: Check if login is run with effective root
2449         privileges. This should be more helpful to users than a failure to
2450         find an utmp entry or failure to access a file.
2451
2452 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2453
2454         * libmisc/utmp.c: Reworked. Get rid of Linux specific stuff. Get rid
2455         of global utent/utxent variables. Only reuse the ut_id and maybe
2456         the ut_host fields from utmp.
2457         * lib/prototypes.h, libmisc/utmp.c: Removed checkutmp(),
2458         setutmp(), setutmpx().
2459         * lib/prototypes.h, libmisc/utmp.c: Added get_current_utmp(),
2460         prepare_utmp(), prepare_utmpx(), setutmp(), setutmpx().
2461         * libmisc/utmp.c (is_my_tty): Only compare the name of the utmp
2462         line with ttyname(). (No stat of the two terminals to compare the
2463         devices).
2464         * libmisc/utmp.c: Use getaddrinfo() to get the address of the
2465         host.
2466         * configure.in: Check for getaddrinfo().
2467         * configure.in: Use AC_CHECK_MEMBERS to check for the existence of
2468         fields in the utmp/utmpx structures.
2469         * configure.in: Reject systems with utmpx support but no ut_id
2470         field in utmp. This could be fixed later if needed.
2471         * src/login.c: Use the new utmp functions. This also simplifies
2472         the failtmp() handling.
2473         * src/login.c: passwd_free() renamed to pw_free() and
2474         shadow_free() renamed to spw_free()
2475
2476 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2477
2478         * NEWS, configure.in: Enable --enable-account-tools-setuid by
2479         default for PAM builds, as it used to be before the introduction
2480         of this option.
2481
2482 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2483
2484         * etc/pam.d/Makefile.am: Distribute all pam.d files, even if
2485         ACCT_TOOLS_SETUID is not enabled.
2486
2487 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2488
2489         * lib/shadowmem.c: Added spw_free().
2490         * lib/shadowio.c: Use spw_free() for shadow_free().
2491         * lib/groupmem.c: Added gr_free().
2492         * lib/groupio.c: Use gr_free() for group_free().
2493         * lib/pwmem.c: Include define.h before prototypes.h
2494         * lib/pwmem.c: Added pw_free().
2495         * lib/pwio.c: Use pw_free() for passwd_free().
2496         * lib/sgroupio.c: Added sgr_free().
2497         * lib/sgroupio.c: Use sgr_free() for gshadow_free().
2498         * lib/prototypes.h: Added gr_free(), pw_free(), sgr_free(),
2499         spw_free().
2500
2501 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2502
2503         * libmisc/shell.c: Add brackets and parenthesis.
2504         * libmisc/shell.c: Avoid assignments in comparisons.
2505         * libmisc/shell.c: Re-indent.
2506
2507 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2508
2509         * lib/defines.h: Added MIN and MAX macros.
2510         * libmisc/salt.c: Removed MIN and MAX macros.
2511
2512 2009-04-20  Sven Joachim  <svenjoac@gmx.de>
2513
2514         * NEWS, src/lastlog.c: Fix regression causing empty reports.
2515         Get the size of the file before printing the entries.
2516
2517 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2518
2519         * src/login.c: Get rid of pwent. pwd is sufficient as long as it
2520         is always coming from xgetpwnam. There is no need to copy pwd to
2521         pwent, this was not a good idea anyway as the strings from pwd
2522         were not duplicated.
2523         * src/login.c: Always free the pwd and spwd structure when we
2524         retrieve a new one. This will clear the password of the previous
2525         user from the memory.
2526         * src/login.c: user_passwd is used to keep point to the password
2527         of the user being authenticated.
2528         * src/login.c: (non PAM) Fail if the user's entry cannot be found
2529         after the user updated her password (if expire() requested an
2530         update).
2531         * src/login.c: If the user does not exist on the system, there is
2532         no need to build a pwd structure (with shell).
2533
2534 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2535
2536         * src/login.c: ttytype already checks for TTYTYPE_FILE and TERM.
2537         Just call ttytype.
2538
2539 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2540
2541         * src/login.c: Open the PAM session before pam_setcred and before
2542         initgroups. This is more consistent with rfc86.0.
2543
2544 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2545
2546         * src/login.c: Added helper functions get_pam_user() and
2547         get_failent_user().
2548
2549 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2550
2551         * src/login.c: Added parameter to check_nologin. This will help
2552         getting rid of the global pwent variable.
2553
2554 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2555
2556         * src/login.c: Added comments.
2557         * src/login.c: Close the user and group files before dropping root
2558         privileges.
2559
2560 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2561
2562         * src/login.c: We do not need to keep the old umask. Discard the
2563         umask() return value.
2564
2565 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2566
2567         * libmisc/hushed.c, lib/prototypes.h, src/login.c: Change the
2568         hushed() prototype to take a username instead of a passwd
2569         structure in argument. The passwd entry is retrieved withing
2570         hushed().
2571
2572 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2573
2574         * libmisc/setugid.c: Updated comments.
2575
2576 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2577
2578         * libmisc/failure.h, libmisc/failure.c, src/login.c: Added
2579         username as first parameter of failtmp to avoid issues with
2580         non-null terminated ut_user, unavailability of ut_user, incomplete
2581         username (that should not happen currently).
2582
2583 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2584
2585         * libmisc/ttytype.c: Add brackets and parenthesis.
2586         * libmisc/ttytype.c: Avoid assignments in comparisons.
2587
2588 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2589
2590         * lib/pwio.c, lib/shadowio.c, lib/groupio.c, lib/sgroupio.c: Fill
2591         the password fields with zeros before they are freed.
2592
2593 2009-04-19  Changwoo Ryu  <cwryu@debian.org>
2594
2595         * po/ko.po: Updated Korean translation.
2596
2597 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
2598
2599         * NEWS, src/login.c: Also check if the authentication token of the
2600         user has to be updated in case the user was already authenticated.
2601
2602 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
2603
2604         * src/login.c: fflg is already restricted to root. Move
2605         pam_acct_mgmt(), in case of fflg, earlier. This is equivalent and
2606         simplifies the code.
2607
2608 2009-04-19  Paul Szabo  <psz@maths.usyd.edu.au>
2609
2610         * libmisc/utmp.c: Always call endutent or endutxent when setutent
2611         or setutxent were used.
2612
2613 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
2614
2615         * src/login.c: Added comment to make sure PAM_RHOST or PAM_TTY do
2616         not get set to unsanitized values.
2617
2618 2009-04-17  Paul Szabo  <psz@maths.usyd.edu.au>
2619
2620         * NEWS, src/login.c: Do not trust the current utmp entry's ut_line
2621         to set PAM_TTY.
2622         * libmisc/utmp.c: Do not trust the current utmp entry's ut_line.
2623         Always set ut_line based on ttyname(0).
2624
2625 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2626
2627         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
2628         * po/*.po, man/po/*.po: Updated PO files.
2629         * configure.in: Updated version number.
2630
2631 2009-04-15  Peter Vrabec  <pvrabec@redhat.com>
2632
2633         * NEWS, src/userdel.c: Fixed SE Linux support. semanage should be
2634         called at the end.
2635         * src/useradd.c: Always call selinux_update_mapping() (i.e.
2636         semanage), not only when -Z is used.
2637
2638 2009-04-15  Peter Vrabec  <pvrabec@redhat.com>
2639
2640         * NEWS, srclib/getlong.c: Fix parsing of octal numbers.
2641
2642 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2643
2644         * NEWS, src/login.c: Fix segfault when no user is provided on the
2645         command line.
2646
2647 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2648
2649         * README, libmisc/system.c: Was contributed by Dan Walsh.
2650
2651 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2652
2653         * NEW, src/vipw.c: SE Linux: Set the default context to the
2654         context of the file being edited. This ensures that the backup
2655         file inherit from the file's context.
2656
2657 2009-04-14  Nicolas François  <nicolas.francois@centraliens.net>
2658
2659         * man/usermod.8.xml: There are no default values for --inactive
2660         and --gid. If the options are no provided, the original values are
2661         not changed.
2662
2663 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2664
2665         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
2666         * po/*.po, man/po/*.po: Updated PO files.
2667
2668 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2669
2670         * src/su.c: If there are no root account, or if the root account
2671         has an UID != 0, default to the first UID 0 account.
2672
2673 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2674
2675         * src/login.c: Restore the echoctl, echoke, onclr flags to the
2676         terminal termio flags. Reset echoprt, noflsh, tostop. This
2677         behavior seems to have change by mistake in earlier releases
2678         (4.0.8, for no obvious reason).
2679
2680 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2681
2682         * src/login.c: Fix the count of failures before login exits in
2683         case of PAM enabled configurations.
2684
2685 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2686
2687         * man/passwd.1.xml: Document that passwd uses PAM to authenticate
2688         and change passwords on PAM-enabled builds.
2689
2690 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2691
2692         * src/newusers.c: Add more information to the mkdir and chown
2693         failure messages.
2694
2695 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2696
2697         * man/po/fr.po: Updated some login.defs entries. Thanks to
2698         Belkacem Abbas.
2699
2700 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2701
2702         * man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml,
2703         man/login.defs.d/CONSOLE_GROUPS.xml: Fix typos.
2704
2705 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2706
2707         * man/es/Makefile.am: Disable the distribution of Spanish
2708         manpages. They are outdated. Please contact
2709         pkg-shadow-devel@lists.alioth.debian.org if you wish to provide
2710         updates.
2711
2712 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2713
2714         * src/usermod.c, src/useraddd.c: Fix the usage string so that it
2715         does not change depending on the configure option. Use a format.
2716
2717 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2718
2719         * src/gpasswd.c: Fix the usage of the unused macro.
2720
2721 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2722
2723         * lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A
2724         shadow entry is now sufficient for agecheck. Remove the first
2725         passwd entry parameter.
2726
2727 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2728
2729         * src/useradd.c, src/usermod.c: Only call selinux_update_mapping()
2730         if Zflg is set.
2731         * src/userdel.c: Rename argv to args to avoid nameclash with the
2732         main() parameters.
2733
2734 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2735
2736         * libmisc/getgr_nam_gid.c: Added support for NULL argument.
2737         * libmisc/chowntty.c: Reuse getgr_nam_gid(), and get rid of atol().
2738
2739 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
2740
2741         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: For system
2742         accounts, return the first unused ID, starting from the max value.
2743         This could be useful later to increase the static IDs range.
2744
2745 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
2746
2747         * NEWS, src/useradd.c, man/useradd.8.xml: add -Z option to map
2748         SELinux user for user's login.
2749         * NEWS, src/usermod.c, man/usermod.8.xml: Likewise.
2750         * libmisc/system.c, libmisc/Makefile.am, lib/prototypes.h: Added
2751         safe_system(). Used to run semanage.
2752         * lib/prototypes.h, libmisc/copydir.c: Make a
2753         selinux_file_context() an extern function.
2754         * libmisc/copydir.c: Reset SELinux to create files with default
2755         contexts at the end of copy_tree().
2756         * NEWS, src/userdel.c: Delete the SELinux user mapping for user's
2757         login.
2758
2759 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
2760
2761         * src/useradd.c (get_defaults): Close the default file after the
2762         default values were read.
2763
2764 2009-04-11  Christian Perrier  <bubulle@debian.org>
2765
2766         * po/sk.po: Slovak translation updated. Thanks to Ivan Masár
2767
2768 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2769
2770         * lib/Makefile.am, lib/prototypes.h: Added sgetspent.c.
2771
2772 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2773
2774         * po/POTFILES.in: Added missing files. Sorted.
2775
2776 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2777
2778         * lib/getdef.c: Use getlong instead of strtol/strtoul.
2779         * libmisc/getlong, lib/getlong.c, libmisc/Makefile.am,
2780         lib/Makefile.am: getlong.c moved from libmisc/ to lib/.
2781
2782 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2783
2784         * lib/shadow.c: Replace strtol() by getlong(). Also detect more
2785         issues in a numerical shadow entry field.
2786
2787 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2788
2789         * lib/sgetspent.c: Only compile ifndef HAVE_SGETSPENT
2790
2791 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2792
2793         * lib/sgetspent.c: Replace strtol() by getlong(). Also detect more
2794         issues in a numerical shadow entry field.
2795
2796 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2797
2798         * src/chage.c: More strtol() replaced by getlong().
2799         * src/chage.c: expdays renamed to expdate. It is a date, even if
2800         expressed in a number of days since Jan 1, 1970.
2801         * src/chage.c: Likewise: lastday renamed to lstchgdate. Also fix
2802         the --lastday documentation.
2803
2804 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2805
2806         * lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
2807         NOT defined.
2808
2809 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2810
2811         * src/passwd.c: Replace getnumber() by getlong(). This permits to
2812         get rid of another strtol().
2813
2814 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2815
2816         * libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed
2817         for strtol and errno, and do not include "defines.h" (not needed).
2818
2819 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2820
2821         * src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c,
2822         libmisc/Makefile.am, lib/prototypes.h: Moved getgr_nam_gid() from
2823         src/useradd.c and src/usermod.c to libmisc/getgr_nam_gid.c.
2824
2825 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2826
2827         * src/useradd.c: Re-indent.
2828         * src/useradd.c: Use getlong instead of get_number.
2829         * src/useradd.c: Get rid of strtol.
2830         * src/useradd.c: Provide better warning in case a default GROUP or
2831         INACTIVE value is not valid in /etc/default/useradd.
2832
2833 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2834
2835         * src/usermod.c: Re-indent.
2836         * src/usermod.c: Specifying a inactivity value < -1 is not valid.
2837
2838 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2839
2840         * configure.in: Prepare the next 4.1.3 release.
2841         * po/*.po, man/po/*.po: Updated PO files.
2842
2843 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2844
2845         * lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to
2846         ifndef USE_PAM.
2847         * lib/prototypes.h: Remove the declaration of add_cons_grps(). The
2848         function does not exist.
2849         * libmisc/setugid.c libmisc/age.c (setup_uid_gid): is_console is
2850         never set ifndef USE_PAM. Change the prototype of setup_uid_gid()
2851         when USE_PAM is not defined. This permits to remove add_groups
2852         from PAM builds.  setup_uid_gid is already subject to
2853         HAVE_INITGROUPS.
2854         * libmisc/pwd2spwd.c (pwd_to_spwd): pwd_to_spwd() is not used in
2855         PAM builds.
2856
2857 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2858
2859         * src/passwd.c: do_update_age is only used ifndef USE_PAM. Make it
2860         more explicit.
2861
2862 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2863
2864         * src/useradd.c: Set errno to 0 before calling strtol.
2865
2866 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2867
2868         * libmisc/isexpired.c: If there are no shadow entry, there is no
2869         need to convert the password entry to a shadow entry. The password
2870         is valid.
2871
2872 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2873
2874         * man/usermod.8.xml: Split some paragraphs into smaller units.
2875
2876 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2877
2878         * man/shadow.5.xml: Rewrote to mention the meaning of special
2879         values.
2880
2881 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
2882
2883         * libmisc/pwd2spwd.c, src/chpasswd.c, src/newusers.c,
2884         src/passwd.c, src/pwck.c, src/pwconv.c, src/useradd.c,
2885         src/usermod.c: On Jan 01, 1970, do not set the sp_lstchg field to
2886         0 (which means that the password shall be changed during the next
2887         login), but use -1 (password aging disabled).
2888         * src/passwd.c: Do not check sp_min if sp_lstchg is null or -1.
2889
2890 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
2891
2892         * src/chage.c: When no shadow entry exist, the default sp_lstchg
2893         value should be -1 (no aging) rather than 0 (password must be
2894         changed).
2895         * src/chage.c: For password expiration and inactivity, indicate
2896         that the password must be changed when sp_lstchg is null rather
2897         than indicating that expiration and inactivity are not enabled.
2898
2899 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
2900
2901         * libmisc/isexpired.c: Document the isexpired return value.
2902
2903 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
2904
2905         * libmisc/age.c: Return a specific message when sp_lstchg is null.
2906
2907 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
2908
2909         * lib/sgetpwent.c, lib/sgetgrent.c: Use get_uid and get_gid to
2910         validate the UIDs or GIDs instead of atoi/strtol.
2911
2912 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
2913
2914         * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
2915         lib/get_gid.c, lib/get_uid.c, lib/Makefile.am: get_uid.c and
2916         get_gid.c moved from libmisc/ to lib/.
2917
2918 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
2919
2920         * src/grpck.c (check_members): When a member is removed, do not
2921         increase the index.
2922         * src/grpck.c: Fix typo in messages and comments.
2923
2924 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
2925
2926         * lib/commonio.c: Call fsync before closing the backup file. This
2927         ensures that the backup file is flushed to the storage medium.
2928         * src/useradd.c: Likewise for the default file, faillog, lastlog,
2929         and mail spool.
2930         * src/usermod.c: Likewise for the faillog and lastlog file.
2931         * src/vipw.c: Likewise for the backup file.
2932         * libmisc/sulog.c: Likewise for the su log.
2933
2934 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2935
2936         * src/groupmod.c: Embed gshadow related cleanup in #ifdef
2937         SHADOWGRP.
2938
2939 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2940
2941         * src/usermod.c: get_number() replaced by getlong().
2942         * src/usermod.c: When the user is renamed, make sure we do not
2943         override an user with the same name (in passwd or shadow).
2944
2945 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2946
2947         * src/gpasswd.c: log_gpasswd_success_gshadow is in the cleanup
2948         stack only when the shadow group file is present.
2949
2950 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2951
2952         * NEWS, src/userdel.c: Make sure the user exists in the shadow
2953         database before calling spw_remove().
2954         * NEWS, src/userdel.c: When the user's group is removed, make sure
2955         the group is in the gshadow database before calling sgr_remove().
2956         * src/userdel.c: Improve warning's wording.
2957
2958 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2959
2960         * libmisc/cleanup.c: Fix del_cleanup. The arguments were not
2961         desynchronized with the cleanup functions.
2962         * libmisc/cleanup.c: cleanup_function_args is an array of void
2963         pointer, not strings.
2964
2965 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2966
2967         * libmisc/find_new_gid.c: Fix find_new_gid() the current group
2968         database was not taken into account.
2969
2970 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2971
2972         * libmisc/addgrps.c: Fix compilation warnings.
2973
2974 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2975
2976         * man/po/Makefile.in.in: xml2po cannot exclude one entity for
2977         expansion. Make sure config.xml does not exist when the POT file
2978         is created in order to keep the configurations in the POT file
2979         * man/generate_translations.mak: make sure config.xml does not
2980         exist neither when the translated XML is generated. Add the
2981         missing %config; (strip out by xml2po). and make sure config.xml
2982         is present when the translated manpage is generated.
2983         * man/generate_mans.mak: config.xml is needed for the generation
2984         of manpages (already in the .deps for the English manpages, but
2985         needed for the translations).
2986         * man/Makefile.am: Added missing CREATE_HOME.xml.
2987
2988 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2989
2990         * etc/login.defs: Added note for PAM enabled configurations.
2991
2992 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2993
2994         * man/Makefile.am: Compute the dependencies for building the
2995         manpages.
2996         * man/generate_mans.deps: Added Makefile dependency rules.
2997
2998 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2999
3000         * libmisc/addgrps.c: Fix warnings.
3001
3002 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3003
3004         * man/po/fr.po: Added missing space.
3005
3006 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3007
3008         * man/lastlog.8.xml: Document that there might be entries, for
3009         deleted users, that are not displayed.
3010
3011 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3012
3013         * man/chgpasswd.8.xml, man/chpasswd.8.xml: Fix the man page in
3014         case SHA crypt is not supported.
3015
3016 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3017
3018         * man/vipw.8.xml: MAX_MEMBERS_PER_GROUP is not used by vipw and
3019         vigr.
3020
3021 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3022
3023         * man/login.defs.5.xml: Indicate that sg uses the same variables
3024         as newgrp.
3025         * man/login.defs.5.xml: vipw does not use any variable.
3026         * man/login.defs.5.xml: In PAM enabled configurations, login still
3027         uses some login.defs variables.
3028
3029 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3030
3031         * man/usermod.8.xml: use a <replaceable> instead of a
3032         <emphasis remap='I'>.
3033
3034 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
3035
3036         * man/newusers.8.xml: Document the behavior of newusers for each
3037         field.
3038         * man/newusers.8.xml: Do not add the note on PAM on non-PAM
3039         enabled configurations.
3040
3041 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
3042
3043         * src/newusers.c: Make sure the SHA related variables are not
3044         compiled when disabled at configuration time.
3045         * src/newusers.c: Added FIXME
3046         * src/chpasswd.c: Make sure the SHA related variables is not
3047         compiled when disabled at configuration time.
3048         * src/chgpasswd.c: Make sure the SHA related variables is not
3049         compiled when disabled at configuration time.
3050         * src/chgpasswd.c: Fix the test for getlong() failure.
3051         * src/useradd.c, man/useradd.8.xml: Added long name for the -l
3052         option: --no-log-init.
3053         * src/faillog.c: Added support for the specification of a range of
3054         users with -u.
3055         * src/faillog.c: Do not call print_one() for users which do not
3056         exist.
3057         * src/faillog.c: Make sure the user's entry is not outside the
3058         faillog file and initialize the faillog structure in that case.
3059         * src/faillog.c: Move print_one() closer to print().
3060         * src/faillog.c: reset(), setmax(), set_locktime() can also change
3061         entries of user which do not exist.
3062         * src/faillog.c: reset(), setmax() and set_locktime() shall not
3063         create entries for users which have no entries if the value has to
3064         be set to 0.
3065         * src/faillog.c: reset(), setmax() and set_locktime(): better
3066         handling of users whose entry is outside the faillog file.
3067         * src/faillog.c: Improved option handling. Options can now be
3068         specified in any order.
3069         * src/faillog.c: Improved warnings when options are not
3070         compatible or when the faillog cannot be open with the right mode.
3071         * src/faillog.c: Only fstat the faillog file once.
3072         * man/faillog.8.xml: Improved documentation.
3073
3074 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
3075
3076         * src/gpasswd.c: Remove the documentation of options from the
3077         main() documentation. It will always be outdated here.
3078
3079 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
3080
3081         * src/lastlog.c: lastlog variable renamed to ll to avoid name
3082         clash with the structure.
3083         * src/lastlog.c: check the offset in print_one() so that it is
3084         used for the display of one entry or a set of entries.
3085         * src/lastlog.c: Do not loop over the whole user database when -u
3086         is used with a single user.
3087         * src/lastlog.c: Check the size of the lastlog file so that we
3088         can identify failures to read.
3089
3090 2009-03-13  Mike Frysinger  <vapier@gentoo.org>
3091
3092         * libmisc/salt.c: Removed l64a prototype. The libc declaration is
3093         non static, but the internal definition is static.
3094
3095 2009-03-09  Nicolas François  <nicolas.francois@centraliens.net>
3096
3097         * src/gpasswd.c: log_gpasswd_success_gshadow only exists ifdef
3098         SHADOWGRP.
3099
3100 2009-03-08  Nicolas François  <nicolas.francois@centraliens.net>
3101
3102         * libmisc/getlong.c: Make sure the getlong argument is not empty.
3103         * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
3104         lib/prototypes.h: Added get_uid() and get_gid() to parse user and
3105         group IDs.
3106         * NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set
3107         to -1.
3108         * NEWS, src/newusers.c, src/usermod.c, src/useradd.c,
3109         src/groupmod.c, src/groupadd.c: Make sure no user or group are
3110         created with an ID set to -1.
3111
3112 2009-03-07  Nicolas François  <nicolas.francois@centraliens.net>
3113
3114         * contrib/adduser-old.c, contrib/adduser.c: Do not use the target
3115         of snprintf in one of the format's parameters.
3116
3117 2009-03-07  Nicolas François  <nicolas.francois@centraliens.net>
3118
3119         * man/groupmems.8.xml: groupmems does not create new user.
3120
3121 2009-03-03  Nicolas François  <nicolas.francois@centraliens.net>
3122
3123         * NEWS, po/LINGUAS, po/kk.po: Added Kazakh translation. Thanks to
3124         Timur Birsh <taem@linukz.org>.
3125
3126 2009-02-22  Nicolas François  <nicolas.francois@centraliens.net>
3127
3128         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Avoid calling
3129         getgrent()/getpwent() after they return NULL. This caused LDAP to
3130         return at the beginning of the group/user entries.
3131
3132 2009-01-27  Nicolas François  <nicolas.francois@centraliens.net>
3133
3134         * man/nologin.8.xml: Fix typo (HYSTORY -> HISTORY).
3135
3136 2009-01-26  Nicolas François  <nicolas.francois@centraliens.net>
3137
3138         * NEWS, src/gpasswd.c: Only report success to audit and syslog
3139         when the changes are committed to the system. Do not log failure
3140         for on-memory changes to audit or syslog. Make sure failures and
3141         inconsistencies will be reported in case of unexpected failures
3142         (e.g. malloc failures). Only specify an audit message if it is not
3143         implicitly implied by the type argument. Removed fail_exit
3144         (replaced by atexit(do_cleanups)). Log failures in case of
3145         permission denied.
3146
3147 2009-01-19  Nicolas François  <nicolas.francois@centraliens.net>
3148
3149         * man/login.defs.d/UMASK.xml: Indicate how UMASK is used and
3150         limitations.
3151         * man/limits.5.xml: Remove space before an end of tag.
3152         * man/useradd.8.xml, man/login.defs.d/CREATE_HOME.xml,
3153         man/login.defs.5.xml: Document the CREATE_HOME variable.
3154         * etc/login.defs: Improve the documentation of UMASK.
3155
3156 2009-01-06  Sebastian Rick Rijkers  <srrijkers@gmail.com>
3157
3158         * NEWS, src/su.c: Preserve COLORTERM in addition to TERM when su
3159         is called with the -l option.
3160
3161 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3162
3163         * libmisc/chkname.c: Use a bool when possible instead of integers.
3164         * libmisc/chkname.c: Add brackets and parenthesis.
3165
3166 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3167
3168         * man/groupadd.8.xml, configure.in, man/config.xml.in: Use the
3169         real group name length limit in the documentation.
3170
3171 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3172
3173         * src/Makefile.am: Only link with the needed library. When
3174         compiled with PAM support, chfn, chsh, login, newgrp, passwd, and
3175         su do not need the libcrypt library.
3176
3177 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3178
3179         * libmisc/cleanup_group.c: Fix compilation when compiled without
3180         shadow group support.
3181
3182 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
3183
3184         * src/groupdel.c: Remove the fail_exit () declaration.
3185
3186 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
3187
3188         * src/gpasswd.c: Fix the support for usernames with arbitrary
3189         length.
3190
3191 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
3192
3193         * src/groupadd.c, src/groupdel.c, src/groupmod.c: Re-indent.
3194         * src/groupmod.c: Do not add the command synopsis to the main ()
3195         documentation. This avoids outdated information.
3196         * libmisc/chkname.c: Remove outdated comments.
3197
3198 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
3199
3200         * libmisc/audit_help.c: Added audit_logger_message() to log
3201         messages not related to an account.
3202         * lib/prototypes.h, libmisc/cleanup.c, libmisc/cleanup_group.c,
3203         libmisc/cleanup_user.c, libmisc/Makefile.am: Added stack of
3204         cleanup functions to be executed on exit.
3205         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c: Only
3206         report success to audit and syslog when the changes are committed
3207         to the system. Do not log failure for on-memory changes to audit
3208         or syslog. Make sure failures and inconsistencies will be reported
3209         in case of unexpected failures (e.g. malloc failures). Only
3210         specify an audit message if it is not implicitly implied by the
3211         type argument. Removed fail_exit (replaced by atexit(do_cleanups)).
3212
3213 2008-12-15  Nicolas François  <nicolas.francois@centraliens.net>
3214
3215         * NEWS, src/gpasswd.c: Added support usernames with arbitrary
3216         length.
3217
3218 2008-11-27  Mike Frysinger  <vapier@gentoo.org>
3219
3220         * configure.in: Fix the "$enable_acct_tools_setuid" = "yes" test.
3221
3222 2008-11-27  Mike Frysinger  <vapier@gentoo.org>
3223
3224         * NEWS, configure.in, libmisc/chkname.c: make group max length a
3225         configure option.  The configure behavior encoded is:
3226         <no option> -> default of 16 (like today);
3227         --with-group-name-max-length -> default of 16;
3228         --without-group-name-max-length -> no max length;
3229         --with-group-name-max-length=n > max is set to n.
3230
3231 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3232
3233         * src/su.c: (!USE_PAM) Provide visible information indicating that
3234         su was denied.
3235
3236 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3237
3238         * man/su.1.xml: Fix the su synopsis. username is referenced in the
3239         manpage, not LOGIN.
3240         * man/ja/login.1: Fix the path of the utmp and wtmp files.
3241
3242 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3243
3244         * libmisc/chowntty.c: Improve the logs for fchown and fchmod
3245         failures.
3246         * libmisc/chowntty.c: Only closelog() when failure cause an exit.
3247
3248 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
3249
3250         * NEWS, libmisc/chowntty.c: Fix a race condition that could lead to
3251         gaining ownership or changing mode of arbitrary files.
3252         * NEWS, libmisc/chowntty.c, libmisc/utmp.c: is_my_tty() moved from
3253         utmp.c to chowntty.c. checkutmp() now only uses an existing utmp
3254         entry if the pid matches and ut_line matches with the current tty.
3255         This fixes a possible DOS when entries can be forged in the utmp
3256         file.
3257         * libmisc/chowntty.c, src/login.c, lib/prototypes.h: Remove the
3258         tty argument from chown_tty. chown_tty always changes stdin and
3259         does not need this argument anymore.
3260
3261 2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>
3262
3263         * man/gshadow.5.xml, man/shadow.5.xml, man/passwd.5.xml,
3264         man/grpck.8.xml: Sorted SEE ALSO references.
3265         * man/gshadow.5.xml: Added reference to grpck(8) and grpconv(8).
3266         * man/pwck.8.xml: Added reference to grpck(8).
3267         * man/shadow.5.xml: Added reference to pwck(8).
3268         * man/passwd.5.xml: Added reference to pwck(8).
3269         * man/grpck.8.xml: Added reference to pwck(8).
3270
3271 2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>
3272
3273         * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence
3274         header.
3275
3276 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3277
3278         * src/login.c: Always check the return value of the pam_* APIs.
3279
3280 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3281
3282         * src/login.c: Use a dynamic buffer for usernames.
3283         * src/login.c: Copy the name of the user authenticated by PAM to
3284         username. This simplify later logging (avoid USE_PAM
3285         conditional).
3286         * src/login.c: Check that no username is specified with -r.
3287         * src/login.c: Make sure a username is specified with -f.
3288         * src/login.c: Explicitly tag the end of the #ifdef RLOGIN
3289         sections.
3290         * src/login.c: Erase the username later since it it used for the
3291         fake password check (in case of empty password).
3292         * src/login.c, man/login.1.xml: the username is not an optional
3293         parameter of -f. Fix the getopt optstring, remove the parsing of
3294         username in the -f processing block, and remove unnecessary checks
3295         (username cannot be parsed twice anymore), better documentation of
3296         the synopsis.
3297
3298 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3299
3300         * src/login.c: Existence of pam_user was already checked. pwd was
3301         already copied to pwent. Remove duplicated code.
3302
3303 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3304
3305         * src/login.c: check_flags() renamed process_flags(). All flag
3306         processing blocs moved to process_flags().
3307
3308 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3309
3310         * src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.
3311
3312 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3313
3314         * src/login.c: Add missing closing }. This was probably never
3315         noticed because UT_ADDR is never defined.
3316         * src/login.c: Re-indent.
3317
3318 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3319
3320         * src/login.c: Do not mix USE_PAM and !USE_PAM code.
3321
3322 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3323
3324         * src/login.c: Use failent_user to log to audit. username is the
3325         caller, not the user login tries to authenticate.
3326         * src/login.c: Use pwd->pw_name instead of pwd->pw_uid. This might
3327         be more precise (name must be unique, uid might not be).
3328
3329 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
3330
3331         * man/passwd.1.xml: passwd cannot change the full name of the
3332         user, the user's login shell; but it can change the account or
3333         password validity period. Thanks to Reuben Thomas.
3334
3335 2008-09-14  Nicolas François  <nicolas.francois@centraliens.net>
3336
3337         * src/useradd.c: Added missing declaration of Mflg.
3338         * src/pwck.c: Only unlock files if they were locked before (e.g.
3339         not in read-only mode).
3340         * src/pwck.c: Quote the username in error messages (harmonization
3341         with other messages).
3342         * libmisc/find_new_gid.c: Fixed typo (s/grp->gr_gid/group_id/).
3343         * libmisc/find_new_gid.c: Likewise.
3344
3345 2008-09-13  Nicolas François  <nicolas.francois@centraliens.net>
3346
3347         * libmisc/setugid.c, src/login_nopam.c, src/suauth.c,
3348         lib/getdef.c: Replace the %m format string by strerror(). This
3349         avoids errno to be reset between the system call error and the
3350         report function.
3351
3352 2008-09-13  Nicolas François  <nicolas.francois@centraliens.net>
3353
3354         * lib/commonio.c: Ignore the return value of umask() when the mask
3355         is set to the old value.
3356
3357 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
3358
3359         * NEWS, etc/login.defs: New CREATE_HOME variable to tell useradd
3360         to create a home directory for new users.
3361         * src/useradd.c, man/useradd.8.xml: New -M/--no-create-home option
3362         and CREATE_HOME usage. System accounts are not impacted by
3363         CREATE_HOME.
3364         * man/useradd.8.xml: Indicate that a new group is created by
3365         default.
3366         * src/useradd.c: Removed TODO item (moved to the TODO file).
3367
3368 2008-09-11  Miroslav Kuře  <kurem@debian.cz>
3369
3370         * po/cs.po: Updated Czech translation.
3371
3372 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
3373
3374         * man/login.defs.d/USERGROUPS_ENAB.xml: Fix typo: new <para> tag
3375         before the previous one is closed. This caused a missng
3376         explanation for USERGROUPS_ENAB.
3377
3378 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
3379
3380         * man/groupadd.8.xml: Remove the list of (short) options from the
3381         SYNOPSIS. Replaced with [options] for consistency with other tools
3382         and maintainability.
3383
3384 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3385
3386         From RedHat's patch shadow-4.1.2-sysAccountDownhill.patch
3387         Thanks to Peter Vrabec.
3388         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Build an
3389         index of used IDs to avoid a database request for each id in the
3390         allowed range (when the highest allowed ID is already used).
3391         This speedups the addition of users or groups when the highest
3392         allowed ID is already used. The additional memory usage of the
3393         tools should be acceptable when UID_MAX/SYS_UID_MAX are set to a
3394         reasonable number.
3395
3396 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3397
3398         * configure.in: Fix the dependency of ACCT_TOOLS_SETUID on
3399         USE_PAM. Build failed with --without-libpam.
3400
3401 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3402
3403         * libmisc/copydir.c, configure.in: Check for the presence of
3404         st_mtim and st_mtimensec, as for st_atim and st_atimensec.
3405         * libmisc/copydir.c: Call utimes() after closing the file.
3406
3407 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
3408
3409         * src/gpasswd.c: Document the long options in the usage.
3410
3411 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3412
3413         * NEWS: Added configure --enable-account-tools-setuid (default) /
3414         --disable-account-tools-setuid options. This permits to disable
3415         the PAM authentication of the caller for chage, chgpasswd,
3416         chpasswd, groupadd, groupdel, groupmod, newusers, useradd,
3417         userdel, and usermod.  This authentication is not necessary when
3418         these tools are not installed setuid root.
3419         * configure.in: Added option --enable-account-tools-setuid to
3420         enable/disable the usage of PAM to authenticate the callers of
3421         account management tools: chage, chgpasswd, chpasswd, groupadd,
3422         groupdel, groupmod, useradd, userdel, usermod.
3423         * src/Makefile.am: Do not link the above tools with libpam if
3424         account-tools-setuid is disabled.
3425         * src/userdel.c, src/newusers.c, src/chpasswd.c, src/usermod.c,
3426         src/groupdel.c, src/chgpasswd.c, src/useradd.c, src/groupmod.c,
3427         src/groupadd.c, src/chage.c: Implement ACCT_TOOLS_SETUID
3428         (--enable-account-tools-setuid).
3429         * etc/pam.d/Makefile.am: Install the pam service file for the
3430         above tools only when needed.
3431
3432 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3433
3434         * libmisc/tz.c: tz() is only used when USE_PAM is not defined.
3435         * lib/prototypes.h: Indicate functions whose presence depends on
3436         the USE_PAM flag.
3437
3438 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3439
3440         * src/groupmems.c: Call open_files() and close_files().
3441         * src/groupmems.c: Always call check_perms(), which takes care of
3442         checking if --list is used.
3443
3444 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3445
3446         * libmisc/obscure.c: Compare characters to '\0', not NULL.
3447
3448 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3449
3450         * lib/defines.h: Do not include <config.h>. This complicate
3451         undefining some configuration macros when the file is included
3452         multiple times.
3453         * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
3454         libmisc/xgetgrgid.c, libmisc/xgetgrnam.c, libmisc/xgetspnam.c:
3455         Include <config.h> from teh compiled C file, not the included
3456         getXXbyYY.c.
3457
3458 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3459
3460         * src/userdel.c, src/newusers.c, src/chpasswd.c, src/chfn.c,
3461         src/groupmems.c, src/usermod.c, src/groupdel.c, src/chgpasswd.c,
3462         src/useradd.c, src/groupmod.c, src/groupadd.c, src/chage.c,
3463         src/chsh.c: Simplify the PAM error handling. Do not keep the pamh
3464         handle, but terminate the PAM transaction as soon as possible if
3465         there are no PAM session opened. If the username cannot be
3466         determined, report it as such (not a PAM authentication failure).
3467         * src/useradd.c, src/userdel.c, src/usermod.c: It is no more
3468         needed to initialize retval to PAM_SUCCESS.
3469
3470 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3471
3472         * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
3473         src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
3474         src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
3475         src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
3476         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
3477         src/groupadd.c, src/chage.c, src/login.c, src/grpconv.c,
3478         src/groups.c, src/grpunconv.c, src/chsh.c: Prog is now global (not
3479         static to the file) so that it can be used by the helper functions
3480         of libmisc.
3481         * lib/prototypes.h: Added extern char *Prog.
3482         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Indicate the
3483         program name with the warning.
3484
3485 2008-09-05  Nicolas François  <nicolas.francois@centraliens.net>
3486
3487         * configure.in: Check if AUDIT_ADD_USER, AUDIT_DEL_USER,
3488         AUDIT_ADD_GROUP, and AUDIT_DEL_GROUP are defined in <libaudit.h>.
3489
3490 2008-09-04  Nicolas François  <nicolas.francois@centraliens.net>
3491
3492         * src/useradd.c: Fix comment of lflg: it is also used for faillog.
3493
3494 2008-09-04  Nicolas François  <nicolas.francois@centraliens.net>
3495
3496         * NEWS, src/groupmems.c, man/groupmems.8.xml: Document the long
3497         options.
3498
3499 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3500
3501         * lib/prototypes.h, libmisc/audit_help.c: Define new type
3502         shadow_audit_result for the result argument of audit_logger().
3503         This permits stronger type checking and a better readability of
3504         the results (SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS constants).
3505         * src/groupadd.c, src/groupdel.c, src/useradd.c, src/userdel.c:
3506         Use the SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS results instead
3507         of 0 or 1 in audit_logger().
3508
3509 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3510
3511         * src/userdel.c: Log failures to remove the mailbox to syslog and
3512         audit.
3513         * src/userdel.c: Log successful removal of home directory to audit
3514         only in case of success.
3515         * src/userdel.c: Move the audit log of failure to remove the home
3516         directory before the call to function that may exit.
3517         * src/userdel.c: Document that errors is only used to count errors
3518         during the removal of the home directory.
3519
3520 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3521
3522         * src/useradd.c: Log errors to syslog in grp_update() since
3523         changes have started to be reported to syslog.
3524         * src/userdel.c: Fix some result parameters sent to
3525         audit_logger().
3526
3527 2008-09-02  Nicolas François  <nicolas.francois@centraliens.net>
3528
3529         * NEWS: Following changes from a patch contributed by Steve Grubb
3530         <sgrubb@redhat.com>
3531         * src/groupadd.c: Log to audit with type AUDIT_ADD_GROUP instead
3532         of AUDIT_USER_CHAUTHTOK.
3533         * src/groupdel.c: Log to audit with type AUDIT_DEL_GROUP instead 
3534         of AUDIT_USER_CHAUTHTOK.
3535         * src/useradd.c: Log to audit with type AUDIT_ADD_USER /
3536         AUDIT_ADD_GROUP / AUDIT_USYS_CONFIG instead of
3537         AUDIT_USER_CHAUTHTOK.
3538         * src/useradd.c: Add missing logs to audit.
3539         * src/userdel.c: Log to audit with type AUDIT_DEL_USER /
3540         AUDIT_DEL_GROUP instead of AUDIT_USER_CHAUTHTOK.
3541         * src/userdel.c: Add missing logs to audit.
3542
3543 2008-08-31  Nicolas François  <nicolas.francois@centraliens.net>
3544
3545         * src/groupmems.c: Remove duplicated gr_open().
3546
3547 2008-08-30  Nicolas François  <nicolas.francois@centraliens.net>
3548
3549         * man/useradd.8.xml: Document the /etc/default/useradd variables.
3550         * man/useradd.8.xml: Fix the documentation of the GROUP variable
3551         (and -g/--gid option).
3552         * man/useradd.8.xml: Document that -o is only valid with -u
3553
3554 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3555
3556         * shadow.spec.in: Fix the source (new FTP).
3557
3558 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3559
3560         * src/su.c: Add brackets and parenthesis.
3561         * src/su.c: Avoid implicit conversion of pointers to booleans.
3562
3563 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3564
3565         * libmisc/list.c: Remove historical comment.
3566         * libmisc/list.c: Added assertions for non NULL parameters.
3567
3568 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3569
3570         * src/pwconv.c, src/pwunconv.c: Fail if unexpected parameters are
3571         provided.
3572
3573 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3574
3575         * src/passwd.c: Add brackets and parenthesis.
3576         * src/passwd.c: Avoid implicit conversion of pointers to booleans.
3577         * src/passwd.c: Avoid assignments in comparisons.
3578
3579 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3580
3581         * NEWS, src/groupmems.c, man/groupmems.8.xml: Added support for
3582         shadow groups.
3583         * src/groupmems.c: Use fail_exit() instead of exit().
3584
3585 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3586
3587         * src/groupmems.c: The grp structure returned by gr_locate is a
3588         const. Duplicate this structure before working on it.
3589         * src/groupmems.c: Do not fail and do not display warnings if a
3590         close failure happens with the --list option. (Files are opened
3591         read-only).
3592         * src/groupmems.c: Avoid mixed declarations and code.
3593
3594 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3595
3596         * src/gpasswd.c: Replace the 'valid' variable by is_valid to avoid
3597         clashes with the valid() function.
3598
3599 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3600
3601         * libmisc/obscure.c: Add brackets and parenthesis.
3602         * libmisc/obscure.c: Avoid implicit conversion of pointers / chars to
3603         booleans.
3604         * libmisc/obscure.c: Simplify the list of if.
3605
3606 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3607
3608         * src/passwd.c: Fix a typo in the Usage string.
3609
3610 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3611
3612         * src/grpconv.c, src/groups.c: Name the parameters in the
3613         prototypes of the static functions.
3614         * src/grpconv.c, src/grpunconv.c, src/logoutd.c: Fail if
3615         unexpected parameters are provided.
3616         * src/grpconv.c, src/grpunconv.c: Indicate that argc is not used
3617         in the no SHADOWGRP version.
3618
3619 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3620
3621         * src/chgpasswd.c, src/chpasswd.c: Removed variable ok, which is
3622         no more used.
3623
3624 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3625
3626         * src/chage.c: Fix the format for long integers (from %ul to %lu).
3627
3628 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3629
3630         * libmisc/utmp.c: Mark the line and host arguments of setutmp() as
3631         not used in the __linux__ version.
3632
3633 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3634
3635         * lib/nscd.c: Avoid redefinition of _GNU_SOURCE.
3636
3637 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3638
3639         * configure.in: Indentation fix.
3640         * configure.in, src/login.c: Do not use HAVE_PAM_FAIL_DELAY, but
3641         HAS_PAM_FAIL_DELAY, to avoid a redefinition with Linux PAM.
3642
3643 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3644
3645         * src/groupmems.c: Added functions add_user(), remove_user(), and
3646         purge_members() to ease the support of gshadow.
3647
3648 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3649
3650         * src/expiry.c: Use Basename for Prog.
3651         * src/expiry.c: Added missing OPENLOG.
3652
3653 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3654
3655         * lib/nscd.c: Make sure the file is not empty when configured
3656         without nscd support.
3657
3658 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3659
3660         * configure.in: Remove the USE_NSCD AM_CONDITIONAL (USE_NSCD is
3661         not used in any Makefile.am).
3662         * configure.in: Make sure posix_spawn is present when configured
3663         with nscd support.
3664
3665 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3666
3667         * lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Added brackets and
3668         parenthesis.
3669         * lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Avoid assignments
3670         in comparisons.
3671
3672 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3673
3674         * libmisc/mail.c: Added brackets and parenthesis.
3675         * libmisc/mail.c: Avoid assignments in comparisons.
3676
3677 2008-08-26  Tobias Poschwatta  <tp@fonz.de>
3678
3679         * NEWS: Added support for uclibc.
3680         * configure.in, libmisc/copydir.c: futimes() and lutimes() are not
3681         standard. Check if they are implemented before using them. Do not
3682         set the time of links if lutimes() does not exist, and use
3683         utimes() as a replacement for futimes().
3684         * configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd and
3685         --without-nscd flags to support systems without nscd.
3686         * lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c:
3687         Include <sys/types.h> before <pwd.h> and <grp.h>. It is necessary
3688         for the definition of uid_t and gid_t.
3689         * lib/pwmem.c: do not include <pwd.h>, "pwio.h" is sufficient
3690         here.
3691         * configure.in: Check if the stat structure has a st_atim or
3692         st_atimensec field.
3693         * libmisc/copydir.c: Conditionally use the stat's st_atim and
3694         st_atimensec fields.
3695
3696 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3697
3698         * src/groupmems.c: Handle the options alphabetically.
3699
3700 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3701
3702         * src/groupmems.c: When removing an user, check if deluser is on
3703         the list, not adduser. This fixes a segmentation fault for every
3704         call of groupmems -d.
3705         * libmisc/list.c: Add assertions to help identifying these issues.
3706         * libmisc/list.c: Avoid implicit conversion of pointers to
3707         booleans.
3708
3709 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3710
3711         * NEWS, src/groupmems.c: Use the "groupmems" PAM service name
3712         instead of "groupmod".
3713
3714 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3715
3716         * src/chfn.c: Merge some translated messages.
3717         * src/groupmems.c, src/groupadd.c, src/gpasswd.c, src/chsh.c,
3718         src/chfn.c: Harmonize *_update() failure messages.
3719         * src/groupmems.c: Harmonize gr_close() failure messages.
3720         * src/newgrp.c: Harmonize "unknown GID" messages.
3721         * src/newusers.c: Move the pwd declaration to a inner block scope.
3722
3723 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3724
3725         * src/useradd.c: Harmonize some error messages.
3726         * src/userdel.c: Add log to syslog when the mail file could not be
3727         removed.
3728         * src/userdel.c: Give more context an error message (merge with
3729         perror()).
3730         * src/usermod.c: Harmonize some error messages.
3731
3732 2008-08-25  Nicolas François  <nicolas.francois@centraliens.net>
3733
3734         * src/groupmems.c: Check the return value of gr_update().
3735         * src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
3736         src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupmems.c,
3737         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
3738         src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c,
3739         src/useradd.c, src/userdel.c, src/usermod.c: Harmonize the error
3740         message sent to stderr in case of *_update () failure.
3741         * src/chage.c, src/chsh.c, src/groupadd.c, src/passwd.c: Do not
3742         log to syslog when pw_update() or spw_update() fail.
3743         * src/newusers.c: Do not log specific error message to stderr when
3744         sgr_update() fails.
3745         * src/pwconv.c: Remove duplicated definition of Prog.
3746
3747 2008-08-25  Nicolas François  <nicolas.francois@centraliens.net>
3748
3749         * src/chfn.c, src/chsh.c, src/expiry.c, src/gpasswd.c,
3750         src/newgrp.c, src/passwd.c, src/su.c: Use the same stderr and
3751         syslog warnings when the username cannot be determined.
3752         * src/newgrp.c: Reuse the same stderr message for groups which do
3753         not exist in the system.
3754
3755 2008-08-21  Nicolas François  <nicolas.francois@centraliens.net>
3756
3757         * src/usermod.c: Log errors while *_close to syslog.
3758
3759 2008-08-21  Nicolas François  <nicolas.francois@centraliens.net>
3760
3761         * src/grpconv.c: Use Basename for the definition of Prog. Prog
3762         needs a file visibility.
3763         * src/grpunconv.c: Likewise.
3764
3765 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
3766
3767         * src/chfn.c: Do not exit on pw_unlock failures.
3768         * src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c,
3769         src/vipw.c: Open syslog with the right identification name.
3770         * src/vipw.c: Log unlock errors to syslog.
3771         * src/vipw.c: Log edits to syslog.
3772         * src/chage.c, src/chfn.c, src/chsh.c, src/gpasswd.c,
3773         src/groupadd.c, src/groupdel.c, src/groupmod.c, src/grpconv.c,
3774         src/grpunconv.c, src/passwd.c, src/pwck.c, src/pwunconv.c,
3775         src/useradd.c, src/usermod.c: Harmonize the syslog levels. Failure
3776         to close or unlock are errors. Failure to open files are warnings.
3777
3778 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
3779
3780         * src/newusers.c: Open syslog with the right identification name.
3781         * src/newusers.c: Mark the files as locked only if they are really
3782         locked (i.e. if shadow is not enabled, the files are not locked).
3783
3784 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
3785
3786         * NEWS, src/gpasswd.c: Use getopt_long instead of getopt. Added
3787         support for long options --add (-a), --delete (-d),
3788         --remove-password (-r), --restrict (-R), --administrators (-A),
3789         and --members (-M) 
3790         * man/gpasswd.1.xml: Document the new long options.
3791         * src/gpasswd.c: The sgrp structure is only used if SHADOWGRP is
3792         defined.
3793
3794 2008-08-18  Nicolas François  <nicolas.francois@centraliens.net>
3795
3796         * src/grpck.c: Added function fail_exit(). Check failure to unlock
3797         files. Report errors to stderr and syslog, but continue.
3798         * src/grpconv.c: Check failure to unlock files. Report errors to
3799         stderr and syslog, but continue.
3800
3801 2008-08-18  Nicolas François  <nicolas.francois@centraliens.net>
3802
3803         * src/passwd.c: Check failure to unlock files. Report errors to
3804         stderr and syslog, but continue.
3805
3806 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
3807
3808         * src/chfn.c, src/chgpasswd.c, src/chpasswd.c, src/gpasswd.c,
3809         src/groupadd.c, src/groupdel.c, src/groupmems.c, src/groupmod.c,
3810         src/grpconv.c, src/grpunconv.c, src/newusers.c, src/pwconv.c,
3811         src/pwunconv.c, src/useradd.c, src/userdel.c: Harmonize the name
3812         of the variables keeping the lock status, to match the shadow
3813         library prefixes.
3814
3815 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
3816
3817         * src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c,
3818         src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmems.c,
3819         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
3820         src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
3821         src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c: In
3822         case of a lock failure, indicate to the user that she can try
3823         again later. Do not log to syslog.
3824
3825 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
3826
3827         * NEWS, src/passwd.c: For compatibility with other passwd version,
3828         the --lock an --unlock options do not lock or unlock the user
3829         account anymore.  They only lock or unlock the user's password.
3830         * man/passwd.1.xml: Document above change. Document how an account
3831         can be locked and what a password lock means.
3832
3833 2008-08-15  Nicolas François  <nicolas.francois@centraliens.net>
3834
3835         * man/groupadd.8.xml: Fix the regular expression for group policy.
3836         The final $ character is optional.
3837         * man/groupadd.8.xml: Likewise.
3838         * man/groupadd.8.xml: Indicate the maximum size of usernames.
3839
3840 2008-08-15  Nicolas François  <nicolas.francois@centraliens.net>
3841
3842         * man/po/pl.po: Fix typo in the Polish translation (see
3843         http://bugs.debian.org/491460)
3844
3845 2008-08-13  Nicolas François  <nicolas.francois@centraliens.net>
3846
3847         * man/pl/Makefile.am: Do not build the Polish translation of
3848         login.1 and su.1 (not enough translated). See
3849         http://bugs.debian.org/491460
3850
3851 2008-08-13  Nicolas François  <nicolas.francois@centraliens.net>
3852
3853         * man/shadow.5.xml: Fix typo. The password must be changed before
3854         the maximum number of days, not after.
3855
3856 2008-08-09  Nicolas François  <nicolas.francois@centraliens.net>
3857
3858         * src/groupmems.c: Harmonize the unlock failure messages.
3859
3860 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3861
3862         * src/pwck.c: Added fail_exit().
3863         * src/pwck.c: Report failure to unlock files to stderr and
3864         syslog.
3865         * src/pwck.c: Report failure to sort to stderr, and exit with
3866         E_CANTSORT.
3867         * man/pwck.8.xml: Document return code 6 (E_CANTSORT).
3868
3869 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3870
3871         * src/vipw.c: Report failures to remove files to stderr.
3872         * src/vipw.c: Report failures to unlock files to stderr.
3873
3874 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3875
3876         * NEWS, src/groupmems.c: Added syslog support.
3877         * src/groupmems.c: members() renamed display_members() to
3878         avoid name clash with its members argument.
3879         * src/groupmems.c: Report failure to unlock to syslog.
3880         * src/groupmems.c: Harmonize error messages.
3881         * src/groupmems.c: Report failures to write the new group file to
3882         syslog (gr_close() failure).
3883         * src/groupmems.c: Don't use fail_exit for non-failure exit.
3884
3885 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3886
3887         * src/chsh.c: Added fail_exit().
3888         * src/chsh.c: Use fail_exit() instead of exit(), this avoid
3889         calling closelog() every times.
3890         * src/chsh.c: Ignore the return value or pam_end().
3891         * src/chsh.c: Simplify the PAM error handling.
3892         * src/chsh.c: Report failure to unlock files to stderr and
3893         syslog.
3894
3895 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3896
3897         * src/chpasswd.c: Added fail_exit().
3898         * src/chpasswd.c: Added support for syslog.
3899         * src/chpasswd.c: Report failure to unlock files to stderr and
3900         syslog.
3901         * src/chpasswd.c: Simplify the PAM error handling.
3902         * src/chpasswd.c: Report failure during *_close() to syslog.
3903         * src/chpasswd.c: Ignore the return value or pam_end().
3904
3905 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3906
3907         * src/chgpasswd.c: Added fail_exit().
3908         * src/chgpasswd.c: Added support for syslog.
3909         * src/chgpasswd.c: Report failure to unlock files to stderr and
3910         syslog.
3911         * src/chgpasswd.c: Simplify the PAM error handling.
3912         * src/chgpasswd.c: Report failure during *_close() to syslog.
3913         * src/chgpasswd.c: Ignore the return value or pam_end().
3914
3915 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3916
3917         * src/userdel.c: Report failure to remove entries from group or
3918         gshadow to stderr.
3919         * src/userdel.c: Fail in case of failure during the write of a
3920         user or group database. Report errors to syslog.
3921         * src/userdel.c: Do not unlock non locked files.
3922         * src/userdel.c: Report failure to unlock the passwd or shadow
3923         file to stderr and syslog.
3924
3925 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3926
3927         * src/pwunconv.c: Report failure to unlock the passwd or shadow
3928         file to stderr and syslog.
3929
3930 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3931
3932         * src/usermod.c: Report failure to unlock files to stderr and
3933         syslog.
3934
3935 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3936
3937         * src/newusers.c: Report failure to unlock files to stderr and
3938         syslog.
3939         * src/newusers.c: In case of error when files are open or closed,
3940         indicate the failing file.
3941         * src/newusers.c: Do not try to unlock the files manually since
3942         this is done in fail_exit.
3943
3944 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3945
3946         * src/chage.c: Report failure to unlock the passwd or shadow file
3947         to stderr and syslog.
3948
3949 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3950
3951         * src/pwconv.c: Report failure to unlock the passwd or shadow file
3952         to stderr and syslog.
3953         * src/pwconv.c: Report failure to chmod the backup file.
3954
3955 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3956
3957         * src/grpunconv.c: Report failure to unlock the group or gshadow
3958         files to stderr and syslog.
3959
3960 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3961
3962         * src/chfn.c: Added fail_exit(). Check if the passwd file is
3963         locked. Report failures to unlock to stderr and syslog.
3964         * src/chfn.c: Is case of failure, use fail_exit() rather than
3965         exit().
3966         * src/chfn.c: Ignore the return value of pam_end().
3967
3968 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3969
3970         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h,
3971         lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
3972         Added *_dbname() functions to retrieve the name of the databases.
3973         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h,
3974         lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
3975         *_name() functions renamed *setname().
3976         * src/grpck.c, src/pwck.c: Likewise.
3977         * lib/groupio.h, lib/pwio.h, lib/sgroupio.h, lib/shadowio.h: Added
3978         the name of the arguments to the prototypes.
3979         * src/chage, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
3980         src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c,
3981         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
3982         src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
3983         src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c:
3984         Harmonize the erro & syslog messages in case of failure of the
3985         *_lock(), *_open(), *_close(), *_unlock(), *_remove() functions.
3986         * src/chgpasswd.c, src/chpasswd.c, src/usermod.c: Avoid
3987         capitalized messages.
3988         * src/chpasswd.c, src/useradd.c, src/usermod.c: Harmonize messages
3989         in case of inexistent entries.
3990         * src/usermod.c:  Harmonize messages in case of already existing
3991         entries.
3992         * src/newusers.c, src/useradd.c: Simplify PAM error handling.
3993         * src/useradd.c: Report failures to unlock files (stderr, syslog,
3994         and audit). But do not fail (continue).
3995         * src/useradd.c (open_files): Do not report to syslog & audit
3996         failures to lock or open the databases. This might be harmless,
3997         and the logs were not already informed that a change was
3998         requested.
3999         * src/usermod.c: It's not the account which is unlocked, but its
4000         password.
4001
4002 2008-08-02  Nicolas François  <nicolas.francois@centraliens.net>
4003
4004         * src/groupadd.c: Harmonize error & syslog messages.
4005         * src/groupadd.c: Add logging to syslog & audit on lock/unlock
4006         failures.
4007         * src/groupadd.c: Only call gr_unlock() and sgr_unlock() in the
4008         group or gshadow files were previously locked.
4009         * src/groupadd.c: Make sure failures are reported to syslog/audit
4010         after the change is mentioned.
4011         * src/groupmod.c: Harmonize error & syslog messages.
4012         * src/groupmod.c: Add logging to syslog & audit on lock/unlock
4013         failures.
4014         * src/groupmod.c: Make sure issues are reported to syslog or audit
4015         after the change is mentioned.
4016         * src/groupdel.c: Harmonize error & syslog messages.
4017         * src/groupdel.c: Add logging to syslog & audit on lock/unlock
4018         failures.
4019         * src/groupdel.c: Only call gr_unlock() and sgr_unlock() in the
4020         group or gshadow files were previously locked.
4021         * src/groupdel.c: Simplify the handling of PAM errors.
4022
4023 2008-08-01  Nicolas François  <nicolas.francois@centraliens.net>
4024
4025         * src/gpasswd.c: Harmonize error & syslog messages.
4026         * src/gpasswd.c: Warn and log to syslog and audit when group or
4027         gshadow cannot be unlocked, but do not fail.
4028
4029 2008-08-01  Nicolas François  <nicolas.francois@centraliens.net>
4030
4031         * src/chfn.c, src/chsh.c, src/groupdel.c, src/groupmems.c,
4032         src/groupmod.c, src/grpck.c, src/login.c, src/logoutd.c,
4033         src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c,
4034         src/suauth.c, src/useradd.c, src/userdel.c, src/usermod.c,
4035         src/vipw.c: Complete the switch from the `' quotation style to ''.
4036         Do it also in SYSLOG messages. Quote some parameters. All this
4037         permits to merge some messages.
4038
4039 2008-07-30  Lukáš Kuklínek  <lkukline@redhat.com>
4040
4041         * src/groupmems.c: Only check if the adduser user exists when an
4042         user is specified with -a.
4043
4044 2008-07-30  Nicolas François  <nicolas.francois@centraliens.net>
4045
4046         * src/groupmems.c: Fix the groupmems' usage message. The -D option
4047         is in fact -p.
4048
4049 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4050
4051         * src/groupmems.c: Replace an if test by an else.
4052
4053 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4054
4055         * src/groupmems.c: Ignore the return value of fputs().
4056
4057 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4058
4059         * src/groupmems.c (whoami): Make sure usr and grp are not NULL
4060         before dereferencing them.
4061
4062 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4063
4064         * src/groupmems.c: Use xstrdup() rather than strdup().
4065
4066 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4067
4068         * src/groupmems.c: Add parenthesis.
4069         * src/groupmems.c: Avoid implicit conversion of pointers / chars to
4070         booleans.
4071
4072 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4073
4074         * NEWS, src/groupmems.c: Allow everybody to list the users of a group.
4075         This information is publicly available in /etc/group.
4076         * NEWS, src/groupmems.c: Open /etc/group read only for the -l option.
4077
4078 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4079
4080         * man/groupmems.8.xml: Sort options alphabetically.
4081
4082 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4083
4084         * src/groupmems.c (check_perms): Simplify. Always call pam_end()
4085         at the end of the authentication.
4086
4087 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4088
4089         * src/groupmems.c: Add fail_exit() to remove the group lock file
4090         in case of failure. Replace the calls to exit() by fail_exit().
4091
4092 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4093
4094         * src/groupmems.c: Reduce the number of checks. Isolate the
4095         parameters setting and permissions checking.
4096
4097 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4098
4099         * src/groupmems.c: Add functions process_flags() and check_perms()
4100         from code of main().
4101         * src/groupmems.c: Harmonize the failure message in case of PAM
4102         failure with the other programs.
4103
4104 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4105
4106         * src/groupmems.c: Remove isgroup(), which always returns TRUE.
4107
4108 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4109
4110         * src/groupmems.c: Reuse the functions from libmisc/list.c to deal
4111         with user lists. addtogroup() was broken when realloc() move the
4112         memory area.
4113         * src/groupmems.c: Report failures with the name of the program.
4114
4115 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
4116
4117         * src/groupmems.c: EXIT_READ_GROUP changed to EXIT_INVALID_GROUP.
4118         * src/groupmems.c: EXIT_INVALID_USERNAME changed to EXIT_INVALID_USER.
4119
4120 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
4121
4122         * src/groupmems.c: Really use booleans.
4123         * src/groupmems.c: Change isroot() to a macro that returns a
4124         boolean.
4125
4126 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
4127
4128         * lib/defines.h: Make sure the booleans are defined before using
4129         them.
4130
4131 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
4132
4133         * src/groupmems.c: Added Prog global variable to indicate the name
4134         of the program in error messages.
4135
4136 2008-07-22  Lukáš Kuklínek  <lkukline@redhat.com>
4137
4138         * NEWS, src/groupmems.c: Check if the user added to group actually
4139         exist. RedHat bug #455603
4140         * NEWS, src/groupmems.c: Check if the group exists in the group
4141         local database (/etc/group). RedHat bug #456088
4142
4143 2008-07-22  Nicolas François  <nicolas.francois@centraliens.net>
4144
4145         * lib/prototypes.h: Fix getrange prototype.
4146
4147 2008-07-21  Seraphim Mellos  <mellos@ceid.upatras.gr>
4148
4149         * README, NEWS, configure.in, lib/pam_defs.h, src/login.c: Add
4150         support for OpenPAM.
4151
4152 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
4153
4154         * src/chage.c: Ignore the return value of pam_end() before exiting.
4155         * src/chage.c: Ignore return values of strftime(), snprintf(),
4156         puts(), printf(), and fputs().
4157         * src/chage.c: Check the return value of asctime().
4158
4159 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
4160
4161         * lib/gshadow.c: Avoid assignments in comparison.
4162
4163 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
4164
4165         * ChangeLog, NEWS, src/login.c: Re-inject the changes from 4.1.2.1.
4166
4167 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
4168
4169         * src/usermod.c: Do not call usr_update() if it will have no
4170         effects. This avoid checking if the user exists in the local passwd
4171         file if not necessary, and thus allow to add LDAP users to local
4172         groups. (The user is already checked against the system
4173         configuration with getpwnam()). Thanks to Dan Kopecek.
4174
4175 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
4176
4177         * src/usermod.c: Split update_files() into update_lastlog() and
4178         update_faillog(). Report errors (but don't fail) if the file
4179         exist, but open(), lseek(), read(), write(), or close() fails.
4180         * src/usermod.c: Add brackets and parenthesis.
4181         * src/usermod.c: Ignore the return value of pam_end() before
4182         exiting.
4183         * src/usermod.c: Ignore the return value of strftime(),
4184         snprintf(), and puts().
4185         * src/usermod.c: Check the return value of gmtime() and asctime(),
4186         and output the raw time_t on failures.
4187
4188 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
4189
4190         * libmisc/setugid.c: Add brackets.
4191
4192 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
4193
4194         * libmisc/env.c: Avoid implicit conversion of pointers / chars to
4195         booleans.
4196         * libmisc/env.c: Add brackets and parenthesis.
4197         * libmisc/env.c: Ignore the return value of puts() and fputs().
4198         * libmisc/env.c: Avoid multi-statements lines.
4199
4200 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
4201
4202         * libmisc/utmp.c: Avoid implicit conversion of pointers / chars to
4203         booleans.
4204         * libmisc/utmp.c: Add brackets and parenthesis.
4205         * libmisc/utmp.c: Exit with the EXIT_FAILURE status code in case
4206         of failure.
4207         * libmisc/utmp.c: Avoid assignments in comparisons.
4208         * lib/prototypes.h, libmisc/utmp.c: Change setutmp()'s prototype
4209         to return an int because pututline() and pututxline() may fail.
4210
4211 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
4212
4213         * libmisc/audit_help.c: Added one string for translation.
4214         * po/POTFILES.in: Added libmisc/audit_help.c,
4215         libmisc/find_new_gid.c, libmisc/find_new_uid.c, libmisc/getlong.c,
4216         libmisc/getrange.c, libmisc/xgetXXbyYY.c, and libmisc/yesno.c.
4217         Removed libmisc/find_new_ids.c
4218
4219 2008-06-16  Nicolas François  <nicolas.francois@centraliens.net>
4220
4221         * src/useradd.c: If the faillog file exist, warn in case of
4222         failure when open(), lssek(), write() or close() fails when the
4223         new user's faillog entry is reset.
4224         * src/useradd.c: Ditto for the lastlog entry.
4225
4226 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4227
4228         * libmisc/limits.c: Add brackets and parenthesis.
4229         * libmisc/limits.c: Avoid implicit conversion of pointers /
4230         integers to booleans.
4231         * libmisc/limits.c: Ignore the return value of umask(). We will
4232         never return to the original umask.
4233         * libmisc/limits.c: Avoid multi-statements lines.
4234         * libmisc/limits.c: Added default to a switch(). Report invalid
4235         limit strings to syslog.
4236         * libmisc/limits.c: Ignore the return value of fclose().
4237         /etc/limits is open read-only.
4238         * libmisc/limits.c: Ignore the return value of fputs() and
4239         sleep().
4240         * libmisc/limits.c: Check the return value of nice() and
4241         set_filesize_limit(), and report errors to syslog.
4242
4243 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4244
4245         * libmisc/ulimit.c, lib/prototypes.h: Return failures of
4246         set_filesize_limit(). Change the prototype to return an int
4247         instead of void.
4248
4249 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4250
4251         * libmisc/failure.c: Try to close the open file if a failure
4252         occured during lseek(), read() or write().
4253
4254 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4255
4256         * libmisc/log.c: Check return values. If lseek() failed, avoid
4257         reading or writing at an unspecified location. Log to syslog in
4258         case of failure.
4259         * libmisc/log.c: Use the right casts.
4260
4261 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4262
4263         * libmisc/find_new_ids.c, libmisc/find_new_gid.c,
4264         libmisc/find_new_uid.c, libmisc/Makefile.am, lib/prototypes.h:
4265         Split find_new_ids.c into find_new_gid.c and find_new_uid.c to
4266         ease the description of login.defs variables in the different
4267         tools.
4268
4269 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4270
4271         * libmisc/failure.c: Ignore the return value of strftime() and
4272         printf().
4273         * libmisc/failure.c: Fix syslog call. The UID is not available.
4274         User the username specified in the utmp/utmpx entry.
4275
4276 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4277
4278         * lib/defines.h: Avoid implicit conversion of pointers to
4279         booleans.
4280         * lib/defines.h: Ignore return values of setlocale() except the
4281         first call.
4282         * lib/defines.h: Fix a splint observer warning by using an
4283         intermediate variable (old_locale).
4284
4285 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
4286
4287         * libmisc/failure.c: Check return values. If lseek() failed, avoid
4288         reading or writing at an unspecified location. Log to syslog in
4289         case of failure when reading a faillog entry or writing in
4290         faillog or btmp.
4291         * libmisc/failure.c: Check if the file exist before opening it.
4292         * libmisc/failure.c: Log failures of open() and close() when
4293         necessary.
4294
4295 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4296
4297         * lib/prototypes.h: Add the getrange() prototype.
4298         * lib/prototypes.h: Fix the valid_field() prototype (does not
4299         return an bool).
4300         * lib/prototypes.h: Fix the valid() prototype (it does return a
4301         bool).
4302
4303 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4304
4305         * lib/getdef.c: Fix the getdef_ulong() prototype.
4306         * lib/getdef.h: Fix the getdef_ulong() prototype.
4307
4308 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4309
4310         * src/lastlog.c: Use getrange to parse the range of users.
4311         * src/lastlog.c: umin and umax do not need to be signed long. Use
4312         an unsigned long which might be needed to parse a GID or UID. Add
4313         the has_umin and has_umax to replace the -1 values.
4314         * src/lastlog.c: Cast dates to time_t.
4315         * src/lastlog.c: Prefix lastlog errors with "lastlog: ".
4316
4317 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4318
4319         * libmisc/getlong.c: Reset errno before calling strtol().
4320         Otherwise, errno could be already set to ERANGE.
4321
4322 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4323
4324         * libmisc/Makefile.am, libmisc/getrange.c: Added function to parse
4325         a range (useful for lastlog).
4326
4327 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
4328
4329         * src/chsh.c: <signal.h> is not needed.
4330
4331 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4332
4333         * lib/prototypes.h: Define AUDIT_NO_ID to (unsigned int) -1. This
4334         value should be used when the ID should not be considered.
4335         * lib/prototypes.h: Fix the prototype of do_rlogin() according to
4336         earlier changes.
4337
4338 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4339
4340         * lib/shadow.c: Use SHADOW_SP_FLAG_UNSET for the initial
4341         value of spwd.sp_flag.
4342         * lib/shadow.c: Add brackets.
4343         * lib/shadow.c: Avoid implicit conversion of pointers to
4344         booleans.
4345         * lib/shadow.c: The size argument of fgets is an int, not a
4346         size_t.
4347
4348 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4349
4350         * lib/commonio.c: len should be typed ssize_t as it is the return
4351         of read(), and is compared to 0. Cast to size_t when necessary.
4352
4353 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4354
4355         * libmisc/find_new_ids.c: Use getdef_ulong to retrieve UIDs/GIDs
4356         from login.defs. Type constants to long integers.
4357
4358 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4359
4360         * lib/gshadow.c: Use a bool when possible instead of int integers.
4361         * lib/gshadow.c: Remove __setsgNIS() -never used).
4362         * lib/gshadow.c: Avoid multi-statements lines.
4363         * lib/gshadow.c: Avoid assignments in comparisons.
4364         * lib/gshadow.c: ptr[nelem] is a string. Initialize it to NULL
4365         instead of '\0'.
4366         * lib/gshadow.c: Add brackets and parenthesis.
4367         * lib/gshadow.c: The size argument of strncpy is a size_t and the
4368         size argument of fgets is an int.
4369
4370 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4371
4372         * lib/groupio.c: Add brackets.
4373         * lib/groupio.c: Make sure malloc receives a size_t.
4374         * lib/groupio.c: Avoid multi-statements lines.
4375
4376 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4377
4378         * lib/sgetspent.c: Use SHADOW_SP_FLAG_UNSET for the initial
4379         value of spwd.sp_flag.
4380
4381 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4382
4383         * lib/getdef.h, lib/getdef.c: Add getdef_ulong().
4384         * lib/getdef.c: Added TODOs because of lack of error checking.
4385         * lib/getdef.c: The size argument of fgets is an int, not a
4386         size_t.
4387         * lib/getdef.c: Avoid multi-statements lines.
4388
4389 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4390
4391         * src/id.c: Make sure malloc receives a size_t.
4392         * src/id.c: Use a %lu format and cast group and user IDs to
4393         unsigned long integers.
4394
4395 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4396
4397         * src/sulogin.c: Ignore the return value of signal().
4398
4399 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4400
4401         * src/groups.c: sys_ngroups is only used when HAVE_GETGROUPS is
4402         defined.
4403
4404 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4405
4406         * src/faillog.c: Ignore return value of time() when use with a
4407         non NULL argument.
4408         * src/faillog.c: Use a %lu format and cast number of days to
4409         unsigned long integers.
4410         * src/faillog.c: Cast dates to time_t.
4411
4412 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4413
4414         * src/login.c: Ignore the return value of signal().
4415         * src/login.c: Use a %lu format and cast group and user IDs to
4416         unsigned long integers.
4417         * src/login.c: Ignore return value of setlocale(),
4418         bindtextdomain(), and textdomain().
4419
4420 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4421
4422         * src/chage.c: Add the arguments' names in the functions
4423         prototypes.
4424         * src/chage.c: The ID argument of audit_logger is an unsigned
4425         int. Use AUDIT_NO_ID instead of -1.
4426         * src/chage.c: print_date() received a time_t.
4427         * src/chage.c: Use SHADOW_SP_FLAG_UNSET for the initial
4428         value of spwent.sp_flag.
4429
4430 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4431
4432         * src/groupadd.c: The ID argument of audit_logger is an unsigned
4433         int. Use AUDIT_NO_ID instead of -1.
4434         * src/groupadd.c: Cast the parsed GID/UID to a gid_t/uid_t.
4435
4436 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4437
4438         * src/pwck.c: Use a %lu format and cast group and user IDs to
4439         unsigned long integers.
4440         * src/pwck.c: Cast number of days to a long integer.
4441         * src/pwck.c: Use the SCALE macro instead of (24L * 3600L)
4442         for the values to be set in /etc/shadow.
4443         * src/pwck.c: Use SHADOW_SP_FLAG_UNSET for the initial
4444         value of spent.sp_flag.
4445
4446 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4447
4448         * src/passwd.c: Ignore return value of time() when use with a
4449         non NULL argument.
4450         * src/passwd.c: Cast number of days to a long integer.
4451
4452 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4453
4454         * src/groupmod.c: The ID argument of audit_logger is an unsigned
4455         int. Use AUDIT_NO_ID instead of -1.
4456         * src/groupmod.c:  Use a %lu format and cast group and user IDs to
4457         unsigned long integers.
4458         * src/groupmod.c: Cast the parsed GID/UID to a gid_t/uid_t.
4459
4460 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4461
4462         * src/useradd.c: The ID argument of audit_logger is an unsigned
4463         int. Use AUDIT_NO_ID instead of -1.
4464         * src/useradd.c: Cast the parsed GID/UID to a gid_t/uid_t.
4465         * src/useradd.c: The size argument of fgets is an int, not a
4466         size_t.
4467         * src/useradd.c: Cast number of days to a long integer.
4468         * src/useradd.c: Use SHADOW_SP_FLAG_UNSET for the initial
4469         value of spent.sp_flag.
4470         * src/useradd.c: Use a %lu format and cast group and user IDs to
4471         unsigned long integers.
4472
4473 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4474
4475         * src/su.c: fork() and waitpid() return a pid_t, not an int.
4476         * src/su.c: Add brackets and parenthesis.
4477         * src/su.c: Ignore the return value of signal().
4478
4479 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4480
4481         * src/groupdel.c: The ID argument of audit_logger is an unsigned
4482         int. Use AUDIT_NO_ID instead of -1.
4483
4484 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4485
4486         * src/expiry.c: Ignore the return value of signal().
4487
4488 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4489
4490         * src/newusers.c: Fix the check for GID/UID validity.
4491         * src/newusers.c: Comment why we use both getgrgid() and
4492         gr_locate_gid().
4493         * src/newusers.c: Cast the parsed GID/UID to a gid_t/uid_t.
4494         * src/newusers.c: Cast the number of days to a long integer.
4495         * src/newusers.c: Use SHADOW_SP_FLAG_UNSET for the initial
4496         value of spent.sp_flag.
4497         * src/newusers.c: The size argument of fgets is an int, not a
4498         size_t.
4499
4500 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4501
4502         * src/usermod.c: Cast dates to time_t, and number of days to a
4503         long integer.
4504         * src/usermod.c: Cast UIDs and GIDs to uid_t and gid_t after
4505         checking the ranges.
4506         * src/usermod.c: The ID argument of audit_logger is an unsigned
4507         int.
4508         * src/usermod.c: read() returns a ssize_t.
4509         * src/usermod.c: Cast the return value of malloc and make sure it
4510         receives a size_t.
4511
4512 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4513
4514         * src/logoutd.c: Ignore return value of time() when use with a
4515         non NULL argument.
4516
4517 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4518
4519         * src/pwconv.c: Use SHADOW_SP_FLAG_UNSET for the initial
4520         value of sp.sp_flag.
4521         * src/pwconv.c: Cast number of days to a long integer.
4522
4523 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4524
4525         * src/gpasswd.c: The ID argument of audit_logger is an unsigned
4526         int.
4527         * src/gpasswd.c: Ignore the return value of signal(). The signal
4528         handlers are only changed for the last steps of gpasswd, and there
4529         is no need to restore them.
4530
4531 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4532
4533         * src/userdel.c: The ID argument of audit_logger is an unsigned
4534         int.
4535         * src/userdel.c: fork() and wait() return a pid_t, not an int.
4536
4537 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4538
4539         * src/newgrp.c: Use a %lu format and cast group and user IDs to
4540         unsigned long integers.
4541         * src/newgrp.c: The ID argument of audit_logger is an unsigned
4542         int.
4543         * src/newgrp.c: Ignore the return value of signal() (the signal
4544         handlers are assumed to be the default one and are restored
4545         later).
4546         * src/newgrp.c: Do not checl if a pid_t is < 0, check if equal
4547         to (pid_t)-1.
4548
4549 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4550
4551         * libmisc/isexpired.c: Cast number of days to a long integer.
4552         * libmisc/isexpired.c: Add brackets and parenthesis.
4553
4554 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4555
4556         * libmisc/copydir.c: Do not specify a size of arrays in the
4557         prototypes.
4558         * libmisc/copydir.c: Use a size_t for the length of strings.
4559         * libmisc/copydir.c: Cast the return value of malloc().
4560         * libmisc/copydir.c: The size argument of write() is a size_t.
4561
4562 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4563
4564         * libmisc/pwd2spwd.c: Cast number of days to a long integer.
4565         * libmisc/pwd2spwd.c: Use SHADOW_SP_FLAG_UNSET for the initial
4566         value of sp.sp_flag.
4567
4568 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4569
4570         * lib/defines.h: Include <config.h> since it uses the macro that
4571         might be defined in this header file.
4572         * lib/defines.h: Prefer checking if HAVE_LOCALE_H or ENABLE_NLS
4573         are defined (rather than set to non 0).
4574         * lib/defines.h: The dummy implementations of bindtextdomain() and
4575         textdomain() should return a pointer. Return NULL instead of
4576         /* empty */
4577         * lib/defines.h: Define SHADOW_SP_FLAG_UNSET, to be used for the
4578         initialization of sp_flag field of the shadow structures.
4579         * lib/defines.h: Define LC_ALL, needed even if HAVE_LOCALE_H is
4580         not defined.
4581
4582 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4583
4584         * libmisc/sulog.c: Ignore the return value of umask() when the
4585         mask is restored.
4586         * libmisc/sulog.c: Add brackets.
4587         * libmisc/sulog.c: Ignore return value of time() when use with a
4588         non NULL argument.
4589
4590 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4591
4592         * libmisc/log.c: Avoid assignments in comparisons.
4593         * libmisc/log.c: Add brackets and parenthesis.
4594         * libmisc/log.c: read() returns a ssize_t (note size_t).
4595         * libmisc/log.c: Avoid implicit conversion of pointers to
4596         booleans.
4597         * libmisc/log.c: Ignore return value of time() when use with a
4598         non NULL argument.
4599
4600 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4601
4602         * libmisc/strtoday.c: Avoid implicit conversion of pointers to
4603         booleans.
4604         * libmisc/strtoday.c: Add brackets and parenthesis.
4605
4606 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4607
4608         * libmisc/salt.c: Use a size_t for the size of strings instead of
4609         unsigned int.
4610         * libmisc/salt.c: Add brackets and parenthesis.
4611         * libmisc/salt.c: Avoid assignments in comparisons.
4612
4613 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4614
4615         * libmisc/age.c: fork() and wait() return a pid_t, not an int.
4616         * libmisc/age.c: Avoid implicit conversion of pointers to
4617         booleans.
4618         * libmisc/age.c: Avoid assignments in comparisons.
4619         * libmisc/age.c: Ignore the return value of printf(), puts(),
4620         fputs() and fflush().
4621         * libmisc/age.c: Add brackets and parenthesis.
4622         * libmisc/age.c: Cast the return value of time() to long and
4623         converted to a date.
4624
4625 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4626
4627         * libmisc/rlogin.c: The size argument of read() is a size_t.
4628         Propagate this time to the callers (the get_remote_string() and
4629         do_rlogin() functions).
4630         * libmisc/rlogin.c: Add brackets and parenthesis.
4631         * libmisc/rlogin.c: Avoid multi-statements lines.
4632         * libmisc/rlogin.c: Avoid assignments in comparisons.
4633         * libmisc/rlogin.c: Avoid implicit conversion of pointers to
4634         booleans.
4635
4636 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4637
4638         * libmisc/failure.c: Avoid assignments in comparisons.
4639         * libmisc/failure.c: read() returns a ssize_t.
4640         * libmisc/failure.c: Add brackets and parenthesis.
4641         * libmisc/failure.c: Ignore return value of time() when use with a
4642         non NULL argument.
4643
4644 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4645
4646         * libmisc/chowntty.c: Avoid assignments in comparisons.
4647         * libmisc/chowntty.c: Avoid implicit conversion of pointers to
4648         booleans.
4649         * libmisc/chowntty.c: Add brackets and parenthesis.
4650
4651 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4652
4653         * libmisc/audit_help.c: Add brackets.
4654
4655 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4656
4657         * libmisc/addgrps.c: Avoid implicit conversion of pointers to
4658         booleans.
4659         * libmisc/addgrps.c: Add brackets.
4660
4661 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4662
4663         * libmisc/utmp.c: Avoid implicit conversion of pointers to
4664         booleans.
4665
4666 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4667
4668         * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c,
4669         libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/tz.c,
4670         src/login_nopam.c, src/chpasswd.c, src/chgpasswd.c, lib/port.c:
4671         The size argument of fgets is an int, not a size_t.
4672         * libmisc/loginprompt.c: Ignore the return value from signal()
4673         when the signal handlers are restored.
4674         * src/chpasswd.c: Cast the return value of time() to a long
4675         integer.
4676         * src/chpasswd.c: Use the SCALE macro instead of (24L * 3600L)
4677         for the values to be set in /etc/shadow.
4678
4679 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4680
4681         * src/pwck.c: Use a bool when possible instead of int integers.
4682         * src/pwck.c: Avoid implicit conversion of integers to booleans.
4683
4684 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4685
4686         * src/su.c: Use a bool when possible instead of int integers.
4687         * src/su.c: Add brackets and parenthesis.
4688         * src/su.c: Avoid implicit conversion of pointers / integers
4689         / chars to booleans.
4690         * src/su.c: Ignore the return value of pam_end() before
4691         exiting.
4692         * src/su.c: Avoid assignments in comparisons.
4693         * src/su.c: Avoid multi-statements lines.
4694
4695 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4696
4697         * lib/prototypes.h, libmisc/valid.c: Change the prototype of
4698         valid() to return a bool.
4699         * libmisc/valid.c: Add parenthesis.
4700
4701 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4702
4703         * lib/commonio.c: Add brackets and parenthesis.
4704         * lib/commonio.c: Check the result of fgets().
4705         * lib/commonio.c: Avoid implicit conversion of pointers to
4706         booleans.
4707
4708 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4709
4710         * lib/prototypes.h: Fix the prototypes to match earlier changes.
4711
4712 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4713
4714         * lib/nscd.c: Include defines.h.
4715         * lib/nscd.c: Always warn when the nscd cache cannot be flushed.
4716         * lib/nscd.c: Avoid assignments in comparisons.
4717         * lib/nscd.c: Ignore the return value of fputs() when printing
4718         errors.
4719
4720 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4721
4722         * lib/port.c: Add brackets and parenthesis.
4723         * lib/port.c: Change isttytime() prototype to return a bool.
4724         * lib/port.c: Ignore the return value of fclose () (file open
4725         read-only).
4726         * lib/port.c: Avoid multi-statements lines.
4727
4728 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4729
4730         * src/id.c: Ignore the return value of fputs(), puts(), putchar(),
4731         and printf().
4732         * src/id.c: Ignore return value of setlocale(),
4733         bindtextdomain(), and textdomain().
4734         * src/id.c: Add brackets and parenthesis.
4735         * src/id.c: Avoid implicit conversion of pointers / integers
4736         to booleans.
4737
4738 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4739
4740         * src/chsh.c: Use a bool when possible instead of int integers.
4741         * src/chsh.c: restricted_shell() renamed is_restricted_shell().
4742         check_shell() renamed shell_is_listed().
4743         * src/chsh.c: Ignore return value of setlocale(),
4744         bindtextdomain(), and textdomain().
4745         * src/chsh.c: Avoid implicit conversion of pointers / integers
4746         to booleans.
4747         * src/chsh.c: Ignore the return value of pam_end() before
4748         exiting.
4749
4750 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4751
4752         * src/grpunconv.c: Use a bool when possible instead of int
4753         integers.
4754         * src/grpunconv.c: Add brackets and parenthesis.
4755         * src/grpunconv.c: Ignore return value of setlocale(),
4756         bindtextdomain(), and textdomain().
4757         * src/grpunconv.c: Avoid implicit conversion of pointers / integers
4758         to booleans.
4759
4760 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4761
4762         * src/sulogin.c: Ignore return value of setlocale(),
4763         bindtextdomain(), and textdomain().
4764         * src/sulogin.c: Avoid implicit conversion of pointers / integers
4765         / chars to booleans.
4766         * src/sulogin.c: Avoid assignments in comparisons.
4767         * src/sulogin.c: Ignore the return value of alarm().
4768
4769 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4770
4771         * src/groups.c: Use a bool when possible instead of int integers.
4772         * src/groups.c: Add brackets and parenthesis.
4773         * src/groups.c: Avoid implicit conversion of pointers / integers
4774         to booleans.
4775         * src/groups.c: Avoid assignments in comparisons.
4776         * src/groups.c: Ignore the return value of putchar(), printf()
4777         * src/groups.c: Ignore return value of setlocale(),
4778         bindtextdomain(), and textdomain().
4779
4780 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4781
4782         * src/grpconv.c: Use a bool when possible instead of int integers.
4783         * src/grpconv.c: Add brackets and parenthesis.
4784         * src/grpconv.c: Ignore return value of setlocale(),
4785         bindtextdomain(), and textdomain().
4786         * src/grpconv.c: Avoid implicit conversion of pointers / integers
4787         to booleans.
4788
4789 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4790
4791         * src/faillog.c: Use a bool when possible instead of int integers.
4792         * src/faillog.c: Avoid implicit conversion of pointers / integers
4793         / chars to booleans.
4794         * src/faillog.c: Ignore return value of setlocale(),
4795         bindtextdomain(), and textdomain().
4796         * src/faillog.c: Add brackets and parenthesis.
4797
4798 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4799
4800         * src/login.c: Avoid multi-statements lines.
4801         * src/login.c: Ignore the return value of pam_end() before
4802         exiting.
4803         * src/login.c: Use a bool when possible instead of int integers.
4804         * src/login.c: Add brackets and parenthesis.
4805         * src/login.c: Ignore the return values of fflush(), putchar(), puts().
4806         * src/login.c: Ignore the return value of fclose() for read-only
4807         files.
4808         * src/login.c: Avoid assignments in comparisons.
4809         * src/login.c: Ignore return value of setlocale(),
4810         bindtextdomain(), and textdomain().
4811         * src/login.c: Avoid implicit conversion of pointers / integers
4812         / chars to booleans.
4813
4814 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4815
4816         * src/chage.c: Use a bool when possible instead of int integers.
4817         * src/chage.c: Ignore return value of setlocale(),
4818         bindtextdomain(), and textdomain().
4819
4820 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4821
4822         * src/groupadd.c: Use a bool when possible instead of int
4823         integers.
4824         * src/groupadd.c: Add brackets and parenthesis.
4825         * src/groupadd.c: Avoid implicit conversion of pointers / integers
4826         / chars to booleans.
4827         * src/groupadd.c: Ignore return value of setlocale(),
4828         bindtextdomain(), and textdomain().
4829         * src/groupadd.c: Ignore the return value of pam_end() before
4830         exiting.
4831
4832 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4833
4834         * src/pwck.c: Use a bool when possible instead of int integers.
4835         * src/pwck.c: Ignore return value of setlocale(),
4836         bindtextdomain(), and textdomain().
4837
4838 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4839
4840         * src/passwd.c: Use a bool when possible instead of int integers.
4841         * src/passwd.c: Avoid assignments in comparisons.
4842         * src/passwd.c: Add brackets and parenthesis.
4843         * src/passwd.c: Avoid implicit conversion of pointers / integers /
4844         chars to booleans.
4845         * src/passwd.c: Move the "context_t c" declaration at the
4846         beginning check_selinux_access.
4847         * src/passwd.c: Ignore return value of setlocale(),
4848         bindtextdomain(), and textdomain().
4849
4850 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4851
4852         * src/groupmod.c: Use a bool when possible instead of int
4853         integers.
4854         * src/groupmod.c: Avoid assignments in comparisons.
4855         * src/groupmod.c: Add brackets and parenthesis.
4856         * src/groupmod.c: Avoid implicit conversion of pointers / integers
4857         / chars to booleans.
4858         * src/groupmod.c: Use a %lu format to print GIDs, and cast the GID
4859         to (unsigned long int).
4860         * src/groupmod.c: Ignore return value of setlocale(),
4861         bindtextdomain(), and textdomain().
4862         * src/groupmod.c: Ignore the return value of pam_end() before
4863         exiting.
4864
4865 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4866
4867         * src/su.c: Ignore return value of setlocale(),
4868         bindtextdomain(), and textdomain().
4869
4870 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4871
4872         * src/useradd.c: Use a bool when possible instead of int integers.
4873         * src/useradd.c: Avoid implicit conversion of pointers / integers
4874         / chars to booleans.
4875         * src/useradd.c: Add brackets and parenthesis.
4876         * src/useradd.c: Avoid assignments in comparisons.
4877         * src/useradd.c: Ignore the return value of fclose() for read-only
4878         files.
4879         * src/useradd.c: Ignore the return value of fflush() before
4880         closing the files.
4881         * src/useradd.c: Avoid multi-statements lines.
4882         * src/useradd.c: Ignore return value of setlocale(),
4883         bindtextdomain(), and textdomain().
4884         * src/useradd.c: Ignore the return value of pam_end() before
4885         exiting.
4886
4887 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4888
4889         * src/vipw.c: Use a bool when possible instead of int integers.
4890         * src/vipw.c: Ignore the return value of umask(), when the mask is
4891         set again to the old value.
4892         * src/vipw.c: Avoid implicit conversion of pointers / integers to
4893         booleans.
4894         * src/vipw.c: Add brackets and parenthesis.
4895         * src/vipw.c: Avoid assignments in comparisons.
4896         * src/vipw.c: Ignore return value of setlocale(),
4897         bindtextdomain(), and textdomain().
4898         * src/vipw.c: Add missing termination of the longopts parameter
4899         for getopt_long().
4900
4901 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4902
4903         * src/chgpasswd.c: Use a bool when possible instead of int
4904         integers.
4905         * src/chgpasswd.c: Ignore return value of setlocale(),
4906         bindtextdomain(), and textdomain().
4907         * src/chgpasswd.c: Avoid implicit conversion of integers to
4908         booleans.
4909
4910 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4911
4912         * src/groupdel.c: Use a bool when possible instead of int
4913         integers.
4914         * src/groupdel.c: Avoid implicit conversion of pointers / integers to
4915         booleans.
4916         * src/groupdel.c: Avoid assignments in comparisons.
4917         * src/groupdel.c: Ignore the return value of pam_end() before
4918         exiting.
4919         * src/groupdel.c: Ignore return value of setlocale(),
4920         bindtextdomain(), and textdomain().
4921
4922 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4923
4924         * src/expiry.c: Ignore return value of setlocale(),
4925         bindtextdomain(), and textdomain().
4926         * src/expiry.c: Add brackets and parenthesis.
4927         * src/expiry.c: Avoid assignments in comparisons.
4928         * src/expiry.c: Avoid implicit conversion of pointers to booleans.
4929
4930 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4931
4932         * src/pwunconv.c: Use a bool when possible instead of int
4933         integers.
4934         * src/pwunconv.c: Add brackets and parenthesis.
4935         * src/pwunconv.c: Ignore return value of setlocale(),
4936         bindtextdomain(), and textdomain().
4937         * src/pwunconv.c: Avoid implicit conversion of pointers / integers
4938         / chars to booleans.
4939         * src/pwunconv.c: Avoid assignments in comparisons.
4940
4941 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4942
4943         * src/usermod.c: Use a bool when possible instead of int integers.
4944         * src/usermod.c: Add brackets and parenthesis.
4945         * src/usermod.c: Avoid implicit conversion of pointers / integers
4946         / chars to booleans.
4947         * src/usermod.c: Avoid assignments in comparisons.
4948         * src/usermod.c: Ignore return value of setlocale(),
4949         bindtextdomain(), and textdomain().
4950         * src/usermod.c: Ignore the return value of pam_end() before
4951         exiting.
4952
4953 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4954
4955         * src/groupmems.c: Move the declaration of option_index and
4956         long_options before the blocks of code.
4957         * src/groupmems.c: Ignore return value of setlocale(),
4958         bindtextdomain(), and textdomain().
4959         * src/groupmems.c: Ignore the return value of pam_end() before
4960         exiting.
4961
4962 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4963
4964         * src/chfn.c: Use a bool when possible instead of int integers.
4965         * src/chfn.c: Avoid implicit conversion of integers / chars to
4966         booleans.
4967         * src/chfn.c: Ignore return value of setlocale(),
4968         bindtextdomain(), and textdomain().
4969
4970 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4971
4972         * src/logoutd.c: Use a bool when possible instead of int integers.
4973         * src/logoutd.c: Avoid implicit conversion of pointers / integers
4974         / chars to booleans.
4975         * src/logoutd.c: Ignore return value of setlocale(),
4976         bindtextdomain(), and textdomain().
4977         * src/logoutd.c: Add brackets and parenthesis.
4978
4979 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4980
4981         * src/chpasswd.c: Use a bool when possible instead of int
4982         integers.
4983         * src/chpasswd.c: Avoid implicit conversion of pointers / integers
4984         / chars to booleans.
4985         * src/chpasswd.c: Ignore return value of setlocale(),
4986         bindtextdomain(), and textdomain().
4987
4988 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4989
4990         * src/pwconv.c: Use a bool when possible instead of int integers.
4991         * src/pwconv.c: Add brackets and parenthesis.
4992         * src/pwconv.c: Ignore return value of setlocale(),
4993         bindtextdomain(), and textdomain().
4994         * src/pwconv.c: Avoid implicit conversion of pointers / integers /
4995         chars to booleans.
4996
4997 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4998
4999         * NEWS, src/newusers.c: Implement the -r, --system option.
5000         * src/newusers.c: Use a bool when possible instead of int
5001         integers.
5002         * src/newusers.c: Avoid implicit conversion of pointers / integers
5003         / chars to booleans.
5004         * src/newusers.c: Ignore the return value of pam_end() before
5005         exiting.
5006         * src/newusers.c: Ignore return value of setlocale(),
5007         bindtextdomain(), and textdomain().
5008         * src/newusers.c: Avoid multi-statements lines.
5009         * src/newusers.c: Add brackets and parenthesis.
5010
5011 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5012
5013         * src/gpasswd.c: Use a bool when possible instead of int integers.
5014         * src/gpasswd.c: Avoid implicit conversion of pointers / integers
5015         / chars to booleans.
5016         * src/gpasswd.c: Ignore the return value of putchar() and fflush()
5017         before exiting.
5018         * src/gpasswd.c: check_list() renamed is_valid_user_list(), and
5019         return a bool.
5020         * src/gpasswd.c: Ignore return value of setlocale(),
5021         bindtextdomain(), and textdomain().
5022
5023 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5024
5025         * src/grpck.c: Use a bool when possible instead of int integers.
5026         * src/grpck.c: Ignore return value of setlocale(),
5027         bindtextdomain(), and textdomain().
5028
5029 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5030
5031         * src/lastlog.c: Use a bool when possible instead of int integers.
5032         * src/lastlog.c: Avoid implicit conversion of pointers / integers
5033         / chars to booleans.
5034         * src/lastlog.c: Add brackets and parenthesis.
5035         * src/lastlog.c: Ignore return value of setlocale(),
5036         bindtextdomain(), and textdomain().
5037
5038 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5039
5040         * src/userdel.c: Use a bool for the is_shadow_pwd, is_shadow_grp,
5041         deleted_user_group, was_member, was_admin, and the
5042         options' flags.
5043         * src/userdel.c: Change path_prefix() prototype to return a bool.
5044         * src/userdel.c: Ignore return value of setlocale(),
5045         bindtextdomain(), and textdomain().
5046         * src/userdel.c: Ignore the return value from pam_end() since we
5047         are exiting anyway just afterwards.
5048         * src/userdel.c: Avoid implicit conversion of pointers /
5049         integers / chars to booleans.
5050         * src/userdel.c: Add brackets and parenthesis.
5051         * src/userdel.c: Avoid assignments in comparisons.
5052         * src/userdel.c: Do not ignore the return value of the *_unlock()
5053         functions.
5054
5055 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5056
5057         * src/login_nopam.c: Do not use the YES and NO macros. Use the
5058         booleans true and false instead. Change the prototypes of
5059         list_match(), user_match(), from_match(), and string_match()
5060         accordingly. Also use booleans internally.
5061         * src/login_nopam.c: Add brackets and parenthesis.
5062         * src/login_nopam.c: Avoid implicit conversion of pointers /
5063         integers / chars to booleans.
5064         * src/login_nopam.c: Avoid assignments in comparisons.
5065
5066 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5067
5068         * src/newgrp.c: Use a bool for is_newgrp, notfound, needspasswd,
5069         initflag, and cflag.
5070         * src/newgrp.c: Add brackets and parenthesis.
5071         * src/newgrp.c: Avoid implicit conversion of pointers / integers /
5072         chars to booleans.
5073         * src/newgrp.c: Avoid multi-statements lines.
5074         * src/newgrp.c: Ignore return value of setlocale(),
5075         bindtextdomain(), and textdomain().
5076         * src/newgrp.c: Avoid assignments in comparisons.
5077
5078 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5079
5080         * libmisc/list.c: Change is_on_list() prototype to return a bool.
5081
5082 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5083
5084         * libmisc/find_new_ids.c: Change find_new_uid() and find_new_gid()
5085         prototypes to use a bool for their first argument (sys_user /
5086         sys_group).
5087
5088 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
5089
5090         * libmisc/console.c: Change is_listed() prototype to return a bool.
5091         The default parameter should also be a bool.
5092         * libmisc/console.c: Add brackets and parenthesis.
5093         * libmisc/console.c: Avoid assignments in comparisons.
5094         * libmisc/console.c: Change console() prototype to return a bool.
5095
5096 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5097
5098         * lib/sgetspent.c: Add brackets and parenthesis.
5099         * lib/sgetspent.c: Avoid assignments in comparisons.
5100         * lib/sgetspent.c: Avoid implicit conversion of pointers / chars
5101         to booleans.
5102         * lib/sgetspent.c: Avoid multi-statements lines.
5103
5104 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5105
5106         * lib/sgetpwent.c: Avoid implicit conversion of pointers / chars to
5107         booleans.
5108         * lib/sgetpwent.c: Add brackets and parenthesis.
5109         * lib/sgetpwent.c: Return NULL instead of 0.
5110         * lib/sgetpwent.c: Do not check twice if fields[2] and fields[3]
5111         are not empty.
5112         * lib/sgetpwent.c: Avoid assignments in comparisons.
5113
5114 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5115
5116         * libmisc/getdate.y: abbrev is a bool.
5117         * libmisc/getdate.y: Avoid implicit conversion of pointers / chars /
5118         integers to booleans.
5119
5120 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5121
5122         * lib/prototypes.h: Fix prototypes according to earlier changes
5123         (usage of the bool type).
5124         * lib/prototypes.h: Add the arguments' name to the prototypes.
5125
5126 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5127
5128         * lib/groupio.h: Add protection against multiple inclusions.
5129
5130 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5131
5132         * lib/pwio.h: Add protection against multiple inclusions.
5133         * lib/pwio.c: The changed, isopen, locked, and readonly fields
5134         of the db are booleans.
5135
5136 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5137
5138         * lib/shadowio.h, lib/shadowio.c: spw_file_present returns a bool.
5139         * lib/shadowio.h: Add protection against multiple inclusions.
5140         * lib/shadowio.c: The changed, isopen, locked, and readonly fields
5141         of the db are booleans.
5142
5143 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5144
5145         * lib/sgroupio.c: Avoid assignments in comparisons.
5146         * lib/sgroupio.c: Add brackets.
5147         * lib/sgroupio.c: Avoid implicit conversion of pointers / integers
5148         to booleans.
5149         * lib/sgroupio.c: The changed, isopen, locked, and readonly fields
5150         of the db are booleans.
5151         * lib/sgroupio.h, lib/sgroupio.c: sgr_file_present returns a bool.
5152         * lib/sgroupio.h: Add protection against multiple inclusions.
5153
5154 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5155
5156         * lib/gshadow.c: nis_used and nis_bound are booleans.
5157         * lib/gshadow.c: Avoid implicit conversion of pointers / integers
5158         to booleans.
5159         * lib/gshadow.c: Avoid assignments in comparisons.
5160         * lib/gshadow.c: Add brackets.
5161
5162 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5163
5164         * lib/groupio.c: The changed, isopen, locked, and readonly fields
5165         of the db are booleans.
5166         * lib/groupio.h: Add protection against multiple inclusion.
5167
5168 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5169
5170         * lib/sgetgrent.c: Avoid implicit conversion of pointers / chars
5171         to booleans.
5172         * lib/sgetgrent.c: Avoid assignments in comparisons.
5173         * lib/sgetgrent.c: Add brackets.
5174
5175 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5176
5177         * lib/encrypt.c: Avoid implicit conversion of pointers to
5178         booleans.
5179         * lib/encrypt.c: Add parenthesis.
5180
5181 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5182
5183         * lib/port.c: Avoid implicit conversion of pointers / integers /
5184         chars to booleans.
5185         * lib/port.c: Avoid multiple statement on the same line.
5186         * lib/port.c: Add brackets and parenthesis.
5187         * lib/port.c: Avoid assignments in comparisons.
5188         * lib/port.c: Fix typo comparision -> comparison (in comment).
5189
5190 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5191
5192         * lib/fputsx.c: Add brackets.
5193         * lib/fputsx.c: Avoid assignments in comparisons.
5194         * lib/fputsx.c: Avoid implicit conversion of pointers / integers /
5195         chars to booleans.
5196
5197 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5198
5199         * lib/commonio.h: commonio_entry.changed, commonio_db.changed,
5200         commonio_db.isopen, commonio_db.locked, and commonio_db.readonly
5201         are no booleans.
5202         * lib/commonio.h: Include defines.h to get the definition of bool.
5203         * lib/commonio.h: commonio_present returns a bool
5204         * lib/commonio.c: Implement above changes.
5205         * lib/commonio.c: add argument names in prototypes.
5206         * lib/commonio.c: name_is_nis returns a bool.
5207         * lib/commonio.c: nscd_need_reload is a bool.
5208         * lib/commonio.c: Improve types (use size_t / pid_t when needed
5209         instead of int).
5210         * lib/commonio.c: Avoid assignments in comparisons.
5211         * lib/commonio.c: Add brackets and parenthesis.
5212         * lib/commonio.c: Avoid implicit conversion of pointers / integers
5213         to booleans
5214         * lib/commonio.c: The return values of utime is not checked on
5215         purpose.
5216
5217 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5218
5219         * libmisc/isexpired.c: ARGSUSED is no more needed (shadow is
5220         always supported).
5221         * libmisc/isexpired.c: Avoid implicit conversion of pointers to
5222         booleans.
5223         * libmisc/isexpired.c: Add brackets and parenthesis.
5224
5225 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5226
5227         * libmisc/sulog.c (sulog): The success argument is a bool.
5228         * libmisc/sulog.c: The return values of fflush is not checked on
5229         purpose.
5230         * libmisc/sulog.c: Indicate that some return values should be
5231         checked.
5232
5233 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5234
5235         * libmisc/ttytype.c: Avoid implicit conversion of pointers /
5236         integers to booleans.
5237         * libmisc/ttytype.c: Avoid assignments in comparisons.
5238         * libmisc/ttytype.c: Add brackets and parenthesis.
5239         * libmisc/ttytype.c: The return values of fclose is not checked on
5240         purpose.
5241
5242 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5243
5244         * libmisc/mail.c: Avoid implicit conversion of pointers to
5245         booleans.
5246         * libmisc/mail.c: Avoid assignments in comparisons.
5247
5248 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5249
5250         * libmisc/loginprompt.c: Avoid implicit conversion of pointers /
5251         chars to booleans.
5252         * libmisc/loginprompt.c: Add brackets.
5253         * libmisc/loginprompt.c: Avoid assignments in comparisons.
5254         * libmisc/loginprompt.c: The return values of fclose and fflush
5255         are not checked on purpose.
5256
5257 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5258
5259         * libmisc/setupenv.c: Avoid implicit conversion of chars to
5260         booleans.
5261
5262 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5263
5264         * libmisc/copydir.c: selinux_checked, selinux_enabled, and set_orig
5265         are now booleans.
5266
5267 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5268
5269         * libmisc/setugid.c (setup_uid_gid): The is_console argument is now
5270         a bool.
5271         * libmisc/setugid.c: Avoid implicit conversion of integers /
5272         pointers to booleans.
5273         * libmisc/setugid.c: Add brackets.
5274
5275 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5276
5277         * libmisc/pam_pass.c (do_pam_passwd): The silent and
5278         change_expired are no booleans instead of int.
5279         * libmisc/pam_pass.c: The return value of pam_end is not checked
5280         on purpose.
5281
5282 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5283
5284         * libmisc/getlong.c: Avoid implicit conversion of pointers / chars
5285         to booleans.
5286         * libmisc/getlong.c: Add brackets.
5287
5288 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5289
5290         * libmisc/valid.c: Avoid implicit conversion of pointers / chars
5291         to booleans.
5292         * libmisc/valid.c: Add brackets.
5293
5294 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5295
5296         * libmisc/yesno.c: yes_or_no returns a bool instead of int.
5297         * libmisc/yesno.c: Avoid implicit conversion of pointers to
5298         booleans.
5299         * libmisc/yesno.c: The return value of fflush is not checked
5300         on purpose.
5301
5302 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5303
5304         * libmisc/age.c: Avoid implicit conversion of integers to
5305         booleans.
5306
5307 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5308
5309         * libmisc/rlogin.c: Avoid assignments in comparisons.
5310         * libmisc/rlogin.c: Avoid implicit conversion of integers to
5311         booleans.
5312         * libmisc/rlogin.c: Add brackets.
5313
5314 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
5315
5316         * libmisc/failure.c (failcheck): The failed argument is a bool.
5317         * libmisc/failure.h: Likewise.
5318         * libmisc/failure.c (too_many_failures): too_many_failures returns
5319         a bool.
5320         * libmisc/failure.c: Add notes about unchecked return values.
5321         * libmisc/failure.c: Avoid assignments in comparisons.
5322         * libmisc/failure.c: Add brackets.
5323
5324 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5325
5326         * libmisc/myname.c: Avoid assignments in comparisons.
5327         * libmisc/myname.c: Avoid implicit conversion of pointers / chars
5328         to booleans.
5329         * libmisc/myname.c: Add brackets.
5330
5331 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5332
5333         * libmisc/utmp.c (checkutmp): Change picky argument's type to
5334         bool.
5335         * libmisc/utmp.c: Use bool when possible (found_utmpx,
5336         found_utmp).
5337         * libmisc/utmp.c: Add note about unchecked return values.
5338
5339 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5340
5341         * libmisc/addgrps.c: Change type of added to bool.
5342         * libmisc/addgrps.c: Avoid implicit conversion of pointers to
5343         booleans.
5344
5345 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5346
5347         * libmisc/hushed.c: hushed returns a bool instead of int.
5348         * libmisc/hushed.c: Avoid assignments in comparisons.
5349         * libmisc/hushed.c (hushed): Change type of found to bool.
5350         * libmisc/hushed.c: Add brackets.
5351         * libmisc/hushed.c: Always check if the user or the shell is in
5352         the file. Do not check the first character of the line first. This
5353         is simpler and match better with the HUSHLOGIN_FILE documentation.
5354
5355 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5356
5357         * lib/getdef.h, lib/getdef.c: getdef_bool returns a bool instead
5358         of int.
5359         * lib/getdef.c: Change typo of def_loaded to bool.
5360         * lib/getdef.c: Add brackets.
5361         * lib/getdef.c: Avoid assignments in comparisons.
5362
5363 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5364
5365         * libmisc/chowntty.c: is_my_tty returns a bool.
5366         * libmisc/chowntty.c: Avoid implicit conversion of integers to
5367         booleans.
5368         * libmisc/chowntty.c: Add brackets.
5369
5370 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5371
5372         * libmisc/chowndir.c: Avoid assignment in comparisons, implicit
5373         comparison of integers to booleans.
5374         * libmisc/chowndir.c: The return value of closedir is not checked
5375         on purpose.
5376         * libmisc/chowndir.c: Add brackets.
5377
5378 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5379
5380         * libmisc/chkname.h, libmisc/chkname.c: check_group_name (resp.
5381         check_user_name) renamed to is_valid_user_name (resp.
5382         is_valid_group_name). is_valid_user_name and is_valid_group_name
5383         return a bool.
5384         * src/grpck.c, src/newusers.c, src/usermod.c, src/useradd.c,
5385         src/groupmod.c, src/pwck.c, src/groupadd.c: Use is_valid_user_name
5386         and is_valid_group_name, following above change.
5387         * libmisc/chkname.c: Avoid implicit conversion of chars to
5388         booleans. Add brackets and parenthesis.
5389
5390 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5391
5392         * libmisc/xmalloc.c: Avoid implicit conversion of integers /
5393         pointers to booleans.
5394         * libmisc/xgetXXbyYY.c: Likewise.
5395
5396 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5397
5398         * configure.in, lib/defines.h: Allow usage of booleans in the
5399         source.
5400
5401 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5402
5403         * configure.in: Allow --disable-man and --enable-man=no.
5404
5405 2008-06-26  Nicolas François  <nicolas.francois@centraliens.net>
5406
5407         Prepare the 4.1.2.1 release
5408         * NEWS: set the release date.
5409         * man/po/*.po, po/*.po: Updated PO files.
5410         * configure.in: Set the version to 4.1.2.1.
5411
5412 2008-06-26  Nicolas François  <nicolas.francois@centraliens.net>
5413
5414         * NEWS, src/login.c: Fix an "audit log injection" vulnerability in
5415         login. This is similar to CVE-2008-1926 (util-linux-ng's login).
5416         This vulnerability makes it easier for attackers to hide
5417         activities by modifying portions of log events, e.g. by appending
5418         an addr= statement to the login name.
5419         * lib/prototypes.h: Added definition of AUDIT_NO_ID.
5420
5421 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5422
5423         Prepare the 4.1.2 release
5424         * NEWS: set the release date.
5425         * man/po/*.po, po/*.po: Updated PO files.
5426         * configure.in: Set the version to 4.1.2.
5427
5428 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5429
5430         * po/Makevars, man/po/Makefile.in.in: Run msgmerge with
5431         --previous. (This requires gettext >= 0.16)
5432
5433 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5434
5435         * libmisc/copydir.c (remove_tree): As we always use remove_tree
5436         followed by rmdir to remove the directory itself, delete also the
5437         root directory in remove_tree.
5438         * src/userdel.c, src/usermod.c: Do not call rmdir after
5439         remove_tree.
5440
5441 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5442
5443         * libmisc/copydir.c (remove_tree): Make sure unlink is successful
5444         when removing files.
5445
5446 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5447
5448         * libmisc/pwdcheck.c: Simply passwd_check since it's never used
5449         when configured with PAM support.
5450
5451 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5452
5453         Fix compiler warnings:
5454         * libmisc/audit_help.c: Include prototypes.h to get the prototype
5455         of audit_help_open.
5456         * libmisc/salt.c: Use booleans instead of negating integers.
5457         * src/passwd.c: Declare the check_selinux_access prototype and
5458         avoid name clashes (change_user -> changed_user; change_uid ->
5459         changed_uid; access -> requested_access)
5460         * libmisc/list.c: Avoid assignments in comparisons, assignments
5461         with post increments (x++), use of integers as booleans, and
5462         explicitly mark blocks with brackets.
5463         * libmisc/fields.c: Likewise.
5464         * libmisc/copydir.c: Likewise.
5465         * libmisc/fields.c: Add comments.
5466         * libmisc/copydir.c: Mark function whose return value is not
5467         checked as such.
5468
5469 2008-05-23  Nicolas François  <nicolas.francois@centraliens.net>
5470
5471         * libmisc/pam_pass.c: Use fputs rather than fprintf for constant
5472         strings.
5473
5474 2008-05-21  Nicolas François  <nicolas.francois@centraliens.net>
5475
5476         * man/login.1.xml: Indicate that login should be executed with
5477         "exec login" if called from a shell.
5478
5479 2008-05-21  Nicolas François  <nicolas.francois@centraliens.net>
5480
5481         * man/passwd.1.xml: Remove the advices for the choice of a good
5482         password (they are debatable). Point to
5483         http://en.wikipedia.org/wiki/Password_strength instead.
5484
5485 2008-05-20  Nicolas François  <nicolas.francois@centraliens.net>
5486
5487         * NEWS, libmisc/salt.c (SHA_salt_size): Seed the RNG, and fix a
5488         overflow. These caused the SHA salt size to always be 8 bytes,
5489         instead of being in the 8-16 range. Thanks to Peter Vrabec
5490         pvrabec@redhat.com for noticing.
5491         * NEWS, libmisc/salt.c (SHA_salt_rounds): Seed the RNG with
5492         seedRNG instead of srand, and fix the same overflow. This caused
5493         the number of rounds to always be the smallest one.
5494
5495 2008-05-20  Nicolas François  <nicolas.francois@centraliens.net>
5496
5497         * man/newusers.8.xml man/groupmems.8.xml man/groupdel.8.xml
5498         man/useradd.8.xml man/groupadd.8.xml man/newgrp.1.xml man/sg.1.xml
5499         man/chgpasswd.8.xml man/groupmod.8.xml: Tag the section which
5500         require --enable-shadowgrp accordingly.
5501
5502 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5503
5504         * man/login.defs.5.xml: SHA_CRYPT_MAX_ROUNDS and
5505         SHA_CRYPT_MIN_ROUNDS can only exist if configured with
5506         --with-sha-crypt.
5507
5508 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5509
5510         * NEWS, man/useradd.8.xml: Document the -k, --skel option, and
5511         update the -m, --create-home documentation.
5512
5513 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5514
5515         * man/useradd.8.xml: Sort options.
5516
5517 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5518
5519         * lib/getdef.c: SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can
5520         only exist if configured with --with-sha-crypt.
5521         * man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Likewise.
5522
5523 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5524
5525         * libmisc/salt.c: Document the section closed by #endif
5526
5527 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5528
5529         * src/useradd.c: Fix formatting.
5530
5531 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5532
5533         * NEWS, man/useradd.8.xml: Document the -r, --system option.
5534         * NEWS, man/groupadd.8.xml: Document the -r, --system option.
5535         * NEWS, man/newusers.8.xml: Document the -r, --system option.
5536         * NEWS, man/newusers.8.xml: Document the -c, --crypt-method and
5537         -s, --sha-rounds options.
5538
5539 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5540
5541         Import Debian patch 487_passwd_chauthtok_failed_message
5542         * libmisc/pam_pass.c: Be more verbose and indicate that the
5543         password was not changed when pam_chauthtok fails (in addition to
5544         the PAM error, which may not be comprehensible for the users).
5545
5546 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5547
5548         Import Debian patch 434_login_stop_checking_args_after--
5549         * NEWS, src/login.c (check_flags): Stop checking the arguments
5550         after --. The later options will be sent to the shell, and do not
5551         need to be checked.
5552
5553 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5554
5555         * src/vipw.c, src/su.c, src/newgrp.c: Harmonize the children's
5556         SIGSTOP handling. Raise the signal which stopped the child instead
5557         of always SIGSTOP.
5558
5559 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5560
5561         Import Debian patch 406_vipw_resume_properly.
5562         Thanks to Dean Gaudet.
5563         * NEWS, src/vipw.c: Resume properly after ^Z.
5564
5565 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
5566
5567         * lib/getdef.c, lib/lockpw.c, lib/utent.c, lib/sgetgrent.c,
5568         lib/getdef.h, lib/pwauth.c, lib/sgetspent.c, lib/pwauth.h,
5569         lib/port.c, lib/encrypt.c, lib/groupio.c, lib/shadowmem.c,
5570         lib/port.h, lib/groupio.h, lib/groupmem.c, lib/exitcodes.h,
5571         lib/gshadow.c, lib/gshadow_.h, lib/sgroupio.c, lib/sgroupio.h,
5572         lib/shadowio.c, lib/pwio.c, lib/sgetpwent.c, lib/commonio.c,
5573         lib/faillog.h, lib/shadowio.h, lib/pwio.h, lib/pam_defs.h,
5574         lib/pwmem.c, lib/commonio.h, lib/shadow.c, lib/fputsx.c,
5575         lib/prototypes.h, libmisc/xmalloc.c, libmisc/limits.c,
5576         libmisc/entry.c, libmisc/console.c, libmisc/ulimit.c,
5577         libmisc/xgetXXbyYY.c, libmisc/chkname.c, libmisc/pwd2spwd.c,
5578         libmisc/xgetpwnam.c, libmisc/basename.c, libmisc/chkname.h,
5579         libmisc/chowndir.c, libmisc/audit_help.c, libmisc/chowntty.c,
5580         libmisc/hushed.c, libmisc/xgetpwuid.c, libmisc/getdate.h,
5581         libmisc/addgrps.c, libmisc/xgetgrgid.c, libmisc/utmp.c,
5582         libmisc/myname.c, libmisc/failure.c, libmisc/find_new_ids.c,
5583         libmisc/env.c, libmisc/rlogin.c, libmisc/age.c, libmisc/failure.h,
5584         libmisc/xgetgrnam.c, libmisc/yesno.c, libmisc/valid.c,
5585         libmisc/getlong.c, libmisc/obscure.c, libmisc/pam_pass.c,
5586         libmisc/motd.c, libmisc/salt.c, libmisc/setugid.c,
5587         libmisc/fields.c, libmisc/xgetspnam.c, libmisc/shell.c,
5588         libmisc/copydir.c, libmisc/setupenv.c, libmisc/strtoday.c,
5589         libmisc/loginprompt.c, libmisc/list.c, libmisc/pwd_init.c,
5590         libmisc/log.c, libmisc/mail.c, libmisc/ttytype.c,
5591         libmisc/pwdcheck.c, libmisc/sub.c, libmisc/sulog.c,
5592         libmisc/isexpired.c, libmisc/tz.c, src/newgrp.c, src/userdel.c,
5593         src/lastlog.c, src/grpck.c, src/gpasswd.c, src/newusers.c,
5594         src/pwconv.c, src/chpasswd.c, src/logoutd.c, src/chfn.c,
5595         src/groupmems.c, src/usermod.c, src/pwunconv.c, src/expiry.c,
5596         src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
5597         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
5598         src/groupadd.c, src/nologin.c, src/chage.c, src/login.c,
5599         src/suauth.c, src/faillog.c, src/grpconv.c, src/groups.c,
5600         src/sulogin.c, src/grpunconv.c, src/chsh.c, src/id.c: Make sure
5601         every source files are distributed with a copyright and license.
5602         Files with no license use the default 3-clauses BSD license. The
5603         copyright were mostly not recorded; they were updated according to
5604         the Changelog. "Julianne Frances Haugh and contributors" changed
5605         to "copyright holders and contributors".
5606
5607 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
5608
5609         * NEWS, libmisc/sulog.c: If the SULOG_FILE does not exist when an
5610         su session is logged, make sure the file is created with group
5611         root, instead of using the group of the caller.
5612
5613 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
5614
5615         * NEWS, libmisc/fields.c, src/chfn.c, man/chfn.1.xml: Allow
5616         non-US-ASCII characters in the GECOS fields ("name", "room
5617         number", and "other info" fields).
5618
5619 2008-04-17  Nicolas François  <nicolas.francois@centraliens.net>
5620
5621         * NEWS, src/newgrp.c: Fix compilation failure when compiled with
5622         audit support. Thanks to Mike Frysinger for reporting it.
5623
5624 2008-04-16  Nicolas François  <nicolas.francois@centraliens.net>
5625
5626         Ensure that getpwent() is used in setpwent(), getpwent(),
5627         endpwend() sequences (ditto for getgrent(), getspent(), and
5628         getsgent()). The only real (minor) issue was in login, which kept
5629         the passwd file open.
5630         * libmisc/entry.c: Remove unneeded setspent() and endspent() (only
5631         getspnam is called in the middle).
5632         * libmisc/find_new_ids.c: Make sure to close the password and
5633         group files with endpwent() and endgrent().
5634         * libmisc/pwdcheck.c: Remove unneeded endspent() (only getspnam()
5635         is called before).
5636         * src/lastlog.c, src/passwd.c, src/groupmod.c, src/faillog.c,
5637         src/groups.c: Make sure to close
5638         the password file with endpwent().
5639         * src/login.c: Remove unneeded setpwent() (only xgetpwnam is
5640         called before).
5641         * src/login.c, src/newgrp.c: Fix typos in comments.
5642
5643 2008-04-16  Nicolas François  <nicolas.francois@centraliens.net>
5644
5645         * NEWS, configure.in: Fix the detection of the audit, pam, and
5646         selinux. Fail if the feature is requested but the library (or
5647         header file) could not be found. If nothing is specified, enable
5648         the feature only if we can find the library (or header file).
5649         * configure.in: Document --with-selinux as "yes if found" rather
5650         than "autodetected" for consistency with other options.
5651
5652 2008-04-04  Mark Rosenstand  <mark@borkware.net>
5653
5654         * NEWS, etc/pam.d/Makefile.am: Add chfn, chsh, and userdel to
5655         $(pamd_files). Remove the duplicate useradd. And sort
5656         alphabetically.
5657
5658 2008-04-04  Nicolas François  <nicolas.francois@centraliens.net>
5659
5660         * NEWS: Prepare next release, 4.1.2.
5661
5662 2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
5663
5664         * NEWS, configure.in: Prepare release 4.1.1
5665         * NEWS: Fix the release date of 4.1.0. Was in 2007, not 2008.
5666
5667 2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
5668
5669         * po/fr.po: Update according to the file under review.
5670         Thanks to Jean-Luc Coulon.
5671
5672 2008-04-01  Holger Wansing  <linux@wansing-online.de>
5673
5674         * po/de.po: updated to 431t
5675
5676 2008-03-31  Piarres Beobide  <pi+debian@beobide.net>
5677
5678         * po/eu.po: updated to 431t
5679
5680 2008-03-30  Leandro Azevedo  <leorock182@gmail.com>
5681
5682         * po/pt_BR.po: updated to 360t71f
5683
5684 2008-03-30  Mehmet Türker <mturker@innova.com.tr>
5685
5686         * po/tr.po: updated to 431t
5687
5688 2008-03-30  Clytie Siddall  <clytie@riverland.net.au>
5689
5690         * po/vi.po: updated to 431t
5691
5692 2008-03-30  Daniel Nylander  <yeager@ubuntu.com>
5693
5694         * po/sv.po: updated to 431t
5695
5696 2008-03-29  helix84 <helix84@centrum.sk>
5697
5698         * po/sk.po: updated to 431t
5699
5700 2008-03-27  Danilo Piazzalunga  <danilopiazza@gmail.com>
5701
5702         * po/it.po: updated to 431t
5703
5704 2008-03-26  Nicolas François  <nicolas.francois@centraliens.net>
5705
5706         * TODO: Added entries regarding SE Linux.
5707
5708 2008-03-26  Russell Coker  <russell@coker.com.au>
5709
5710         * src/passwd.c, NEWS: Make SE Linux tests more strict, when the
5711         real UID is 0 SE Linux checks will be performed.
5712
5713 2008-03-24  Yuri Kozlov  <kozlov.y@gmail.com>
5714
5715         * po/ru.po: updated to 431t
5716
5717 2008-03-23  Miguel Figueiredo  <elmig@debianpt.org>
5718
5719         * po/pt.po: updated to 431t
5720
5721 2008-03-21  Changwoo Ryu  <cwryu@debian.org>
5722
5723         * po/ko.po: updated to 431t
5724
5725 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5726
5727         * man/login.defs.5.xml: Fix manpages generation. The SYS_GID_MAX
5728         and SYS_UID_MAX entities were not defined.
5729
5730 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5731
5732         * src/faillog.c: Fix minor compilation warning (assignment used as
5733         a comparison).
5734
5735 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5736
5737         * lib/prototypes.h, src/login.c: login_access() is used in
5738         src/login.c, and defined in src/login_nopam.c (which lacks a
5739         prototype). Move its prototype from src/login.c to
5740         lib/prototypes.h.
5741
5742 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5743
5744         * src/gpasswd.c, src/groupmod.c: Compilation fix. gshadow_locked
5745         should only be used if SHADOWGRP is defined.
5746
5747 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5748
5749         * src/grpck.c: Fix some warnings. compare_members_lists() is only
5750         used if SHADOWGRP is defined.
5751
5752 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5753
5754         * NEWS, src/groupmod.c: Make sure the passwd, group, and gshadow
5755         files are unlocked on exit. Unlock locked files in fail_exit().
5756         Prefer fail_exit() over exit().
5757         * NEWS, src/groupmod.c: When the GID of a group is changed, update
5758         also the GID of the passwd entries of the users whose primary
5759         group is the group being modified.
5760
5761 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5762
5763         * lib/commonio.c (commonio_remove): Fail when the name to be
5764         removed is used by different entries (like commonio_update does).
5765         * NEWS: This fix the behavior of groupdel when the system is not
5766         configured to support split group but different group entries
5767         have the name of the group to be deleted.
5768
5769 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5770
5771         * NEWS, src/useradd.c: Make sure the passwd, group, shadow, and
5772         gshadow files are unlocked on exit. Unlock locked files in
5773         fail_exit(). Prefer fail_exit() over exit().
5774
5775 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5776
5777         * NEWS, src/groupdel.c: Make sure the group, and gshadow files are
5778         unlocked on exit. Add function fail_exit(). Use fail_exit()
5779         instead of exit().
5780         * src/groupdel.c: Fail immediately instead of increasing errors.
5781         Better handling of error cases, like locked group or gshadow file.
5782
5783 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5784
5785         * NEWS, src/newusers.c: Make sure the passwd, group, shadow, and
5786         gshadow files are unlocked on exit. Add function fail_exit(). Use
5787         fail_exit() instead of exit().
5788
5789 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5790
5791         * NEWS, src/gpasswd.c: Make sure the group and gshadow files are
5792         unlocked on exit. Add function fail_exit(). Use fail_exit()
5793         instead of exit().
5794
5795 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5796
5797         * NEWS, src/groupdel.c: Do not rewrite the group and gshadow file
5798         in case of error.
5799
5800 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5801
5802         * src/groupdel.c: Do not log that the group was deleted if an
5803         error occurred.
5804
5805 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5806
5807         * NEWS, src/groupdel.c: Do not raise an error if the group does
5808         not exist in the gshadow file.
5809
5810 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5811
5812         * etc/login.defs: Document MAX_MEMBERS_PER_GROUP.
5813
5814 2008-03-07  Nicolas François  <nicolas.francois@centraliens.net>
5815
5816         * src/newgrp.c: Add missing end of line in message.
5817         * src/newgrp.c: Add audit events for the authentication
5818         (AUDIT_GRP_AUTH). Thansk to Peter Vrabec.
5819
5820 2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
5821
5822         * NEWS, src/faillog.c: Only reset the entries of existing users
5823         with faillog -r (not all numeric IDs starting from 0). Thanks to
5824         Peter Vrabec.
5825
5826 2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
5827
5828         * src/pwunconv.c: Fix typo. One "can't open" message is a "can't
5829         lock".
5830
5831 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
5832
5833         * src/gpasswd.c: When a password is moved to the gshadow file, use
5834         "x" instead of "x" to indicate that the password is shadowed
5835         (consistency with grpconv).
5836
5837 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
5838
5839         * NEWS: Fix failures when the gshadow file is not present. Thanks
5840         to Christian Henz (http://bugs.debian.org/467488)
5841         * src/gpasswd.c (get_group): Do not fail if gshadow is not present. Just use
5842         the group file and set the grent structure
5843         * src/gpasswd.c (check_perms): The permissions should be checked
5844         using both the gshadow and group file. Add a <struct group *>
5845         parameter, and check if the gshadow file exists (is_shadowgrp).
5846         * src/gpasswd.c (main): Do not use sgent.sg_mem or sgent.sg_adm if
5847         the gshadow file is not present (sgent is not initialized in that
5848         case). The fields of sgent can be set, but not used.
5849
5850 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
5851
5852         * src/gpasswd.c: Fix typo in comment.
5853         * src/gpasswd.c: Move comment regarding FIRST_MEMBER_IS_ADMIN to
5854         where it belongs.
5855         * src/gpasswd.c: Indicate the end of the #ifdef FIRST_MEMBER_IS_ADMIN
5856         section.
5857
5858 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5859
5860         * man/po/Makefile.in.in: Use --previous when merging PO files of
5861         the manpages.
5862
5863 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5864
5865         * man/login.defs.d/SYS_UID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
5866         Document new variables.
5867         * man/newusers.8.xml, man/login.defs.5.xml,
5868         man/login.defs.d/GID_MAX.xml, man/login.defs.d/UID_MAX.xml:
5869         newusers uses now the GID_MAX, GID_MIN, UID_MAX, UID_MIN,
5870         SYS_GID_MAX, SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
5871         * man/groupadd.8.xml, man/login.defs.5.xml: groupadd uses now the
5872         SYS_GID_MAX, and SYS_GID_MIN variables.
5873         * man/login.defs.5.xml: useradd uses now the SYS_GID_MAX,
5874         SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
5875         * man/Makefile.am: Add the new XML documentation files to EXTRA_DIST.
5876
5877 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5878
5879         * lib/getdef.c: Added missing SYS_GID_MAX, SYS_GID_MIN,
5880         SYS_UID_MAX, and SYS_UID_MIN.
5881
5882 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5883
5884         * NEWS, src/useradd.c, man/useradd.8.xml: Added options
5885         --user-group (-U, Uflg) and --no-user-group (-N, Nflg) to replace
5886         nflg.
5887         * man/login.defs.d/USERGROUPS_ENAB.xml: useradd now also uses
5888         USERGROUPS_ENAB.
5889
5890 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
5891
5892         * src/groupmod.c: Add missing 'p' to the getopt_long's optstring.
5893
5894 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
5895
5896         * src/groupadd.c: Add missing 'p' to the getopt_long's optstring.
5897         * src/groupadd.c: Fix --non-unique's has_arg field to no_argument
5898         instead of required_argument.
5899         * src/groupadd.c: Add missing -p, --password description to the
5900         Usage message.
5901
5902 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
5903
5904         * NEWS, etc/login.defs: Set GID_MIN to the same value as UID_MIN
5905         by default (1000).
5906         * NEWS, etc/login.defs: Added variables SYS_UID_MIN (100),
5907         SYS_UID_MAX (999), SYS_GID_MIN (100), SYS_GID_MAX (999) for system
5908         accounts.
5909         * libmisc/find_new_ids.c: Added support for system accounts in
5910         find_new_uid() and find_new_gid().
5911         * NEWS, src/newusers.c, src/useradd.c, src/groupadd.c: Added new
5912         option -r, --system for system accounts in useradd, groupadd, and
5913         newusers.
5914
5915 2008-02-18  Nicolas François  <nicolas.francois@centraliens.net>
5916
5917         * NEWS, src/groupmems.c: Fix buffer overflow when adding an user
5918         to a group. Thanks to Peter Vrabec.
5919
5920 2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
5921
5922         * NEWS, etc/useradd: Change the default HOME directory in
5923         /etc/default/useradd according FHS (/home instead of /home/users).
5924         This fixes Alioth's bug #310559. Thanks to Dale E. Edmons.
5925
5926 2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
5927
5928         * NEWS, src/newgrp.c: Use the correct AUDIT_CHGRP_ID event instead of
5929         AUDIT_USER_START, when changing the user space group ID with
5930         newgrp or sg. Thanks to sgrubb@redhat.com for the patch.
5931
5932 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
5933
5934         * src/usermod.c: Reset oflg with uflg if the new UID is equal to
5935         the old one.
5936         * src/usermod.c: Reset mflg with dflg if the new home directory is
5937         the same as the old one.
5938
5939 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
5940
5941         * NEWS, src/usermod.c: Fix the handling of -a when a user is being
5942         renamed (with -l). The new name of the user was used for the new
5943         supplementary groups, but not in the existing ones.
5944
5945 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
5946
5947         * src/newusers.c: Set the shadow's password instead of the
5948         passwd's password. Fix wrong cut&paste.
5949
5950 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5951
5952         * src/usermod.c: Use a function to convert the dates from
5953         /etc/shadow to human readable dates.
5954         * src/usermod.c: Really log the expiration date change as human
5955         readable strings instead of integers.
5956         * src/usermod.c: No need to check audit_fd, audit_logger() will
5957         take care of this.
5958
5959 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5960
5961         * src/login.c: Do not translate the fromhost variable. It is
5962         always used for syslog messages.
5963
5964 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5965
5966         * NEWS, lib/defines.h: Switch to the C locale before sending
5967         messages to syslog. The messages sent by shadow were not
5968         translated, but error messages from PAM returned by pam_strerror()
5969         were translated in the users's locale.
5970
5971 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5972
5973         * NEWS: newusers will behave more like useradd.
5974         * src/newusers.c: The user's ID must be found before the group ID
5975         to mimic useradd's behavior choices of UID and GID.
5976         * src/newusers.c: Reuse the generic find_new_uid() and
5977         find_new_gid() functions. This permits to respect the
5978         UID_MIN/UID_MAX and GID_MIN/GID_MAX variables, should 
5979         * src/newusers.c: Check if the user or group exist using the
5980         external databases (with the libc getpwnam/getgrnam functions).
5981         Refuse to update an user which exist in an external database but
5982         does not exist in the local database.
5983         * src/newusers.c: Check the usernames and groupnames with
5984         check_user_name() and check_group_name()
5985         * src/newusers.c: Use isdigit() for readability.
5986         * src/newusers.c: Check if numerical IDs are valid (no remaining
5987         chars).
5988
5989 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5990
5991         * NEWS, src/newusers.c: Fix the support for the NONE crypt method.
5992
5993 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5994
5995         * src/newusers.c: Fix shadow group support (the list of admins was
5996         not defined; it is now set to an empty list).
5997
5998 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5999
6000         * NEWS, libmisc/salt.c: Do not seed the random number generator
6001         each time, and use the time in microseconds to avoid having the
6002         same salt for different passwords generated in the same second.
6003         This permits to avoid using the same salt for different passwords
6004         in newusers.
6005
6006 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
6007
6008         * lib/pwio.c, lib/pwio.h: New function to find an user by
6009         its UID on the local database.
6010         * lib/groupio.c, lib/groupio.h: New function to find a group by
6011         its GID on the local database.
6012         * libmisc/find_new_ids.c, lib/prototypes.h: Add new generic
6013         functions to find the next user or group ID available:
6014         find_new_uid() and find_new_gid(). They work the same way as the
6015         functions with the same name of useradd or groupadd, except that
6016         they check in the local database to make sure an ID was not
6017         reserved in an uncommitted change (this is needed to be used in
6018         newusers), they report a status instead of calling exit(), and
6019         they can receive a preferred ID. They should later support system
6020         IDs. This should be a little bit slower, but not too much (if the
6021         database is not open the checks against the local database will
6022         exit immediately, and if it is already open, all the checks will be
6023         done regarding the data in memory).
6024         * po/POTFILES.in: The new libmisc/find_new_ids.c file contains
6025         translatable strings.
6026         * libmisc/Makefile.am: Add libmisc/find_new_ids.c to the sources
6027         of the libmisc library.
6028         * src/useradd.c, src/groupadd.c: Use the find_new_uid() and
6029         find_new_gid() from the library instead of the local functions.
6030
6031 2008-02-02  Nicolas François  <nicolas.francois@centraliens.net>
6032
6033         * po/*.po: Updated PO files.
6034         * libmisc/age.c, libmisc/yesno.c, src/lastlog.c, src/grpck.c,
6035         src/chfn.c, src/passwd.c, src/chage.c, src/login.c, src/sulogin.c,
6036         src/chsh.c: Fix call to puts (remove end of line, or use fputs).
6037         * po/*.po: Unfuzzy PO files according to above change.
6038
6039 2008-01-26  Nicolas François  <nicolas.francois@centraliens.net>
6040
6041         Fix build failures with --disable-shadowgrp. Thanks to Jürgen
6042         Daubert for the patch.
6043         * libmisc/salt.c: Include <stdio.h>, needed for stderr and printf
6044         functions.
6045         * lib/encrypt.c: Include <stdio.h>, needed for perror, stderr and
6046         printf functions
6047         * src/usermod.c: sgr_locked exists only if SHADOWGRP is defined.
6048         * src/chgpasswd.c: Only check is the gshadow file exists if
6049         SHADOWGRP is defined.
6050
6051 2008-01-24  Nicolas François  <nicolas.francois@centraliens.net>
6052
6053         * src/gpasswd.c, src/chfn.c, src/chage.c, src/chsh.c, src/grpck.c,
6054         src/vipw.c, src/pwck.c, src/sulogin.c, src/newgrp.c,
6055         src/userdel.c, src/lastlog.c, src/groupmems.c, src/usermod.c,
6056         src/expiry.c, src/groupdel.c, src/useradd.c, src/su.c,
6057         src/groupmod.c, src/passwd.c, src/groupadd.c, src/login.c,
6058         src/suauth.c, src/faillog.c, src/id.c, libmisc/limits.c,
6059         libmisc/addgrps.c, libmisc/env.c, libmisc/age.c, libmisc/yesno.c,
6060         lib/getdef.c: Replace printf by puts for fixed strings. This would
6061         avoid issues caused by formats introduced in translated strings.
6062
6063 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6064
6065         * src/useradd.c: Strings improvement s/can't get unique/no more
6066         available/.
6067
6068 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6069
6070         * NEWS, src/usermod.c: Check that the new fields set with -u, -s,
6071         -l, -g, -f, -e, -d, and -c differ from the old ones. If a
6072         requested new value is equal to the old one, no changes will
6073         be performed for that field. If no fields are changed, usermod
6074         will exist successfully with a warning. This avoids logging
6075         changes to syslog when there are actually no changes.
6076
6077 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6078
6079         * src/usermod.c: Always define user_newcomment, user_newshell,
6080         user_newexpire, and user_newinactive. It is more simple to always
6081         have user_<x> as the old field, and user_new<x> as the new field
6082         (even if the field did not change) instead of changing the
6083         algorithm depending on WITH_AUDIT.
6084
6085 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
6086
6087         * src/usermod.c: user_newname can only be used in WITH_AUDIT code
6088         or when lflg is set. This issue was introduced in the code
6089         refactoring of usermod.
6090
6091 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6092
6093         * src/groupadd.c: Fix typo in comment: s/find_new_uid/find_new_gid/
6094
6095 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6096
6097         * src/useradd.c: s/gid/GID/ in message string.
6098         * src/useradd.c: Set this string for translation.
6099
6100 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6101
6102         * man/grpck.8.xml: Fix typo. Remove "the" from "All entries in the
6103         <filename></filename> are checked [...]"
6104         * man/grpck.8.xml: Conditionally include the parts mentioning the
6105         gshadow file (based on SHADOWGRP).
6106         * man/grpck.8.xml: Add reference to the gshadow(5) manpage
6107         (conditionally included).
6108
6109 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6110
6111         * man/grpck.8.xml, man/pwck.8.xml: Indicate that the shadow
6112         parameter is optional (i.e. a passwd file can be specified without
6113         a shadow file, and the group file can be specified without the
6114         gshadow file).
6115
6116 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6117
6118         * man/grpck.8.xml: Document the options with a list of options,
6119         as in the pwck(8) manpage.
6120
6121 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
6122
6123         * NEWS, src/newgrp.c: Fix segfault when an user returns to an
6124         unknown GID (either the user was deleted during the user's newgrp
6125         session or the user's passwd entry referenced an invalid group).
6126         Add a syslog warning in that case.
6127         * src/newgrp.c: Add an end of line when reporting an invalid
6128         password.
6129
6130 2008-01-12  Nicolas François  <nicolas.francois@centraliens.net>
6131
6132         * NEWS, src/useradd.c: Fix the handling of the --defaults option
6133         (it required an argument, but should behave as -D)
6134         * NEWS, man/useradd.8.xml: Document the --defaults option, which
6135         was already described in the useradd's Usage information.
6136
6137 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6138
6139         * src/passwd.c: Avoid setting the password to a const empty
6140         string, but set the first char to \0. This avoids a warning.
6141
6142 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6143
6144         * libmisc/salt.c: Add prototype for l64a(), gensalt(),
6145         SHA_salt_size(), and SHA_salt_rounds().
6146         * libmisc/salt.c: l64a() and gensalt() are static.
6147         * libmisc/salt.c: The `meth' parameter of crypt_make_salt() is a
6148         const. (ditto for the method variable).
6149         * libmisc/salt.c: SHA_salt_rounds returns a const string.
6150         * libmisc/salt.c: Avoid warnings with cast of random() to double.
6151         * libmisc/salt.c: Replace rand() by random().
6152
6153 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6154
6155         * lib/Makefile.am: Do not link libshadow.la with the intl, crypt,
6156         skey and md libraries...
6157         * src/Makefile.am: ...Specify for each binary which library is
6158         required. skey and md are required for the binaries with
6159         authentication of the user (chfn, chsh, login, passwd, su). intl
6160         is required for all. mcrypt is required for user (chfn, chsh,
6161         login, passwd, su, sulogin) and group (newgrp, gpasswd)
6162         authentication and for the creation of passwords (chpasswd,
6163         chgpasswd, gpasswd, newusers, passwd).
6164
6165 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6166
6167         * lib/nscd.c, lib/nscd.h: Set the service parameter of
6168         nscd_flush_cache() to const. This avoids a lot of warnings.
6169         * lib/nscd.c: Include "nscd.h" to avoid inconsistent prototypes.
6170
6171 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6172
6173         * lib/encrypt.c: Set the method string as a constant string.
6174
6175 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6176
6177         * lib/port.c: Assume <errno.h> declares errno.
6178
6179 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6180
6181         * man/po/fr.po: Fix typo: s/rend compte indiqué/rend le compte
6182         indiqué/
6183
6184 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6185
6186         * src/suauth.c: Remove prototype of check_su_auth(). It is
6187         redundant with prototypes.h.
6188         * src/suauth.c: isgrp() is static.
6189
6190 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6191
6192         * libmisc/obscure.c: Tag the `old' parameter of palindrome(),
6193         similar(), and simple() as unused.
6194         * libmisc/loginprompt.c: Tag the `sig' parameter of login_exit()
6195         as unused.
6196         * src/expiry.c: Tag the `sig' parameter of catch_signals() as
6197         unused.
6198         * src/su.c: Tag the `sig' parameter of catch_signals() as unused.
6199         * src/su.c: Add int parameter to the prototype of oldsig().
6200         * src/login.c: Tag the `sig' parameter of alarm_handler() as
6201         unused.
6202         * src/sulogin.c: Tag the `sig' parameter of catch_signals() as
6203         unused.
6204         * libmisc/getdate.y: Tag the `string' parameter of yyerror() as
6205         unused.
6206         * libmisc/getdate.y: The string provided to yyerror() is const.
6207         * libmisc/getdate.y: Fix the prototypes of yylex() and yyerror().
6208
6209 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6210
6211         * lib/defines.h: Remove teh macro definition of SETXXENT_TYPE,
6212         SETXXENT_RET, and SETXXENT_TEST. They were used by the now
6213         removed pwent.c and grent.c.
6214         * lib/defines.h: Remove the definition of PASSWD_PAG_FILE,
6215         GROUP_PAG_FILE, SHADOW_PAG_FILE, and SGROUP_PAG_FILE. They are
6216         never used.
6217         * lib/defines.h: Don't include "snprintf.h". The file does not
6218         exist in shadow.
6219         * lib/defines.h: Add new macro unused to tag unused parameters.
6220
6221 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6222
6223         * src/useradd.c, src/groupmems.c: Assume optarg and optind are
6224         declared in <getopt.h>.
6225
6226 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6227
6228         * src/usermod.c: Remove the pw_name argument of new_pw_passwd. Use
6229         the user_newname global variable instead. This avoid using a
6230         parameter with the same name as a function.
6231
6232 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6233
6234         * src/newgrp.c: Removed unused gid parameter of syslog_sg().
6235         * src/newgrp.c: The loginname and tty buffers are never changed.
6236         Add the const qualifier.
6237
6238 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6239
6240         * src/chpasswd.c, src/chgpasswd.c: The crypt_method string always
6241         points to a constant string. Add the const qualifier.
6242
6243 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6244
6245         * src/pwunconv.c: Remove prototype of l64a() (not used in
6246         pwunconv).
6247
6248 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6249
6250         * src/login_nopam.c: Use an ANSI prototype for resolve_hostname()
6251         instead of K&R prototype.
6252         * src/login_nopam.c: Fix the prototypes of list_match(),
6253         user_match(), from_match(), string_match(). There were no
6254         parameters in the prototypes.
6255         * src/login_nopam.c: Fix the prototypes of the function parameter
6256         match_fn of list_match().
6257
6258 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6259
6260         * libmisc/copydir.c: Remove the src parameter of copy_special().
6261         The entry's information are taken from the stat structure.
6262
6263 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
6264
6265         * libmisc/console.c, libmisc/ulimit.c, lib/sgetgrent.c,
6266         lib/sgetpwent.c: Include "prototypes.h" to make
6267         sure the exported prototypes are the ones used for the definition
6268         of functions.
6269         * lib/prototypes.h: Added prototypes for __gr_del_entry(),
6270         __gr_get_db(), __gr_get_head(), __gr_set_changed(), __gr_dup(),
6271         __pw_del_entry(), __pw_get_db(), __pw_get_head(), __pw_dup(),
6272         sgetgrent(), sgetpwent(), __sgr_del_entry(), __sgr_dup(),
6273         __sgr_get_head(), __sgr_set_changed(), __spw_get_head(),
6274         __spw_del_entry(), __spw_dup().
6275         * lib/prototypes.h: Removed prototype for is_listed().
6276         * lib/prototypes.h: Added name of the check_su_auth()'s parameters.
6277         * lib/groupio.h: Removed prototypes for __gr_dup() and
6278         __gr_set_changed().
6279         * lib/sgroupio.c: Removed prototypes for putsgent(), sgetsgent(),
6280         and __gr_get_db().
6281         * lib/sgroupio.h: Removed prototypes for __sgr_dup() and
6282         __sgr_set_changed().
6283         * lib/shadowio.c: Removed prototype for __pw_get_db().
6284         * lib/pwio.c: Removed prototype for sgetpwent() and putpwent().
6285         * lib/shadowio.h: Removed prototypes for __spw_dup() and
6286         __spw_set_changed().
6287         * lib/pwio.h: Removed prototypes for __pw_dup() and
6288         __pw_set_changed().
6289         * lib/commonio.h: Add protection against multiple inclusions.
6290         * lib/prototypes.h: Include commonio.h (needed for the
6291         __xx_del_entry() functions).
6292         * src/grpck.c: Remove prototypes for __gr_del_entry(),
6293         __gr_get_head(), __sgr_del_entry(), and __sgr_get_head().
6294         * src/pwck.c: Remove prototypes for __pw_del_entry(),
6295         __pw_get_head(), __spw_del_entry(), and __spw_get_head().
6296         * lib/groupio.c: Remove prototype for sgetgrent().
6297         * lib/groupio.c: Add the name of the parameters for
6298         merge_group_entries() and split_groups().
6299         * lib/groupio.h: Remove prototypes for __gr_dup() and
6300         __gr_set_changed().
6301
6302 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6303
6304         * man/groupadd.8.xml, man/groupmod.8.xml: Add documentation for
6305         the new --password options.
6306
6307 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6308
6309         * src/useradd.c: Fix find_new_gid() prototype. Add a void
6310         parameter.
6311
6312 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6313
6314         * lib/prototypes.h: Add the dolastlog() prototype.
6315         * lib/prototypes.h: Typo: login.c -> loginprompt.c
6316         * src/login.c: Remove declaration of dolastlog().
6317         * lib/prototypes.h: Include <lastlog.h> for the declaration of
6318         struct lastlog.
6319         * lib/prototypes.h: Remove old comments in the header.
6320
6321 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6322
6323         * libmisc/pwdcheck.c: Do not include <pwd.h>. Include <shadow.h>
6324         and "pwauth.h" only when compiled without PAM support.
6325         * src/chfn.c, src/chsh.c: Do not include <shadow.h>
6326         * lib/commonio.c: Do not include <shadow.h>. Do not include
6327         <pwd.h>. Include "nscd.h" instead of <nscd.h>.
6328
6329 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6330
6331         * configure.in: Do not check if shadow.h exist, but make sure it
6332         exists.
6333         * libmisc/pwdcheck.c, src/chfn.c, src/chsh.c, lib/defines.h,
6334         lib/shadowmem.c, lib/shadowio.c, lib/commonio.c:
6335         HAVE_SHADOW_H is no more needed (shadow.h should always exist).
6336
6337 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6338
6339         * lib/groupio.c: Remove prototype of putgrent(), add parameter's
6340         name of sgetgrent().
6341         * lib/prototypes.h: Fix the do_pam_passwd() prototype (it returns
6342         void).
6343
6344 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6345
6346         * NEWS, src/groupmod.c, src/groupadd.c: Add option --password to
6347         groupadd and groupmod (similar to useradd and usermod).
6348
6349 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
6350
6351         * lib/prototypes.h: grent.c does not exist anymore. Remove the
6352         putgrent prototype.
6353         * lib/prototypes.h: "shadowio.h" was included for the definition
6354         of the spwd structure. Replace this include by <shadow.h>
6355         * libmisc/xmalloc.c, libmisc/utmp.c, libmisc/strtoday.c,
6356         libmisc/pwd_init.c, libmisc/tz.c, lib/port.c, lib/fputsx.c,
6357         libmisc/pam_pass.c, libmisc/log.c: Include "prototypes.h" to make
6358         sure the exported prototypes are the ones used for the definition
6359         of functions.
6360         * libmisc/console.c: Define is_listed() as static and add its
6361         prototype.
6362         * libmisc/xgetXXbyYY.c, libmisc/yesno.c: Include config.h as a
6363         system include, as recommended by the autoconf documentation.
6364         * src/chage.c: Define isnum() as static and add its prototype.
6365         * libmisc/xgetspnam.c: Add missing include "shadowio.h". (This was
6366         OK as long as prototypes.h included this file.)
6367         * src/nologin.c: Make a proper prototype for the main() function
6368         declaration. (add void)
6369         * src/login.c: login_prompt is the name of a function, use
6370         loginprompt for the internal variable.
6371         * src/chsh.c: loginsh is a global variable, use newshell for the
6372         update_shell()'s parameter.
6373         * lib/gshadow.c: The prototypes of fgetsx() and fputsx() are
6374         already defined in prototypes.h. Remove the declaration of these
6375         functions.
6376         * lib/gshdow.c: list() is an external function. DO not shadow it
6377         with a static function. The internal list() was renamed
6378         build_list().
6379         * lib/commonio.c: stat shadows another stat variable. Remove this
6380         variable, and directly check the result of getfscreatecon().
6381         * libmisc/utmp.c: Remove the declaration of getutent(),
6382         getutline(), setutent(), and endutent() which are declared in
6383         <utmp.h>
6384
6385 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6386
6387         * src/newgrp.c: Remove duplicate logging to syslog.
6388
6389 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6390
6391         * src/newgrp.c: Avoid assignments in conditionals.
6392         * src/newgrp.c: Split check_perms(), syslog_sg() out of main().
6393
6394 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6395
6396         * lib/shadow.c: Avoid assignments in conditionals.
6397
6398 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6399
6400         * lib/groupio.c (split_groups): Test the pointer returned by malloc.
6401
6402 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6403
6404         * lib/commonio.c: Document add_one_entry_nis(), write_all(),
6405         commonio_remove(), commonio_locate(), and commonio_rewind().
6406
6407 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6408
6409         * src/pwck.c: Avoid implicit brackets.
6410         * src/pwck.c: Avoid implicit conversions to booleans.
6411
6412 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6413
6414         * src/grpck.c: Avoid implicit brackets.
6415         * src/grpck.c: Avoid implicit conversions to booleans.
6416
6417 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6418
6419         * NEWS: No functional changes were introduced by the previous pwck
6420         and grpck changes, except for the following bug fix: no syslog
6421         logging if a passwd or group file was specified on the command
6422         line without a shadowed database file, even if the system shadowed
6423         database was changed).
6424
6425 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6426
6427         * src/pwck.c: Fix typos in comments (gshadow/shadow).
6428
6429 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6430
6431         * src/pwck.c: Split process_flags(), open_files(), close_files()
6432         check_pw_file(), and check_spw_file() out of main(). New global
6433         variables is_shadow, sort_mode, use_system_pw_file, and
6434         use_system_spw_file.
6435
6436 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6437
6438         * libmisc/xgetXXbyYY.c: De-comment code (duplicate the entry when
6439         the _R function is not present on the system).
6440
6441 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6442
6443         * src/lastlog.c: Remove statbuf, not used.
6444         * src/lastlog.c: Fix types, cast umin and umax to uid_t.
6445         * src/lastlog.c: (option -u) user needs to be a signed long, not
6446         uid_t (to accept rangees like -<uid>
6447
6448 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6449
6450         * src/useradd.c: Avoid ?: construct without the middle term.
6451
6452 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6453
6454         * libmisc/copydir.c, src/usermod.c, lib/prototypes.h: The uid and
6455         gid parameters can be set to -1 to indicate that the original
6456         owners must be kept. Change the types from uid_t/gid_t to a
6457         long int (signed).
6458         * libmisc/copydir.c: Change the copy_entry(), copy_dir(),
6459         copy_symlink(), copy_special(), and copy_file() prototypes
6460         accordingly.
6461         * lib/prototypes.h: Add the parameters' name for the
6462         libmisc/copydir.c functions.
6463
6464 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6465
6466         * libmisc/limits.c, libmisc/obscure.c, src/login_nopam.c,
6467         lib/pwauth.c: Avoid empty file when USE_PAM is set.
6468         * libmisc/audit_help.c: Avoid empty file when WITH_AUDIT is not set.
6469         * src/login_nopam.c: Fix warnings: resolve_hostname takes and
6470         returns a constant string.
6471
6472 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6473
6474         * src/grpck.c: Split process_flags(), open_files(), and
6475         close_files() out of main(). New global variables is_shadow,
6476         sort_mode, use_system_grp_file, and use_system_sgr_file.
6477         * src/grpck.c: Split check_grp_file() and check_sgr_file() out of
6478         main().
6479         * src/grpck.c: Split check_members() and compare_members_lists()
6480         out of check_grp_file() and check_sgr_file().
6481
6482 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6483
6484         * man/po/Makefile.in.in: If remove-potcdate.sin does not exist,
6485         use the one from teh po directory (it is not installed
6486         automatically by autopoint.
6487
6488 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6489
6490         * lib/commonio.h: Fix the type of the bitfields in the commonio_entry
6491         and commonio_db structures to unsigned int (instead of int).
6492
6493 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6494
6495         * src/chsh.c: Split process_flags(), check_perms(), and update_shell()
6496         out of main().
6497         * src/chsh.c: Before pam_end(), the return value of the previous
6498         pam API was already checked. No need to validate it again.
6499         * src/chsh.c: Avoid implicit brackets.
6500         * src/chsh.c: Avoid assignments in comparisons.
6501
6502 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6503
6504         * src/chfn.c: New function: process_flags() split out of main().
6505         The flags variables are now global.
6506         * src/chfn.c: New functions: check_perms(), update_gecos(),
6507         get_old_fields(), and check_fields() split out of main().
6508         * src/chfn.c: Before pam_end(), the return value of the previous
6509         pam API was already checked. No need to validate it again.
6510         * src/chfn.c: Avoid implicit brackets.
6511         * src/chfn.c: Document may_change_field().
6512         * src/chfn.c: Avoid implicit conversions to booleans.
6513         * src/chfn.c: Avoid assignments in comparisons.
6514
6515 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6516
6517         * src/newusers.c: Compilation fix for PAM support (pamh needs to be
6518         global since the function split).
6519         * src/chpasswd.c: Likewise.
6520         * src/chgpasswd.c: Likewise.
6521         * src/chpasswd.c: Avoid implicit conversions to booleans.
6522
6523 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6524
6525         * src/chage.c: Fix typo: s/maximim/maximum/
6526         * src/chage.c: New function: fail_exit(). Change most of the exit()
6527         to a fail_exit, which makes sure the files are unlocked (new global
6528         variables: pw_locked, spw_locked), the PAM transaction is ended, and
6529         the failure is logged to libaudit (use a global user_name and user_uid
6530         for logging).
6531         * src/chage.c: Compilation fix for PAM support (pamh needs to be
6532         global since the function split).
6533         * src/chage.c: Document process_flags(), check_flags(), check_perms(),
6534         open_files(), and close_files().
6535         * src/chage.c: Split update_age() and get_defaults() out of main()
6536         * src/chage.c: Drop the privileges just after opening the files.
6537         * src/chage.c: Do not log to audit only if the user has an entry in
6538         the shadow file.
6539         * NEWS, src/chage.c (open_files): Also open the password file for
6540         writing. This fix chage when the user only has a password entry (and
6541         no shadow entries).
6542         * src/chage.c (get_defaults): Use default values that don't change the
6543         behavior of the account for the fields that are not specified when the
6544         user has no shadow entry.
6545
6546 2007-12-30  Nicolas François  <nicolas.francois@centraliens.net>
6547
6548         * src/groupadd.c: Compilation fix for PAM support (pamh needs to be
6549         global since the function split).
6550         * src/groupadd.c: End the PAM transaction in fail_exit().
6551         * src/groupadd.c: Document check_flags().
6552
6553 2007-12-30  Nicolas François  <nicolas.francois@centraliens.net>
6554
6555         * src/vipw.c: Compilation fix for non-gshadow support.
6556
6557 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6558
6559         * NEWS, src/newusers.c: Added support for gshadow.
6560
6561 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6562
6563         * NEWS, src/newusers.c: Do not add the new user to the group's
6564         members, because the group is already the primary group of the new
6565         user.
6566
6567 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6568
6569         newusers cleanups
6570         * src/newusers.c: main() split in new functions: process_flags(),
6571         check_flags(), check_perms(), open_files(), and close_files().
6572         * src/newusers.c: Before pam_end(), the return value of the previous
6573         pam API was already checked. No need to validate it again.
6574         * src/newusers.c: Avoid implicit brackets.
6575         * src/newusers.c: Avoid assignments in comparisons.
6576         * src/newusers.c: Avoid variables with the name of a type.
6577
6578 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6579
6580         chage cleanups
6581         * src/chage.c: Before pam_end(), the return value of the previous
6582         pam API was already checked. No need to validate it again.
6583         * src/chage.c: main() split in new functions: process_flags(),
6584         check_flags(), check_perms(), open_files(), and close_files().
6585         * src/chage.c: Avoid using a variable with the same name as a type.
6586         * src/chage.c: Remove dead code. It was probably put here to add more
6587         information to the audit_logger.
6588         * src/chage.c: Avoid implicit brackets.
6589         * src/chage.c: Avoid implicit conversion to booleans.
6590         * src/chage.c: Avoid assignments in comparisons.
6591
6592 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6593
6594         Same changes for chgpasswd:
6595         * src/chgpasswd.c: Before pam_end(), the return value of the previous
6596         pam API was already checked. No need to validate it again.
6597         * src/chgpasswd.c: main() split in process_flags(), check_flags(),
6598         check_perms(), open_files(), and close_files().
6599         * src/chgpasswd.c: Avoid assignments in comparisons.
6600         * src/chgpasswd.c: Avoid implicit brackets.
6601         * src/chgpasswd.c: Fix comments to match chgpasswd (group instead of
6602         user's passwords are changed).
6603
6604 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6605
6606         * src/chpasswd.c: Before pam_end(), the return value of the previous
6607         pam API was already checked. No need to validate it again.
6608         * src/chpasswd.c: New functions: process_flags(), check_flags(),
6609         check_perms(). Split out of main().
6610         * src/chpasswd.c: Other new functions: open_files(), close_files().
6611         This force flushing the password database after the password file is
6612         unlocked.
6613         * src/chpasswd.c: Avoid assignments in comparisons.
6614         * src/chpasswd.c: Avoid implicit brackets.
6615
6616 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6617
6618         * src/groupadd.c (find_new_gid): A group with the specified name
6619         cannot exist at that time. Remove the check.
6620         * src/groupadd.c (find_new_gid): If oflg is set, gflg is also set.
6621         Use (!gflg), which is clearer than (!gflg || !oflg).
6622         * src/groupadd.c (find_new_gid): find_new_gid is never called when an
6623         GID is specified with -g. Simplify find_new_gid accordingly.
6624         * src/groupadd.c (process_flags): prefer fail_exit to exit. This avoid
6625         an explicit call to audit_logger().
6626         * src/groupadd.c (main): Before pam_end(), the return value of the
6627         previous pam API was already checked. No need to validate it again.
6628         * src/groupadd.c (main, check_perms): New function check_perms().
6629         Split the validation of the user's permissions out of main()
6630
6631 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6632
6633         src/groupadd.c cleanup
6634         * src/groupadd.c (fail_exit): When compiled without AUDIT support, if
6635         the return code was E_SUCCESS, fail_exit() wouldn't have exited. Fix
6636         the scope of #idef WITH_AUDIT.
6637         * src/groupadd.c: Avoid implicit brackets.
6638         * src/groupadd.c: Split the processing and checking of options out of
6639         main() (process_flags).
6640         * src/groupadd.c: New function check_flags(). Split the validation of
6641         options and arguments out of process_flags.
6642         * src/groupadd.c: Add the parameters' names in the prototypes.
6643
6644 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
6645
6646         libmisc/copydir.c cleanup
6647         * libmisc/copydir.c: Split copy_tree() in more maintainable functions:
6648         copy_entry(), copy_dir(), copy_symlink(), copy_hardlink(),
6649         copy_special(), and copy_file().
6650         * libmisc/copydir.c: -1 is used to indicate an error, directly set err
6651         to -1, instead of incrementing it, and checking if not nul at the
6652         end.
6653         * libmisc/copydir.c: Avoid assignments in comparisons.
6654         * libmisc/copydir.c: Document selinux_file_context.
6655         * libmisc/copydir.c: Avoid implicit brackets.
6656         * libmisc/copydir.c: Avoid implicit conversions to booleans.
6657
6658 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
6659
6660         gpasswd cleanup
6661         * src/gpasswd.c: Add argument name to the internal function
6662         prototypes.
6663         * src/gpasswd.c: Document global variables.
6664         * src/gpasswd.c: New function: process_flags(). Split the processing
6665         of options out of main().
6666         * src/gpasswd.c: New functions: open_files(), close_files(),
6667         update_group(). Split out from main() to simplify this (too) big
6668         function.
6669         * src/gpasswd.c: New functions: check_perms(), get_group(),
6670         change_passwd(), check_flags(). Split out of main() to simplify main().
6671         * src/gpasswd.c: Avoid implicit brackets.
6672         * src/gpasswd.c: Avoid assignments in comparisons.
6673         * src/gpasswd.c: Avoid implicit conversions to booleans.
6674
6675 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
6676
6677         Merge Debian's patch 462_warn_to_edit_shadow
6678         * NEW, src/vipw.c: Recommend editing the shadowed (resp. regular) file
6679         if the regular (resp. shadowed) file was edited.
6680
6681 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6682
6683         Merge Debian's patch 451_login_PATH
6684         * NEWS, libmisc/setupenv.c: Export PATH according to ENV_PATH and
6685         ENV_SUPATH, as for su. This impacts login.
6686         * man/login.1.xml: PATH and SUPATH are now used both when PAM support
6687         is disabled and enabled.
6688
6689 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6690
6691         Merge Debian's patch 496_login_init_session
6692         * src/login.c, src/sulogin.c: If started as init, start a new session.
6693
6694 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6695
6696         Merge Debian's patch 408_passwd_check_arguments
6697         * NEWS, src/passwd.c: Make sure that no more than one username
6698         argument was provided.
6699
6700 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6701
6702         Merge Debian's patch 412_lastlog_-u_numerical_range
6703         * NEWS, src/lastlog.c, man/lastlog.8.xml: Accept numerical user, or
6704         ranges with the -u option.
6705
6706 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6707
6708         Merge Debian's patch 466_fflush-prompt
6709         * libmisc/Makefile.am, lib/prototypes.h, libmisc/yesno.c, src/grpck.c,
6710         src/pwck.c: move yes_or_no() from grpck/pwck to a separate
6711         libmisc/yesno.c (with a read_only argument).
6712         * libmisc/fields.c, libmisc/yesno.c: Make sure stdout is flushed before
6713         reading the user's answer.
6714
6715 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6716
6717         Merge Debian's patch 480_getopt_args_reorder
6718         * NEWS, src/su.c: su's arguments are now reordered.
6719
6720 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6721
6722         Merge RedHat's patch shadow-4.0.18.1-mtime.patch:
6723         * NEWS: Document that usermod will now preserve user's file modification
6724         and access time.
6725         * libmisc/copydir.c: Preserve the access and modification time of copied
6726         files. This is important for usermod. This will also impact useradd, for
6727         the skeleton files, but this is not important.
6728         * libmisc/copydir.c: Stop and return an error if a file could not be
6729         closed after during a copy.
6730
6731 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6732
6733         Cleanups:
6734         * src/useradd.c (find_new_gid): Check that gflg is not set (assert).
6735         * src/useradd.c (find_new_gid): Do not check the group name uniqueness
6736         (already checked in main).
6737         * src/useradd.c (find_new_gid): Avoid a "continue" in the loop.
6738         * src/useradd.c (find_new_gid): Remove irrelevant comments.
6739         * src/useradd.c (find_new_gid): Fix the function definition's comment.
6740
6741 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6742
6743         Merge RedHat's patch shadow-4.0.18.1-findNewUidOnce.patch:
6744         * src/useradd.c (usr_update): Do not call find_new_uid(). The UID was
6745         already either specified or found by another call to find_new_uid().
6746         * src/useradd.c (find_new_uid): Always start with uid_min (find_new_uid()
6747         is never called when user_id was already specified).
6748         * src/useradd.c (find_new_uid): Fix the comments (find_new_uid() is not
6749         called when the UID is specified (uflg)).
6750         * src/useradd.c (main): Only call find_new_uid() if (!oflg) and (!uflg).
6751         If uflg is set (but not oflg), check the UID uniqueness.
6752         * src/useradd.c (find_new_uid): Don't check the uid and user name
6753         uniqueness in find_new_uid(). The user name uniqueness is already checked
6754         during the parameter validation. UID uniqueness is also checked (see
6755         above).
6756         * src/useradd.c (find_new_uid): Don't check uflg in find_new_uid().
6757         * src/useradd.c (find_new_uid): Make sure that find_new_uid() is not
6758         called when uflg is set (assert).
6759
6760 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6761
6762         Merge RedHat's patch shadow-4.1.0-lOption.patch
6763         * NEWS, src/useradd.c, man/useradd.8.xml: Add option -l to avoid adding
6764         the user to the lastlog and faillog databases.
6765
6766 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6767
6768         * src/useradd.c, src/groupadd.c: NO_GETPWENT is no more supported. Remove
6769         associated chunks of code.
6770
6771 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6772
6773         * man/groupadd.8.xml: Document the long options (--force, --gid, --key,
6774         --non-unique).
6775
6776 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6777
6778         Merge RedHat's patch shadow-4.0.3-noinst.patch
6779         * NEWS, lib/Makefile.am: Do not install the shadow library per default.
6780         lib_LTLIBRARIES changed to noinst_LTLIBRARIES.
6781
6782 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6783
6784         * NEWS, configure.in: Prepare the 4.1.0 release.
6785
6786 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6787
6788         * NEWS, src/chgpasswd.c: Use chgpasswd PAM policy file instead of
6789         chpasswd's one.
6790
6791 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6792
6793         * man/pwconv.8.xml: Fix typos.
6794         * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document the NONE crypt
6795         method.
6796         * man/login.defs.d/MAIL_DIR.xml: Add comment regarding useradd not
6797         using MAIL_FILE.
6798         * man/login.defs.d/ERASECHAR.xml, man/login.defs.d/KILLCHAR.xml,
6799         man/login.defs.d/CONSOLE_GROUPS.xml, man/login.defs.d/ENV_HZ.xml,
6800         man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml:
6801         These variables are also used by some tools when compiled with PAM
6802         support.
6803         * man/login.defs.d/ENV_HZ.xml: Add note that it is only used by
6804         sulogin when compiled with PAM support.
6805         * man/login.defs.d/ENV_SUPATH.xml: Typos: ENV_PATH -> ENV_SUPATH,
6806         and mention sbin in the path.
6807         * man/login.defs.d/LOGIN_STRING.xml: Fix typo: confition ->
6808         condition.
6809         * man/sg.1.xml: Add CONFIGURATION section (SYSLOG_SG_ENAB).
6810         * man/su.1.xml: ENV_HZ, LOGIN_STRING, MAIL_DIR, USERGROUPS_ENAB
6811         are only used when su is compiled without PAM support.
6812         * man/login.defs.5.xml: Added variables: OBSCURE_CHECKS_ENAB
6813         PASS_ALWAYS_WARN PASS_CHANGE_TRIES SULOG_FILE SU_NAME
6814         SU_WHEEL_ONLY SYSLOG_SG_ENAB SYSLOG_SU_ENAB.
6815         * man/login.defs.5.xml: ENVIRON_FILE is only used when compiled
6816         without PAM support.
6817         * man/login.defs.5.xml: sulogin uses variables even when compiled
6818         with PAM support.
6819         * man/login.1.xml: ENV_HZ ENV_PATH ENV_SUPATH MAIL_DIR UMASK are
6820         only used when login is not compiled with PAM support.
6821
6822 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6823
6824         * src/login.c: Make sure is_console is only defined when USE_PAM
6825         is not defined.
6826
6827 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6828
6829         * libmisc/pwd2spwd.c: Fix time() prototype.
6830
6831 2007-12-08  Nicolas François  <nicolas.francois@centraliens.net>
6832
6833         * man/login.defs.d/CONSOLE_GROUPS.xml,
6834         man/login.defs.d/CONSOLE.xml, man/login.defs.d/DEFAULT_HOME.xml,
6835         man/login.defs.d/ENV_HZ.xml, man/login.defs.d/ENVIRON_FILE.xml,
6836         man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml,
6837         man/login.defs.d/ENV_TZ.xml, man/login.defs.d/ERASECHAR.xml,
6838         man/login.defs.d/FAIL_DELAY.xml,
6839         man/login.defs.d/FAILLOG_ENAB.xml,
6840         man/login.defs.d/FAKE_SHELL.xml, man/login.defs.d/FTMP_FILE.xml,
6841         man/login.defs.d/HUSHLOGIN_FILE.xml,
6842         man/login.defs.d/ISSUE_FILE.xml, man/login.defs.d/KILLCHAR.xml,
6843         man/login.defs.d/LASTLOG_ENAB.xml, man/login.defs.d/LOGIN_RETRIES.xml,
6844         man/login.defs.d/LOGIN_TIMEOUT.xml, man/login.defs.d/LOG_OK_LOGINS.xml,
6845         man/login.defs.d/LOG_UNKFAIL_ENAB.xml,
6846         man/login.defs.d/MAIL_CHECK_ENAB.xml, man/login.defs.d/MOTD_FILE.xml,
6847         man/login.defs.d/NOLOGINS_FILE.xml,
6848         man/login.defs.d/OBSCURE_CHECKS_ENAB.xml,
6849         man/login.defs.d/PASS_ALWAYS_WARN.xml,
6850         man/login.defs.d/PASS_CHANGE_TRIES.xml,
6851         man/login.defs.d/PASS_MAX_LEN.xml,
6852         man/login.defs.d/PORTTIME_CHECKS_ENAB.xml,
6853         man/login.defs.d/QUOTAS_ENAB.xml, man/login.defs.d/SULOG_FILE.xml,
6854         man/login.defs.d/SU_NAME.xml, man/login.defs.d/SU_WHEEL_ONLY.xml,
6855         man/login.defs.d/SYSLOG_SG_ENAB.xml,
6856         man/login.defs.d/SYSLOG_SU_ENAB.xml,
6857         man/login.defs.d/TTYGROUP.xml, man/login.defs.d/TTYTYPE_FILE.xml,
6858         man/login.defs.d/ULIMIT.xml, man/login.defs.d/USERGROUPS_ENAB.xml:
6859         New documentation of login.defs variables.
6860         * man/login.defs.d/MAIL_DIR.xml: Updated. It now contains the
6861         MAIL_FILE documentation.
6862         * man/login.defs.d/LOGIN_STRING.xml: Updated. Mentions %s.
6863         * man/pwconv.8.xml, man/groupmems.8.xml, man/groupdel.8.xml,
6864         man/useradd.8.xml, man/pwck.8.xml, man/groupadd.8.xml,
6865         man/sulogin.8.xml, man/newgrp.1.xml, man/usermod.8.xml,
6866         man/su.1.xml, man/vipw.8.xml, man/passwd.1.xml,
6867         man/groupmod.8.xml, man/login.1.xml, man/userdel.8.xml,
6868         man/grpck.8.xml: Added CONFIGURATION section.
6869         * man/generate_mans.mak: The generations of manpages depends on
6870         the variables from the Makefiles. Add the dependency on Makefile.
6871         * man/login.defs.5.xml: New login.defs variable documented.
6872         * man/Makefile.am: Added XML variable documentation to the
6873         distributed files.
6874
6875 2007-12-05  Nicolas François  <nicolas.francois@centraliens.net>
6876
6877         * man/gshadow.5.xml: Fix the newgrp section in the gshadow.5
6878         manpage. Thanks to Andre Majorel <aym-naibed@teaser.fr>.
6879
6880 2007-11-27  Nicolas François  <nicolas.francois@centraliens.net>
6881
6882         * man/Makefile.am: Added the login.defs variables description to
6883         the man's EXTRA_DIST.
6884
6885 2007-11-27  Nicolas François  <nicolas.francois@centraliens.net>
6886
6887         * man/chfn.1.xml: Uses CHFN_AUTH, CHFN_RESTRICT, LOGIN_STRING.
6888         * man/chgpasswd.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
6889         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
6890         * man/chpasswd.8.xml: Switch to using entities for ENCRYPT_METHOD,
6891         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
6892         * man/chsh.1.xml: Uses CHSH_AUTH, LOGIN_STRING.
6893         * man/expiry.1.xml: Does not use any login.defs parameter.
6894         * man/gpasswd.1.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
6895         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS.
6896         * man/login.defs.5.xml: Added CHSH_AUTH.
6897         * man/login.defs.5.xml: Cross reference -> cross references.
6898         * man/login.defs.5.xml: chfn only uses CHFN_AUTH when no_pam.
6899         * man/login.defs.5.xml: chsh uses CHSH_AUTH, not CHFN_AUTH.
6900         * man/login.defs.d/CHSH_AUTH.xml: Added.
6901         * man/login.defs.5.xml: chsh uses parameters only when no_pam.
6902         * man/login.defs.5.xml: expiry does not use CONSOLE_GROUPS, even
6903         if linked in the binary.
6904         * man/newusers.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
6905         MD5_CRYPT_ENAB, PASS_MAX_DAYS, PASS_MIN_DAYS, PASS_WARN_AGE,
6906         SHA_CRYPT_MIN_ROUNDS, UMASK.
6907
6908 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
6909
6910         * man/generate_translations.mak, man/po/Makefile.in.in: Add
6911         --expand-all-entities to the call to xml2po to avoid translating
6912         the external entities separately.
6913
6914 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
6915
6916         * man/login.defs.d/, man/login.defs.d/CHFN_RESTRICT.xml,
6917         man/login.defs.d/MAIL_DIR.xml, man/login.defs.d/PASS_MAX_DAYS.xml,
6918         man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml,
6919         man/login.defs.d/CHFN_AUTH.xml, man/login.defs.d/MD5_CRYPT_ENAB.xml,
6920         man/login.defs.d/PASS_WARN_AGE.xml, ·man/login.defs.d/UMASK.xml,
6921         man/login.defs.d/PASS_MIN_DAYS.xml, man/login.defs.d/UID_MAX.xml,
6922         man/login.defs.d/LOGIN_STRING.xml, man/login.defs.d/GID_MAX.xml,
6923         man/login.defs.d/ENCRYPT_METHOD.xml, man/login.defs.d/USERDEL_CMD.xml,
6924         man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml, man/login.defs.5.xml:
6925         Put each variable description in an external entities. This will permit
6926         to reference them in the various utils manpages.
6927         * man/login.defs.5.xml: Describe the usage of variables by each
6928         tools when compiled without PAM support.
6929
6930 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
6931
6932         * po/stats: Do not generate gmo files.
6933
6934 2007-11-25  Nicolas François  <nicolas.francois@centraliens.net>
6935
6936         * man/po/LINGUAS: Added missing LINGUAS.
6937         * man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
6938         man/po/ru.po, man/po/sv.po: Updated.
6939
6940 2007-11-25  Nicolas François  <nicolas.francois@centraliens.net>
6941
6942         * configure.in, man/po/Makefile.in.in, man/po/Makevars,
6943         man/po/POTFILES.in, man/Makefile.am: Generate the PO files for the
6944         manpages in the man/po directory (instead of man/<lang>). Use a
6945         Makefile.in.in based on gettext's one. This ensure that the PO are
6946         generated before being used in the <lang> directories.
6947         * man/generate_mans.mak, man/generate_translations.mak,
6948         man/Makefile.am: New makefile for the generation of manpages from
6949         XML (generate_mans.mak). This avoid duplicate chunks in
6950         generate_translations.mak and Makefile.am
6951         * man/de/de.po, man/fr/fr.po, man/it/it.po, man/pl/pl.po,
6952         man/ru/ru.po, man/sv/sv.po: Moved to...
6953         * man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
6954         man/po/ru.po, man/po/sv.po: ... here.
6955
6956 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6957
6958         * src/userdel.c, src/lastlog.c, src/newusers.c, src/chpasswd.c,
6959         src/usermod.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
6960         src/su.c, src/groupmod.c, src/passwd.c, src/groupadd.c,
6961         src/chage.c, src/faillog.c, src/chsh.c: Do not use tabulations in
6962         Usage strings.
6963         * po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po,
6964         po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/hu.po, po/id.po,
6965         po/it.po, po/ja.po, po/nb.po, po/pl.po, po/pt_BR.po, po/pt.po,
6966         po/ro.po, po/ru.po, po/sk.po, po/sv.po, po/tl.po, po/tr.po,
6967         po/uk.po, po/vi.po: Unfuzzy previous changes.
6968         * po/bs.po, po/he.po, po/nn.po, po/sq.po: No Usage string
6969         translated. Just updated PO.
6970         * po/dz.po, po/km.po, po/ko.po, po/ne.po, po/nl.po, po/zh_CN.po,
6971         po/zh_TW.po: It would be too error prone for me to unfuzzy these
6972         ones. Updated PO. (km and ne should be reviewed: options are
6973         translated).
6974
6975 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6976
6977         * po/ne.po, po/bs.po, po/cs.po, po/pt_BR.po, po/km.po, po/es.po,
6978         po/eu.po, po/ko.po, po/hu.po, po/sk.po, po/vi.po, po/uk.po,
6979         po/ro.po, po/sq.po, po/ru.po, po/id.po, po/nb.po, po/el.po,
6980         po/gl.po, po/fr.po, po/nl.po, po/pl.po, po/nn.po, po/it.po,
6981         po/dz.po, po/tl.po, po/pt.po, po/ca.po, po/da.po, po/tr.po,
6982         po/sv.po, po/de.po, po/ja.po, po/zh_TW.po, po/he.po, po/fi.po,
6983         po/zh_CN.po: Run "make update-po" in the po directory.
6984
6985 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6986
6987         * configure.in: New configure option: --with-sha-crypt enabled by
6988         default. Keeping the feature enabled is safe. Disabling it permits
6989         to disable the references to the SHA256 and SHA512 password
6990         encryption algorithms from the usage help and manuals (in addition
6991         to the support for these algorithms in the code).
6992         * libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
6993         src/chpasswd.c, src/chgpasswd.c, src/passwd.c: ENCRYPT_METHOD is
6994         always supported in login.defs. Remove the ENCRYPTMETHOD_SELECT
6995         preprocessor condition.
6996         * libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
6997         src/chpasswd.c, src/chgpasswd.c, src/passwd.c: Disable SHA256 and
6998         SHA512 if USE_SHA_CRYPT is not defined (this corresponds to a
6999         subset of the ENCRYPTMETHOD_SELECT sections).
7000
7001 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7002
7003         * lib/encrypt.c: If we requested a non DES encryption, make sure
7004         crypt returned a encrypted password longer than 13 chars. This
7005         protects against the GNU crypt() which does not return NULL if the
7006         algorithm is not supported, and return a DES encrypted password.
7007
7008 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7009
7010         * lib/groupio.c: Add missing #include "getdef.h"
7011
7012 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7013
7014         * src/newusers.c: Provide the crypt method to all the
7015         crypt_make_salt invocations.
7016         * src/newusers.c: Tag the ENCRYPTMETHOD_SELECT dependent code
7017         accordingly.
7018
7019 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
7020
7021         * libmisc/salt.c: Make sure method is not NULL, defaulting to DES.
7022         Thanks to Dan Kopecek <dkopecek@redhat.com>.
7023         * src/chpasswd.c, src/chgpasswd.c: Do not use DES by default, but
7024         the system default define in /Etc/login.defs. Thanks to Dan
7025         Kopecek <dkopecek@redhat.com>.
7026         * NEWS, man/chpasswd.8.xml, man/chgpasswd.8.xml: Do not mention
7027         DES as the default algorithm.
7028         * src/chpasswd.c, src/chgpasswd.c: Tag the ENCRYPTMETHOD_SELECT
7029         dependent code accordingly.
7030
7031 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7032
7033         * libmisc/salt.c: Move the srandom call to gensalt.
7034         * libmisc/salt.c (gensalt): Replace the test on salt_size by an
7035         assert.
7036
7037 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7038
7039         Patch contributed by Dan Kopecek <dkopecek@redhat.com>
7040         * src/chpasswd.c, src/chgpasswd.c, src/newusers.c: Fix compilation
7041         when ENCRYPTMETHOD_SELECT is not defined.
7042         * libmisc/salt.c (MAGNUM): The nul char was put on (array)[2]
7043         instead of (array)[3].
7044         * libmisc/salt.c: MAGNUM should be defined even if
7045         ENCRYPTMETHOD_SELECT is not defined.
7046         * libmisc/salt.c: Use random instead of rand.
7047         * libmisc/salt.c (gensalt): New function to generate a salt
7048         (instead of using gettimeofday).
7049
7050 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7051
7052         * NEWS, src/newusers.c: New options -c/--crypt-method
7053         -s/--sha-rounds.
7054
7055 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7056
7057         * src/chpasswd.c: Added crypt method: NONE.
7058         * src/chpasswd.c: Added --sha-rounds to the usage().
7059         * libmisc/Makefile.am, libmisc/getlong.c, src/chgpasswd.c,
7060         src/chpasswd.c, lib/prototypes.h: New getlong function. Replace
7061         chpasswd's and chgpasswd's getnumber.
7062
7063 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7064
7065         * lib/groupio.c: Removed unused variable 'member'.
7066
7067 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7068
7069         * man/chpasswd.8.xml: Document the variables used by chpasswd.
7070         The definitions are copied from login.defs. I should try to use a
7071         less error prone process for this.
7072
7073 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7074
7075         * man/login.defs.5.xml: Use <replaceable> for the values set by
7076         users. (was sometimes <emphasis remap='I'>)
7077         * man/login.defs.5.xml: Use <option> vor the variable names. This
7078         makes the manpage much more readable.
7079         * man/login.defs.5.xml (ENCRYPT_METHOD, MD5_CRYPT_ENAB,
7080         SHA_CRYPT_MIN_ROUNDS, SHA_CRYPT_MAX_ROUNDS): Mention that command
7081         line option may supersede the system setting.
7082         * man/login.defs.5.xml: Document the variables used by chpasswd
7083         and chgpasswd.
7084
7085 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
7086
7087         * lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
7088         svn propset svn:keywords Id
7089
7090 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7091
7092         * NEWS, lib/getdef.c, man/login.defs.5.xml: New login.defs
7093         variable: MAX_MEMBERS_PER_GROUP. Used for the split groups support.
7094         * lib/commonio.c, lib/commonio.h: Add an open_hook and close_hook
7095         operation. They are called after the database is actually opened
7096         and parse, or before it is closed.
7097         * lib/groupio.c: Add an open_hook to merge split groups, and an
7098         close group to split groups if MAX_MEMBERS_PER_GROUP is set.
7099         This fixes gpasswd and chgpasswd when split groups are used.
7100         * lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: No open or close
7101         hooks for these databases. (unsure about what should be the gshadow
7102         behavior for split groups)
7103
7104 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7105
7106         * NEWS, src/gpasswd.c: Read the group and shadow groups using
7107         gr_locate and sgr_locate. gpasswd write in the file database. Thus
7108         it should read information from the file database, not using
7109         getgrnam. The change to sgr_locate is just for consistency. This
7110         requires opening the group databases (read only) using
7111         gr_open/sgr_open.
7112
7113 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7114
7115         * configure.in: SHADOWGRP added to AM_CONDITIONAL for the
7116         generation of manpages.
7117         * man/generate_translations.mak: Added pam/no_pam condition (like
7118         in man/Makefile.am).
7119         * man/Makefile.am, man/generate_translations.mak: Added
7120         gshadow/no_gshadow condition.
7121         * man/gpasswd.1.xml: Use the gshadow/no_gshadow condition to
7122         change the manpage depending on the shadow group support.
7123         * NEWS: Indicate that manpages should be re-generated if configure
7124         option are changed, due to conditions.
7125
7126 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7127
7128         * po/ru.po: Updated to 399t. Thanks to Yuri Kozlov <kozlov.y@gmail.com>.
7129         * man/po/ru.po: Updated to 757t. Thanks also to Yuri Kozlov
7130         <kozlov.y@gmail.com>.
7131
7132 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
7133
7134         * man/Makefile.am: Add support for conditionally including
7135         paragraphs. (e.g. to support the documentation of PAM and !PAM
7136         features).
7137
7138 2007-11-21  Nicolas François  <nicolas.francois@centraliens.net>
7139
7140         * man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow,
7141         and /etc/passwd to section FILES.
7142         * man/newusers.8.xml: Mentions that PAM is not used to set the
7143         passwords.
7144         * man/chpasswd.8.xml: Added section FILES (/etc/passwd,
7145         /etc/shadow, /etc/login.defs).
7146         * man/chpasswd.8.xml: Use the same paragraph as in newusers.8.xml
7147         to indicate that PAM is not used.
7148         * man/chgpasswd.8.xml: Added section FILES (/etc/group,
7149         /etc/gshadow, /etc/login.defs).
7150
7151 2007-11-21  Nicolas François  <nicolas.francois@centraliens.net>
7152
7153         * src/newusers.c: Try harder to get the GID equal to the UID.
7154         This was not the case when the GID is not specified, and a GID
7155         exist with an ID higher than the all the UIDs.
7156         * src/newusers.c: Typo in comment: contrained -> constrained.
7157
7158 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7159
7160         * src/chgpasswd.c: If the shadow group file is not present, do not
7161         try to locate the group entry from /etc/gshadow, and set the
7162         password in /etc/group.
7163
7164 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7165
7166         * libmisc/obscure.c, libmisc/salt.c, src/passwd.c: Match DES, MD5,
7167         SHA256, and SHA512 exactly (not only the first 3/6 chars).
7168         * libmisc/salt.c (SHA_salt_rounds): Set rounds to the specified
7169         prefered_rounds value, if specified.
7170         * src/gpasswd.c, libmisc/salt.c: Fix compilation warnings (use
7171         size_t for lengths).
7172         * src/chpasswd.c, src/chgpasswd.c: Add missing parenthesis.
7173
7174 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7175
7176         * man/sv, man/de, man/fr, man/pl, man/ru, man/it: Ignore the
7177         generated manpages. Add *.[1358] to the svn:ignore property.
7178
7179 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7180
7181         * src/chgpasswd.c, src/chpasswd.c: The -c, -e, and -m options are
7182         exclusives.
7183
7184 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7185
7186         * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document how the
7187         encryption algorithm is chosen for the passwords. Document the new
7188         -c and -s options. Add a reference to login.defs(5).
7189         * man/login.defs.5.xml: Document the ENCRYPT_METHOD,
7190         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS, and SHA_CRYPT_MAX_ROUNDS
7191         variables.
7192         * etc/login.defs: Indicate that MD5_CRYPT_ENAB is deprecated.
7193         Document the relationship with PAM for MD5_CRYPT_ENAB and
7194         ENCRYPT_METHOD.
7195
7196 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7197
7198         * src/passwd.c: Increase the size of crypt_passwd from 128 to 256
7199         to avoid overflow in case of SHA512 (161 should be sufficient).
7200
7201 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
7202
7203         * lib/prototypes.h, libmisc/salt.c: Add parameters to
7204         crypt_make_salt to force the crypt method and number of rounds.
7205         * libmisc/salt.c: Add parameter to SHA_salt_rounds to force the
7206         number of rounds.
7207         * libmisc/salt.c, lib/getdef.c: ENCRYPT_METHOD and MD5_CRYPT_ENAB
7208         are needed also when USE_PAM (e.g. for chpasswd).
7209         * src/passwd.c, src/newusers.c, src/gpasswd.c: Use the new
7210         crypt_make_salt prototype
7211         * src/chpasswd.c, src/chgpasswd.c: Add option -c, --crypt-method
7212         and -s, --sha-rounds to specify the crypt method and number of
7213         rounds in case of one of the SHA methods. The new prototype of
7214         crypt_make_salt simplifies the handling of -m, --md5.
7215
7216 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7217
7218         * libmisc/salt.c: The salt has a random size (between 8 and 16
7219         bytes).
7220         * lib/getdef.c, etc/login.defs: Add definitions for
7221         SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS.
7222         * libmisc/salt.c: Use SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS
7223         to add a random number of rounds if needed.
7224
7225 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7226
7227         * libmisc/salt.c (MAGNUM): Terminate the array with nul (the array
7228         is then used with strcat).
7229         * libmisc/salt.c (crypt_make_salt): Initialize result[0] to nul at
7230         the beginning (was not initialized when USE_PAM).
7231         * libmisc/salt.c (crypt_make_salt): Check that ENCRYPT_METHOD is a
7232         valid crypt method.
7233
7234 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7235
7236         * NEWS, libmisc/obscure.c, libmisc/salt.c, src/passwd.c,
7237         lib/getdef.c, etc/login.defs: Add support for SHA256 and SHA512
7238         encrypt methods. Apply RedHat's patch shadow-4.0.18.1-sha256.patch.
7239         Thanks to Peter Vrabec. Hardly no changes except re-indent and
7240         changes related to recent modifications (max_salt_len in
7241         crypt_make_salt). Changes in lib/defines.h not applied (definition
7242         of ENCRYPTMETHOD_SELECT). I will add a configure check or flag.
7243
7244 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7245
7246         * man/de/Makefile.am: Add su.1 to the generated manpages.
7247         * man/fr/Makefile.am: Add id.1 to EXTRA_DIST. It will be
7248         generated.
7249         * man/pl/Makefile.am: Add groupmems.8 to the generated manpages.
7250         * man/it/Makefile.am: Add logoutd.8 to EXTRA_DIST. It will be
7251         generated.
7252         * man/de/su.1, man/fr/id.1, man/pl/groupmems.8, man/it/logoutd.8:
7253         Removed, since auto-generated.
7254
7255 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7256
7257         Fix some compilation warnings:
7258         * src/login.c: "dereferencing type-punned pointer will break
7259         strict-aliasing rules", add a variable indirection: ptr_pam_user.
7260         * lib/commonio.c: do not initialize the sb stat structure.
7261         * lib/pwio.c, lib/shadowio.c, lib/sgroupio.c, lib/groupio.c:
7262         initialize the security context if WITH_SELINUX.
7263         * lib/nscd.c: The service argument is not const (used in the exec*
7264         parameters). This matches with the prototype definition.
7265         * src/groupmems.c: Avoid ++i when i is also used in the same line.
7266         * src/newusers.c: i is positive every time it is compared. Add
7267         cast to unsigned int.
7268         * src/nologin.c: Use a main() prototype with no arguments.
7269         * libmisc/getdate.y: Initialize the type and value fields of the
7270         terminating entry for each TABLE.
7271         * libmisc/tz.c: Use "TZ=CST6CDT" as the default timezone.
7272
7273 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7274
7275         * man/pl/Makefile.am: Add getspnam.3 to EXTRA_DIST since it is
7276         generated with shadow.3.
7277         * man/generate_translations.mak: Clean all the manpages, based on
7278         $(EXTRA_DIST), not $(man_MANS).
7279
7280 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7281
7282         * man/sv/getspnam.3, man/sv/faillog.5, man/sv/faillog.8,
7283         man/sv/grpconv.8, man/sv/chsh.1, man/sv/shadow.3,
7284         man/sv/grpunconv.8, man/sv/shadow.5, man/sv/newgrp.1,
7285         man/sv/limits.5, man/sv/gpasswd.1, man/sv/sg.1, man/sv/userdel.8,
7286         man/sv/lastlog.8, man/sv/login.access.5, man/sv/grpck.8,
7287         man/sv/chfn.1, man/sv/expiry.1, man/sv/newusers.8,
7288         man/sv/chpasswd.8, man/sv/pwconv.8, man/sv/logoutd.8,
7289         man/sv/groupmems.8, man/sv/usermod.8, man/sv/pwunconv.8,
7290         man/sv/su.1, man/sv/groupdel.8, man/sv/chgpasswd.8,
7291         man/sv/login.defs.5, man/sv/vipw.8, man/sv/useradd.8,
7292         man/sv/gshadow.5, man/sv/passwd.1, man/sv/groupmod.8,
7293         man/sv/passwd.5, man/sv/chage.1, man/sv/porttime.5,
7294         man/sv/login.1, man/sv/pwck.8, man/sv/nologin.8,
7295         man/sv/groupadd.8, man/sv/suauth.5, man/sv/vigr.8,
7296         man/sv/groups.1, man/de/passwd.1, man/de/newgrp.1, man/de/chsh.1,
7297         man/de/passwd.5, man/de/login.1, man/de/vipw.8, man/de/chfn.1,
7298         man/de/vigr.8, man/de/groups.1, man/fr/getspnam.3,
7299         man/fr/faillog.5, man/fr/faillog.8, man/fr/grpconv.8,
7300         man/fr/chsh.1, man/fr/shadow.3, man/fr/grpunconv.8,
7301         man/fr/shadow.5, man/fr/newgrp.1, man/fr/limits.5,
7302         man/fr/gpasswd.1, man/fr/sg.1, man/fr/userdel.8,
7303         man/fr/login.access.5, man/fr/lastlog.8, man/fr/grpck.8,
7304         man/fr/chfn.1, man/fr/expiry.1, man/fr/newusers.8,
7305         man/fr/chpasswd.8, man/fr/pwconv.8, man/fr/logoutd.8,
7306         man/fr/usermod.8, man/fr/pwunconv.8, man/fr/su.1,
7307         man/fr/groupdel.8, man/fr/login.defs.5, man/fr/vipw.8,
7308         man/fr/useradd.8, man/fr/gshadow.5, man/fr/passwd.1,
7309         man/fr/groupmod.8, man/fr/passwd.5, man/fr/porttime.5,
7310         man/fr/chage.1, man/fr/login.1, man/fr/pwck.8, man/fr/groupadd.8,
7311         man/fr/suauth.5, man/fr/vigr.8, man/fr/groups.1, man/pl/faillog.5,
7312         man/pl/faillog.8, man/pl/chsh.1, man/pl/grpconv.8,
7313         man/pl/grpunconv.8, man/pl/shadow.5, man/pl/newgrp.1,
7314         man/pl/limits.5, man/pl/gpasswd.1, man/pl/sg.1, man/pl/userdel.8,
7315         man/pl/login.access.5, man/pl/lastlog.8, man/pl/grpck.8,
7316         man/pl/chfn.1, man/pl/expiry.1, man/pl/newusers.8,
7317         man/pl/pwconv.8, man/pl/chpasswd.8, man/pl/logoutd.8,
7318         man/pl/usermod.8, man/pl/pwunconv.8, man/pl/su.1,
7319         man/pl/groupdel.8, man/pl/vipw.8, man/pl/login.defs.5,
7320         man/pl/useradd.8, man/pl/passwd.1, man/pl/groupmod.8,
7321         man/pl/passwd.5, man/pl/porttime.5, man/pl/chage.1,
7322         man/pl/login.1, man/pl/pwck.8, man/pl/groupadd.8, man/pl/suauth.5,
7323         man/pl/vigr.8, man/pl/groups.1, man/ru/getspnam.3,
7324         man/ru/faillog.5, man/ru/faillog.8, man/ru/grpconv.8,
7325         man/ru/chsh.1, man/ru/shadow.3, man/ru/grpunconv.8,
7326         man/ru/shadow.5, man/ru/newgrp.1, man/ru/limits.5,
7327         man/ru/gpasswd.1, man/ru/sg.1, man/ru/userdel.8,
7328         man/ru/login.access.5, man/ru/lastlog.8, man/ru/grpck.8,
7329         man/ru/chfn.1, man/ru/expiry.1, man/ru/newusers.8,
7330         man/ru/chpasswd.8, man/ru/pwconv.8, man/ru/logoutd.8,
7331         man/ru/groupmems.8, man/ru/usermod.8, man/ru/pwunconv.8,
7332         man/ru/su.1, man/ru/groupdel.8, man/ru/chgpasswd.8,
7333         man/ru/login.defs.5, man/ru/vipw.8, man/ru/useradd.8,
7334         man/ru/gshadow.5, man/ru/passwd.1, man/ru/groupmod.8,
7335         man/ru/passwd.5, man/ru/chage.1, man/ru/porttime.5,
7336         man/ru/login.1, man/ru/pwck.8, man/ru/nologin.8,
7337         man/ru/groupadd.8, man/ru/suauth.5, man/ru/vigr.8,
7338         man/ru/groups.1, man/it/getspnam.3, man/it/faillog.5,
7339         man/it/faillog.8, man/it/grpconv.8, man/it/chsh.1,
7340         man/it/shadow.3, man/it/grpunconv.8, man/it/shadow.5,
7341         man/it/newgrp.1, man/it/gpasswd.1, man/it/sg.1, man/it/userdel.8,
7342         man/it/lastlog.8, man/it/grpck.8, man/it/chfn.1, man/it/expiry.1,
7343         man/it/newusers.8, man/it/chpasswd.8, man/it/pwconv.8,
7344         man/it/usermod.8, man/it/pwunconv.8, man/it/su.1,
7345         man/it/groupdel.8, man/it/vipw.8, man/it/useradd.8,
7346         man/it/passwd.1, man/it/groupmod.8, man/it/passwd.5,
7347         man/it/porttime.5, man/it/chage.1, man/it/login.1, man/it/pwck.8,
7348         man/it/groupadd.8, man/it/vigr.8, man/it/groups.1,
7349         man/pl/shadow.3, man/pl/sulogin.8, man/pl/id.1, man/ru/sulogin.8,
7350         man/ru/id.1, man/it/id.1: Remove generated translated manpages.
7351         They are still distributed with the shadow tarballs.
7352
7353 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7354
7355         * man/pl/chgpassw.8: Remove chgpassw.8 since the real manpage
7356         should be named chgpasswd.8.
7357
7358 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
7359
7360         * man/vigr.8.xml: Remove file. The vigr man page is generated from
7361         the vipw XML file.
7362
7363 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7364
7365         * lib/prototypes.h, configure.in, libmisc/Makefile.am,
7366         libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
7367         libmisc/xgetgrnam.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c:
7368         Added functions xgetpwnam(), xgetpwuid(), xgetgrnam(),
7369         xgetgrgid(), and xgetspnam(). They allocate memory for the
7370         returned structure and are more robust to successive calls. They
7371         are implemented with the libc's getxxyyy_r() functions if
7372         available.
7373         * NEWS, libmisc/limits.c, libmisc/entry.c, libmisc/chowntty.c,
7374         libmisc/addgrps.c, libmisc/myname.c, libmisc/rlogin.c,
7375         libmisc/pwdcheck.c, src/newgrp.c, src/login_nopam.c, src/login.c,
7376         src/userdel.c, src/lastlog.c, src/grpck.c, src/gpasswd.c,
7377         src/newusers.c, src/chpasswd.c, src/chfn.c, src/groupmems.c,
7378         src/usermod.c, src/expiry.c, src/groupdel.c, src/chgpasswd.c,
7379         src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c, src/pwck.c,
7380         src/groupadd.c, src/chage.c, src/login.c, src/suauth.c,
7381         src/faillog.c, src/groups.c, src/chsh.c, src/id.c: Review all the
7382         usage of one of the getpwnam(), getpwuid(), getgrnam(),
7383         getgrgid(), and getspnam() functions. It was noticed on
7384         http://bugs.debian.org/341230 that chfn and chsh use a passwd
7385         structure after calling a pam function, which result in using
7386         information from the passwd structure requested by pam, not the
7387         original one. It is much easier to use the new xget... functions
7388         to avoid these issues. I've checked which call to the original
7389         get... functions could be left (reducing the scope of the
7390         structure if possible), and I've left comments to ease future
7391         reviews (e.g. /* local, no need for xgetpwnam */).
7392         Note: the getpwent/getgrent calls should probably be checked also.
7393         * src/groupdel.c, src/expiry.c: Fix typos in comments.
7394         * src/groupmod.c: Re-indent.
7395         * lib/Makefile.am, lib/groupmem.c, lib/groupio.c, lib/pwmem.c,
7396         lib/pwio.c, lib/shadowmem.c, lib/shadowio.c: Move the __<xx>_dup
7397         functions (used by the xget... functions) from the <xx>io.c files
7398         to the new <xx>mem.c files. This avoid linking some utils against
7399         the SELinux library.
7400
7401 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7402
7403         * man/pl/pl.po: Fix typo: chgpassw -> chgpasswd.
7404         * man/pl/Makefile.am: Fix typo: chgpassw -> chgpasswd.
7405         * man/de/de.po: groups shall not be translated (for command,
7406         refname, or refentrytitle).
7407
7408 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7409
7410         * src/login.c: Fix typo introduced while fixing
7411         http://bugs.debian.org/451521 (compile fix).
7412
7413 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7414
7415         * libmisc/Makefile.am: Fix typo: EXTRA_DOST -> EXTRA_DIST.
7416
7417 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7418
7419         * src/login_nopam.c: Fix a typo in a comment.
7420
7421 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7422
7423         * src/useradd.c: Do not document the behavior compared to old
7424         versions.
7425
7426 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7427
7428         * man/usermod.8.xml: Document the differences between locking an
7429         account and locking a password.
7430
7431 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7432
7433         * NEWS, src/usermod.c: Refuse to unlock an account when it would
7434         result in a passwordless account.  Based on Openwall's patch
7435         shadow-4.0.4.1-owl-usermod-unlock.diff.
7436         * NEWS, src/passwd.c: Likewise.
7437
7438 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7439
7440         * src/userdel.c (path_prefix): Make sure that the prefix is the
7441         name of a directory (not only the beginning of a directory).
7442         Openwall patch shadow-4.0.4.1-owl-userdel-path_prefix.diff.
7443
7444 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7445
7446         * NEWS, src/newgrp.c: Do not give an indication that the group has no
7447         password.
7448         * src/newgrp.c: Do not only bail on syslog if the password is not
7449         valid. Also give an indication to the user on stderr.
7450
7451 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7452
7453         Fixes from Openwall patch shadow-4.0.4.1-owl-chage-drop-priv.diff:
7454         * src/chage.c: Remove cleanup(). pw_lock is never called. Replace
7455         cleanup(2) by spw_unlock and remove the calls to cleanup(1).
7456         * src/chage.c: Remove variable pwrw. It is always set to 0. The
7457         password database is always read only.
7458         * src/chage.c: Make chage -l also drop the saved GID.
7459         * src/chage.c: Prefer setregid/setreuid to setgid/setuid.
7460
7461 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7462
7463         Fixes from Openwall patch shadow-4.0.4.1-alt-man.diff:
7464         * man/useradd.8.xml: Indicate that the NIS caveats is also valid
7465         for any external database as LDAP.
7466         * man/groupadd.8.xml: Likewise.
7467         * man/groupadd.8.xml: Reorder and reformat the caveats bullets.
7468
7469 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7470
7471         * NEWS: Applied Debian patch 409_man_generate_from_PO to
7472         automatically generate the translated manpages from the POs.
7473         * man/Makefile.am: Replace the individual rules for the generation
7474         of the manpages (from XML) by a generic Makefile rule an
7475         dependencies for the linked manpages.
7476         * man/generate_translations.mak: Generic rules for all the
7477         generated translated manpages (if ENABLE_REGENERATE_MAN).
7478         * man/Makefile.am: Removed rules for all the generated translated
7479         manpages.
7480         * man/sv/Makefile.am, man/de/Makefile.am, man/fr/Makefile.am,
7481         man/pl/Makefile.am, man/ru/Makefile.am, man/it/Makefile.am:
7482         Include generate_translations.mak to handle the generated
7483         translations (XML and roff files).
7484         * man/Makefile.am: Translated XML files moved from the CLEANFILES
7485         variable of man/Makefile.am to the various languages Makefiles.
7486
7487 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7488
7489         * man/chpasswd.8.xml: Document that chpasswd does not use PAM to
7490         update the passwords. This fixes http://bugs.debian.org/396726.
7491         Debian patch 411_chpasswd_document_no_pam.
7492
7493 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7494
7495         * NEWS, src/su.c: Avoid terminating the PAM library in the forked
7496         child.  This is done later in the parent after closing the PAM
7497         session. This fixes http://bugs.debian.org/412061.
7498         Debian patch 405_su_no_pam_end_before_exec.
7499
7500 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7501
7502         * man/newgrp.1.xml: Mention sg in the newgrp manpage.
7503         This fixes http://bugs.debian.org/396690.
7504         Debian patch 410_newgrp_man_mention_sg.
7505
7506 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7507
7508         * src/passwd.c: Fix typo: the warndays option was called warning.
7509         This is now warndays, as documented in the manpage and usage.
7510         This fixes http://bugs.debian.org/445481.
7511         Debian patch 417_passwd_warndays.
7512
7513 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7514
7515         * NEWS, src/pwck.c: Remove the preprocessor check SHADOWPWD. The
7516         variable is no more defined (and always assumed).
7517         Debian patch 493_pwck_no_SHADOWPWD.
7518
7519 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7520
7521         * NEWS, src/passwd.c, man/passwd.1.xml: -l/-u options: edit the
7522         shadow account expiry field *in addition* to editing the password
7523         field.  This fixes http://bugs.debian.org/389183.
7524         Debian patch 494_passwd_lock.
7525
7526 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7527
7528         * NEWS, src/newgrp.c: Do not request a password when a user uses
7529         newgrp to switch to her primary group.
7530         This fixes http://bugs.debian.org/396691.
7531         Debian patch 497_newgrp_primary_group.
7532         * src/newgrp.c: Remove a comment which states otherwise.
7533
7534 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7535
7536         * src/login.c: Log an error if the password entry could not be
7537         found (respect LOG_UNKFAIL_ENAB to avoid logging a password). This
7538         fixes the Debian bug http://bugs.debian.org/451521
7539
7540 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7541
7542         * man/useradd.8.xml: -b documenation: Use the same notation for
7543         the -d argument as in the -d documentation.
7544
7545 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7546
7547         * src/useradd.c: Allow the -b option even without the -D option.
7548
7549 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7550
7551         * src/usermod.c: Use the same error message for the below errors.
7552         (option working ONLY if another is specified).
7553
7554 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7555
7556         * src/usermod.c: Make usermod -o and -u work independently of the
7557         argument order.
7558
7559 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7560
7561         * src/usermod.c: Validate that two of the -L, -p, and -U options
7562         are not used at the same time after the parsing of options. -U
7563         used to be allowed after -p or -L, but not before.
7564
7565 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7566
7567         * src/usermod.c: Make usermod -d and -m work independently of the
7568         argument order. Thanks to Justin Pryzby <jpryzby+d@quoininc.com>
7569         for the patch. This fixes http://bugs.debian.org/451518.
7570
7571 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7572
7573         * NEWS, lib/nscd.c: Execute nscd -i instead of using the private
7574         glibc socket to flush the nscd tables. This comes from the RedHat
7575         patch shadow-4.0.16-nscd.c.
7576         * lib/commonio.c: Forbid inheritance of the passwd and group files
7577         to the spawed processes (like nscd). This comes from the RedHat
7578         patch shadow-4.0.17-notInheritFd.patch.
7579         * lib/nscd.h: Update header.
7580
7581 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7582
7583         * src/usermod.c (fail_exit): Add static variables pw_locked,
7584         spw_locked, gr_locked, and sgr_locked to indicate which files must
7585         be unlocked.
7586         * src/usermod.c (open_files, close_files): Open and close the
7587         group files as well as the passwd files. This permit to check if
7588         the group files modification are allowed before writing the passwd
7589         files.
7590         * src/usermod.c (grp_update, update_gshadow, update_group): Do not
7591         return a status code, but call fail_exit() in case of error. The
7592         group files are no more opened and closed in update_gshadow() and
7593         update_group().
7594         * src/usermod.c (main): move the call to grp_update between
7595         open_files and close_files.
7596         * src/usermod.c: Differentiate failure to add a group entry and
7597         failure to add a shadow group entry.
7598
7599 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7600
7601         * src/userdel.c: Differentiate failure to update a group entry and
7602         failure to update a shadow group entry.
7603
7604 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7605
7606         * src/userdel.c, src/usermod.c, src/useradd.c: Inform the user if
7607         out of memory while updating a group database.
7608
7609 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7610
7611         * NEWS, src/usermod.c: Update the group database before flushing
7612         the nscd caches.
7613
7614 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7615
7616         * NEWS, src/userdel.c: Abort if an error is found while updating the
7617         user or group database. No changes will be written in the
7618         databases.
7619
7620 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7621
7622         * src/useradd.c: It is no more needed to check that the user's
7623         groups are specified only once in the group file. This is checked
7624         by gr_update().
7625
7626 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7627
7628         * lib/commonio.c (next_entry_by_name): New function.
7629         * NEWS, lib/commonio.c (commonio_update): When an entry is updated, make
7630         sure that there are no other entry with the same name. This fixes
7631         an infinite loop in userdel and usermod when an (erroneous) group
7632         file contains two entries with the same name.
7633         (https://bugzilla.redhat.com/show_bug.cgi?id=240915)
7634
7635 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7636
7637         * libmisc/salt.c: Make sure the salt string is terminated at the
7638         right place (either 8th, or 11th position).
7639         * NEWS, src/chgpasswd.c, src/chpasswd.c: The protocol + salt does
7640         not need 15 chars. No need for a temporary buffer.
7641         This change the fix committed on 2007-11-10. The salt provided to
7642         pw_encrypt could have been too long.
7643
7644 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7645
7646         * man/fr/fr.po: Fix typo: missing / in <placeholder-1/>. This
7647         caused the gpasswd title to be incomplete in the French manpage.
7648
7649 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7650
7651         * configure.in: Check if the l64a function exists instead of a64l
7652         which we do not use.
7653         * libmisc/salt.c: Add support for uClibc with no l64a().
7654
7655 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7656
7657         * configure.in: Check if the netdb.h header file and the innetgr
7658         function exist.
7659         * src/login_nopam.c, NEWS: Add support for systems with no
7660         innetgr().  On those systems, username with an @ will be treated
7661         like any other username (i.e. lookup in the local database for an
7662         user with an @). Thanks to Mike Frysinger for the patch.
7663
7664 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7665
7666         * src/useradd.c: Indentation fix.
7667
7668 2007-11-14  Nicolas François  <nicolas.francois@centraliens.net>
7669
7670         * src/newgrp.c, NEWS: Declare the child and pid variable at the
7671         beginning of a block. This fixes a compilation issue with gcc 2.95.
7672         The intent is the same as Gentoo's patch shadow-4.0.12-gcc2.patch.
7673
7674 2007-11-14  Nicolas François  <nicolas.francois@centraliens.net>
7675
7676         * src/Makefile, NEWS: Add a suidperms variable. This should ease
7677         the change of permission of suid binaries for distributors (not
7678         recommended).
7679
7680 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7681
7682         * ./, libmisc/, src/, contrib/, doc/, lib/, man/, man/sv/,
7683         man/de/, man/ja/, man/fi/, man/pt_BR/, man/fr/, man/pl/, man/hu/,
7684         man/tr/, man/ru/, man/zh_TW/, man/id/, man/zh_CN/, man/cs/,
7685         man/es/, man/ko/, man/it/, etc/, etc/pam.d/, po/: Restore the
7686         ignore patterns from the previous repository.
7687
7688         * libmisc/*.c, libmisc/*.h, libmisc/getdate.y, shadow.spec.in,
7689         src/*.c, contrib/groupmems.shar, contrib/pwdauth.c,
7690         doc/README.platforms, doc/WISHLIST, doc/console.c.spec.txt,
7691         lib/*.c, lib/*.h, COPYING, man/*.xml, man/sv/*.[1358],
7692         man/de/*.[1358], man/ja/*.[1358], man/fi/*.[1358],
7693         man/fr/*.[1358], man/pt_BR/*.[1358], man/pl/*.[1358],
7694         man/hu/*.[1358], man/tr/*.[1358], man/ru/*.[1358],
7695         man/zh_TW/*.[1358], man/id/*.[1358], man/zh_CN/*.[1358],
7696         man/cs/*.[1358], man/es/*.[1358], man/ko/*.[1358],
7697         man/it/*.[1358], etc/login.access, etc/login.defs, NEWS: Added the
7698         subversion svn:keywords property (Id) for proper identification.
7699
7700 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7701
7702         * man/sv/sv.po, man/de/de.po, man/fr/fr.po, man/pl/pl.po,
7703         man/ru/ru.po, man/it/it.po: Run "make update-po" in the man
7704         directory.
7705
7706         * po/ne.po, po/bs.po, po/cs.po, po/pt_BR.po, po/km.po, po/es.po,
7707         po/eu.po, po/ko.po, po/hu.po, po/sk.po, po/vi.po, po/uk.po,
7708         po/ro.po, po/sq.po, po/ru.po, po/id.po, po/nb.po, po/el.po,
7709         po/gl.po, po/fr.po, po/nl.po, po/pl.po, po/nn.po, po/it.po,
7710         po/dz.po, po/tl.po, po/pt.po, po/ca.po, po/da.po, po/tr.po,
7711         po/sv.po, po/de.po, po/ja.po, po/zh_TW.po, po/he.po, po/fi.po,
7712         po/zh_CN.po: Run "make update-po" in the po directory.
7713
7714 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7715
7716         * NEWS, src/newgrp.c: Don't ask for a password if there are no
7717         group passwords. Just directly give up. This comes from the
7718         Fedora's patch shadow-4.0.13-newgrpPwd.patch, and seems to be the
7719         only part with an effect.
7720
7721 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7722
7723         * NEWS, src/chgpasswd.c, src/chpasswd.c: Fix chpasswd and
7724         chgpasswd stack overflow. Based on Fedora's
7725         shadow-4.0.18.1-overflow.patch.
7726
7727 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7728
7729         * NEWS, src/useradd.c: Allow non numerical group identifier to be
7730         specified with useradd's -g option. Applied Debian patch
7731         397_non_numerical_identifier. Thanks also to Greg Schafer
7732         <gschafer@zip.com.au>.
7733
7734 2007-10-28  Nicolas François  <nicolas.francois@centraliens.net>
7735
7736         * configure.in: Prepare the next release: 4.0.18.2. The gettext
7737         version used for the configuration will be 0.16.
7738
7739 2007-10-28  Nicolas François  <nicolas.francois@centraliens.net>
7740
7741         * po/ja.po: Remove a plural form. nplurals=1 for japanese.
7742         Moreover, msgstr[0] was identical to msgstr[1].
7743
7744 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7745
7746         * libmisc/limits.c, man/limits.5.xml, etc/limits: Apply patch sent
7747         by Justin Bronder <jsbronder@gmail.com>. See Debian bug #442334.
7748         This adds support to 2 new resource limits: max nice value, and
7749         max real time priority. This is only used when shadow is not
7750         compiled with PAM support.
7751
7752 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7753
7754         * man/gpasswd.1.xml: Describe the options separately in the
7755         OPTIONS section. Simplify the synopsis.
7756
7757 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7758
7759         * README, po/Makevars: Update contact information.
7760
7761 2007-10-27  Christian Perrier  <bubulle@debian.org
7762
7763         * src/newgrp.c, src/passwd.c, src/su.c:
7764         No longer 'apologize' to users when they use incorrect passwords
7765         Remove "Sorry" from programs display
7766         Imported from Debian's patch 413_no-sorry-in-passwd and
7767         102_de-fix-sorry
7768         * man/fr/fr.po: fix translation errors. Imported from Debian's
7769         patch 201_fix_man_su_fr and 416_man-fr_newgrp
7770         * man/it/it.po, man/Makefile.am, man/it/Makefile.am:
7771         Use gettext for the Italian man pages translation. Imported from
7772         Debian's patch 202_it_man_uses_gettext. Thanks to Giuseppe
7773         Sacco who contributed the Italian translation.
7774         * man/de/de.po: (nearly) complete German translation of man pages
7775         Imported from Debian's patch 203_de-man-update. Thanks to 
7776         Simon Brandmair
7777         * src/usermod.c: Clarify the online help of usermod for "-a"
7778         Imported from Debian's patch 402-clarify_usermod_usage
7779         * man/shadow.5.xml: fix spelling error. Imported from Debian's
7780         patch 433_shadow.5-typo_312430
7781         * src/su.c: Be up front on the origin of su and mention the GNU
7782         origin. Imported from Debian's patch 438_su_GNU_origin
7783
7784 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7785
7786         * NEWS, po/zh_CN.po: Updated Chinese translation. Imported from
7787         Debian's patch 105_zh_CN. Thanks to Ming Hua for the update.
7788
7789 2007-10-13  Tommi Vainikainen  <thv+debian@iki.fi>
7790
7791         * NEWS, po/fi.po: Updated Finish translation (400t).
7792
7793 2007-10-13  Nicolas François  <nicolas.francois@centraliens.net>
7794
7795         * NEWS, src/su.c: If compiled without PAM support, enforce the
7796         limits from /etc/limits when one of the -, -l, or --login options
7797         is set, even if called by root. Thanks to Justin Bronder.
7798
7799 2007-10-07  Nicolas François  <nicolas.francois@centraliens.net>
7800
7801         * NEWS, Changelog: Convert the Changelog and NEWS files to UTF-8
7802         (it was partially ISO-8859-2).
7803
7804 2007-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
7805
7806         * 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:
7807         groupadd.8, groupmod.8, login.1, useradd.8, userdel.8, usermod.8: grammar
7808         mistakes and other correctstions (by Schulenberg <bensberg@justemail.net>).
7809
7810 2007-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
7811
7812         * NEWS, src/usermod.c:
7813         fixed handle -a option in usermod (by Benno Schulenberg <bensberg@justemail.net>).
7814
7815 2006-12-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
7816
7817         * man/sv/sv.po:
7818         more UTF8 fixe (by Mikael Magnusson <mikma@users.sourceforge.net>).
7819
7820         * man/sv/sv.po:
7821         UTF8 fixes (by Mikael Magnusson <mikma@users.sourceforge.net>).
7822
7823 2006-11-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
7824
7825         * man/pl/Makefile.am, man/pl/chgpassw.8, man/pl/chpasswd.8, man/pl/pl.po:
7826         translation chpasswd.8 and chgpassw.8 finished.
7827
7828 2006-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
7829
7830         * man/pl/pl.po: resolve fuzzy entries.
7831
7832         * 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:
7833         spelling fixes 's/super user/superuser/' (by Benno Schulenberg <bensberg@justemail.net>).
7834
7835         * man/sv/sv.po, man/de/de.po, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po:
7836         run "make update-po".
7837
7838         * man/newusers.8.xml, man/su.1.xml:
7839         fixed wrong word, a few typos, some grammar mistakes, and puts in a comma here
7840         and there for clarity (by Benno Schulenberg <bensberg@justemail.net>).
7841
7842         * man/pl/groupmod.8, man/pl/chage.1, man/pl/chsh.1, man/pl/lastlog.8, man/pl/vipw.8:
7843         regenerated.
7844
7845         * man/de/de.po: run "make update-po".
7846
7847         * man/Makefile.am:
7848         added de to LINGUAS but man/de/de.po still need many work.
7849
7850 2006-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
7851
7852         * src/useradd.c: indent code.
7853
7854         * NEWS, src/useradd.c:
7855         improved auditing support (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211659).
7856
7857 2006-11-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
7858
7859         * 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:
7860         run "make update-po".
7861
7862         * NEWS, po/nl.po:
7863         updated (by cobaco (aka Bart Cornelis) <cobaco@skolelinux.no>).
7864
7865         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po:
7866         "make update-po".
7867
7868 2006-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
7869
7870         * man/su.1.xml:
7871         added sg(1) to the SEE ALSO section (Debian Bug#396690).
7872
7873 2006-10-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
7874
7875         * man/newusers.8.xml: clarify pw_gid fileld content description.
7876
7877         * man/it/Makefile.am, man/sv/Makefile.am:
7878         s/man_nonpam/man_nopam/ (merged 498_man_nonpam_undefined Debian patch).
7879
7880         * po/nl.po:
7881         fixed https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212892
7882
7883 2006-10-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
7884
7885         * man/newusers.8.xml: there is no pw_age fileld in passwd.
7886
7887         * man/fr/fr.po:
7888         Fix an error in the passwd.1 French translation (fixed Debian bug #395537).
7889
7890         * 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:
7891         cleanups on begin DESCRIPTION section.
7892
7893         * man/pl/pl.po: typos.
7894
7895 2006-10-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
7896
7897         * po/pl.po: cleanups.
7898
7899 2006-10-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
7900
7901         * man/pl/pl.po: more translations.
7902
7903         * NEWS:
7904         UTF-8 corrections (by Benno Schulenberg <bensberg@justemail.net>).
7905
7906 2006-10-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
7907
7908         * man/groupdel.8.xml: added description for exit code 6.
7909
7910 2006-08-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
7911
7912         * man/de/de.po: copy & paste some msgid to msgstr.
7913
7914         * man/de/de.po:
7915         kill some fuzzy (by Nicolas François <nicolas.francois@centraliens.net>).
7916
7917 2006-08-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
7918
7919         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po, man/passwd.1.xml:
7920         s/change password/password change/ in passwd(1) (by Simon Brandmair <sbrandmair@gmx.net>).
7921
7922         * man/de/de.po:
7923         initial version based on partial translations only for passwd(1) by
7924         Simon Brandmair <sbrandmair@gmx.net>.
7925
7926         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/useradd.c, src/userdel.c, src/usermod.c:
7927         flush nscd cashes after close /etc/{group,passwd} files.
7928
7929 2006-08-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
7930
7931         * po/tl.po: updated (by Eric Pareja <xenos@upm.edu.ph>).
7932
7933 2006-08-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
7934
7935         * NEWS, po/ja.po: updated (by Takeo Nakano <nakano@webmasters.gr.jp>).
7936
7937 2006-08-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
7938
7939         * man/fr/Makefile.am:
7940         removed whitespaces following trailing backslashes.
7941
7942         * NEWS, configure.in: release 4.0.18.1.
7943
7944         * 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:
7945         fixed missing man pages in dist tar ball necessary on build when PAM is disabled.
7946
7947         * NEWS, src/groupmems.c:
7948         fixed groupmems compilation when PAM is disabled (by Johannes Winkelmann <jw@smts.ch>).
7949
7950         * configure.in:
7951         typo s/followig/following/ (by Johannes Winkelmann <jw@smts.ch>).
7952
7953 2006-08-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
7954
7955         * NEWS: release date corrected.
7956
7957         * NEWS, src/su.c:
7958         fixed set enviroment too early when using PAM, so move it to !USE_PAM
7959         (patch submitted by Mike Frysinger <vapier@gentoo.org>).
7960
7961 2006-07-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
7962
7963         * 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:
7964         fr man pages are now up to date.
7965
7966         * man/fr/fr.po:
7967         more updates for 4.0.18 (by Nicolas François <nicolas.francois@centraliens.net>).
7968
7969         * man/fr/fr.po:
7970         updated for 4.0.18 (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
7971
7972 2006-07-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
7973
7974         * 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:
7975         updated.
7976
7977         * src/useradd.c, src/usermod.c:
7978         fixed UID/GID overflow (fixed http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920).
7979         Fixed expiredate/inactive/mindays/warndays/maxdays overflow (simillar to RH#198920).
7980
7981         * src/passwd.c:
7982         fixed inactive/mindays/warndays/maxdays overflow (similar to RH#198920).
7983
7984         * src/groupadd.c, src/groupmod.c:
7985         fixed GID overflow (fixed http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920).
7986
7987 2006-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
7988
7989         * src/.cvsignore: groupmems added.
7990
7991 2006-07-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
7992
7993         * po/fr.po:
7994         updated for 4.0.18 (by ean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
7995
7996         * po/uk.po: break lines longer than 80 cols and add missing \n.
7997
7998         * po/uk.po:
7999         updated for 4.0.18 (by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>).
8000
8001         * man/pl/pl.po, man/ru/ru.po, man/sv/sv.po, man/chgpasswd.8.xml, man/chpasswd.8.xml, man/fr/fr.po:
8002         s/instead DES/instead of DES/
8003
8004         * NEWS: sv man pages are partially translated.
8005
8006 2006-07-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8007
8008         * src/groupmems.c: fix compilation warnings.
8009
8010         * po/ko.po: use \t.
8011
8012         * po/nl.po: break lines longer than 80 cols and add missing \n.
8013
8014 2006-07-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8015
8016         * man/ru/faillog.5: regenerated.
8017
8018         * po/ko.po: updated for 4.0.18 (by Changwoo Ryu <cwryu@debian.org>).
8019
8020 2006-07-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8021
8022         * man/faillog.5.xml, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po:
8023         added <refmiscinfo class="sectdesc"> tag for faillog.5.xml.
8024
8025         * man/sv/Attic/grupper.1: removed.
8026
8027         * 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:
8028         corrected text charset and other minor cleanups (by Daniel Nylander <info@danielnylander.se>).
8029
8030         * po/tr.po: break lines longer than 80 cols.
8031
8032         * po/tr.po:
8033         updated for 4.0.18 (by Mehmet TURKER <mturker@innova.com.tr>).
8034
8035         * configure.in, man/Makefile.am, man/sv/Makefile.am:
8036         fixes for "make {dist|distchec}" and sv man pages.
8037
8038         * 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:
8039         full sv man pages set added (by Daniel Nylander <info@danielnylander.se>).
8040         This man pages are translated using new XML/xml2po/gettext infrastructure.
8041
8042         * po/pl.po: updated for 4.0.18.
8043
8044 2006-07-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8045
8046         * po/pt.po:
8047         updated for 4.0.18 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8048
8049         * po/gl.po, NEWS:
8050         updated for 4.0.18 (by Jacobo Tarrio <jacobo@tarrio.org>).
8051
8052         * NEWS, po/eu.po:
8053         updated for 4.0.18 (by Piarres Beobide <pi@beobide.net>).
8054
8055         * 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:
8056         updated for 4.0.18 (by Yuri Kozlov <kozlov.y@gmail.com>).
8057
8058         * po/vi.po, NEWS:
8059         updated for 4.0.18 (by Clytie Siddall <clytie@riverland.net.au>).
8060
8061         * NEWS, po/cs.po:
8062         updated for 4.0.18 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8063
8064         * NEWS, po/sv.po:
8065         updated for 4.0.18 (by Daniel Nylander <info@danielnylander.se>).
8066
8067         * NEWS, po/ca.po:
8068         updated for 4.0.18 (by Guillem Jover <guillem@debian.org>).
8069
8070 2006-07-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
8071
8072         * po/hu.po: cleanups.
8073
8074         * NEWS, po/da.po:
8075         updated for 4.0.18 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8076
8077         * po/hu.po, NEWS: updated for 4.0.18 (by SZERVÁC Attila <sas@321.hu>).
8078
8079         * NEWS: typos.
8080
8081         * man/ru/ru.po, man/fr/fr.po, man/pl/pl.po: run "make update-po".
8082
8083         * man/su.1.xml: fixes in <refsynopsisdiv>.
8084
8085         * src/groupmems.c: indent soutrce code.
8086
8087         * src/groupmems.c: use shadow Copyright.
8088
8089         * 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:
8090         added src/groupmems.c to POTFILES.in.
8091
8092         * NEWS, etc/pam.d/Makefile.am, etc/pam.d/groupmems, man/Makefile.am, man/groupmems.8.xml, src/Makefile.am, src/groupmems.c:
8093         groupmems rewrited for use PAM and getopt_long() nad now it is enabled
8094         for build and install (patch by George Kraft <gk4@swbell.net>).
8095
8096         * NEWS, configure.in: start prepare for 4.0.18.
8097
8098 2006-07-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
8099
8100         * 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:
8101         run "make update-po" and some cleanups (added missing \n and use tabs instead spaces).
8102
8103         * src/su.c: s#[login]#[LOGIN]# in help message.
8104
8105         * man/useradd.8.xml:
8106         added missing --<foo> long options names in "Changing the default values" section.
8107
8108         * po/tr.po: updated (by Murat Şenel <muratasenel@gmail.com>).
8109
8110 2006-07-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8111
8112         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.
8113
8114         * man/useradd.8.xml: added newusers(8) to SEE ALSO section.
8115
8116         * etc/login.defs:
8117         removed GETPASS_ASTERISKS (patch by Mike Frysinger <vapier@gentoo.org>).
8118
8119 2006-07-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8120
8121         * NEWS, man/pl/chsh.1, man/pl/pl.po: pl chage(1): translation finished.
8122
8123         * NEWS:
8124         s#fix by Mike Frysinger <vapier@gentoo.org>)#(patch by Ulrich Mueller <ulm@kph.uni-mainz.de>; http://bugs.gentoo.org/139966#
8125
8126         * NEWS, configure.in:
8127         S/Key: removed assign getpass() to libshadow_getpass() on autoconf level
8128         (fix by Mike Frysinger <vapier@gentoo.org>).
8129
8130 2006-07-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
8131
8132         * man/vipw.8.xml: make options <replaceable> in SYNOPSIS.
8133
8134         * 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:
8135         s/group/GROUP/ in groupadd help message.
8136
8137         * src/su.c (main):
8138         move **envcp declaration to #ifdef USE_PAM (fixed warning about unused
8139         variable when shadow is builded with PAM didabled).
8140
8141         * man/pl/pl.po, NEWS, man/pl/chage.1: pl chage(1) translation finished.
8142
8143         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.
8144
8145         * man/chsh.1.xml: updated after rewrite chsh for use getopt_long().
8146
8147         * po/pl.po: kill fuzzy.
8148
8149 2006-07-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8150
8151         * 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:
8152         one \t more in help message.
8153
8154         * 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:
8155         updated.
8156
8157         * NEWS, src/chsh.c: chsh rewrited for use getopt_long().
8158
8159 2006-07-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8160
8161         * man/pl/groupmod.8, man/pl/pl.po: finish translation groupmod(8).
8162
8163         * man/fr/fr.po, man/groupmod.8.xml, man/pl/groupmod.8, man/pl/pl.po, man/ru/ru.po:
8164         cleanups in groupmod(8).
8165
8166         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml, src/usermod.c, NEWS:
8167         back to previouse usermod -a option sematics and clarify -a behavior
8168         on documentation level (by Greg Schafer <gschafer@zip.com.au>).
8169
8170         * man/fr/fr.po, man/groupmod.8.xml, man/pl/pl.po, man/ru/ru.po:
8171         updated groupmod man page.
8172
8173 2006-07-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8174
8175         * src/groupmod.c: too many \t in help message.
8176
8177         * 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:
8178         updated.
8179
8180         * 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:
8181         run "make update-po".
8182
8183         * src/groupmod.c: cleunps in help message.
8184
8185         * src/chage.c: s/user/\[LOGIN\]/ in help message.
8186
8187         * src/passwd.c: s/\[login\]/\[LOGIN\]/ in help message.
8188
8189         * NEWS, src/groupmod.c: groupmod rewrited for use getopt_log().
8190
8191 2006-07-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
8192
8193         * po/sv.po:
8194         added missing \n in help messages and few other minor cleanups.
8195
8196         * NEWS, po/sv.po:
8197         updated for 4.0.17 (by Daniel Nylander <info@danielnylander.se>).
8198
8199         * NEWS: 4.0.17 release date i 10-07-2006.
8200
8201         * NEWS, libmisc/copydir.c:
8202         fixed segfault usermod/userdel on remove home directory when it can't
8203         be removed; for example when it is /dev/null (fixed http://bugs.gentoo.org/139148).
8204
8205         * src/login.c, src/logoutd.c, src/userdel.c, libmisc/limits.c:
8206         remove USER_PROCESS conditionsi (code simplifications).
8207
8208 2006-07-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8209
8210         * po/km.po: kill all fuzzy (Sokhem <khoemsokhem@khmeros.info>).
8211
8212 2006-07-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8213
8214         * po/de.po: kill fuzzy (by Holger Wansing <linux@wansing-online.de>).
8215
8216 2006-07-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8217
8218         * man/Makefile.am: removed duplicated all target.
8219
8220         * NEWS, po/LINGUAS, po/ne.po:
8221         new Nepali translation (by Paras Pradhan <pradhanparas@gmail.com>).
8222
8223         * NEWS, po/LINGUAS, po/dz.po: new Dzongkha translation.
8224
8225         * NEWS, po/de.po:
8226         updated for 4.0.17 (by Holger Wansing <linux@wansing-online.de>).
8227
8228         * NEWS, po/nl.po:
8229         updated for 4.0.17 (by "cobaco (aka Bart Cornelis)" <cobaco@skolelinux.no>)
8230
8231 2006-06-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
8232
8233         * po/ko.po: cleanups (by darehanl <darehanl@gmail.com>).
8234
8235         * src/usermod.c: fixes in getopt_long() optstring: s/a/a:/ and added h.
8236
8237         * src/faillog.c:
8238         fixed long_options[] entries: s/no_argument/required_argument/ for lock-secs,
8239         maximum, time and user options.
8240
8241         * NEWS, configure.in:
8242         improved SELinux detection on autoconf level (based on patch by
8243         Dan Yefimov <dan@D00M.lightwave.net.ru>).
8244
8245         * po/ro.po, NEWS:
8246         updated for 4.0.17 (by Sorin Batariuc <sorin@bonbon.net>).
8247
8248 2006-06-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8249
8250         * NEWS: cleanups.
8251
8252         * man/pl/pl.po: more translations for chage(1).
8253
8254         * TODO: remove done things.
8255
8256         * NEWS, lib/Attic/getpass.c, lib/Makefile.am, lib/getdef.c, lib/pwauth.c, po/POTFILES.in:
8257         removed using private implementatuon getpass() libc function (now getpass() is
8258         used also when S/KEY support is enabled).
8259
8260         * NEWS, src/Makefile.am: move nologin do $(sbindir).
8261
8262         * man/pl/pl.po: more work.
8263
8264         * man/pl/pl.po: more translations.
8265
8266         * po/pl.po: s/KEY=VALUE/KLUCZ=WARTOŚĆ/
8267
8268         * po/pl.po: s/SEC/SEK/
8269
8270         * src/chpasswd.c: added missing #include "exitcodes.h".
8271
8272         * src/chpasswd.c: s/exit (1)/exit (E_USAGE)/
8273
8274         * man/Makefile.am:
8275         move all current i18n man pages automation inside "if ENABLE_REGENERATE_MAN .. endif".
8276
8277         * man/Makefile.am:
8278         add an error message so people don't have to go digging through
8279         source to find out what's up (by Mike Frysinger <vapier@gentoo.org>).
8280
8281         * 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:
8282         updated ru man pages (regenerated from man/ru/ru.po -> man/ru/*xml -> roff).
8283
8284         * NEWS, po/ru.po:
8285         updated for 4.0.17 (by Yuri Kozlov <kozlov.y@gmail.com>).
8286
8287         * NEWS, po/LINGUAS, po/km.po:
8288         new km translation (Sokhem <khoemsokhem@khmeros.info>).
8289
8290         * 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:
8291         cleanups in groupadd help message.
8292
8293         * NEWS, po/nb.po:
8294         updated for 4.0.17 (by Bjørn Steensrud <bjornst@powertech.no>).
8295
8296         * NEWS, po/da.po:
8297         updated for 4.0.17 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8298
8299         * po/pl.po:
8300         s/twóş/twĂłrz/ (fix by Michał Łomnicki <michal.lomnicki@gmail.com>).
8301
8302         * NEWS, po/pt.po:
8303         updated for 4.0.17 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8304
8305         * NEWS, po/vi.po:
8306         updated for 4.0.17 (by Clytie Siddall <clytie@riverland.net.au>).
8307
8308         * NEWS, po/cs.po:
8309         updated for 4.0.17 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8310
8311         * po/eu.po, po/fr.po, po/gl.po, po/pl.po:
8312         Project-Id-Version: shadow 4.0.17
8313
8314         * NEWS, po/sk.po:
8315         updated for 4.0.17 (by Peter Mann <Peter.Mann@tuke.sk>).
8316
8317         * NEWS, po/ko.po:
8318         updated for 4.0.17 (by Changwoo Ryu <cwryu@debian.org>).
8319
8320 2006-06-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8321
8322         * NEWS, configure.in: schedule release 40.17 on 26-06-2006.
8323
8324         * src/useradd.c:
8325         adjust last fix for leave some fix mail spool creation after rewrite internal
8326         configuration API.
8327
8328         * src/useradd.c, NEWS:
8329         fixed mail spool file creation (bug cached by Frans Pop <elendil@planet.nl>,
8330         fixed http://bugs.debian.org/374705).
8331
8332 2006-06-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8333
8334         * 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:
8335         better looking help messages output. Added one empty line at end of help message.
8336
8337         * po/ru.po, po/sk.po, po/sv.po, po/tl.po, po/uk.po, po/ro.po, po/pt_BR.po:
8338         break help messages lines before col 80.
8339
8340         * man/pl/pl.po: more work on usermod.
8341
8342         * po/pl.po: cleanups.
8343
8344 2006-06-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8345
8346         * man/pl/vipw.8:
8347         regenerated using fixed DocBook XSL Stylesheets v1.70.1 (I must submit my
8348         fixes common/pl.xml do DocBook XSL Stylesheets mantainer).
8349
8350         * man/fr/fr.po, man/ru/ru.po: updated.
8351
8352         * man/pl/lastlog.8, man/pl/pl.po: finish translate lastlog(8).
8353
8354         * man/lastlog.8.xml: improved NOTE section content.
8355
8356         * po/pl.po: iprove lastlog help message.
8357
8358         * man/fr/fr.po, man/lastlog.8.xml, man/pl/pl.po, man/ru/ru.po:
8359         Better lastlog short description. Now it is:
8360         lastlog - reports the most recent login of all users or of a given user
8361
8362         * man/Makefile.am, man/fr/fr.po, man/lastlog.8.xml, man/pl/pl.po, man/ru/ru.po:
8363         Fixed CAVEATS section (what the hell is mmdf ? :)
8364
8365         * man/ru/ru.po, NEWS, man/faillog.5.xml, man/fr/fr.po, man/pl/pl.po:
8366         added missing information about fail_locktime element of faillog struct
8367         in faillog(5) man page (by Thorsten Kukuk <kukuk@suse.de>).
8368
8369 2006-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8370
8371         * 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:
8372         fully regenerated man pages.
8373
8374         * man/Makefile.am:
8375         hack for generate translated xml files with lang="<lang> in <refentry> tag.
8376         Now is possible testing correctnes of XSLT sheets languages definition.
8377
8378 2006-06-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8379
8380         * NEWS, po/eu.po: updated (by Piarres Beobide <pi@beobide.net>).
8381
8382 2006-06-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8383
8384         * 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:
8385         s/ \\n"/\\n"/ in translated strings.
8386
8387         * man/pl/pl.po: more translations for usermod.
8388
8389         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml:
8390         added <command> tags for at and crontab.
8391
8392         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml:
8393         remove /etc/login.defs from FILES section.
8394
8395         * po/gl.po: updated (by Jacobo Tarrio <jtarrio@trasno.net>).
8396
8397         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
8398
8399         * po/pl.po:
8400         updated usermod help message and fixed few other things introduced during
8401         copy&paset from useradd help message.
8402
8403         * 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:
8404         fixes in help message:
8405         s/login/LOGIN/
8406         s/new login directory/new home directory/
8407         s/new initial login group/new primary group/
8408         s/tlist of supplementary/new tlist of supplementary/
8409         s/LOGIN/NEW_LOGIN/
8410
8411         * 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:
8412         cleanups in usermod help message.
8413
8414         * po/es.po, po/eu.po, po/fi.po, po/tl.po: cleanups.
8415
8416         * 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:
8417         s/\\\t /\\\t/
8418
8419 2006-06-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8420
8421         * NEWS, configure.in, man/Makefile.am:
8422         reverte using docbook.sourceforge.net in XSLT url.
8423
8424         * po/pl.po: cleanups.
8425
8426 2006-06-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8427
8428         * man/Makefile.am:
8429         improved gen-xmls target: now this target generates only missing xml files.
8430
8431 2006-06-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
8432
8433         * NEWS, po/sk.po:
8434         updated for 4.0.16 (by Peter Mann <Peter.Mann@tuke.sk>).
8435
8436         * NEWS, po/es.po:
8437         updated for 4.0.16 (by Ruben Porras <nahoo82@gmail.com>).
8438
8439         * NEWS, po/fi.po:
8440         updated for 4.0.16 (by Tommi Vainikainen <thv+debian@iki.fi>).
8441
8442         * NEWS, man/cs/Makefile.am, man/cs/groupmems.8, man/cs/groupmod.8, man/cs/grpck.8, man/cs/gshadow.5:
8443         new cs man pages: groupmems(8), groupmod(8), grpck(8), gshadow(5)
8444         (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8445
8446         * NEWS, po/cs.po:
8447         updated for 4.0.16 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8448
8449 2006-06-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8450
8451         * NEWS, configure.in, man/Makefile.am:
8452         regenerate roff man pages using docbook-style-xsl-1.70.1.
8453         This version uses new base URL: http://docbook.sf.net/release/xsl/current/
8454
8455         * man/.cvsignore: shadow-man-pages.pot added.
8456
8457         * man/Makefile.am:
8458         added temporary gen-xmls targed and dependencies beetwen .pot and .po files.
8459
8460         * man/chgpasswd.8.xml: removed <!DOCTYPE> tag (isn't neccessary).
8461
8462 2006-05-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
8463
8464         * man/pl/pl.po: chage(1) translation.
8465
8466         * man/pl/Attic/chage.1.xml: removed.
8467
8468         * man/chage.1.xml, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po:
8469         chage requires shadow access and can't work without this.
8470
8471         * po/da.po:
8472         updated for 4.0.16 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8473
8474         * po/pl.po: s/_DAYS/_DNI/
8475
8476 2006-05-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8477
8478         * NEWS: s/OWL/Owl/
8479
8480         * NEWS: new release date for 4.0.16 is 05-06-2006.
8481
8482         * NEWS: fixed last usermod changes comment. Current is:
8483         better fix for old CERT VU#312962 (which was fixed in shadow 4.0.8):
8484         fixed forgoten checking of the return value from fchown() before
8485         proceeding with the fchmod() (based on Owl patch prepared by
8486         Rafal Wojtczuk <nergal@owl.openwall.com>)
8487
8488         * src/useradd.c (create_mail):
8489         move checking create_mail_spool is "yes" on top function.
8490
8491         * man/pl/pl.po: cleanups.
8492
8493         * po/fr.po:
8494         plugged fuzzy (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8495
8496         * po/fr.po:
8497         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8498
8499 2006-05-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
8500
8501         * man/Makefile.am:
8502         simplifications in update-po target and fixes in dist-po-files target.
8503
8504         * NEWS, po/eu.po:
8505         updated for 4.0.16 (by Piarres Beobide <pi@beobide.net>).
8506
8507 2006-05-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8508
8509         * 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:
8510         bunch of cleanups in chfn(1), faillog(8), gpasswd(1), groupadd(8),
8511         groupmems(8), limits(5), login(1), login.defs(5), newgrp(1), passwd(1),
8512         passwd(5) and su(1) (by Yuri Kozlov <kozlov.y@gmail.com>).
8513
8514         * man/Makefile.am, man/ru/ru.po: added ru to LINGUAS.
8515
8516         * po/ru.po: updated for 4.0.16 (by Yuri Kozlov <kozlov.y@gmail.com>).
8517
8518 2006-05-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
8519
8520         * man/fr/fr.po, man/pl/pl.po, man/chage.1.xml, man/passwd.1.xml:
8521         s/-n/-m/ in passwd(1). Improved -m, --mindays description in chage(1) and passwd(1).
8522         More pl translations.
8523
8524         * po/vi.po: updated (by Clytie Siddall <clytie@riverland.net.au>).
8525
8526         * NEWS, po/hu.po:
8527         updated for 4.0.16 (by Gabor Kelemen <kelemeng@gnome.hu>).
8528
8529 2006-05-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
8530
8531         * man/cs/Makefile.am, man/it/Makefile.am, man/ru/Makefile.am:
8532         id and sulogin executables are not installed by "make install",
8533         but a few translated man pages are still installed.
8534         (patch by Lasse Collin <lasse.collin@tukaani.org>)
8535
8536 2006-05-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8537
8538         * NEWS, po/vi.po:
8539         updates for 4.0.16 (by Clytie Siddall <clytie@riverland.net.au>).
8540
8541         * po/gl.po: updated for 4.0.16 (by Jacobo Tarrio <jtarrio@debian.org>).
8542
8543 2006-05-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8544
8545         * po/pl.po: more cleanups.
8546
8547         * po/fr.po:
8548         updated for 4.0.16 (by Christian Perrier <bubulle@kheops.frmug.org>).
8549
8550         * 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:
8551         use common style in FILES sections.
8552
8553         * 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:
8554         begin <refpurpose> text from lowercase.
8555
8556         * man/fr/fr.po, man/pl/pl.po, man/pwconv.8.xml, man/vipw.8.xml:
8557         remove "." from <refpurpose>.
8558
8559         * po/pl.po: cleanups.
8560
8561         * po/pl.po: typo.
8562
8563         * 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:
8564         *.xml added.
8565
8566         * 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:
8567         .xml2po.mo added.
8568
8569         * NEWS, man/pl/vipw.8: update pl vipw(8) man page.
8570
8571         * src/useradd.c: s/mailbox/mailbox file/
8572
8573         * man/pl/pl.po: seems vipw finished.
8574
8575         * man/fr/fr.po, man/vipw.8.xml: s/Quiet mode database./Quiet mode./
8576
8577         * man/pl/pl.po: more entries.
8578
8579         * 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:
8580         /mailbox/mailbox file/
8581
8582         * man/pl/pl.po: fill few entries.
8583
8584         * man/Makefile.am: fixes in dist-po-files target.
8585
8586         * man/Makefile.am: pl added to Linguas. Some mprovements.
8587
8588         * man/fr/fr.po:
8589         initial version based on ond version submited by Christian Perrier <bubulle@debian.org>.
8590
8591         * man/pl/pl.po: initial version.
8592
8593         * man/Makefile.am:
8594         implemet update-po target and dist, dist-check hooks for put .po and
8595         .pot files in dist tar ball.
8596
8597         * src/chgpasswd.c:
8598         reverte struct group newgr declaration but use them only conditionaly (#ifndef SHADOWGRP).
8599
8600 2006-05-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8601
8602         * NEWS, configure.in: schedule release 4.0.16 to 29.05.06.
8603
8604         * po/pl.po: updated.
8605
8606         * 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:
8607         run "make update-po".
8608
8609         * NEWS, src/useradd.c:
8610         fixed userdel CERT VU#312962: fixed forgoten checking of the return
8611         value from fchown() before proceeding with the fchmod() (prepared
8612         based on OWL fix submited by Solar Designer <solar@openwall.com>),
8613         Use in userdel login.defs::MAIL_DIR instead hardcoded /var/mail on created
8614         mailbox path (based on OWL fixes submited by Solar Designer <solar@openwall.com>).
8615
8616 2006-05-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8617
8618         * man/.cvsignore: added *.[1358]
8619
8620         * NEWS, man/ru/Makefile.am, man/ru/chgpasswd.8:
8621         added chgpasswd(8) ru man page (by Yuri Kozlov <kozlov.y@gmail.com>).
8622
8623         * po/gl.po: updated (by Jacobo Tarrio <jtarrio@debian.org>).
8624
8625         * NEWS, man/ru/login.defs.5, man/ru/passwd.1, man/ru/userdel.8, man/ru/usermod.8:
8626         updated ru login.defs(5), passwd(1), userdel(8), usermod(8) man pages
8627         (by Yuri Kozlov <kozlov.y@gmail.com>).
8628
8629         * NEWS, po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
8630
8631         * NEWS, po/pt.po: updated (by Miguel Figueiredo <elmig@debianpt.org>).
8632
8633 2006-05-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8634
8635         * 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:
8636         pw_auth(3) man page removed (outdated).
8637
8638         * 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:
8639         install limits(5), login.access(5) and porttime(5) man pages only when
8640         shadow is builded with PAM support disabled.
8641
8642         * NEWS: cleanups.
8643
8644         * autogen.sh:
8645         by default in development enviroment use CFLAGS="-O2 -Wall".
8646
8647         * src/chgpasswd.c (main): remove two unused variables (newgr and now).
8648
8649         * src/userdel.c (main): removed unused arg variable.
8650
8651         * libmisc/setupenv.c (setup_env):
8652         move *cp varable to #ifndef PAM part (fixed compilation
8653         warning about unused variable).
8654
8655         * lib/getdef.c: now GETPASS_ASTERISKS is SKEY #define dependent.
8656
8657         * configure.in, NEWS, lib/Attic/getpass.c, lib/pwauth.c:
8658         by default do not use libshadow_getpass() as getpass() replacemement.
8659         Use libshadow_getpass() only when S/KEY support is enabled.
8660         Current glibc getpass() handles correctly longer than 8 characters
8661         passwords and libshadow_getpass() is used only because libc getpass()
8662         do not handles password prompting with echo enabled.
8663
8664         * src/sulogin.c: break long line.
8665
8666         * lib/pwauth.c:
8667         added #include <unistd.h> and remove localy defined getpass() prototype.
8668
8669 2006-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8670
8671         * man/Makefile.am: removed dupplicated sulogin.8.xml from EXTRA_DIST.
8672
8673         * man/Attic/pw_auth.3.xml, man/Makefile.am: remove pw_auth(3) man page.
8674
8675         * NEWS, lib/getdef.c: move login.defs::MD5_CRYPT_ENAB to non-PAM part.
8676
8677         * 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:
8678         typo (s/removel/removal/)
8679
8680 2006-05-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8681
8682         * man/userdel.8.xml:
8683         updated (after add getopt_log() support for userdel).
8684
8685         * po/pl.po: updated.
8686
8687         * 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:
8688         userdel rewrited for use getopt_log().
8689
8690         * po/pl.po: cleanups.
8691
8692         * etc/pam.d/Makefile.am, etc/pam.d/chgpasswd: new file.
8693
8694 2006-05-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
8695
8696         * NEWS, po/da.po:
8697         updated (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8698
8699 2006-05-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8700
8701         * NEWS, po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
8702
8703         * NEWS, configure.in, etc/Makefile.am, etc/pam.d/Makefile.am:
8704         install default/template configuration files:
8705         - if shadow is configured with use PAM install /etc/pam.d/* files,
8706         - if shadow do not uses PAM install /etc/{limits,login.acces} files,
8707         - install /etc/login.defs and /etc/default/useradd files.
8708
8709         COMMENT: it is possible to extend this for install above files for specified
8710         distribution. For example: if exist /etc/fedora-release install Fedora specyfic
8711         default configuration files and this files can be distributed in dist tar ball.
8712
8713         * NEWS, po/gl.po: updated (by Jacobo Tarrio <jtarrio@trasno.net>).
8714
8715 2006-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8716
8717         * NEWS, po/fr.po:
8718         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
8719
8720         * NEWS, lib/commonio.c:
8721         fixed handle relative symlinks too in lib/commonio.c (merge patch from Fedora).
8722
8723         * NEWS, lib/nscd.c: properly notify nscd to flush its cache
8724         (https://bugzilla.redhat.com/bugzilla/186803).
8725
8726         * NEWS, libmisc/copydir.c (copy_tree):
8727         fixes for verify return values mkdir() and chown()
8728         on copy files (merge 482_libmisc_copydir_check_return_values Debian patch).
8729
8730         * 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:
8731         use '%s' cytation instead `%s'.
8732
8733         * NEWS, src/su.c:
8734         reverte http://bugs.debian.org/276419 (this is Debian specyfic).
8735
8736         * 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:
8737         use '%s' cytation instead \"%s\".
8738
8739         * 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:
8740         typo.
8741
8742         * po/pl.po: updated.
8743
8744         * NEWS, libmisc/setupenv.c (setup_env):
8745         export MAIL only when MAIL_CHECK_ENAB is enabled
8746         (Mike Frysinger <vapier@gentoo.org>).
8747
8748         * 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:
8749         warn when the members of a group differ in /etc/groups and /etc/gshadow
8750         (fixed http://bugs.debian.org/75181).
8751
8752         * NEWS, src/su.c:
8753         concatenate the non-su arguments and provide them to the shell with
8754         the -c option (fixes for http://bugs.debian.org/317264 and
8755         http://bugs.debian.org/276419).
8756
8757 2006-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8758
8759         * NEWS, man/passwd.1.xml:
8760         better document how password strength is checked (fixed http://bugs.debian.org/115380).
8761
8762 2006-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8763
8764         * NEWS, man/usermod.8.xml:
8765         added missing -a option description (by Christian Perrier <bubulle@debian.org>).
8766
8767 2006-04-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8768
8769         * NEWS, man/hu/chsh.1, man/hu/login.1, man/hu/newgrp.1:
8770         fixed typos (by Koblinger Egmont <egmont@uhulinux.hu>).
8771
8772 2006-04-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8773
8774         * NEWS, po/LINGUAS, po/hu.po:
8775         new hu translation (by SZERVÁC Attila <sas@321.hu>).
8776
8777 2006-04-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8778
8779         * man/userdel.8.xml:
8780         minior fixes for the note under the -f option (Mike Frysinger <vapier@gentoo.org>).
8781
8782 2006-04-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8783
8784         * NEWS, po/id.po: updatd (by Parlin Imanuel <pimanuel@gmail.com>).
8785
8786 2006-04-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8787
8788         * src/su.c: indent code.
8789
8790         * NEWS, src/su.c:
8791         fixed exit with a status 0 when the invoked command is terminated
8792         by a signal which was not catched
8793         (fixed by Eero Häkkinen <eero17@bigfoot.com>)
8794
8795         * README:
8796         simple patch to fixup grammar and Gentoo distfile URL (by Mike Frysinger <vapier@gentoo.org>).
8797
8798 2006-03-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
8799
8800         * 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:
8801         removed <!DOCTYPE> tag (require strict DocBook XML V4.3//EN DTD isn't neccessary).
8802
8803         * NEWS, src/login.c:
8804         cancel login timeout after authentication so that patient people
8805         timing out on network directory services can log in with local
8806         accounts (http://bugs.debian.org/107148).
8807
8808         * man/fr/login.defs.5, man/ja/login.defs.5, man/pl/useradd.8, man/ru/login.defs.5:
8809         remove CREATE_HOME.
8810
8811         * NEWS, man/login.defs.5.xml:
8812         CREATE_HOME is not supported by useradd (patch by Mike Frysinger <vapier@gentoo.org>).
8813
8814 2006-03-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
8815
8816         * po/nl.po:
8817         s/wachtwoord is mes succes aangepast/wachtwoord is met succes aangepast/
8818         (typo reported by Wim De Smet <wdesmet@yucom.be>).
8819
8820 2006-03-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
8821
8822         * src/passwd.c:
8823         removed GPASSWD_PROGRAM, CHFN_PROGRAM CHFN_PROGRAM #defines (not used now).
8824
8825         * NEWS, man/Makefile.am, man/chgpasswd.8.xml:
8826         chgpasswd(8): new man page.
8827
8828 2006-03-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8829
8830         * 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:
8831         remove english roff man pages from repo.
8832
8833 2006-03-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8834
8835         * NEWS, src/chgpasswd.c:
8836         fixes for build correctly with --disable-shadowgrp
8837         (patch by Johannes Winkelmann <jw@tks6.net>)
8838
8839 2006-03-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8840
8841         * man/pl/chage.1: fixed typo.
8842
8843 2006-03-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8844
8845         * po/it.po:
8846         updated for 4.0.15 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8847
8848 2006-03-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8849
8850         * NEWS, po/nb.po:
8851         updated for 4.0.15 (by Bjørn Steensrud <bjornst@powertech.no>).
8852
8853         * po/pt.po:
8854         updated for 4.0.15 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8855
8856         * man/Makefile.am, NEWS, configure.in:
8857         do not install translated man pages if shadow is configured with --disable-nls
8858         (based patch submited by Mike Frysinger <vapier@gentoo.org>).
8859
8860         * NEWS, po/pt_BR.po:
8861         updated for 4.0.15 (by Andre Luis Lopes <andrelop@debian.org>).
8862
8863         * po/fr.po:
8864         updated for 4.0.15 (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8865
8866 2006-03-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8867
8868         * NEWS, configure.in, lib/pwauth.c:
8869         added fixes for detect BSD's S/Key with updated the skeychallenge() function
8870         for take a fourth argument in case BSD version
8871         (patch submited by Mike Frysinger <vapier@gentoo.org>)
8872
8873         * README: added paragragraph about S/Key support.
8874
8875         * po/sk.po: updated for 4.0.15 (by Peter Mann <Peter.Mann@tuke.sk>).
8876
8877         * NEWS: newgrp: do not link with libselinux.
8878
8879         * NEWS, po/zh_CN.po:
8880         updated for 4.0.15 (by Carlos Z.F. Liu <carlosliu@users.sourceforge.net>).
8881
8882         * po/ru.po: updated for 4.0.15 (by Yuri Kozlov <kozlov.y@gmail.com>).
8883
8884         * src/Makefile.am:
8885         removed $(LIBSELINUX) from newgrp_LDADD (newgrp does not need to be linked
8886         with SELinux libraries).
8887
8888         * 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:
8889         ru man pages: added new nologin(8) and updated all other man pages
8890         (by Yuri Kozlov <kozlov.y@gmail.com>).
8891
8892 2006-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
8893
8894         * NEWS, po/nl.po:
8895         updated for 4.0.15 (by cobaco (aka Bart Cornelis) <cobaco@linux.be>).
8896
8897         * po/vi.po:
8898         updated for 4.0.15 (by Clytie Siddall <clytie@riverland.net.au>).
8899
8900         * po/sv.po:
8901         updated for 4.0.15 (by Daniel Nylander <po@danielnylander.se>).
8902
8903 2006-03-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8904
8905         * po/eu.po: updated for 4.0.15 (by pi <pi@beobide.net>).
8906
8907         * po/ro.po: cleanups.
8908
8909         * NEWS, po/tl.po:
8910         updated for 4.0.15 (by Eric Pareja <xenos@upm.edu.ph>).
8911
8912         * po/ro.po: updated for 4.0.15 (by Sorin B. <sorin@bonbon.net>).
8913
8914         * NEWS, po/es.po:
8915         updated for 4.0.15 (by Ruben Porras <nahoo82@gmail.com>).
8916
8917 2006-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8918
8919         * NEWS, po/da.po:
8920         updated for 4.0.15 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8921
8922         * NEWS, man/fi/chsh.1, man/fi/su.1:
8923         update fi chsh(1), su(1) man pages generated from XML files
8924         (Tommi Vainikainen <thv+debian@iki.fi>).
8925
8926         * NEWS, po/fi.po:
8927         updated for 4.0.15 (by Tommi Vainikainen <thv+debian@iki.fi>).
8928
8929         * NEWS, po/cs.po:
8930         updated for 4.0.15 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8931
8932         * 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:
8933         added new cs man pages: expiry(1), faillog(5), faillog(8), gpasswd(1),
8934         groupadd(8), groupdel(8), logoutd(8), nologin(8), vipw(8).
8935
8936         * NEWS: typo.
8937
8938         * src/useradd.c, NEWS, lib/getdef.h, man/Attic/login.defs.5, man/login.defs.5.xml, src/login.c, src/newusers.c:
8939         default UMASK if not specified in login.defs is 022.
8940
8941 2006-03-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8942
8943         * po/pl.po: updated for 4.0.15.
8944
8945         * NEWS, po/gl.po:
8946         updated for 4.0.15 (by Jacobo Tarrio <jtarrio@trasno.net>).
8947
8948         * NEWS, configure.in: schedule release 4.0.15 to 13-03-2006.
8949
8950 2006-03-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8951
8952         * NEWS: typo (s/onas Meurer/Jonas Meurer/)
8953
8954         * src/.cvsignore: added chgpasswd.
8955
8956         * 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:
8957         chgpasswd: new tool (by Jonas Meurer <mejo@debian.org>).
8958
8959         * 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:
8960         s/Unexpected/unexpected/
8961
8962         * 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:
8963         print the usage and exit if an additional argument is profided to
8964         lastlog (merge 488_laslog_verify_arguments Debian patch).
8965
8966 2006-03-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
8967
8968         * man/Attic/chpasswd.8, man/chpasswd.8.xml:
8969         fixed CAVEATS section (by Justin Pryzby <justinpryzby@users.sourceforge.net>)
8970
8971 2006-02-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8972
8973         * man/Attic/passwd.1, man/passwd.1.xml:
8974         fixed SYNOPSIS section (http://bugs.debian.org/352136).
8975
8976 2006-02-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8977
8978         * po/ro.po: updated (by Sorin Batariuc <sorin@bonbon.net>).
8979
8980 2006-02-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
8981
8982         * NEWS, lib/Makefile.am, src/Makefile.am:
8983         login, nologin, su: do not link with libselinux
8984         (merge 490_link_selinux_only_when_needed Debian patch).
8985
8986         * NEWS, src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c:
8987         fixed confusing error message if /proc is not mounted
8988         (http://bugs.debian.org/352494
8989         patch Nicolas François <nicolas.francois@centraliens.net>)
8990
8991         * po/ro.po:
8992         updated (commited http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347755).
8993
8994         * NEWS, po/ca.po: updated (by Jordi Mallach <jordi@debian.org>).
8995
8996 2006-02-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8997
8998         * man/gpasswd.1.xml, man/passwd.1.xml, man/passwd.5.xml, man/pwck.8.xml, man/sg.1.xml, man/useradd.8.xml:
8999         cleanups.
9000
9001         * po/gl.po: updated (Jacobo Tarrio <jtarrio@trasno.net>).
9002
9003         * NEWS, po/pt.po:
9004         updated (by Miguel Figueiredo <mfigueiredo@gmail.com>).
9005
9006 2006-02-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9007
9008         * NEWS, po/it.po:
9009         update (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9010
9011         * po/vi.po: update (by Clytie Siddall <clytie@riverland.net.au>).
9012
9013         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9014
9015 2006-02-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9016
9017         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9018
9019         * 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:
9020         run "make update-po".
9021
9022         * po/pl.po: updated.
9023
9024         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
9025
9026         * po/eu.po: update (by ^pi^ <pi@beobide.net>).
9027
9028 2006-02-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9029
9030         * NEWS, src/login.c:
9031         merge 433_login_more_LOG_UNKFAIL_ENAB Debian patch:
9032         - TOO MANY LOGIN... logged if PAM_MAXTRIES or failcount >= retries
9033           (was onl test PAM_MAXTRIES),
9034         - print to stderr (in addition to syslog) in case of maximum number of
9035           tries exceeded,
9036         - always prints the number of tries in the syslog entry.
9037         - add special handling for PAM_ABORT
9038         - add an entry to failog, as when USE_PAM is not defined. (#53164)
9039         - changed pam_end to PAM_END. This is certainly was a mistake.
9040           PAM_END is pam_close_seesion + pam_end. Here, the session is still not
9041           open, we don't have to close it.
9042         - a HAVE_PAM_FAIL_DELAY is missing
9043
9044         * po/ro.po: kill one fuzzy.
9045
9046         * po/ro.po, NEWS: updated (by Sorin B. <sorin@bonbon.net>).
9047
9048         * src/gpasswd.c: s/die/catch_signals/
9049
9050         * src/expiry.c, src/sulogin.c: s/catch/catch_signals/
9051
9052         * src/su.c: /su_catch_sig/chatch_signals/
9053
9054 2006-02-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9055
9056         * src/id.c, src/groups.c, libmisc/getdate.y: lint code using CC=g++.
9057
9058         * NEWS, src/su.c:
9059         fixed pam session support (patch from Topi Miettinen; fixed #57526, #55873,
9060         #57532 Debian bugs).
9061
9062         * NEWS:
9063         fixed pam session support (patch from Topi Miettinen; fixed #57526,
9064         #55873, #57532 Debian bugs).
9065
9066         * NEWS, src/userdel.c:
9067         user's group is already removed by update_groups(). remove_group()
9068         is not needed (bug introduced in 4.0.14 on merge FC fixes). Fixed by Nicolas
9069         François <nicolas.francois@centraliens.net>
9070
9071         * NEWS, src/useradd.c: allways remove group and gshadow databases lock,
9072         Fixed by Nicolas François <nicolas.francois@centraliens.net>
9073         (http://bugs.debian.org/348250)
9074
9075         * NEWS, src/userdel.c: fixed excess audit_logger() argument.
9076
9077         * NEWS, lib/prototypes.h:
9078         corrected prototypes in lib/prototypes.h (thre is no audit_help_log(); added
9079         audit_logger() prototype).
9080
9081         * src/login.c: fixed missing ";" in declaration.
9082
9083         * man/Attic/limits.5, man/limits.5.xml:
9084         fixed example limits string (by Yuri Kozlov <kozlov.y@gmail.com>).
9085
9086 2006-02-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9087
9088         * 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:
9089         added missing \n on display password status if password must be chaged.
9090
9091 2006-02-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9092
9093         * src/useradd.c, NEWS:
9094         fixed allow non-unique UID (http://bugs.debian.org/351281).
9095
9096 2006-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9097
9098         * po/cs.po: updated (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9099
9100 2006-01-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9101
9102         * NEWS, po/vi.po:
9103         updated (by Clytie Siddall <clytie@riverland.net.au>).
9104
9105 2006-01-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
9106
9107         * po/fr.po:
9108         typo (fixed by Christian Perrier <bubulle@kheops.frmug.org>).
9109
9110         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
9111
9112 2006-01-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
9113
9114         * 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:
9115         fixes some issues that cause warnings when the manpages are
9116         displayed (by Nicolas François <nicolas.francois@centraliens.net>).
9117
9118 2006-01-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
9119
9120         * NEWS, po/eu.po: updated (by pi <pi@beobide.net>).
9121
9122         * libmisc/addgrps.c, libmisc/xmalloc.c, src/groups.c:
9123         fixes after linting code using CC=g++: cast {m,re}alloc() return value to
9124         proper type.
9125
9126 2006-01-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
9127
9128         * 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:
9129         uniformity and grammar fixes (by Christine Spang <spangarang@twcny.rr.com>).
9130
9131         * NEWS, po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
9132
9133 2006-01-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9134
9135         * po/fr.po, NEWS:
9136         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9137
9138 2006-01-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
9139
9140         * 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:
9141         variouse code cleanups for make possible compilation of shadow with
9142         -Wall -Werror (by Alexander Gattin <xrgtn@yandex.ru>).
9143
9144         * 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:
9145         move exit() outside libmisc/shell.c::shell() for handle shell() errors
9146         on higher level (now is better visable where some programs exit with 126 and
9147         127 exit codes); added new shell() parameter (char *const envp[]) which allow
9148         fix preserving enviloment in su on using -p.
9149         (patch by Alexander Gattin <xrgtn@yandex.ru>)
9150
9151         * NEWS, po/el.po:
9152         updated (by Konstantinos Margaritis <markos@debian.org>).
9153
9154 2006-01-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9155
9156         * lib/exitcodes.h: new #defines:
9157         #define E_CMD_NOEXEC           126     /* can't run command/shell */
9158         #define E_CMD_NOTFOUND         127     /* can't find command/shell to run */
9159
9160 2006-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9161
9162         * man/Attic/passwd.1, man/passwd.1.xml:
9163         fixes after reviewed for grammatical and other small errors that detract from the
9164         polish of the content to native English speakers.
9165         I also went ahead and changed all gender references to be a consistent
9166         "his/her" (or equivalent) - the original had a mix of just "his", just
9167         "her", and occasionally "his/her".
9168         (by Christine Spang <spangarang@twcny.rr.com>).
9169
9170         * po/it.po: updated (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9171
9172 2006-01-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
9173
9174         * NEWS: updated.
9175
9176         * libmisc/shell.c: remove DEBUG code.
9177
9178         * po/LINGUAS, po/gl.po, NEWS:
9179         added new gl translation (by Jacobo Tarrio <jtarrio@trasno.net>).
9180
9181 2006-01-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9182
9183         * po/eu.po: small update (by pi <pi@beobide.net>).
9184
9185 2006-01-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9186
9187         * src/su.c: fixed compilation error.
9188
9189 2006-01-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
9190
9191         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>)
9192         http://bugs.debian.org/346449
9193
9194 2006-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9195
9196         * NEWS, man/Attic/useradd.8, man/useradd.8.xml:
9197         better document useradd -d option: will not add the user's home directory
9198         if it does not already exist (http://bugs.debian.org/154996)
9199
9200         * 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:
9201         added handle -c,--command option for GNU su compliance (merge
9202         437_su_-c_option Debian Patch).
9203
9204         * man/Attic/login.1, man/Attic/passwd.1, man/Attic/su.1, man/login.1.xml, man/passwd.1.xml, man/su.1.xml:
9205         man pages cleanups.
9206         (http://bugs.debian.org/341489)
9207
9208         * NEWS, man/Attic/nologin.8, man/Makefile.am, man/nologin.8.xml:
9209         nologin(8) man pages added (merge 478_nologin.8.xml Debian patch).
9210
9211         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>)
9212         http://bugs.debian.org/346376
9213
9214 2006-01-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9215
9216         * po/id.po: updated (by Parlin Imanuel <parlin_i@yahoo.com>)
9217         http://bugs.debian.org/345514
9218
9219         * 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:
9220         added translate login prompt string (suggested by Evgeniy Dushistov).
9221
9222 2006-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9223
9224         * NEWS, configure.in: start work on 4.1.0.
9225
9226         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9227         http://bugs.debian.org/346017
9228
9229 2006-01-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9230
9231         * NEWS: correct 4.0.14 release date (03-01-2006).
9232
9233         * src/Makefile.am: reverte install nologin in sbindir and use usbindir.
9234
9235         * po/POTFILES.in: removed src/chsh_chkshell.c.
9236
9237         * lib/prototypes.h: remove grdbm.c prototypes.
9238
9239         * lib/prototypes.h, src/Attic/chsh_chkshell.c, src/Makefile.am, src/chsh.c:
9240         move check_shell() from src/chsh_chkshell.c to src/chsh.c.
9241
9242         * configure.in:
9243         s/libpam_misc is missing/libpam_misc is missing for enable PAM support/
9244
9245 2006-01-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9246
9247         * etc/pam.d/.cvsignore: added.
9248
9249         * src/su.c: indent code.
9250
9251         * src/su.c:
9252         without it, $(su - user -c "echo \$SHELL") wont return the good value, but
9253         $(su user -c "echo \$SHELL") will.
9254         I think LOGNAME can also be set (this is done in setup_env, in the
9255         fakelogin case).
9256         (by Nicolas François <nicolas.francois@centraliens.net>)
9257
9258         * src/su.c:
9259         simplifies how -p is handled (at least for its documentation).
9260         (by Nicolas François <nicolas.francois@centraliens.net>)
9261
9262         * src/su.c: fixes "su - -- root" or "su - root -- -c" (it is needed if
9263         the second patch is applied).
9264         (by Nicolas François <nicolas.francois@centraliens.net>)
9265
9266         * src/su.c:
9267         This second patch changes the way options are handled by getopt. Once a
9268         non-su option is found, the getopt processing is stopped.
9269         Whithout this patch, "su root -c ls" won't work (getopt will complain that
9270         -c is not an su option).
9271         (by Nicolas François <nicolas.francois@centraliens.net>).
9272
9273         * 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:
9274         prepare for use on Fedora Core.
9275
9276         * po/cs.po, po/pl.po: run "make update-po".
9277
9278         * src/Makefile.am: move nologin to sbindir.
9279
9280         * man/Attic/groupadd.8, man/groupadd.8.xml: s/gid/GID/
9281
9282         * man/Attic/lastlog.8, man/Attic/useradd.8, man/lastlog.8.xml, man/useradd.8.xml:
9283         s/uid/UID/
9284
9285 2005-12-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9286
9287         * po/tl.po: updated for 4.0.14 (by Eric Pareja <xenos@upm.edu.ph>).
9288
9289 2005-12-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9290
9291         * NEWS, po/ca.po:
9292         updated for 4.0.14 (by Guillem Jover <guillem@debian.org>).
9293
9294 2005-12-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9295
9296         * po/el.po:
9297         updated for 4.0.14 (by Konstantinos Margaritis <markos@debian.org>).
9298
9299 2005-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9300
9301         * doc/.cvsignore, etc/.cvsignore, lib/.cvsignore, po/.cvsignore, src/.cvsignore, .cvsignore, contrib/.cvsignore:
9302         added a lot of generated files they are not listed in .cvsignore files
9303         (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9304
9305         * src/su.c:
9306         fixed some comments and replace getuid() by !amroot. This removes a system
9307         call and may be more readable (Nicolas François <nicolas.francois@centraliens.net>).
9308
9309         * man/Attic/su.1, man/su.1.xml:
9310         added forgoten the SHELL argument description (by Nicolas François <nicolas.francois@centraliens.net>).
9311
9312         * man/Attic/useradd.8, man/useradd.8.xml:
9313         s/group/user/ (cached by Nicolas François).
9314
9315 2005-12-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9316
9317         * man/ko/vigr.8: added.
9318
9319         * po/it.po:
9320         updated for 4.0.14 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9321
9322 2005-12-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9323
9324         * NEWS, po/pt.po:
9325         updated for 4.0.14 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
9326
9327         * src/useradd.c:
9328         s/grp_update/grp_add/ in comment (by Nicolas François <nicolas.francois@centraliens.net>).
9329
9330         * man/Attic/login.1, man/login.1.xml:
9331         added use <envar></envar> tags instead <emphasis></emphasis>.
9332
9333         * man/Attic/su.1, man/su.1.xml: added use <envar></envar>.
9334
9335         * man/Attic/su.1, man/su.1.xml:
9336         updated man page after change su for use getopt_long()
9337         (by Nicolas François <nicolas.francois@centraliens.net>)
9338
9339 2005-12-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
9340
9341         * NEWS, po/fi.po:
9342         updated for 4.0.14 (by Tommi Vainikainen <thv+debian@iki.fi>).
9343
9344         * po/ru.po: updated for 4.0.14 (by Yuri Kozlov <kozlov.y@gmail.com>).
9345
9346         * man/ru/login.1, man/ru/passwd.1, man/ru/pwck.8, man/ru/vipw.8:
9347         updated (by Yuri Kozlov <kozlov.y@gmail.com>_.
9348
9349         * doc/Attic/README.linux, doc/Makefile.am: removed.
9350
9351         * README, doc/Attic/README.linux:
9352         move contributors list from doc/README.linux to README.
9353
9354         * doc/Attic/LSM, doc/Attic/README, doc/Makefile.am:
9355         removed (outdated content).
9356
9357         * NEWS, po/cs.po:
9358         updated cs.po for 4.0.14 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9359
9360         * po/pl.po: updated.
9361
9362         * po/fr.po:
9363         kill one fuzzy (by Christian Perrier <bubulle@kheops.frmug.org>).
9364
9365         * NEWS, po/da.po:
9366         updated da.po for 4.0.14 (by Claus Hindsgaul <claus_h@image.dk>).
9367
9368         * po/eu.po: updated for 4.0.14 (by pi <pi@beobide.net>).
9369
9370         * NEWS, po/vi.po:
9371         updated vi.po fo 4.0.14 (by Clytie Siddall <clytie@riverland.net.au>).
9372
9373 2005-12-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9374
9375         * NEWS: set release day for 4.0.14 to 19-12-2005.
9376
9377         * src/login.c:
9378         removed #include "libaudit.h" (it is conditionaly included in "defines.h").
9379
9380         * src/su.c:
9381         replaced "shell" by "shellstr". "shell" is also the name of a function.
9382         (Nicolas François <nicolas.francois@centraliens.net>).
9383
9384         * src/vipw.c: - added missing break in case 'q'.
9385
9386         * 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:
9387         added es, ko vigr(8) and vipw(8), hu lastlog(8), ko vipw(8), zh_CN su(1),
9388         zh_TW chpasswd(8) and su(1),
9389
9390 2005-12-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9391
9392         * doc/Attic/LICENSE, doc/Makefile.am, COPYING:
9393         move doc/LICENSE to COPYING.
9394
9395         * doc/WISHLIST: remove some outdated/finished things.
9396
9397         * doc/Attic/README.nls, doc/Attic/README.pam, doc/Makefile.am: removed.
9398
9399 2005-12-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9400
9401         * 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:
9402         run "make update-po" (merge changes in su messages).
9403
9404         * NEWS, src/su.c:
9405         added handle -s/--shell, -m/-p/preserve-environment options like GNU su
9406         (based on patches from Debian submited by
9407         Nicolas François <nicolas.francois@centraliens.net>)
9408
9409         * NEWS: updated.
9410
9411         * src/su.c:
9412         added handle -s/--shell option like in GNU su (based on Debian patch sublmited
9413         by Nicolas François <nicolas.francois@centraliens.net>).
9414
9415         * src/su.c:
9416         make -, -l , --login option as no_argument (based on fix by Nicolas François).
9417
9418         * po/it.po:
9419         cosmetic fixes (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9420
9421 2005-12-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9422
9423         * man/es/Makefile.am: s/patches/passwd/
9424
9425 2005-12-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9426
9427         * 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:
9428         added tr man pages.
9429
9430         * 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:
9431         added es, hu, pt_BR, zh_CN zh_TW translations passwd(5).
9432
9433         * man/Attic/id.1, man/Attic/pw_auth.3, man/Attic/sulogin.8:
9434         regenerated.
9435
9436         * man/ko/Makefile.am: added su.1 to man_MANS.
9437
9438         * man/Makefile.am: reverte incorrect commit.
9439
9440         * 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:
9441         added full set (up to date) fr man pages (by Nicolas François <nicolas.francois@centraliens.net>).
9442
9443 2005-12-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9444
9445         * 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:
9446         cleanups.
9447
9448         * 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:
9449         s/--force /--force/
9450
9451         * 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:
9452         s/--skel SKEL_DIR /--skel SKEL_DIR/
9453
9454         * 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:
9455         s/--delete /--delete/
9456
9457         * NEWS, po/ru.po:
9458         updated ru translatios for 4.0.14 (by Yuri Kozlov <kozlov.y@gmail.com>).
9459
9460         * po/eu.po: finish update for 4.0.14 (by pi <pi@beobide.net>).
9461
9462         * po/it.po:
9463         updated for 4.0.14 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9464
9465 2005-12-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9466
9467         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9468
9469         * NEWS, po/eu.po: Basque translation updated (by pi <pi@beobide.net>).
9470
9471         * 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:
9472         s/LOGIN/login/ in usage() output.
9473
9474 2005-12-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9475
9476         * 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:
9477         rewrited vipw for use getopt_long().
9478
9479         * man/Attic/passwd.1, man/passwd.1.xml: cleanups.
9480
9481         * man/ko/Makefile.am: commented newgrp.1 (must be updated).
9482
9483 2005-12-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9484
9485         * man/Makefile.am: update-po target added.
9486
9487         * man/Attic/pwck.8, man/pwck.8.xml: document -q option.
9488
9489         * NEWS, lib/getdef.c:
9490         $MAIL_FILE is used in userdel and usermod, $MD5_CRYPT_ENAB
9491         is used by crypt_make_salt, which is used by chpasswd, gpasswd and newusers.
9492         Both variables moved to PAM not dependent (447_missing_login.defs_variables
9493         Debian patch).
9494
9495         * NEWS, src/su.c:
9496         export $USER and $SHELL as well as $HOME (http://bugs.debian.org/11003 and
9497         http://bugs.debian.org/11189).
9498
9499         * NEWS, man/Attic/login.1, man/login.1.xml:
9500         document how to initiate a trusted path on linux
9501         (http://bugs.debian.org/305600).
9502
9503         * NEWS, src/chage.c:
9504         fix chage display when the last change field is set to 0.
9505         This is consistent with PAM (merge 427_chage_expiry_0 Debian patch).
9506
9507 2005-12-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9508
9509         * configure.in: added man/fi/Makefile to AC_CONFIG_FILES().
9510
9511         * 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:
9512         convert all translated man pages to UFT-8.
9513
9514         * NEWS, src/userdel.c:
9515         fix incorrect audit record in userdel (https://bugzilla.redhat.com/bugzilla/174392).
9516
9517         * 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:
9518         s/--all /--all/
9519
9520         * 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:
9521         update by some informations about translators (by Christian Perrier) and run "make update-po".
9522
9523 2005-11-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9524
9525         * NEWS, src/su.c:
9526         if an password is expired, su should propose to change this password
9527         (fixed http://bugs.debian.org/321384).
9528
9529         * src/Makefile.am, src/login.c, NEWS:
9530         added auditing support (based on Fedora patch for login from util-linux).
9531
9532         * src/useradd.c: remove use rflg.
9533
9534         * man/ru/Makefile.am: typo.
9535
9536         * po/pl.po: partialy updated.
9537
9538         * 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:
9539         run "make update-po".
9540
9541         * NEWS, src/useradd.c: merge PUG fixes from RedHat patch.
9542
9543 2005-11-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9544
9545         * NEWS, po/it.po:
9546         updated (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9547
9548         * 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:
9549         added full set of ru man pages (by Yuri Kozlov <kozlov.y@gmail.com>).
9550
9551 2005-11-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
9552
9553         * NEWS, src/Makefile.am, src/nologin.c: added nologin program.
9554
9555         * NEWS, src/su.c: rewrited for use getopt_long().
9556
9557 2005-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9558
9559         * po/zh_CN.po: updated (by Ming Hua <minghua@rice.edu>).
9560
9561 2005-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9562
9563         * man/Attic/usermod.8, man/usermod.8.xml:
9564         rewrited for document long options.
9565
9566         * NEWS, src/vipw.c:
9567         added a "quiet" mode (http://bugs.debian.org/190252.
9568
9569         * po/de.po:
9570         fixed wrong translation in german po file (http://bugs.debian.org/338373
9571         by Nico Golde <nico@ngolde.de>).
9572
9573         * 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:
9574         added fi chfn(1), chsh(1), passwd(1), su(1).
9575
9576         * NEWS, man/it/Makefile.am, man/it/newusers.8: added it newusers(8).
9577
9578         * NEWS, po/fr.po:
9579         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9580
9581 2005-11-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9582
9583         * NEWS, src/Makefile.am, src/newgrp.c:
9584         added auditing support for newgrp (by Steve Grubb <sgrubb@redhat.com>).
9585
9586         * NEWS, configure.in, libmisc/audit_help.c:
9587         switch over to a new logging function (by Steve Grubb <sgrubb@redhat.com>).
9588
9589         * README: typo.
9590
9591 2005-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9592
9593         * po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
9594
9595 2005-11-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9596
9597         * configure.in:
9598         s/logdir/shadow_cv_logdir/ fix wrong var name (by Mike Frysinger <vapier@gentoo.org>).
9599
9600         * 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:
9601         move information about all shadow man pages authors from man pages to README file.
9602
9603         * src/userdel.c: added two new error messages to translated phrases.
9604
9605         * NEWS, src/userdel.c:
9606         remove the user's group unless it is not really a user-private group
9607         (based on FC patch).
9608
9609 2005-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9610
9611         * src/usermod.c: fix long name options name in long_options[].
9612
9613 2005-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9614
9615         * src/userdel.c: indent source code.
9616
9617         * NEWS, src/userdel.c:
9618         make the userdel -f option force the removal of the user's group (even if it
9619         is the primary group of another user)
9620         (merge 453_userdel_-f_removes_group Debian patch),
9621
9622         * NEWS, man/Attic/login.1, man/login.1.xml:
9623         better explain the respective roles of login, init and getty with regards
9624         to the utmp file (merge 440_manpages-login.1 Debian patch).
9625
9626         * man/Attic/userdel.8, man/userdel.8.xml:
9627         aphabetic order options description.
9628
9629         * NEWS, man/Attic/userdel.8, man/userdel.8.xml:
9630         document the -f option; document the group removal behavior (merge
9631         455_userdel.8.xml Debian patch).
9632
9633         * NEWS, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
9634         document that useradd/groupadd refuse adding entries already in an
9635         external database (http://bugs.debian.org/282184).
9636
9637         * NEWS, libmisc/sulog.c:
9638         log in successful/failed su through syslog (http://bugs.debian.org/190215).
9639
9640         * 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:
9641         updated it groupdel(8), passwd(1), pwconv(8), useradd(8), userdel(8), usermod(8) man pages
9642         (merge 205_it-manpages Debian patch).
9643
9644         * man/pt_BR/gpasswd.1: merge 204_pt_BR-manpages Debian patch.
9645
9646 2005-10-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
9647
9648         * man/Attic/porttime.5, man/Attic/pwck.8, man/Attic/shadow.3, man/porttime.5.xml, man/pwck.8.xml:
9649         improvements by Yuri Kozlov <kozlov.y@gmail.com>.
9650
9651         * NEWS, po/tl.po: updated (by Eric Pareja <xenos@upm.edu.ph>).
9652
9653         * 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:
9654         remove "." from su message.
9655
9656         * 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:
9657         "make update-po".
9658
9659         * src/usermod.c: cleanups in usage() output.
9660
9661         * src/usermod.c: indent code.
9662
9663         * NEWS, src/usermod.c:
9664         rewrited for use getopt_long() (Christian Perrier <bubulle@kheops.frmug.org>).
9665
9666 2005-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9667
9668         * po/uk.po: updated (by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>).
9669
9670 2005-10-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9671
9672         * 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:
9673         bunch of cleanups (Yuri Kozlov <kozlov.y@gmail.com>).
9674
9675 2005-10-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
9676
9677         * 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:
9678         Simplifications: move all per shadow tool declared struct pam_conv conv
9679         from src/*c to lib/pam_defs.h. #include "pam_defs.h" instead <security/pam_appl.h>
9680         and <security/pam_misc.h>.
9681         Patch partialy based on openpam fixes by Rob Holland <rob@inversepath.com>.
9682
9683         * NEWS, lib/commonio.c:
9684         fixed grpck segmentation fault on using -s when /etc/gshadow is empty (fix by
9685         Tomasz Lemiech <szpajder@staszic.waw.pl>).
9686
9687 2005-10-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9688
9689         * man/Attic/faillog.5, man/faillog.5.xml:
9690         typos (by A Costa <agcosta@gis.net>).
9691
9692 2005-10-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9693
9694         * man/Attic/chage.1, man/Attic/chpasswd.8, man/chage.1.xml, man/chpasswd.8.xml:
9695         typos (by A Costa <agcosta@gis.net>).
9696
9697         * NEWS, po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9698
9699 2005-10-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9700
9701         * 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:
9702         newgrp(1): added de, es, zh_CN, zh_TW translations.
9703
9704 2005-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9705
9706         * man/Attic/gpasswd.1, man/gpasswd.1.xml:
9707         move "Notes about group passwords" section from passwd man page.
9708
9709         * src/passwd.c, NEWS, man/Attic/passwd.1, man/passwd.1.xml:
9710         remove handle -f, -g and -s options in passwd.
9711
9712         * 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:
9713         use locase in <refentrytitle>.
9714
9715         * man/Attic/pw_auth.3, man/Attic/pw_auth.3.xml, man/Attic/shadow.3, man/shadow.3.xml:
9716         added refmiscinfo class="sectdesc">Library Calls</refmiscinfo> in <refmeta>.
9717
9718         * 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:
9719         added <refmiscinfo class="sectdesc">System Management Commands</refmiscinfo>
9720         in <refmeta>.
9721
9722         * 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:
9723         added <refmiscinfo class="sectdesc">File Formats and Conversions</refmiscinfo>
9724         in <refmeta>.
9725
9726         * man/Attic/pwconv.8, man/Attic/suauth.5, man/Attic/vipw.8, man/pwconv.8.xml, man/suauth.5.xml, man/vipw.8.xml:
9727         remove <refentryinfo><date></date></refentryinfo> and <refmiscinfo class='date'> tags.
9728
9729         * man/Attic/newgrp.1, man/Attic/sg.1, man/newgrp.1.xml, man/sg.1.xml:
9730         added <refmiscinfo class="sectdesc">User Commands</refmiscinfo> tag.
9731
9732 2005-10-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9733
9734         * NEWS, configure.in: start work on 4.0.14.
9735
9736 2005-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9737
9738         * NEWS: move release 4.0.13 date to 10-10-2005.
9739
9740         * NEWS:  added infor about removed duplicated pam_start() in chage.
9741
9742         * NEWS: updated.
9743
9744         * man/Makefile.am: added sg.1.xml to man_XMANS.
9745
9746         * man/Attic/chage.1, man/chage.1.xml:
9747         cleanups (by Yuri Kozlov <kozlov.y@gmail.com>).
9748
9749         * man/Attic/newgrp.1, man/newgrp.1.xml:
9750         use <filename> in few more places.
9751
9752         * man/Attic/newgrp.1, man/newgrp.1.xml:
9753         better newgrp description (http://bugs.debian.org/325558).
9754
9755 2005-10-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9756
9757         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
9758         remove using pam_chauthtok().
9759
9760         * src/chsh.c: finish PAM support using pam_start() & co.
9761
9762         * src/chage.c: remove using pam_chauthtok() on finish chage.
9763
9764         * src/chfn.c:
9765         use E_NOPERM in more places. remove using pam_chauthtok() on finish chfn.
9766
9767         * src/chfn.c: cleanups.
9768
9769         * src/chage.c:
9770         removed duplicaded not moved PAM code) was introduced during merge
9771         shadow-4.0.4.1-owl-pam-auth.diff patch).
9772
9773         * src/chfn.c: finish PAM support.
9774
9775 2005-10-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9776
9777         * man/Attic/chfn.1, man/Attic/chsh.1, man/chfn.1.xml, man/chsh.1.xml:
9778         cleanups (by  Alexander Gattin <xrgtn@yandex.ru>).
9779
9780 2005-10-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9781
9782         * NEWS, src/userdel.c:
9783         userdel should not remove the group which is primary for someone else (fix
9784         by Nicolas François <nicolas.francois@centraliens.net> http://bugs.debian.org/295416)
9785
9786 2005-10-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9787
9788         * 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:
9789         s/<emphasis remap='B'>/<emphasis>/
9790
9791         * man/Attic/sg.1, man/sg.1.xml: use <command> instead <emphasis>.
9792
9793         * man/newgrp.1.xml, man/sg.1.xml, man/chage.1.xml, man/chsh.1.xml, man/login.defs.5.xml:
9794         s/\.  /\. /
9795
9796         * man/Attic/shadow.5, man/shadow.5.xml:
9797         better document "!" and "*" fields in /etc/shadow
9798         (based on 441_manpages-shadow.5 patch from Debian).
9799
9800         * man/Attic/newgrp.1, man/newgrp.1.xml:
9801         SHADOWPWD was removed (always enabled)
9802         (based on 446_newgrp.1_no_SHADOWPWD patch from Debian).
9803
9804         * po/ru.po: updated for 4.0.13 (by Yuri Kozlov <kozlov.y@gmail.com>).
9805
9806 2005-09-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9807
9808         * NEWS: cleanups.
9809
9810         * 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:
9811         next round of cleanups.
9812
9813         * man/Makefile.am: added rules for id.1, pw_auth.3 and sulogin.8.
9814
9815         * libmisc/setupenv.c:
9816         during the changes on libmisc/setupenv.c, a piece of code was moved
9817         without its comment (merge 449_comment_missplaced Debian patch).
9818
9819 2005-09-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9820
9821         * 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:
9822         added missing references to /etc/login.defs and login.defs(5)
9823         (Christian Perrier <bubulle@kheops.frmug.org>).
9824
9825 2005-09-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
9826
9827         * NEWS: s/XSL/XSLT/
9828
9829         * po/pl.po: few updates.
9830
9831         * man/Attic/passwd.1, man/passwd.1.xml:
9832         -i option description is back (lost on rewrite and pointed by
9833         Miroslav Kure <kurem@upcase.inf.upol.cz>).
9834
9835         * po/cs.po:
9836         updated for 4.0.13 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9837
9838 2005-09-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9839
9840         * NEWS: updated.
9841
9842         * configure.in: fixes for correct handle --with{,out}-<feature>.
9843
9844         * configure.in:
9845         use @<:@ @:>@ instead ( ) inside AC_HELP_STRING() and s/feactures/features/
9846         (based on fixes by Mike Frysinger <vapier@gentoo.org>).
9847
9848         * po/da.po: updated for 4.0.13 (by Claus Hindsgaul <claus_h@image.dk>).
9849
9850         * po/es.po: updated for 4.0.13 (by Ruben Porras <nahoo@inicia.es>).
9851
9852 2005-09-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
9853
9854         * NEWS, libmisc/failure.c:
9855         use "%c" in strftime() output (based on patch from
9856         http://bugs.debian.org/89902 by Christian Perrier <bubulle@debian.org>)
9857
9858         * man/Attic/getspnam.3, man/Attic/shadow.3, man/shadow.3.xml:
9859         added <refname>getspnam</refname> to <refnamediv>.
9860
9861         * man/Attic/sg.1, man/sg.1.xml: fixed <cmdsynopsis>.
9862
9863         * man/Attic/sg.1, man/Makefile.am, man/sg.1.xml:
9864         added separated sg(1) man page.
9865
9866 2005-09-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9867
9868         * lib/commonio.c, NEWS:
9869         don't assume selinux is enabled if is_selinux_enabled() returns -1
9870         (merge isSelinuxEnabled FC patch by Jeremy Katz <katzj@redhat.com>).
9871
9872         * po/ro.po: updated (by Sorin Batariuc <sorin@bonbon.net>).
9873
9874 2005-09-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
9875
9876         * NEWS: schedule release 4.0.13 to 03-10-2005.
9877
9878 2005-09-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9879
9880         * 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:
9881         regenerate all roff man pages using DocBook XSL Stylesheets 1.69.1.
9882
9883         * man/logoutd.8.xml: fixed id inside <refentry>.
9884
9885         * 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:
9886         added missing <para></para> inside <listitem> tags for pass correctly xmllint.
9887
9888         * man/Attic/login.access.5, man/login.access.5.xml:
9889         rewrited FILES section.
9890
9891         * man/login.access.5.xml: cleanups.
9892
9893 2005-09-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9894
9895         * NEWS, man/Attic/passwd.5, man/passwd.5.xml:
9896         rewrited based on work by Greg Wooledge <greg@wooledge.org>
9897         http://bugs.debian.org/328113
9898
9899 2005-09-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9900
9901         * po/ro.po: updates (by Sorin Batariuc <sorin@bonbon.net>).
9902
9903 2005-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9904
9905         * 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:
9906         remove empty lines after comment.
9907
9908         * src/useradd.c: group all #include.
9909
9910         * po/fr.po:
9911         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
9912
9913 2005-09-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9914
9915         * src/gpasswd.c: remove exit(1) after failure().
9916
9917         * src/usermod.c: consolidate few #ifdef WITH_AUDIT .. #endif sections.
9918
9919 2005-09-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9920
9921         * src/Makefile.am: added missing $(LDADD) in gpasswd_LDADD.
9922
9923         * NEWS, libmisc/limits.c:
9924         fixed setup max address space limits (added missing break statement in case)
9925         spoted by Lasse Collin <lasse.collin@tukaani.org>
9926         (fix for non-PAM case)
9927
9928         * configure.in: try find and use by default feactures:
9929         with_audit="yes"
9930         with_libcrack="no"
9931         with_libpam="yes"
9932         with_libskey="no"
9933         with_selinux="yes"
9934         Report on finish also S/Key and CrackLib support.
9935
9936         * configure.in: cleanups.
9937
9938         * src/Makefile.am: sort *_LDADD.
9939
9940         * src/Makefile.am: added missing gpasswd_LDADD = $(LIBAUDIT).
9941
9942         * 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:
9943         indent code.
9944
9945         * libmisc/Makefile.am: sort libmisc_a_SOURCES elements.
9946
9947         * libmisc/audit_help.c: added shadow copyright text and indent file.
9948
9949         * libmisc/audit_help.c:
9950         patr of auditing support not added on commiting audit changes.
9951
9952         * src/Makefile.am: s/AUDIT/LIBAUDIT/
9953
9954         * configure.in: added reporting on finish is auditing is enabled.
9955         Change to use shared libaudit. Aded missing AC_SUBST(LIBAUDIT).
9956         Break some to log lines.
9957
9958         * 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:
9959         auditing support added. Patch prepared by Peter Vrabec
9960         <pvrabec@redhat.com> basing on work by Steve Grubb from
9961         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159215 Now auditing
9962         support have commands: chage, gpasswd, groupadd, groupdel, groupmod,
9963         useradd, userdel, usermod.
9964
9965         * po/pt.po: finish update (by Christian Perrier <bubulle@debian.org>).
9966
9967 2005-09-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9968
9969         * po/pt.po, NEWS: updated (by Miguel Figueiredo <elmig@debianpt.org>).
9970
9971 2005-09-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9972
9973         * src/passwd.c:
9974         fix warning (initialization makes pointer from integer without a cast) in
9975         long_options[] entry.
9976
9977         * po/fr.po, NEWS:
9978         partialy updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
9979
9980 2005-09-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9981
9982         * src/chage.c: indent source sode.
9983
9984         * src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c, NEWS:
9985         change to use new selinux API for selinux_check_passwd_access()
9986         (patch from Fedora by Dan Walsh <dwalsh@redhat.com>).
9987
9988 2005-09-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9989
9990         * man/Attic/newgrp.1, man/newgrp.1.xml: finished rewrite.
9991
9992         * etc/login.defs: moved from login.defs.linux.
9993
9994         * src/login_nopam.c: use #ident.
9995
9996         * etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, etc/Makefile.am:
9997         remove login.defs.hurd and login.defs.linux.
9998
9999         * src/groupadd.c, src/useradd.c:
10000         as same as in man pages to useradd and groupadd change to 1000 default
10001         GID_MIN and UID_MIN (if not found in login.defs).
10002
10003         * etc/login.defs: s/chkpasswd/chpasswd/
10004
10005 2005-08-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
10006
10007         * man/Makefile.am, man/chsh.1.xml, man/limits.5.xml, man/login.access.5.xml, man/newgrp.1.xml, man/newusers.8.xml:
10008         fixed id= in <refentry>.
10009
10010         * man/Attic/gpasswd.1, man/gpasswd.1.xml:
10011         fixed refentry id (must be 'gpasswd.1').
10012
10013         * man/Makefile.am, man/newgrp.1.xml:
10014         raw version converted from roff using doclifter.
10015
10016         * lib/exitcodes.h: new exit codes:
10017         #define E_PASSWD_NOTFOUND       14      /* not found password file */
10018         #define E_GROUP_NOTFOUND        16      /* not found group file */
10019         #define E_GSHADOW_NOTFOUND      17      /* not found shadow group file */
10020
10021         * man/Attic/chage.1, man/chage.1.xml, lib/exitcodes.h:
10022         change to 15 (from 14) exit code in chage when shadow not found.
10023
10024         * 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:
10025         use #ident preprocesor directive istead RCID macro with content similar
10026         to example described in ident(1) man page (modern compilers like latest GCC
10027         removes not used functions by global optimization).
10028         So "ident /usr/bin/passwd" will show again some useable informations.
10029
10030         * man/Makefile.am: added support for regenerate roff files from XML.
10031         Added depeing shadow-man-pages.pot on $(man_XMANS).
10032
10033 2005-08-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
10034
10035         * man/Attic/login.1, man/login.1.xml, NEWS:
10036         added securetty(5) to SEE ALSO section (fixed Debian bug http://bugs.debian.org/325773).
10037
10038         * po/pl.po: more updates.
10039
10040         * configure.in:
10041         typo in handle --with-selinux. Fixes in xsltproc detection.
10042
10043         * autogen.sh:
10044         added --enable-man and --enable-maintainer-mode to configure options.
10045
10046         * man/Attic/chage.1, man/chage.1.xml, NEWS:
10047         added EXIT VALUES section (by Nicolas François <nicolas.francois@centraliens.net>).
10048
10049         * man/Attic/passwd.1, man/passwd.1.xml:
10050         remove "Password expiry information" section (all options are described now
10051         in OPTIONS section). Describe -a and -k options.
10052
10053         * NEWS, src/su.c:
10054         fixed twice copy enviroment which causes auth problems (bug was introduced in 4.0.12;
10055         fix by Nicolas François <nicolas.francois@centraliens.net>).
10056
10057         * 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:
10058         s/Incorrect password for `%s'/Incorrect password for %s/ (one phrase for translate less).
10059
10060         * 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:
10061         s/login: failure forking: %s/%s: failure forking: %s/ (one phrase for translate less).
10062
10063         * po/pl.po: partialy updated.
10064
10065 2005-08-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
10066
10067         * lib/exitcodes.h, src/chage.c:
10068         s/E_NOT_SHADOWED/E_SHADOW_NOTFOUND/ and change value of this exit code to 14.
10069
10070         * NEWS, lib/exitcodes.h, src/chage.c:
10071         differentiate the different failure causes by the exit value
10072         This will permit to adduser Debian script to detect if chage failed because the
10073         system doesn't have shadowed passwords (fix for http://bugs.debian.org/317012)
10074         Plain merge 443_chage_exit_values Debian patch.
10075
10076         * 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:
10077         use tabs in indentation (~10KB less in all xml files).
10078
10079         * 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:
10080         run "make update-po" and remove obsoleted strings.
10081
10082         * src/expiry.c, src/login.c: remove #if 0 .. #endif code.
10083
10084         * src/login.c: remove #if 1 .. #endif.
10085
10086         * 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:
10087         merge 010_more-i18ned-messages Debian patch which adds i18n support for few more messages
10088         (orginaly patch was prepared by Guillem Jover <guillem@debian.org>).
10089
10090         * man/id/chsh.1:
10091         fix .SH (fix merged from 207_id-manpages debian patch).
10092
10093 2005-08-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
10094
10095         * acinclude.m4: add aclocal macros (based on acinclude.m4 from glib):
10096         JH_PATH_XML_CATALOG: checks the location of the XML Catalog,
10097         JH_CHECK_XML_CATALOG: checks if a particular URI appears in the XML catalog.
10098
10099         * man/Attic/useradd.8, man/useradd.8.xml:
10100         cleanups in "Changing the default values" section.
10101
10102         * man/useradd.8.xml:
10103         replace <emphasis remap='I'></emphasis> by <replaceable></replaceable>.
10104         Other minor cleanups.
10105
10106         * configure.in:
10107         fixed missing )] in AC_ARG_WITH(skey, ..) (thank for fix to Yuri Kozlov <kozlov.y@gmail.com>).
10108
10109         * 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:
10110         typos, and change some arguments so they do not match the name of a
10111         command (fixes by Nicolas François <nicolas.francois@centraliens.net>).
10112
10113         * NEWS, libmisc/chkname.c, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
10114         fix regular expression describing alloved login/group names (pointed
10115         by Nicolas François <nicolas.francois@centraliens.net>)
10116         (correct is [a-z_][a-z0-9_-]*[$]).
10117
10118         * man/Attic/useradd.8, man/useradd.8.xml:
10119         remove "Creating New Users" section and merge this directly in DESCRIPTION.
10120         Add <option></option> for -o in EXIT VALUES section.
10121
10122         * po/ru.po, NEWS:
10123         update ru translations (by Yuri Kozlov <kozlov.y@gmail.com>).
10124
10125 2005-08-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10126
10127         * man/Attic/passwd.1, man/passwd.1.xml:
10128         removed "Account maintenance" section.
10129
10130         * man/Attic/passwd.1, man/passwd.1.xml: partialy done rewrite.
10131
10132         * po/ro.po:
10133         some fixes after review of the translation (by Sorin Batariuc <sorin@bonbon.net>).
10134
10135         * man/Attic/lastlog.8, man/lastlog.8.xml:
10136         s/Print help message and exit./Display help message and exit./
10137
10138         * man/Attic/chage.1, man/chage.1.xml: document -h,--help option.
10139
10140         * man/Attic/groupadd.8, man/groupadd.8.xml:
10141         document -h,--help option. added <option></option> for -o in EXIT VALUES.
10142         Cleanups in SYNOPSIS section.
10143
10144         * man/Attic/chage.1, man/Attic/faillog.8, man/chage.1.xml, man/faillog.8.xml:
10145         replace <emphasis remap='I'></emphasis> by <replaceable></replaceable>.
10146
10147         * man/Attic/lastlog.8, man/lastlog.8.xml:
10148         document new -b,--before option.
10149
10150         * 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:
10151         s/lastlog results/lastlog records/ in lastlog usage output.
10152
10153         * man/Attic/lastlog.8, man/lastlog.8.xml:
10154         add "" aroud <command></command>.
10155
10156         * 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:
10157         alphabetic order options in lastlog usage output. Run "make -C po update-po".
10158
10159         * src/lastlog.c, NEWS:
10160         added handle -b option which allow print only lastlog records older than
10161         specified DAYS (fix by <miles@lubin.us>).
10162
10163         * libmisc/salt.c, NEWS:
10164         fixed for use login.defs::MD5_CRYPT_ENAB only if PAM support
10165         is disabled (fix by John Gatewood Ham <zappaman@buraphalinux.org>).
10166
10167 2005-08-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10168
10169         * configure.in:
10170         use AC_HELP_STRING() in AC_ARG_ENABLE() and AC_ARG_WITH().
10171         Exit with error message if configure was runed --with-selinux
10172         and libselinux not found.
10173
10174 2005-08-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10175
10176         * libmisc/chkname.c, NEWS, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
10177         documents in CAVEATS section the limitations shadow places on user and
10178         group names (fix by Mike Frysinger <vapier@gentoo.org>).
10179
10180         * 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:
10181         added missing -i, --inactive in usage() output.
10182
10183 2005-08-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
10184
10185         * 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:
10186         passwd rewrited for use getopt_long().
10187
10188         * man/Attic/chage.1, man/chage.1.xml: /warndays/--warndays/
10189
10190         * 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:
10191         remove trailing spaces.
10192
10193         * 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:
10194         reorder #includes, indentations and minor cleanups.
10195
10196         * src/newgrp.c: indent code.
10197
10198         * NEWS, src/newgrp.c:
10199         when newgrp process sits between parent and child shells, it should
10200         propagate STOPs from child to parent and CONTs from parent to child,
10201         otherwise e.g. bash's "suspend" command won't work.
10202         Fixed Debian http://bugs.debian.org/314727
10203
10204 2005-08-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10205
10206         * configure.in: typo.
10207
10208         * configure.in:
10209         add display short summary information on finish autoconf script.
10210
10211         * NEWS, configure.in: start work on 4.0.13.
10212
10213 2005-08-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10214
10215         * po/ru.po: updated for 4.0.12 (by Yuri Kozlov <yuray@id.ru>).
10216
10217         * NEWS, po/sk.po:
10218         updated for 4.0.12 (by Peter Mann <Peter.Mann@tuke.sk>).
10219
10220 2005-08-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10221
10222         * po/nl.po, NEWS:
10223         updated for 4.0.12 (by cobaco (aka Bart Cornelis) <cobaco@linux.be>).
10224
10225 2005-08-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10226
10227         * NEWS, po/fi.po:
10228         updated for 4.0.12 (by Tommi Vainikainen <thv+debian@iki.fi>).
10229
10230         * NEWS, po/de.po:
10231         updated for 4.0.12 (by Frank Schmid <frank@cs-schmid.de>).
10232
10233         * po/pt.po, NEWS:
10234         updated for 4.0.12 (by Miguel Figueiredo <elmig@debianpt.org>).
10235
10236 2005-08-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
10237
10238         * po/cs.po:
10239         updated for 4.0.12 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10240
10241         * src/chpasswd.c, src/groupdel.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
10242         remove duplicated #include <pwd.h>.
10243
10244         * po/pl.po: finished update for 4.0.12.
10245
10246         * 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:
10247         s/Not copying any file into it./Not copying any file from skel directory into it./
10248
10249         * 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:
10250         break warning message longer than 80 characters.
10251
10252         * po/pl.po: updated.
10253
10254         * 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:
10255         fixed missing \n in usage() output.
10256
10257         * lib/getdef.c, src/login.c, src/newgrp.c, NEWS:
10258         remove using login.defs::CLOSE_SESSIONS variable and allways close PAM session.
10259
10260 2005-08-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10261
10262         * NEWS, configure.in:
10263         realy enable shadow group support by default (pointed by
10264         Greg Schafer <gschafer@zip.com.au> and Peter Vrabec <pvrabec@redhat.com>).
10265         Indentations in --help output.
10266
10267         * man/Attic/chage.1, man/chage.1.xml:
10268         s/occurrence/occurence/ (334_chage.1-typo Debian patch).
10269
10270         * man/Attic/chfn.1, man/chfn.1.xml:
10271         s/may only change may only change/may only change/ (based on 336_chfn.1 Debian patch).
10272
10273         * man/it/Makefile.am: cleanups (443_man_it_Makefile.am Debian patch).
10274
10275         * man/Attic/userdel.8, man/userdel.8.xml: s/an NIS client/a NIS client/
10276
10277         * man/Attic/useradd.8, man/useradd.8.xml: s/an NIS group/a NIS group/
10278
10279         * man/Attic/lastlog.8, man/lastlog.8.xml:
10280         s/you have an high UID/you have a high UID/
10281
10282         * man/Attic/lastlog.8, man/lastlog.8.xml:
10283         added missing <para></para> in AUTHORS section (cached by Nicolas).
10284
10285         * 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:
10286         run "make update-po".
10287
10288         * po/POTFILES.in: added missing libmisc/pwdcheck.c. Sorted.
10289
10290 2005-08-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
10291
10292         * NEWS: s/22-07-2005/22-08-2005/
10293
10294         * NEWS: schedule release 4.0.12 in 22-07-2005.
10295
10296         * libmisc/setupenv.c, man/pl/login.defs.5, NEWS, etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, lib/getdef.c:
10297         removed handle login.defs::QMAIL_DIR variable.
10298
10299         * libmisc/chowntty.c, NEWS:
10300         allow regular user to login on read-only root file system (not only for root).
10301         Patch by Nicolas François <nicolas.francois@centraliens.net>
10302         Fix for http://bugs.debian.org/52069
10303
10304         * NEWS, man/Attic/usermod.8, man/usermod.8.xml:
10305         give the correct range for system users: 0-999 instead of 0-99
10306         (http://bugs.debian.org/286258)
10307
10308         * man/Attic/chage.1, man/chage.1.xml: s/an password/a password/
10309
10310         * man/Attic/chage.1, man/chage.1.xml, src/chage.c, NEWS:
10311         another maxdays fix based on 427_chage_expiry_0 Debian patch
10312         (fix for http://bugs.debian.org/78961).
10313         Better description -1 value passed in -E, -I and -M options.
10314
10315         * src/gpasswd.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, NEWS:
10316         added flushing group nscd cache on exit.
10317
10318         * src/pwck.c, src/pwconv.c, NEWS:
10319         added flushing passwd nscd cache on exit.
10320
10321         * NEWS, src/usermod.c:
10322         fixed handle -p option (patch by Peter Vrabec <pvrabec@redhat.com>).
10323         Indented.
10324
10325         * man/Attic/chage.1, man/chage.1.xml, NEWS, src/chage.c:
10326         use -1 as value for disable password inactivity.
10327         Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
10328         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=109499
10329         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=137498
10330
10331 2005-08-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10332
10333         * 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:
10334         do not copy files from skel directory if home directory exist and write
10335         warning message about not copying skel files.
10336         Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
10337         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143150
10338         https://bugzilla.redhat.com/beta/show_bug.cgi?id=158574
10339         https://bugzilla.redhat.com/beta/show_bug.cgi?id=80242
10340
10341         * po/pl.po: updated.
10342
10343 2005-08-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10344
10345         * src/useradd.c:
10346         s/spoll/spool/ (spoted by Nicolas François <nicolas.francois@centraliens.net>).
10347
10348 2005-08-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
10349
10350         * NEWS, src/su.c:
10351         ignore SIGINT while authenticating. A ^C could defeat the waiting
10352         period and permit brute-force attacks (fixed http://bugs.debian.org/288827).
10353
10354 2005-08-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
10355
10356         * lib/defines.h, NEWS, configure.in:
10357         added require ngettext (added [need-ngettext] to AM_GNU_GETTEXT() parameters)
10358         and stub prototype for ngettext() in lib/prototypes.h (neccessary if shadow
10359         compiled with disabled NLS support)
10360         Based on fixes by Martin Schlemmer <azarah@nosferatu.za.org>.
10361
10362         * src/faillog.c: start using exitcodes.h.
10363
10364         * 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:
10365         regenerate all roff man pages using DocBook XSL Stylesheets 1.69.0.
10366
10367         * 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:
10368         remove flushing shadow nscd cache (nscd do not caches shadow map).
10369
10370 2005-08-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10371
10372         * 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:
10373         rewrited groupadd for use getopt_long().
10374
10375         * src/chage.c: indent.
10376
10377         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/userdel.c:
10378         do OPENLOG() before pam_start().
10379
10380         * NEWS, src/groupadd.c: fixed double OPENLOG().
10381
10382         * src/passwd.c, src/vipw.c, src/userdel.c: reorder nscd_flush_cache().
10383
10384         * 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:
10385         cleanups in printf() translated messages for make translators work easier.
10386
10387         * NEWS, src/chage.c: added flushing NSS shadow map on exit.
10388
10389         * 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:
10390         s/the the/the/
10391
10392         * po/POTFILES.in: removed lib/{grpack,gspack,pwpack,sppack}.c.
10393
10394         * NEWS, src/newusers.c:
10395         added flushing NSS passwd, shadow and group maps.
10396
10397         * NEWS, src/chpasswd.c, src/useradd.c:
10398         added flushing NSS shadow map on exit.
10399
10400         * lib/prototypes.h: removed outdated prototypes for lib/gsdbm.c.
10401
10402         * NEWS, lib/Attic/grpack.c, lib/Attic/gspack.c, lib/Attic/pwpack.c, lib/Attic/sppack.c, lib/Makefile.am, lib/prototypes.h:
10403         remove lib/{grpack,gspack,pwpack,sppack}.c and prototypes from lib/prototypes.h (outdated).
10404
10405         * lib/prototypes.h: removed outdated prototypes from lib/pwdbm.c.
10406
10407 2005-07-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
10408
10409         * NEWS, src/usermod.c: added flushing NSS shadow map.
10410
10411 2005-07-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
10412
10413         * man/Attic/chage.1, man/chage.1.xml:
10414         typo (s/passwordchanges/password changes/).
10415
10416 2005-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10417
10418         * lib/getdef.c, src/su.c:
10419         ENV_SUPATH and ENV_PATH must be used independently to PAM.
10420
10421         * lib/exitcodes.h: added E_BAD_ARG.
10422
10423         * src/gpasswd.c: start use exitcodes.h.
10424
10425         * lib/getdef.c: remove ENV_ROOTPATH def_table[] (not used).
10426
10427 2005-07-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10428
10429         * src/chsh.c: start use exitcodes.h.
10430
10431 2005-07-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
10432
10433         * 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:
10434         added --no-location to po/Makevars::XGETTEXT_OPTIONS: shorter .po files.
10435
10436         * NEWS, src/grpck.c, src/pwck.c:
10437         pwck: now pwck OPENLOG with correct name ("pwck" instead "pwsk"),
10438         pwck, grpck: replace all puts() with printf() - it fixes problems with extra blank
10439         lines printed in some messages
10440         (fixes by Alexander Gattin <arg@online.com.ua>)
10441
10442 2005-07-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10443
10444         * po/Makevars: added:
10445         MSGID_BUGS_ADDRESS = kloczek@pld.org.pl
10446
10447 2005-07-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10448
10449         * src/chfn.c: start use #include "exitcodes.h",
10450
10451         * lib/exitcodes.h: cleanups.
10452
10453         * lib/Makefile.am, lib/exitcodes.h, src/chage.c:
10454         start separate all E_* exit codes to lib/exitcodes.h.
10455
10456         * 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:
10457         use separated message "Password set to expire." instead "Password changed."
10458         on "passwd -e" (fix by Christian Perrier <bubulle@debian.org>).
10459
10460         * NEWS, po/fr.po:
10461         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
10462
10463         * NEWS, configure.in: start work on 4.0.12.
10464
10465 2005-07-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10466
10467         * 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:
10468         4.0.11.1 will be released tmorrow (21-07-2005).
10469
10470         * configure.in, NEWS:
10471         fixed configure.in: now is possible build shadow with enabled/disabled shadow group
10472         support (thanks for report symptoms of the bug to Greg Schafer <gschafer@zip.com.au>).
10473
10474         * po/sv.po, NEWS: update finished (by Per Olofsson <pelle@dsv.su.se>)
10475
10476         * po/sv.po: partialy updated (by Per Olofsson <pelle@dsv.su.se>).
10477
10478 2005-07-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10479
10480         * NEWS, configure.in: start work on 4.0.12.
10481
10482 2005-07-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
10483
10484         * libmisc/sub.c:
10485         fixed compilation warning about incompatible implicit declaration of built-in
10486         function printf: added "#include <stdio.h>".
10487
10488         * src/groupadd.c:
10489         move #ifdef USE_PAM .. #endif #includes outside #ifdef SHADOWGRP .. #endif.
10490
10491         * libmisc/pwdcheck.c:
10492         added missing "#include <stdio.h>" (fix compilation with PAM disabled).
10493
10494         * 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:
10495         run "make update-po".
10496
10497         * src/su.c:
10498         move declaration of pamh nad caught variables to #ifdef USE_PAM .. #endif.
10499
10500         * po/pl.po, NEWS: updated pl translation.
10501
10502 2005-07-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10503
10504         * NEWS, po/sk.po:
10505         updated for 4.0.11 (by Peter Mann <Peter.Mann@tuke.sk>).
10506
10507 2005-07-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
10508
10509         * NEWS, po/cs.po:
10510         updated for 4.0.11 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10511
10512 2005-07-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10513
10514         * po/de.po, NEWS:
10515         updated for 4.0.11 (by Frank Schmid <frank@cs-schmid.de>).
10516
10517 2005-07-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
10518
10519         * NEWS, po/pt.po:
10520         updated for 4.0.11 (by Miguel Figueiredo <elmig@debianpt.org>).
10521
10522 2005-07-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10523
10524         * po/stats: reorder gsub().
10525
10526         * po/ru.po: cleanups.
10527
10528         * po/ru.po, NEWS:
10529         updated for 4.0.11 (by Yuri Kozlov <yucoz@yandex.ru>).
10530
10531 2005-07-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10532
10533         * lib/getdef.c:
10534         move MAIL_DIR variable from def_table[] to part independent to USE_PAM
10535         (still used in userdel/usermod).
10536
10537         * NEWS, man/Attic/pwck.8, man/pwck.8.xml:
10538         document -q option (based on Debian patch for fix http://bugs.debian.org/309408)
10539         Rewrited OPTIONS section and better SYNOPSIS.
10540
10541         * NEWS, po/da.po:
10542         - updated for 4.0.11 (by Claus Hindsgaul <claus_h@image.dk>).
10543
10544         * NEWS, src/su.c:
10545         ignore SIGINT while authenticating. A ^C could defeat the waiting period and
10546         permit brute-force attacks. Also ignore SIGQUIT.
10547         Fixed: http://bugs.debian.org/52372 and http://bugs.debian.org/288827
10548
10549         * po/fi.po, NEWS:
10550         - updated for 4.0.11 (by Tommi Vainikainen <thv+debian@iki.fi>).
10551
10552         * po/ro.po: - updated Project-Id-Version field.
10553
10554         * NEWS, po/ro.po:
10555         - updated for 4.0.11 (by Sorin B. <sorin@bonbon.net>).
10556
10557 2005-07-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
10558
10559         * NEWS, man/Attic/lastlog.8, man/lastlog.8.xml:
10560         document that lastlog is a sparse file, and don't need to be rotated.
10561         http://bugs.debian.org/219321
10562
10563         * src/chage.c: use E_USAGE=2 as usage() exit code.
10564
10565         * NEWS, po/es.po:
10566         updated for 4.0.11 (by Ruben Porras <nahoo82@telefonica.net>).
10567
10568         * src/useradd.c: cleanups in usage() oyput.
10569
10570         * 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:
10571         cleanups in usage() output.
10572
10573         * NEWS: release 4.0.11 is sheduled to 18-06-2005.
10574
10575 2005-07-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10576
10577         * man/Attic/login.1, man/login.1.xml, NEWS:
10578         better explain the respective roles of login, init and getty with regards
10579         to the utmp file (based on 441_manpages-shadow.5 Debian patch)
10580
10581         * man/Attic/su.1, man/groupdel.8.xml, man/su.1.xml, man/Attic/groupdel.8:
10582         s/presense/presence/; s/filesystem/file system/
10583         (sed on 440_manpages-login.1 Debian patch)
10584
10585         * 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:
10586         removed shadowconfig(8) man page (will be maintained in Debian shadow pkg repository).
10587
10588         * man/it/sg.1: added.
10589
10590         * man/it/Makefile.am: more files in man_MANS.
10591
10592         * man/it/Makefile.am: move pwunconv.8 to man_MANS.
10593
10594         * man/useradd.8.xml, man/Attic/useradd.8:
10595         updated after rewrite for for getopt_long() in useradd (-D and -k options
10596         idescription must be finished).
10597
10598         * 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:
10599         rewrited for use getopt_long().
10600
10601         * po/stats: more gsub().
10602
10603 2005-07-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
10604
10605         * src/newgrp.c:
10606         indent source code and use fix for handle splitted groups unconditionaly.
10607
10608         * lib/nscd.c: indent.
10609
10610         * NEWS, src/newgrp.c:
10611         add fix for handle splitted NIS groups: extends the functionality that,
10612         if the requested group is given, all groups of the same GID are tested for
10613         membership of the requesting user.
10614         (fix by Christian Mudra <C.Mudra@science-computing.de>
10615
10616         * lib/nscd.c, NEWS:
10617         for some reason doing the INVALIDATE call with two write()'s fails.
10618         Do one writev() call instead. http://bugs.gentoo.org/show_bug.cgi?id=80413
10619         (submited by Martin Schlemmer <azarah@gentoo.org>)
10620
10621         * NEWS, lib/nscd.c:
10622         merge nscd-socket-path patch from Fedora: newer glibc's have a different nscd socket
10623         location (/var/run/nscd/socket instead /var/run/.nscd_socket).
10624
10625 2005-07-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10626
10627         * po/stats: improved.
10628
10629         * man/Attic/groupadd.8, man/groupadd.8.xml, NEWS:
10630         document -o option in groupadd(8).
10631
10632         * configure.in: s/'"$<foo>" != "no"'/'"$<foo>" = "yes"'/
10633
10634         * NEWS, configure.in, lib/Makefile.am, lib/pwauth.c:
10635         S/Key support is back.
10636
10637         * 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:
10638         run "make update-po".
10639
10640         * po/pl.po: updated.
10641
10642         * src/useradd.c: s,key=value,KEY=VALUE,
10643
10644         * src/groupadd.c, NEWS, man/Attic/groupadd.8, man/groupadd.8.xml:
10645         change -O option to -K and document it in man page.
10646
10647         * man/Attic/useradd.8, man/useradd.8.xml, src/useradd.c:
10648         s/NAME=VALUE/KEY=VALUE/; s/key=value/KEY=VALUE/
10649
10650         * src/chfn.c, src/groupadd.c, src/groupmems.c, src/login.c, src/passwd.c, src/vipw.c:
10651         sort cases in switch (flag) {}.
10652
10653         * src/gpasswd.c, src/groupadd.c, src/groupmems.c, src/groupmod.c, src/passwd.c, src/useradd.c, src/usermod.c:
10654         sort getopt() optstring.
10655
10656         * src/useradd.c:
10657         remove A: from getopt() optstring (the same bug as in usermod).
10658
10659         * src/usermod.c:
10660         remove A: from getopt() optstring (it was for handle AUTH_METHODS code but now
10661         it is not used option). Catched by Thorsten Kukuk <kukuk@suse.de>.
10662
10663         * 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:
10664         indent source code. Added usermod error message about -a option usage to translated messages.
10665
10666         * po/POTFILES.in: mistake s,chage_chkshell.c,chsh_chkshell.c,
10667
10668         * po/POTFILES.in: s,libmisc/chkshell.c,src/chage_chkshell.c,
10669
10670         * man/Attic/usermod.8, man/usermod.8.xml, src/usermod.c, NEWS:
10671         added -a option. This flag can only be used in conjunction with the -G
10672         option. It cause usermod to append user to the current supplementary group list.
10673         (patch by Peter Vrabec <pvrabec@redhat.com>)
10674
10675         * libmisc/Attic/chkshell.c, libmisc/Makefile.am, src/Attic/chsh_chkshell.c, src/Makefile.am:
10676         move libmisc/chkshell.c to src/chsh_chkshell.c. check_shell() is used only by chsh.
10677
10678 2005-07-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10679
10680         * Attic/acconfig.h, NEWS, configure.in:
10681         finish move all autoheader templates from acconfig.h to configure.in.
10682
10683         * 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:
10684         added missing \n in chage error messages.
10685
10686         * 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:
10687         run "make update-po".
10688
10689         * src/usermod.c: move all #include in one place.
10690
10691         * src/useradd.c: s/-O/-K/
10692
10693         * man/Attic/useradd.8, man/useradd.8.xml:
10694         cleanups in Note: in -K description.
10695
10696         * NEWS, man/Attic/useradd.8, man/useradd.8.xml, src/useradd.c:
10697         change -O option to -K and document it in man page.
10698
10699         * man/Attic/useradd.8, man/useradd.8.xml:
10700         added separated <cmdsynopsis></cmdsynopsis> for -D description and remove using </srb> tags from
10701         <refsynopsisdiv id='synopsis'>.
10702
10703         * src/login.c:
10704         replace #ifdef USE_PAM .. #endif #ifndef USE_PAN .. #endif by
10705         #ifdef USE_PAM .. #else .. #endif.
10706
10707         * src/su.c: conditiona code reorganization.
10708
10709         * src/login.c: remove one #ifndef USE_PAM .. #endif.
10710
10711         * libmisc/setupenv.c: move setup $MAIL to !USE_PAM.
10712
10713         * libmisc/setupenv.c, src/su.c:
10714         consolidate two sections of code #ifndef USE_PAM to one.
10715
10716         * src/su.c, src/sulogin.c, libmisc/setupenv.c, libmisc/tz.c, src/login.c, NEWS:
10717         fixed erroneous warning messages about some login.defs variables when used with PAM
10718         (fix by DJ Lucas <dj@linuxfromscratch.org>)
10719
10720 2005-07-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
10721
10722         * configure.in, libmisc/getdate.y, libmisc/utmp.c, src/logoutd.c:
10723         remove non-USG code.
10724
10725         * Attic/acconfig.h, configure.in:
10726         start moving all autoheader templates from acconfig.h to configure.in.
10727
10728         * configure.in: remove not used AC_DEFINE(HAVE_LIBCRYPT).
10729
10730         * Attic/acconfig.h, NEWS, configure.in:
10731         stop with error message if crypt() not found. Remove --with{,out}-libcrypt switch.
10732
10733         * src/login.c: fixed use SYSLOG macro.
10734
10735 2005-07-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10736
10737         * src/login_nopam.c: fixed use SYSLOG macro.
10738
10739 2005-07-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
10740
10741         * NEWS, src/login.c:
10742         setup limits and umask (using login.defs ULIMITS and UMASK variables) only when
10743         PAM support is disabled (it is task for pam_limits and pam_umask modules).
10744
10745 2005-06-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
10746
10747         * src/sulogin.c, src/login.c, src/login_nopam.c, NEWS:
10748         use SYSLOG macro instead syslog() which saves the locale, sets the locale to C,
10749         sends the message and restores the locale (fix by Nicolas François <nicolas.francois@centraliens.net>).
10750
10751         * 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:
10752         in SEE ALLSO section added refer to gpasswd(8)
10753         (suggested by Mike Frysinger <vapier@gentoo.org>)
10754
10755         * NEWS, configure.in: start work on 4.0.11.
10756
10757 2005-06-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
10758
10759         * NEWS: +1 day release 4.0.10 date.
10760
10761         * po/pl.po: kill fuzzy.
10762
10763         * po/de.po: partial update by Frank Schmid <frank@cs-schmid.de>.
10764
10765 2005-06-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10766
10767         * po/ca.po: run "make update-po".
10768
10769         * po/sk.po: updated sk translation by Peter Mann <Peter.Mann@tuke.sk>.
10770
10771 2005-06-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10772
10773         * NEWS: typo.
10774
10775 2005-06-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10776
10777         * po/pl.po: typo.
10778
10779         * po/pl.po: updated for 4.0.10.
10780
10781         * po/ru.po, NEWS: updated ru translation by maintainer.
10782
10783         * NEWS: added past releases dates. Cleanups.
10784
10785         * man/Attic/shadowconfig.8: merge version generated from XML file.
10786
10787         * po/ca.po, po/cs.po, po/da.po, po/fi.po, NEWS:
10788         translations updated by maintainers.
10789
10790 2005-06-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10791
10792         * 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):
10793         s/EXPIRE/EXPIRE_DATE/.
10794
10795         * po/pl.po: start update for 4.0.10.
10796
10797         * 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:
10798         s/uid/UID/ in all commnets and messages.
10799
10800         * libmisc/failure.c, libmisc/limits.c, lib/pwio.c:
10801         s/uid/UID/ in comments.
10802
10803         * 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:
10804         s/gid/GID/ in all comments and messages.
10805
10806         * 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:
10807         one message in i18n messages less: use in all places "Permission denied" instead
10808         "permission denied".
10809
10810         * libmisc/getdate.y:
10811         remove extern for gmtime(), localtime() and mktime() and instead add #include <time.h>.
10812
10813         * libmisc/entry.c: removed extern for fgetpwent().
10814
10815         * NEWS, man/Attic/chage.1, man/Attic/chfn.1, man/Attic/chpasswd.8, man/Attic/chsh.1, man/Attic/expiry.1, man/Attic/faillog.5, man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8, man/Attic/groupdel.8, man/Attic/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:
10816         now most of the man pages now are generated from XML files so in case any submiting
10817         any chages to this resources please make diff fies to XML files.
10818
10819         * man/Attic/pw_auth.3.xml: cleanups.
10820
10821         * man/grpck.8.xml, man/passwd.1.xml:
10822         correctly code EXIT VALUES section using <variablelist>. Cleanups.
10823
10824         * man/shadow.3.xml: cleanups.
10825
10826 2005-06-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10827
10828         * man/ja/Attic/mkpasswd.8, man/ja/Makefile.am, man/pl/Attic/mkpasswd.8, man/pl/Makefile.am:
10829         remove ja and pl mkpasswd.8 man pages.
10830
10831 2005-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
10832
10833         * man/pwck.8.xml, man/useradd.8.xml, man/userdel.8.xml:
10834         correctly code EXIT VALUES section.
10835
10836         * Attic/acconfig.h: removed DES_RPC and OPIE templates.
10837
10838         * 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:
10839         removed mkpasswd.
10840
10841         * man/Makefile.am: do not install mkpasswd(8) man page.
10842
10843         * src/Makefile.am: move mkpasswd.c to EXTRA_DIST.
10844
10845         * man/passwd.5.xml:
10846         use <itemizedlist mark='bullet'> for describe passwd fields. Remove outdated
10847         information about additional fields in comment field. Cleanups.
10848
10849         * man/newusers.8.xml: cleanups.
10850
10851         * man/gshadow.5.xml:
10852         use <itemizedlist mark='bullet'> for gshadow fields desscription.
10853
10854         * man/shadow.5.xml: cleanups.
10855
10856         * man/shadow.5.xml:
10857         use <itemizedlist mark='bullet'> for describe shadow fields.
10858
10859         * man/Attic/pw_auth.3.xml: cleanups.
10860
10861         * man/Attic/pw_auth.3.xml: use correct <refname>.
10862
10863         * man/Attic/pw_auth.3.xml: cleanups.
10864
10865         * man/groupdel.8.xml, man/groupmod.8.xml:
10866         correctly code EXIT VALUES section.
10867
10868         * man/groupadd.8.xml: cleanups.
10869
10870         * man/Attic/mkpasswd.8.xml: added missing <variablelist> tag.
10871
10872         * man/usermod.8.xml: cleanups.
10873
10874         * man/usermod.8.xml: remove <sbr/> tags from SYNOPSIS section.
10875
10876         * man/faillog.8.xml: cleanups.
10877
10878         * man/faillog.5.xml:
10879         put struct faillog definition in <programlisting></programlisting>.
10880
10881         * man/chsh.1.xml, man/chpasswd.8.xml: cleanups.
10882
10883         * man/groupadd.8.xml:
10884         seems I found good way for code EXIT VALUES section.
10885
10886         * man/shadow.3.xml:
10887         put meanings of each field spwd struct in <itemizedlist mark='bullet'>.
10888
10889         * man/shadow.3.xml:
10890         place definition of struct spwd in <programlisting></programlisting>.
10891
10892         * NEWS, src/userdel.c:
10893         userdel now deletes user groups from /etc/gshdow as well as /etc/group.
10894         Fix by Nicolas François <nicolas.francois@centraliens.net>.
10895         http://bugs.debian.org/99442
10896
10897         * 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:
10898         fixed bug in usermod ad run "make -C po update-po".
10899         When relocating a user's home directory, don't fail and remove the new
10900         home directory if we can't remove the old home directory for some
10901         reason; the results can be spectularly poort if, for instance, only
10902         the rmdir() fails. Patch prepared by Timo Lindfors <lindi-spamtrap@newmail.com>.
10903         http://bugs.debian.org/166369
10904
10905 2005-06-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10906
10907         * src/login.c: indent.
10908
10909         * 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:
10910         cleanups.
10911
10912 2005-06-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
10913
10914         * 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:
10915         cleanups.
10916
10917         * man/login.1.xml: rewrited FILES section.
10918
10919         * man/id.1.xml, man/lastlog.8.xml, man/gshadow.5.xml: cleanups.
10920
10921         * man/groups.1.xml: typos.
10922
10923         * man/chfn.1.xml, man/expiry.1.xml, man/gpasswd.1.xml: cleanups.
10924
10925 2005-06-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10926
10927         * NEWS:
10928         last patch for UTMPX was submited by by Nicolas François <nicolas.francois@centraliens.net>
10929
10930         * libmisc/failure.c, libmisc/failure.h, NEWS:
10931         use also UTMPX API instead UTMP on failure (login was by affected this when shadow
10932         was builded without PAM support).
10933
10934         * NEWS, src/login.c:
10935         the PAM session needs to be closed as root, thus before change_uid()
10936         http://bugs.debian.org/53570 http://bugs.debian.org/195048 http://bugs.debian.org/211884
10937
10938         * man/Attic/passwd.1, man/passwd.1.xml:
10939         s/compatiblity/compatibility/ (fix by Christian Perrier <bubulle@kheops.frmug.org>).
10940
10941 2005-06-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
10942
10943         * NEWS, man/Attic/chfn.1, man/chfn.1.xml:
10944         give more details about the influence of login.defs on what's allowed to
10945         users (based on Debian patches).
10946
10947         * NEWS, src/su.c:
10948         fix syslogs to be less ambiguous. Use old:new format instead of old-new
10949         because '-' can appear in usernames.
10950         http://bugs.debian.org/213592
10951
10952         * NEWS, src/login.c:
10953         made login's -f option also able to use the username after -- if none
10954         was passed as it's optarg
10955         http://bugs.debian.org/53702
10956
10957         * po/POTFILES.in, NEWS, libmisc/Attic/setup.c, libmisc/Makefile.am:
10958         not used now (removed).
10959
10960         * man/Attic/usermod.8, man/usermod.8.xml:
10961         s/inactive_time/inactive_days/ in -f parameter in SYNOPSIS (fix by Christian
10962         Perrier <bubulle@debian.org>).
10963
10964 2005-06-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
10965
10966         * man/Attic/grpck.8, man/grpck.8.xml:
10967         typo: s/incorrectable/uncorrectable/ (by A Costa <agcosta@gis.net>).
10968
10969         * man/Attic/gshadow.5, man/gshadow.5.xml:
10970         typos: s/folowing/following/; s/encryped/encrypted/; s/supercedes/supersedes/
10971         (by A Costa <agcosta@gis.net>).
10972
10973         * man/Attic/shadow.5, man/shadow.5.xml:
10974         typos: s/encryped/encrypted/; s/supercedes/supersedes/
10975         (by A Costa <agcosta@gis.net>)
10976
10977 2005-06-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10978
10979         * src/login.c, NEWS:
10980         check for hushed login and pass PAM_SILENT if true.
10981         http://bugs.debian.org/48002
10982
10983         * src/login.c, NEWS:
10984         fixed loggin of username on succesful login (was using the normal username,
10985         when it should have used pam_user) http://bugs.debian.org/47819
10986
10987 2005-06-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10988
10989         * NEWS, po/zh_TW.po: updated (by Tetralet <tetralet@pchome.com.tw>).
10990
10991         * NEWS, po/ca.po: updated (by Guillem Jover <guillem@debian.org>).
10992
10993         * man/de/passwd.1:
10994         added small comment with marker usefull for translators.
10995
10996 2005-05-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10997
10998         * 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:
10999         indent all.
11000
11001         * 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:
11002         remove using SHADOWPWD #define so now shadow is allways builded with shadow
11003         password support.
11004
11005 2005-05-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11006
11007         * 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:
11008         rewrite for use getopt_long().
11009
11010 2005-05-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11011
11012         * NEWS, configure.in: start working on 4.0.10.
11013
11014         * man/Makefile.am: remove shadow-man-pages.pot target from all.
11015
11016 2005-05-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
11017
11018         * lib/encrypt.c, NEWS:
11019         fixed passwd segfault in non-PAM connfiguration (submited by Greg Schafer <gschafer@zip.com.au>).
11020
11021         * po/sv.po: upsdate (by Christian Perrier <bubulle@debian.org>).
11022
11023         * NEWS, src/newgrp.c:
11024         fixed NULL pointer dereference - getlogin() and ttyname() can
11025         return NULL which is not checked (http://bugs.debian.org/162303).
11026
11027         * man/Attic/su.1, man/pwconv.8.xml, man/su.1.xml, man/Attic/pwconv.8:
11028         fixed typo (s,similiar,similar,).
11029
11030 2005-05-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11031
11032         * NEWS, po/ro.po: updated by Sorin B. <sorin@bonbon.net>.
11033
11034         * po/ru.po, NEWS: updated by yu-koz <yu-koz@yandex.ru>.
11035
11036 2005-05-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11037
11038         * po/ro.po: few updates by Sorin Batariuc <sorin@bonbon.net>.
11039
11040 2005-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11041
11042         * po/ru.po: updated (by Yuri Kozlov <yuray@id.ru>).
11043
11044 2005-05-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11045
11046         * po/vi.po:
11047         completed translations for HEAD (by Clytie Siddall <clytie@riverland.net.au>).
11048
11049 2005-05-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11050
11051         * NEWS, po/LINGUAS, po/vi.po: added new vi translation.
11052
11053         * NEWS, lib/getdef.c:
11054         leaves the table as it is, and changes from the binary search to
11055         a sequential one (fix by Lucas Correia Villa Real <lucasvr@gobolinux.org>).
11056
11057         * man/Attic/passwd.1, man/passwd.1.xml:
11058         make bold passwd and chfn commands.
11059
11060 2005-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
11061
11062         * man/usermod.8.xml, man/vipw.8.xml: cleanups.
11063
11064 2005-04-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
11065
11066         * 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:
11067         replace <emphasis remap='B'></emphasis> by <command></command>.
11068
11069         * 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:
11070         fixed lastlog --help message (s,--login,--user,) http://bugs.debian.org/249611
11071
11072         * 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:
11073         use <varlistentry></varlistentry> in FILES section. Cleanups.
11074
11075         * 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:
11076         cleanups.
11077
11078         * man/Attic/vipw.8, man/vipw.8.xml:
11079         small fix: s,vi,vi(1), (reported by Helge Kreutzmann <kreutzm@itp.uni-hannover.de> in
11080         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=260636).
11081         s,VISUAL,$VISUAL; s,EDITOR,$EDITOR,
11082
11083 2005-04-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11084
11085         * man/login.1.xml: fixed bold (use <command></command>). Cleanups.
11086
11087         * man/Attic/login.1: fixed typo in bold.
11088
11089         * man/chage.1.xml: fixed italic. Cleanups.
11090
11091         * man/Attic/chage.1: fixed typo in italic.
11092
11093         * man/login.defs.5.xml:
11094         fixed italic (use <filename></filename> istead italic). Cleanups.
11095
11096         * man/Attic/login.defs.5: fixed typo in italic.
11097
11098         * man/vipw.8.xml: fixed italic (use <filename></filename>).
11099
11100         * man/Attic/vipw.8: typo in italic.
11101
11102         * man/Makefile.am:
11103         added target for generate shadow-man-pages.pot. List all now useable xml files
11104         in man_XMANS variable.
11105
11106         * man/pwconv.8.xml:
11107         fixed bold. Use in more places <command></command> istead bold.
11108
11109         * man/Attic/login.defs.5: typo in bold.
11110
11111         * man/su.1.xml:
11112         removed comment. Use <variablelist></variablelist> in Files secstion.
11113         Fixed bold.
11114
11115         * man/Attic/pwconv.8, man/Attic/su.1: typo in bold.
11116
11117 2005-04-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11118
11119         * NEWS, configure.in: start work on 4.0.9.
11120
11121         * po/nl.po: kill fuzzy.
11122
11123         * man/Attic/chage.1:
11124         reverte last commit (by mistake commited experimental version generated from XML file).
11125
11126         * NEWS, po/nl.po:
11127         updated for 4.0.8 (by "cobaco (aka Bart Cornelis)" <cobaco@linux.be>).
11128
11129         * 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:
11130         two typos (s,specyfied,specified,; s,maiximum,maximum,).
11131
11132         * NEWS, po/sk.po:
11133         updated for 4.0.8 (by Peter Mann <Peter.Mann@tuke.sk>).
11134
11135         * src/lastlog.c: typo (s,specyfied,specified,)
11136
11137         * src/faillog.c: typo (s,maiximum,maximum,).
11138
11139 2005-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
11140
11141         * 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:
11142         added <refmiscinfo class="sectdesc">User Commands</refmiscinfo> in <refmeta></refmeta>.
11143
11144         * 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:
11145         Use encoding="UTF-8" and DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN".
11146
11147         * 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:
11148         better formation using "xmlindent -l 80 -d 2".
11149
11150 2005-04-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11151
11152         * 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:
11153         updated it man pages: chfn.1, chsh.1, groups.1, grpck.8, grpconv.8, grpunconv.8,
11154         id.1, lastlog.8, login.1, newgrp.1, pwunconv.8, shadow.5, vigr.8, vipw.8.
11155         new it man pages: chage.1, chpasswd.8, expiry.1, faillog.5, faillog.8,
11156         getspnam.3, logoutd.8, porttime.5, pwck.8, shadow.3, shadowconfig.8, su.1.
11157         (by Danilo Piazzalunga <danilopiazza@libero.it>)
11158
11159         * po/uk.po:
11160         cleanups in plural forms (by Roman Festchook <roma@polesye.net>).
11161
11162         * 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:
11163         reformated using xemacs.
11164
11165 2005-04-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11166
11167         * po/fr.po, NEWS:
11168         updated for 4.0.8 (by Christian Perrier <bubulle@kheops.frmug.org>).
11169
11170         * NEWS, po/eu.po: updated for 4.0.8 (by ^pi^ <piarres@gmail.com>).
11171
11172         * NEWS, po/uk.po:
11173         updated for 4.0.8 (by Roman Festchook <roma@polesye.net>).
11174
11175         * po/cs.po:
11176         updated for 4.0.8 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
11177
11178         * po/da.po, NEWS:
11179         updated for 4.0.8 (by Claus Hindsgaul <claus_h@image.dk>).
11180
11181         * po/ko.po, NEWS:
11182         updated for 4.0.8 (by Changwoo Ryu <cwryu@debian.org>).
11183
11184         * po/fi.po: kill one fuzzy (by Tommi Vainikainen <thv+debian@iki.fi>).
11185
11186 2005-04-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
11187
11188         * man/chpasswd.8.xml: Rewrited by hand & xemacs.
11189
11190         * man/chfn.1.xml: cleanups in <refentry> tag.
11191
11192         * man/chfn.1.xml: Rewrited by hand & xemacs.
11193
11194         * NEWS, po/pt.po:
11195         updated for 4.0.8 (by Miguel Figueiredo <elmig@debianpt.org>).
11196
11197         * po/es.po, NEWS: updated (by Ruben Porras <nahoo@inicia.es>).
11198
11199 2005-04-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11200
11201         * man/Attic/useradd.8:
11202         fixed typos in useadd syntax (in SYNOPSIS section) catched using doclifter.
11203
11204         * 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:
11205         raw version converted using doclifter.
11206
11207         * configure.in: remove handle --with-lib{opie,skey}.
11208
11209         * man/de/chsh.1:
11210         synced with english version (by Simon Brandmair <sbrandmair@gmx.net>).
11211
11212         * man/Attic/usermod.8: improved -o description.
11213
11214         * man/de/passwd.1:
11215         added translation EXIT VALUES section (by Simon Brandmair <sbrandmair@gmx.net>).
11216
11217         * NEWS, po/it.po:
11218         updated it translation (by Danilo Piazzalunga <danilopiazza@libero.it>).
11219
11220 2005-04-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11221
11222         * 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:
11223         cleanups.
11224
11225         * po/pl.po: updated.
11226
11227         * src/usermod.c:
11228         use the same error message ("%s: PAM authentication failed\n") on fail
11229         authentication as in other tools.
11230
11231         * 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:
11232         run "make update-po".
11233
11234         * src/login.c, src/login_nopam.c:
11235         fixed build with disabled PAM support: move bad_time_notify() and check_nologin()
11236         back to src/login.c but use this functions #ifndef USE_PAM.
11237
11238         * NEWS, lib/Makefile.am, lib/pwauth.c:
11239         remove not working OPIE and SKEY support.
11240
11241         * configure.in: typo (s,SELinuux,SELinux,).
11242
11243         * NEWS: typos.
11244
11245         * NEWS: chage, useradd, usermod: reduce multiple OPENLOG() calls.
11246
11247         * src/useradd.c, src/usermod.c: fix multiple OPENLOG() calls.
11248
11249         * src/chage.c: cleanups.
11250
11251         * src/chage.c: fix multiple OPENLOG() calls.
11252
11253         * src/chage.c:
11254         use E_SUCCESS/E_NOPERM #defines instead 0/1 in exit() arguments.
11255
11256 2005-04-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
11257
11258         * src/passwd.c:
11259         adjust also syslog message on usage -S option without permission.
11260         Consolidate SELinix and non-SELinux code.
11261
11262         * 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:
11263         fix #61313 Debian bug: "passwd -S root" (as a normal user) should not
11264         display "You may not change the password for root.
11265
11266         * NEWS, man/Attic/passwd.1:
11267         fix #160477 Debian bug: improve -S output description.
11268
11269         * man/de/passwd.1:
11270         new translation by Simon Brandmair <sbrandmair@gmx.net> with merged all
11271         changes between revision 1.2 a 1.5.
11272
11273 2005-04-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11274
11275         * man/Attic/passwd.1, man/pl/passwd.1: bold passwd and chage commands.
11276
11277         * NEWS, src/vipw.c:
11278         fixed race condition in vipw (Debian #242407 bug; fix by Alexander Gattin
11279         <arg@online.com.ua>).
11280
11281         * man/pl/Attic/chage.1.xml, man/pl/chage.1:
11282         synced with english version.
11283
11284         * man/Attic/chage.1, man/chage.1.xml:
11285         add info about what mean -1 passed n expiredate parameter (based on #304542
11286         Debian bug; submited by Federico Grau <grauf@rfa.org>).
11287
11288 2005-04-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11289
11290         * po/fi.po, NEWS:
11291         updated translation (by Tommi Vainikainen <tvainikan@cc.hut.fi>).
11292
11293         * 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:
11294         cleanups and unifications in SEE ALSO section.
11295
11296 2005-04-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11297
11298         * configure.in:
11299         Info documentation says about AC_GNU_SOURCE: "should be called before any
11300         macros that run the C compiler". So move this macro on top configure.in for
11301         avoid autoconf warnings.
11302
11303         * configure.in:
11304         AC_SYS_LARGEFILE() performs checking is fseeko() is avalaible so "fseeko" can
11305         be removed from AC_CHECK_FUNCS() parameters.
11306
11307         * NEWS, configure.in: Remove using AC_PROG_GCC_TRADITIONAL macro.
11308         Add using AC_GNU_SOURCE macro for kill compilation warnings about implicit
11309         declaration of function `fseeko'.
11310
11311         * po/cs.po: killed fuzzy (by Miroslav Kure <kurem@debian.cz>).
11312
11313         * man/ja/newgrp.1, man/pl/newgrp.1, NEWS, man/Attic/newgrp.1, man/hu/newgrp.1:
11314         newgrp uses /bin/sh (not bash).
11315
11316         * 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:
11317         describe /etc/group in FILES section as "group account information".
11318
11319         * man/Attic/grpck.8:
11320         describe /etc/passwd in FILES section as "user account information".
11321
11322         * po/stats: small script for generate translations statistics.
11323
11324         * NEWS, po/cs.po: Updated by Miroslav Kure <kurem@debian.cz>.
11325
11326         * 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:
11327         describe /etc/shadow in FILES section as "secure user account information".
11328
11329         * man/Attic/newgrp.1:
11330         Reformated paragraph. s,Bourne shell,\fBbash\fR shell,
11331
11332         * NEWS, man/Attic/newgrp.1:
11333         fix #251926, #166173, #113191 Debian bugs: explain why editing /etc/group
11334         (without gshadow) doesn't permit to use newgrp.
11335
11336         * 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:
11337         added/fixed Plural-Forms: header entries. Run "make update-po".
11338
11339         * po/pl.po:
11340         added Plural-Forms: header entry and updated for last change in
11341         libmisc/failure.c.
11342
11343         * libmisc/failure.c:
11344         break message text with failure login since last login.
11345
11346         * libmisc/failure.c:
11347         Use ngettext instead of string concatenation and static number of cases.
11348         Patch by Tommi Vainikainen <tvainika@cc.hut.fi>.
11349
11350 2005-04-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
11351
11352         * po/cs.po:
11353         new translation maintainer: Miroslav Kure <kurem@debian.cz>.
11354
11355 2005-04-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11356
11357         * po/pl.po: updated for 4.0.8.
11358
11359 2005-04-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11360
11361         * 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:
11362         changed faillog records display format for allow fit in 80 columns all
11363         faillog atributies.
11364
11365         * 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:
11366         run "make update-po". Updated pl.po.
11367
11368         * src/faillog.c (usage): typo (s,IDAYS,DAYS,).
11369
11370         * man/Attic/faillog.8, NEWS:
11371         updated after rewrite faillog command for use getopt_long().
11372
11373         * src/faillog.c:
11374         Add handle -h,--help option. Show in usage output information about
11375         -t,--time option. Remove handle -p option.
11376
11377         * 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:
11378         run "make update-po".
11379
11380         * po/POTFILES.in: updated.
11381
11382         * man/Attic/gpasswd.1: typo (s,fB,\fB,).
11383
11384 2005-04-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
11385
11386         * NEWS, man/ja/login.1:
11387         updated ja man page for Debian #95213 bug (by Kenshi Muto <kmuto@debian.org>).
11388
11389         * 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:
11390         next round of cleanups: removed NDBM code (unused).
11391
11392         * src/login.c: consilidate some !USE_PAM lines.
11393
11394         * src/login.c, src/login_nopam.c:
11395         move bad_time_notify() and check_nologin() to src/login_nopam.c.
11396
11397         * lib/prototypes.h: remove not used login_desrpc() prototype.
11398
11399         * lib/Attic/rad64.c, lib/encrypt.c, lib/prototypes.h, lib/Makefile.am:
11400         remove lib/rad64 with not used c64i() and i64c() functions.
11401
11402         * lib/encrypt.c:
11403         remove "#ifdef SW_CRYPT .. #endif" and "#ifdef DOUBLESIZE .. #endif" unused code.
11404
11405         * lib/encrypt.c: remove "#ifdef MD5_CRYPT .. #endif" unused code.
11406
11407         * libmisc/salt.c:
11408         remove prototypes for *l64a() and add #include <stdlib.h>. Remove unused
11409         now code (old style random salt generator).
11410
11411         * src/chage.c: cleanups.
11412
11413         * src/chpasswd.c:
11414         remove prototypes for *l64a() and add #include <stdlib.h>.
11415
11416         * src/login.c: remove login_fbtab() prototype.
11417
11418         * src/chage.c:
11419         remove prototypes for a64l() and *l64a() and add #include <stdlib.h>.
11420
11421 2005-04-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11422
11423         * 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:
11424         more replaces "-" by "\-" (s,\\-,-,g; s,-,\\-,g).
11425
11426         * man/pl/usermod.8: finish sync with english version.
11427
11428         * man/hu/login.1, man/pl/login.1, NEWS, man/Attic/login.1, man/de/login.1:
11429         removed fragment about abilities pass enviroment variables in login prompt.
11430
11431         * man/Attic/gpasswd.1, man/Attic/newgrp.1:
11432         fixes by Nicolas Nicolas François <nicolas.francois@centraliens.net> (not all
11433         commited).
11434
11435 2005-04-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11436
11437         * 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:
11438         replace all "-" by "\-" (s,\\-,-,; s,-,\\-,).
11439
11440         * man/cs/groups.1: cleanups.
11441
11442         * NEWS, src/su.c:
11443         fixed use of SU_WHEEL_ONLY in su. Now su realy is avalaible for wheel group
11444         members. Thanks to Mike Frysinger <vapier@gentoo.org> for report:
11445         http://bugs.gentoo.org/show_bug.cgi?id=80345
11446
11447         * man/pl/Attic/chage.1.xml:
11448         converted from roff using doclifter. Rewrited by hand. Probably will be
11449         removed after prepare infrastructure for translate man pages using gettext
11450         but temporary I need this for some experiments.
11451
11452         * src/login.c: remove unused #ifded LOGIN_FBTAB .. #endif code.
11453
11454         * configure.in, libmisc/Attic/login_access.c, libmisc/Makefile.am, src/Makefile.am, src/login.c, src/login_nopam.c:
11455         move libmisc/login_access.c to src/login_mopam.c.
11456         Remove using LOGIN_ACCESS #define. Now LOGIN_ACCESS is equal to !USE_PAM.
11457         In src/login_nopam.c will be cumulated non-PAM specyfic login code.
11458
11459         * src/lastlog.c, src/login.c, src/useradd.c, src/usermod.c, libmisc/log.c:
11460         cleanups: remove using #include "lastlog_.h".
11461
11462         * src/login.c: fixed build with PAM support disabled.
11463
11464         * src/login.c: remove "#ifdef HUP_MESG_FILE .. #endif" code.
11465
11466         * src/login.c: reindent using -l80.
11467
11468         * man/Attic/chage.1, man/chage.1.xml:
11469         s/chage/chage command/ in DESCRIPTION.
11470
11471         * man/chage.1.xml:
11472         converted from roff using doclifter. Rewrited by hand.
11473
11474         * 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:
11475         cleanups.
11476
11477         * man/Attic/pwconv.8: fixed typo: s,fI,\fI,
11478
11479         * po/POTFILES.in: remove libmisc/login_{desrpc,krb}.c.
11480
11481         * lib/getdef.c, libmisc/Attic/login_desrpc.c, libmisc/Attic/login_krb.c, libmisc/Makefile.am, src/login.c, NEWS, autogen.sh, configure.in:
11482         drop never finished kerberos and des_rpc support.
11483
11484         * man/it/chfn.1: cleanups.
11485
11486 2005-04-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
11487
11488         * NEWS, configure.in:
11489         fixed UTMP path detection (by Kelledin <kelledin@users.sf.net>).
11490
11491         * man/fr/chsh.1: typo.
11492
11493         * man/de/Makefile.am, man/de/passwd.5:
11494         imported from Deutscher manpages.
11495
11496         * man/cs/Makefile.am, man/cs/groups.1, man/cs/lastlog.8, man/cs/su.1:
11497         new files imported from Czech man-pages.
11498
11499         * 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:
11500         cleanups: aded missing \fR.
11501
11502         * man/Attic/gpasswd.1, man/Attic/gshadow.5, man/Makefile.am, NEWS:
11503         added new file (by Nicolas Nicolas François <nicolas.francois@centraliens.net>).
11504
11505 2005-03-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
11506
11507         * man/pl/chage.1, man/pl/chfn.1, man/pl/chsh.1, man/pl/gpasswd.1:
11508         added missing \fR.
11509
11510         * man/pl/groupmod.8: typo: s,\fI,\fR,
11511
11512         * man/pl/login.1, man/pl/passwd.1: cleanups: aded missing \fR.
11513
11514         * man/pl/sulogin.8: cleanups.
11515
11516         * man/pl/useradd.8: cleanups: aded missing \fR.
11517
11518         * man/pl/usermod.8: partialy synced with english version.
11519
11520         * man/Attic/usermod.8: typo.
11521
11522         * NEWS, man/Attic/usermod.8:
11523         fixed #302388 Debian bug: added separated -o option description.
11524
11525         * lib/getdef.c:
11526         FAILLOG_ENAB, LOGIN_STRING moved to code "#ifndef USE_PAM" dependent.
11527
11528         * lib/pwauth.c, lib/pwauth.h: enable pw_auth() only #ifndef USE_PAM.
11529
11530         * 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:
11531         reindent all source code using -l80.
11532
11533         * libmisc/.indent.pro, src/.indent.pro, lib/.indent.pro: -l80 added.
11534
11535         * lib/gshadow.c, NEWS:
11536         rewrited group count to dynamic (by John Newbigin <jnewbigin@ict.swin.edu.au >).
11537
11538         * 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:
11539         run "make update-po".
11540
11541         * src/login.c: use allways "\n%s login: " login prompt.
11542
11543         * src/login.c: removed radius support (even not compiles).
11544
11545         * doc/Attic/README.mirrors, doc/Makefile.am: removed.
11546
11547         * src/userdel.c (update_user): removed next redundant closing }.
11548
11549         * src/userdel.c: remove using unused NO_REMOVE_MAILBOX #define.
11550
11551         * src/userdel.c (update_user): removed redundant closing }.
11552
11553 2005-03-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
11554
11555         * lib/getdef.c:
11556         move PASS_MAX_DAYS, PASS_MIN_DAYS and PASS_WARN_AGE to part PAM not dependent
11557         (used in useradd, pwconv).
11558
11559         * configure.in, src/Makefile.am:
11560         move define LOCALEDIR using AC_DEFINE_UNQUOTED() to src/Makefile.am::AM_CPPFLAGS.
11561
11562         * man/Attic/pwconv.8: typo in bold.
11563
11564         * doc/Attic/INSTALL: removed.
11565
11566         * doc/Attic/README.sun4, doc/Makefile.am: removed outdated README.sun4.
11567
11568 2005-03-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11569
11570         * po/pl.po: put mine data in Last-Translator: field.
11571
11572         * src/newusers.c:
11573         use the same as in useradd default UMASK (022 instead 077) if diffrent not
11574         defined in login.defs.
11575
11576         * NEWS, libmisc/copydir.c:
11577         added SELinux changes (based on Fedora patch).
11578
11579         * NEWS: typo.
11580
11581         * man/Attic/login.defs.5: typo in bold.
11582
11583         * src/chfn.c, src/chsh.c, lib/getdef.c:
11584         move CHFN_AUTH, CHSH_AUTH variables from login.defs to part !USE_PAM dependent.
11585         Use "auth required pam_unix.so" in /etc/pam.d/{chfn,chsh} for force enter password
11586         on use chfn/chsh.
11587
11588         * lib/getdef.c: added CHSH_AUTH variable in def_table[] table.
11589
11590         * src/chsh.c: s/CHFN_AUTH/CHSH_AUTH/
11591
11592         * man/Attic/shadow.5, man/Attic/passwd.5:
11593         add more accurate information about what contains field with encrypted password in
11594         each passwd/shadow line (reported by Mike Brodbelt).
11595
11596         * autogen.sh: reorder.
11597
11598         * lib/getdef.c:
11599         CRACKLIB_DICTPATH, ENV_HZ, ENV_PATH, ENV_ROOTPATH, ENV_SUPATH, ENV_TZ,
11600         ENVIRON_FILE, FTMP_FILE, ISSUE_FILE, LASTLOG_ENAB, MAIL_CHECK_ENAB, MAIL_DIR,
11601         MAIL_FILE, MD5_CRYPT_ENAB, MOTD_FILE, NOLOGINS_FILE, OBSCURE_CHECKS_ENAB,
11602         PASS_ALWAYS_WARN, PASS_CHANGE_TRIES, PASS_MAX_DAYS, PASS_MAX_LEN, PASS_MIN_DAYS,
11603         PASS_MIN_LEN, PASS_WARN_AGE, PORTTIME_CHECKS_ENAB, SU_WHEEL_ONLY, QMAIL_DIR,
11604         QUOTAS_ENAB, ULIMIT variables moved to code "#ifndef USE_PAM" dependent.
11605
11606         * configure.in:
11607         fix importand typo: added missing ",". Now LOGIN_ACCESS realy is defined only
11608         when PAM is not enabled.
11609
11610         * libmisc/obscure.c, libmisc/limits.c:
11611         all functions from this file are "#ifndef USE_PAM" dependent.
11612
11613         * libmisc/setugid.c (change_uid):
11614         removed dead code depndent on "#ifdef BSD".
11615
11616         * libmisc/ttytype.c (ttytype):
11617         removed dead code depend on "defined(SUN) || defined(BSD) || defined(SUN4)".
11618
11619         * src/login.c (setup_tty): remove dead code.
11620
11621         * libmisc/rlogin.c:
11622         fix compilation warning: replace #include <unistd.h> by #include <netdb.h>
11623         where ruserok() is declared.
11624
11625 2005-03-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11626
11627         * po/pl.po: kill one fuzzy entry.
11628
11629 2005-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11630
11631         * NEWS, libmisc/log.c:
11632         fixed create lastlog entry fo users never loged in on non-PAM
11633         variant of login (fix by <oracular@ziplip.com>).
11634
11635 2005-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11636
11637         * NEWS, etc/Attic/login.defs.linux, etc/login.defs, lib/getdef.c, man/pl/login.defs.5:
11638         remove handle login.defs::NOLOGIN_STR (never used).
11639
11640 2005-02-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11641
11642         * man/Attic/shadow.5:
11643         added missing '\&' in line starting with '\.', which causes groff to skip
11644         it entirely (fix submited by Danilo Piazzalunga <danilopiazza@libero.it>).
11645
11646         * TODO: cleanups.
11647
11648 2005-02-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11649
11650         * src/useradd.c, NEWS:
11651         useradd: fixes a potential security problem when mailbox is created in
11652         useradd.
11653         Patch and comment by Koblinger Egmont <egmont@uhulinux.hu>:
11654         Only two arguments are passed to the open() call though it expects three
11655         because O_CREAT is present. Hence the permission of the file first becomes
11656         some random garbage found on the stack, and an attacker can perhaps open
11657         this file and hold it open for reading or writing before the proper
11658         fchmod() is executed. (Actually, we could also pass the final "mode" to
11659         the open() call and then save the consequent fchmod().)
11660
11661 2005-02-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11662
11663         * NEWS, po/LINGUAS, po/tl.po:
11664         added tl translation (fron Debian resources).
11665
11666 2005-02-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11667
11668         * NEWS, src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c:
11669         SELinux changes: added changes in chage, chfn, chsh, passwd for allow
11670         construct more grained user password/accuunt properties on SELinux
11671         policies level. Patch originally based on RH changes (submited by Chris
11672         PeBenito <pebenito@gentoo.org>)
11673
11674 2005-02-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11675
11676         * po/fr.po, NEWS:
11677         updated translation (by Jean-Luc Coulon <jean-luc.coulon@wanadoo.fr>) from
11678         Debian resources.
11679
11680 2005-01-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11681
11682         * NEWS, configure.in: open work on 4.0.8.
11683
11684 2005-01-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11685
11686         * 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:
11687         "make update-po".
11688
11689 2005-01-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11690
11691         * NEWS, po/it.po:
11692         updated it translations (by Danilo Piazzalunga <danilopiazza@libero.it>).
11693
11694 2005-01-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11695
11696         * libmisc/rlogin.c: remove ruserok() prototyle and #include <unistd.h>.
11697
11698         * lib/getdef.c: remove strtol() prototype (it comes with <stdlib.h>).
11699
11700         * po/da.po, po/es.po, po/nl.po, po/pl.po, po/pt.po:
11701         "Project-Id-Version: shadow 4.0.7".
11702
11703         * NEWS, po/fi.po:
11704         updated fi translation (by Tommi Vainikainen <thv+debian@iki.fi>).
11705
11706 2005-01-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11707
11708         * po/da.po, po/es.po, po/pl.po, po/pt.po: kill fuzzy entries.
11709
11710         * po/nl.po, NEWS:
11711         updated nl translations (by cobaco (aka Bart Cornelis)" <cobaco@linux.be>).
11712
11713         * lib/Makefile.am (libshadow_la_LIBADD): removed snprintf.h.
11714
11715         * NEWS, po/LINGUAS, po/zh_TW.po:
11716         added zh_TW translation (from Debian resources).
11717
11718         * 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:
11719         "make update-po".
11720
11721         * 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:
11722         "less means better" added fixes which makes english texts more consistent
11723         especially with capitalization issues. Based on fixes by Tommi Vainikainen
11724         <thv+debian@iki.fi> (make all text begining from lower case .. not upper).
11725         This patch cuts i18n entries in each po/*po file from 420 to 402.
11726
11727 2005-01-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11728
11729         * NEWS: added pt to updated translations.
11730
11731         * lib/defines.h: reverte last change (mistake).
11732
11733         * po/pt.po:
11734         updated translation by Miguel Figueiredo <elmig@debianpt.org>.
11735
11736 2005-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
11737
11738         * NEWS: typo.
11739
11740         * NEWS: update da, es and pl (100%) translations.
11741
11742         * po/pl.po: finish translations.
11743
11744         * po/da.po: updated translations by Claus Hindsgaul <claus_h@image.dk>.
11745
11746         * NEWS, TODO: Typos found by Claus Hindsgaul <claus_h@image.dk>.
11747
11748         * po/es.po: Updates from Ruben Porras <nahoo@inicia.es>.
11749
11750         * lib/defines.h: - remove usong shadow_.h.
11751
11752         * po/pl.po: kill fuzzy.
11753
11754         * 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:
11755         remove unused now files in lib/ directory.
11756
11757         * 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:
11758         Now correctly shadow passes "make distcheck".
11759
11760         * NEWS: typo.
11761
11762 2005-01-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11763
11764         * 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:
11765         switch faillog ro use getopt_long().
11766
11767         * etc/pam.d/su: aded line with "session required pam_env.so".
11768
11769 2004-12-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
11770
11771         * man/de/Makefile.am, man/de/vigr.8, man/de/vipw.8, NEWS:
11772         added de vigr(8), vipw(8) man pages (from Debian resources).
11773
11774 2004-12-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
11775
11776         * po/LINGUAS, po/ro.po, po/sq.po, NEWS:
11777         added ro, sq translations (from Debian resources).
11778
11779 2004-12-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11780
11781         * configure.in:
11782         added checing is fseeko() function is avalaibabe in system: added fseeko to
11783         AC_CHECK_FUNCS parameters.
11784
11785         * lib/Makefile.am:
11786         fixed warning message about incorrect try linking non-PIC code with shared
11787         library: removed $(top_builddir)/libmisc/libmisc.a from libshadow_la_LIBADD.
11788
11789         * NEWS:
11790         - final entry about fixed large file support in lastlog and faillog.
11791
11792         * src/vipw.c, lib/Attic/pwent.c, lib/Attic/grent.c:
11793         use fseeko() instead fseek(). This not realuy neccessary because in this
11794         cases fseek() was used for move to begin of file. This only for minimize
11795         external functions count.
11796
11797         * src/faillog.c:
11798         fixes for allow operate on large files by faillog: use fseeko() instead
11799         fseek().
11800
11801         * src/lastlog.c:
11802         fixes for allow operate lastlog on large files: use fseeko() instead fseek()
11803         and do not casrt file offsets to unsigned long (based on large-file patch
11804         from FC).
11805
11806         * src/faillog.c: fixed typo in usage().
11807
11808 2004-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11809
11810         * man/pl/newgrp.1: fixed typo in bold macro.
11811
11812 2004-12-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11813
11814         * man/pl/chpasswd.8: remove bold from NAZWA section.
11815
11816 2004-12-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11817
11818         * src/faillog.c: remove using Prog variable.
11819
11820         * configure.in, NEWS:
11821         fixed large file support: added AC_SYS_LARGEFILE macro to autoconf.
11822
11823         * man/Attic/groupmod.8, man/pl/groupmod.8: separate OPTIONS section.
11824
11825         * man/pl/chpasswd.8: sync with english version.
11826
11827         * man/Attic/chpasswd.8:
11828         bold "chpasswd" command name in CAVEATS section.
11829
11830         * man/Attic/chpasswd.8: s/protect/protected/
11831
11832         * man/pl/lastlog.8: cleanups.
11833
11834         * man/Attic/chpasswd.8, man/Attic/lastlog.8, man/Attic/newusers.8:
11835         remove bold from NAME section.
11836
11837         * man/it/groupadd.8, man/it/useradd.8: separate OPZIONI section.
11838
11839         * man/pl/groupmems.8: fixes in OPCJE section.
11840
11841         * man/Attic/chpasswd.8: more cleanups.
11842
11843 2004-12-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
11844
11845         * 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:
11846         Fixed varoiuse typos and misspeling based partialy on patch from Bug#141322
11847         from Debian (submited by Christian Perrier <bubulle@debian.org>).
11848
11849         * man/Attic/chpasswd.8: more cleanups.
11850
11851         * man/pl/faillog.8, man/Attic/faillog.8, man/ja/faillog.8:
11852         remove from OPTIONS section information about avalaibability on some systems
11853         faillog database in other location thad listed in FILES section.
11854
11855         * man/Attic/chpasswd.8: updated.
11856
11857         * man/fr/faillog.5:
11858         fixed FICHIERS secttion: corrected change to italic on /var/log/faillog.
11859
11860         * src/faillog.c:
11861         move main() to the end of file and reorder rest functions. Now declararion
11862         finction prototypes can be removed.
11863
11864 2004-12-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11865
11866         * NEWS: updated.
11867
11868         * man/pl/lastlog.8: synced with current english version.
11869
11870         * man/Attic/lastlog.8: use the same style as in chpasswd(8).
11871
11872         * 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:
11873         "make update-po" after rewrite lastlog.
11874
11875         * src/lastlog.c: Rewrite for use the same style as in chpasswd.c.
11876         Move open lastlog file after commadline option parsing so now --help option
11877         can be used by user without read access to lastlog file.
11878
11879         * src/chpasswd.c:
11880         s/display this help and exit/display this help message and exit/ in ussage()
11881         output.
11882
11883         * 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:
11884         "make update-po".
11885
11886         * src/chpasswd.c:
11887         Added handle -h|--help option. Improved and updated ussage() output.
11888
11889 2004-12-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11890
11891         * 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:
11892         "make update-po" and resolve fuzzy with last change in src/chpasswd.c.
11893
11894         * src/chpasswd.c, NEWS:
11895         switch chpasswd to use getopt_long() and adds a --md5 option
11896         (by Ian Gulliver <ian@penguinhosting.net>).
11897
11898         * NEWS, configure.in: start work on 4.0.7.
11899
11900 2004-11-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11901
11902         * NEWS: cleanups.
11903
11904         * 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:
11905         removed not used translations.
11906
11907         * NEWS, src/su.c:
11908         fix adding of pam_env env variables to enviroment (Martin Schlemmer <azarah@nosferatu.za.org>).
11909
11910         * NEWS, configure.in:
11911         fixed filling MAIL_SPOOL_DIR and MAIL_SPOOL_FILE variables which was allways
11912         empty (Gregorio Guidi <g.guidi@sns.it>)
11913
11914         * NEWS: updated.
11915
11916         * 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:
11917         do not translate variable names from /etc/default/useradd during "useradd -D".
11918
11919 2004-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
11920
11921         * 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:
11922         correction: groups/users with gid/uid 0 and 999 are reserved for system accounts.
11923
11924         * 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:
11925         zgroups/users with gid/uid 0 and 499 are typically reserved for system accounts.
11926
11927 2004-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11928
11929         * 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:
11930         separated OPTIONS section.
11931
11932         * lib/commonio.c: reverte last change.
11933
11934         * libmisc/pwdcheck.c:
11935         one word fix .. ommited "else" was removed. Now security bug which allow
11936         unauthorized account properties modification is realy closed.
11937
11938 2004-10-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
11939
11940         * lib/commonio.c:
11941         add matchpathcon to create the files correctly when they do not exist (based
11942         on patch from FC).
11943
11944         * man/Attic/passwd.1: fixed two typos ("/" in incorrect place).
11945
11946 2004-10-27  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
11947
11948         * etc/pam.d/useradd: - added header
11949
11950         * etc/pam.d/chfn, etc/pam.d/chsh, etc/pam.d/userdel: - fixed header
11951
11952 2004-10-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
11953
11954         * etc/pam.d/chfn, etc/pam.d/chsh, etc/pam.d/userdel:
11955         added missing template/example PAM service config files for chfn, chsh, userdel.
11956
11957         * NEWS, configure.in: start 4.0.6.
11958
11959 2004-10-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11960
11961         * 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:
11962         remove adduser(8) roff include man page to useradd(8).
11963
11964         * lib/Makefile.am: more fixes for non-inst libmisc.
11965
11966         * libmisc/Makefile.am, src/Makefile.am, NEWS:
11967         change libmisc to private static library.
11968
11969         * etc/pam.d/Makefile.am: typo.
11970
11971 2004-10-24  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
11972
11973         * po/pl.po: - more translation/formatting fixes
11974
11975         * po/pl.po: - updated translation
11976
11977         * 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:
11978         - make update-po, updated usage() translation
11979
11980         * src/useradd.c: - syntax fix for useradd in usage()
11981
11982         * 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:
11983         - usage() formatting and other fixes
11984
11985         * po/fi.po: - proper UTF
11986
11987         * po/pl.po: - pl translation fixes/updates by Jakub Bogusz
11988
11989 2004-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11990
11991         * 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:
11992         use default path to PAM modules.
11993
11994         * 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:
11995         Remove shadow PAM config file. Added PAM config files for: chage, chpasswd,
11996         groupadd, groupdel, groupmod, login, newusers.
11997
11998         * 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:
11999         "make update-po".
12000
12001         * configure.in: reverte previous incorrect commit.
12002
12003         * NEWS, src/su.c:
12004         add pam_open_session() support. If builded without PAM support
12005         propagate $DISPLAY and $XAUTHORITY enviroment variables.
12006         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
12007
12008 2004-10-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12009
12010         * configure.in: cleanups.
12011
12012         * lib/defines.h:
12013         define syslog() depending on ENABLE_NLS (not on HAVE_SETLOCALE).
12014
12015 2004-10-23  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12016
12017         * man/fr/Makefile.am: - killed non-existent manpage
12018
12019 2004-10-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12020
12021         * libmisc/copydir.c, NEWS:
12022         when placing symlinks into /etc/skel copy_tree of libmisc/copydir.c will
12023         properly create the symlink in the destination directory but not change the
12024         ownership to the target user/group. This makes httpd Option
12025         SymlinkIfOwnerMatch break for default weg pages including symlinks placed
12026         into /etc/skel/public_html for example.
12027         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=66819
12028
12029 2004-10-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
12030
12031         * src/Makefile.am:
12032         seems I foud CorrectWay(tm) for add some symlinks on install target.
12033
12034         * po/pl.po: more fixes.
12035
12036         * po/pl.po: added missing \n.
12037
12038         * 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:
12039         more verbose/human readable -l output. This output is much more beter for
12040         send directly via email for each users as message with account status (for
12041         example as message with warning about account/password expiration).
12042
12043         * configure.in: start prepare for 4.0.5.
12044
12045         * src/Makefile.am, libmisc/Makefile.am, lib/Makefile.am, configure.in:
12046         move LOCALEDIR to autoheader variables. Remove redefining DEFS in
12047         Makefile.am (not neccessary now).
12048
12049         * 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:
12050         applied OWL shadow-4.0.4.1-owl-pam-auth.diff patch by Solar Designer
12051         <solar@openwall.com>:
12052           Moved the PAM authentication in user management commands after
12053           command-line parsing, made it use separate service names for each command.
12054           Use constant strings rather than argv[0] for syslog ident in the user
12055           management commands.
12056
12057         * man/Attic/useradd.8:
12058         reword the useradd manpage a little to make it more clear. Fix from:
12059         http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-apps/shadow/files/shadow-4.0.4.1-useradd-manpage-update.patch?rev=1.1
12060
12061         * configure.in: added libselinux detection.
12062
12063         * lib/Makefile.am, lib/commonio.c, lib/commonio.h, NEWS, autogen.sh, configure.in:
12064         added SELinux support (basing on patch from Gentoo).
12065
12066         * man/fr/Makefile.am (man_MANS): added getspnam.3.
12067
12068 2004-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12069
12070         * 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:
12071         English grammar fix: s/is a not a valid group name/is not a valid group name/
12072         (pointed by Mike Frysinger <vapier@gentoo.org>).
12073
12074 2004-10-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
12075
12076         * NEWS, src/userdel.c:
12077         When removing a user with userdel, userdel always exits 1 (fixed).
12078         Based on http://bugs.gentoo.org/show_bug.cgi?id=66687.
12079
12080 2004-08-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12081
12082         * configure.in:
12083         Use AC_SEARCH_LIBS() for inet_ntoa(), socket(), gethostbyname() probing (instead AC_CHECK_FUNC()).
12084
12085 2004-08-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12086
12087         * man/Makefile.am: shadow(3) man page moved to man_MANS.
12088
12089         * libmisc/ttytype.c: Removed getenv() prototype (it is in <stdlib.h>).
12090
12091         * src/Attic/mkpasswd.c:
12092         Removed fgetsx() prototype (it is in lib/prototypes.h).
12093
12094         * man/it/vigr.8: Fixed typo (s/wipw/vipw/).
12095
12096 2004-08-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12097
12098         * NEWS: Typo.
12099
12100         * 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:
12101         Run "make update-po".
12102
12103         * po/ca.po, po/da.po, po/nl.po, po/pt_BR.po: Converted to UTF-8.
12104
12105         * po/LINGUAS: Typo.
12106
12107         * 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:
12108         New translations: bs, ca, da, eu, he, id, nb, nl, nn, pt, pt_BR, tr,
12109         zh_CN (stolen froM Debian)
12110
12111         * 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:
12112         Corrected section number.
12113
12114 2004-08-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12115
12116         * 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:
12117         Options description in alphabetical order.
12118
12119         * NEWS, src/login.c:
12120         Applied 036_pam_access_with_preauth.patch Debian patch submited by Bjorn
12121         Torkelsson <Bjorn.Torkelsson@hpc2n.umu.se>: add support for PAM account
12122         management to restrict access using pam_access when login is invoked with -f.
12123
12124 2004-06-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12125
12126         * man/Attic/getspnam.3: added roff link to shadow(3).
12127
12128         * man/Makefile.am (man_MANS): added getspnam.3.
12129
12130 2004-06-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
12131
12132         * NEWS, lib/commonio.c, lib/getdef.c, src/vipw.c:
12133         Applied OWL shadow-4.0.4.1-owl-check-reads.diff patch by Solar Designer.
12134         Add checking for read errors in commonio and vipw/vigr (not doing so could
12135         result in data loss when the records are written back).
12136
12137         * NEWS: Add note about apply shadow-4.0.4.1-owl-tmp.diff OWL patch.
12138
12139         * src/useradd.c, configure.in:
12140         Remove looking for mkstemp() prototype and allways use mkstemp() (removed
12141         using mktemp if mkstemp() not found).
12142         Partialy based on tmp OWL patch by Solar Designer <solar@openwall.com>.
12143
12144         * NEWS, libmisc/pwdcheck.c:
12145         Fixed securirty bug which allow unauthorized account properties modification.
12146         Affected tools: chfn and chsh.
12147         Bug was discovered by Martin Schulze <joey@infodrom.org>.
12148
12149 2004-05-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12150
12151         * NEWS: typo.
12152
12153         * NEWS, po/LINGUAS, po/it.po:
12154         added it translation (by Danilo Piazzalunga <danilopiazza@libero.it>).
12155
12156 2004-05-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12157
12158         * NEWS: typos.
12159
12160         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
12161
12162 2004-05-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12163
12164         * po/sk.po: run "make update-po".
12165
12166         * NEWS, po/LINGUAS, po/sk.po:
12167         added sk translation (by Mann <Peter.Mann@tuke.sk>, submited by Christian
12168         Perrier <bubulle@kheops.frmug.org>).
12169
12170 2004-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12171
12172         * configure.in:
12173         Use autoconf cache variables for file and directory location tests (by
12174         Maciej W. Rozycki  <macro@ds2.pg.gda.pl>).
12175
12176 2004-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12177
12178         * man/Attic/passwd.5:
12179         Correct path directory delimiters (by Maciej W. Rozycki <macro@ds2.pg.gda.pl>).
12180
12181         * libmisc/xmalloc.c (malloc):
12182         Remove the declaration (by Maciej W. Rozycki <macro@ds2.pg.gda.pl>).
12183
12184 2004-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12185
12186         * src/login.c, NEWS:
12187         Fixed handle -f option: now it works correctly without specify "-h
12188         <host>" if open login session localy is required (thanks for help
12189         investigate bug for Krzysztof Kotlenga).
12190
12191         * po/es.po: Updated (by Ruben Porras <nahoo82@telefonica.net>).
12192
12193 2004-04-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12194
12195         * 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:
12196         Run "update-po".
12197
12198 2004-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
12199
12200         * po/es.po: Updated to current (by run "update-po").
12201
12202         * po/es.po: Converted to utf-8.
12203
12204         * po/LINGUAS: Added es.
12205
12206         * po/es.po, NEWS:
12207         Added es translation (by Ruben Porras <nahoo82@telefonica.net>).
12208
12209 2004-04-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12210
12211         * po/ko.po, NEWS:
12212         Updated ko translations (by Changwoo Ryu <cwryu@debian.org>).
12213
12214 2004-04-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
12215
12216         * po/fi.po: iconv -f iso8859-9 -t utf8
12217
12218 2004-03-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12219
12220         * libmisc/age.c:
12221         Use endsgent() conditionaly depending on SHADOWGRP (fix submited by Gabor Z.
12222         Papp <gzp@papp.hu>).
12223
12224         * po/LINGUAS, po/fi.po, NEWS:
12225         Added fi translation (by Tommi Vainikainen <thv@iki.fi>).
12226
12227         * README: Fixed shadow and shadow-commit lists on-line archives URLs.
12228
12229 2004-01-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12230
12231         * NEWS, configure.in, man/fr/Makefile.am, man/hu/Makefile.am, man/it/Makefile.am:
12232         New version 4.0.4.1
12233         bug fixes in automake files for generate correct tar ball on "make dist":
12234         added midsiing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
12235
12236         * man/ko/Makefile.am: New version 4.0.4.1
12237         bug fixes in automake files for generate correct tar ball on "make dist":
12238         added missing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
12239
12240         * man/de/Makefile.am, man/es/Makefile.am: New version 4.0.4.1
12241         bug fixes in automake files for generate correct tar ball on "make dist":
12242         added midsiing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
12243
12244         * configure.in: Fixed checking is avalaible st_rdev in struct stat.
12245
12246 2004-01-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
12247
12248         * po/pl.po: Typo.
12249
12250         * man/pl/useradd.8: Cleanups in SYNOPSIS.
12251
12252 2004-01-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12253
12254         * po/pl.po: Cleanups.
12255
12256 2004-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12257
12258         * configure.in: Cleanups after autoupdate.
12259
12260 2004-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12261
12262         * 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:
12263         Added missing information about -f options in groupadd usage mesage (document
12264         this also in man page).
12265
12266 2003-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12267
12268         * lib/Attic/lastlog_.h, libmisc/log.c, libmisc/utmp.c, src/lastlog.c, src/login.c:
12269         More time() or gettimeofday() prevention overwrite memory on 64bit arch
12270         (partialy based on patch from MDK).
12271
12272         * 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:
12273         Post remove TCFS support "make update-po".
12274
12275         * man/Makefile.am: Removed getspnam.3 from EXTRA_DIST.
12276
12277         * po/POTFILES.in: Removed lib/tcfsio.c.
12278
12279         * lib/Attic/tcfsio.c, lib/Attic/tcfsio.h, lib/Makefile.am, src/passwd.c, src/userdel.c, NEWS, configure.in, doc/Attic/README.pam:
12280         Removed TCFS support (tcfs is dead).
12281
12282         * configure.in:
12283         Added using AM_MAINTAINER_MODE. AC_INIT without parameters.
12284
12285         * Attic/acconfig.h, configure.in:
12286         Cleanups on autoheadres level: use AC_DEFINE(VAR, VAL, [Comment]) for
12287         USE_PAM, HAVE_TCFS and TCFS_GDBM_SUPPORT.
12288
12289         * src/newusers.c, src/useradd.c, Attic/acconfig.h, autogen.sh, lib/Attic/pwpack.c, NEWS:
12290         Remove all old BSD_QUOTA dependent code.
12291
12292 2003-12-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
12293
12294         * lib/Makefile.am, libmisc/Makefile.am, src/Makefile.am:
12295         Removed -I$(top_srcdir) from INCLUDES (isn't neccessary becaus this is in
12296         DEFAULT_INCLUDES) - slightly shorter compile output.
12297
12298         * Makefile.am, configure.in:
12299         Added using AM_GNU_GETTEXT([external]) - removed intl SUBDIRS.
12300         Added locale.h to AC_CHECK_HEADERS() - lib/defines.h have part which depends
12301         on HAVE_LOCALE_H.
12302
12303         * lib/nscd.h: Added missing newline at end of file.
12304
12305         * Attic/acconfig.h: Remove unused (#un)defines.
12306
12307         * autogen.sh: Typo.
12308
12309         * autogen.sh: Much more simpler script - use autoreconf.
12310
12311         * 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:
12312         "make update-po".
12313
12314 2003-12-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12315
12316         * po/LINGUAS: Languages list for gettext 1.12.x.
12317
12318 2003-10-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12319
12320         * po/pl.po: Kill fuzzy entries.
12321
12322 2003-10-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12323
12324         * man/Attic/usermod.8:
12325         Typo: missing "." on end of sentence (submited by Stepan Kasal <kasal@ucw.cz>).
12326
12327 2003-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12328
12329         * 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:
12330         convert all po/*.po files to utf-8.
12331
12332 2003-09-05  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12333
12334         * po/ru.po: - fixed header
12335
12336 2003-07-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12337
12338         * 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:
12339         Otput "passwd: password updated successfully\n" message on successfull
12340         password change (based on Debian changes).
12341
12342         * src/newgrp.c: Remove work around for unsecure gettext.
12343
12344 2003-06-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12345
12346         * src/useradd.c, src/usermod.c:
12347         Added initializing memory in variables when get_groups() function is not called,
12348         and memory allocated for user_groups is not initialized (in both useradd and
12349         usermod when -G options is used and in usermod when -l option is used).
12350         That causing segfaults sometimes.
12351         This fix is importand but not critical because usermod and usermod aren't suid
12352         root.
12353         Problem reported and fixed by Alexey Voinov <voins@altlinux.ru>.
12354
12355 2003-06-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
12356
12357         * man/Attic/login.1: Fixed FILES section.
12358
12359         * 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:
12360         Indented.
12361
12362         * src/chage.c: Move *flg variables to global.
12363
12364         * Attic/acconfig.h: Comment for USG.
12365
12366 2003-05-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12367
12368         * man/de/chfn.1, man/de/login.1:
12369         Fixed section name (s/NAME/BEZEICHNUNG/).
12370
12371         * man/de/chfn.1, man/de/chsh.1: Sync FILES section with en version.
12372
12373         * man/Attic/login.1: Typo (s/avr/var/).
12374
12375         * man/de/login.1: Sync FILES section with en man version.
12376
12377         * man/de/chfn.1, man/de/chsh.1, man/de/login.1: Remove ^M from EOL.
12378
12379         * man/de/login.1, man/de/Makefile.am, man/de/chfn.1, man/de/chsh.1, NEWS:
12380         Next round updates from Josef Spillner <josef@ggzgamingzone.org>: update
12381         chsh(1), login(1) and added new chfn(1) german man pages.
12382
12383         * NEWS: Added info about remove d_passwd(5), dialups(5) man pags.
12384
12385 2003-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12386
12387         * 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:
12388         One TODO entry gone: fix nscd flushing databases on change (use
12389         per service flushing method instead HUPing nscd process).
12390
12391         * lib/Makefile.am, lib/commonio.c, lib/nscd.c, lib/nscd.h, libmisc/Attic/nscd.c, libmisc/Attic/nscd.h, libmisc/Makefile.am:
12392         Move nscd.{c,h} from libmisc/ to lib/.
12393         Fix warning about implicit declaration of function `nscd_flush_cache' in lib/commonio.c.
12394
12395         * lib/pwauth.h: Fix pw_auth() prototype.
12396
12397         * libmisc/Attic/nscd.c, libmisc/Attic/nscd.h, libmisc/Makefile.am:
12398         Added header file for nscd communication functions.
12399
12400         * libmisc/chkname.c (good_name):
12401         fixed warning about comparison between pointer and integer.
12402
12403         * 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:
12404         "make update-po".
12405
12406         * src/useradd.c (main):
12407         chain create_mail() and small fix in usage message.
12408
12409         * src/userdel.c: Removed AUTH_METHODS code.
12410
12411         * lib/pwauth.c: Fixed pw_auth() prototype.
12412
12413         * src/sulogin.c, src/usermod.c: Removed AUTH_METHODS code.
12414
12415         * 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:
12416         "make update-po".
12417
12418         * src/useradd.c: Indent.
12419
12420         * 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:
12421         Cleanups continuations: removed old AUTH_METHODS dependent code,
12422         removed also pwauth(8) man page.
12423
12424         * man/pl/Makefile.am (man_MANS): remove d_passwd.5 man page.
12425
12426         * 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:
12427         Cleanups in usage messages.
12428
12429         * src/newgrp.c: Cleanups in comments.
12430
12431         * 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:
12432         "make update-po".
12433
12434         * lib/getdef.c (main): remove gettextize error messages from test code.
12435
12436         * NEWS: Cleanups.
12437
12438 2003-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12439
12440         * 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:
12441         Added handle by useradd /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes|no}.
12442         Now on adding user account can be added also created empty user mail
12443         spool. Curent code handle only mailbox.
12444         TODO: add handle create user mail spool in maildir format.
12445
12446         * TODO: Typo.
12447
12448         * src/chage.c (usage): fix missing ")".
12449         (main): updated commented description.
12450
12451         * src/useradd.c: Indent.
12452
12453         * man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8:
12454         Minor cleanups.
12455
12456         * man/Attic/chage.1, man/pl/chage.1:
12457         Rewrite for use claissic list form options descriptions.
12458
12459         * man/pl/groupadd.8:
12460         s/Polecenie groupadd posiada opcje:/Polecenie groupadd posiada następujące opcje:/
12461
12462         * TODO: ALL:
12463         move base passwd/shadow/group/gshadow operation to module for allow write
12464         diffrent backend modules for db, NIS, LDAP and others. Default backend it
12465         will be choose depending on /etc/nsswitch.conf and allow overrride this by
12466         -r <repository> options (where the <repository> can be file, db, nis
12467         nisplus, ldap .. like on /etc/nsswitch.conf in service column).
12468         passwd have old piece of code with handling -r option and it will be good
12469         finish this and propagate on other shadow tools for allow operate on other
12470         user databases by well known tools.
12471
12472         useradd:
12473         add handle /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes,no} for allow
12474         create empty mail spool for added user.
12475
12476         * man/pl/Attic/d_passwd.5, man/pl/Attic/dialups.5: Removed.
12477
12478         * man/Attic/groupmems.8: Close few \fB by add \fR.
12479
12480         * man/Attic/groupadd.8, man/Attic/groupmems.8: Minor cleanups.
12481
12482 2003-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12483
12484         * src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c:
12485         Move non-SHADOWPWD stub code to end of file (like in chage.c) and do not use
12486         gettextized message.
12487
12488         * 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:
12489         "make update-po".
12490
12491         * src/chage.c, NEWS:
12492         Now all code depend on SHADOWPWD. If shadow will not be configured on
12493         autoconf level for using shadow possword chage is olny stub which informs
12494         "chage not configured for shadow password support."
12495
12496         * man/it/Makefile.am: Removed EXTRA_DIST (not neccessary).
12497
12498         * man/es/Makefile.am: Removed groups.1 (doen't exist es groups(1)).
12499
12500         * man/de/Makefile.am (man_MANS): added login.1.
12501
12502         * man/de/Makefile.am: Removed EXTRA_DIST (isn't neccessary now).
12503
12504         * 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:
12505         Install groups(1) man page (moved from EXTRA_DIST to man_MANS).
12506
12507         * po/.cvsignore:
12508         Added files generated by gettextize from gettext 0.11.5.
12509
12510         * 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:
12511         Updated after removing dialup tools.
12512
12513         * po/POTFILES.in: Removed lib/{dialchk,dialup}.c and src/dpasswd.c.
12514
12515 2003-05-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12516
12517         * libmisc/shell.c (shell): do not gettexitize DEBUG message.
12518
12519         * 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:
12520         Removed "#if 0 .. #endif" dead code.
12521
12522         * libmisc/utmp.c: Fixed unterminated #if.
12523
12524         * libmisc/Attic/login_access.c (resolve_hostname):
12525         cleanup: removed #if 1 .. #endif.
12526
12527         * libmisc/.cvsignore: Added getdate.c.
12528
12529         * libmisc/Attic/getdate.c:
12530         Removed - this file is generated by bison/yacc.
12531
12532         * configure.in:
12533         Change file name passwd in AC_INIT argument from lib/dialchk.c to src/passwd.c.
12534
12535         * src/su.c:
12536         Removed dead code (#if 0 .. #endif) with call motd() and mailcheck()
12537         (was commnted because GNU su doesn't do this).
12538
12539 2003-05-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12540
12541         * 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:
12542         Removed old dpasswd and DIALUPS_CHECK_ENAB login.defs handling code from login.
12543
12544         * doc/Attic/ANNOUNCE, doc/Makefile.am, NEWS: Removed old doc/ANNOUNCE.
12545
12546         * src/login.c, lib/getdef.c, etc/Attic/login.defs.linux, NEWS:
12547         Remove NO_PASSWORD_CONSOLE code.
12548
12549 2003-05-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
12550
12551         * 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:
12552         Remove old SVR4, ATT_AGE, ATT_COMMENT dependent code.
12553
12554         * src/chage.c:
12555         Remove some ageing code which was not used if SHADOWPWD isn't defined.
12556         Now handling mindays, maxdays and lastday also depends on SHADOWPWD.
12557
12558 2003-05-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
12559
12560         * 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:
12561         Reformated.
12562
12563         * etc/login.defs:
12564         Use FHS 2.x compliant paths to lastlog, sulog, mail spool and also change
12565         ENV_SUPATH to PATH=/sbin:/bin:/usr/sbin:/usr/bin and
12566         ENV_PATH to PATH=/bin:/usr/bin
12567
12568         * 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:
12569         Removed old stuff.
12570
12571 2003-04-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12572
12573         * 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:
12574         make update-po
12575
12576         * src/su.c: Remove not mached #endif after removing ATT_AGE code.
12577
12578         * man/ko/passwd.5: Remove ^M from end of line.
12579
12580         * 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:
12581         Removed old ATT_AGE (account ageing in passwd file) dependent code.
12582
12583         * po/pl.po: Fix chage and lastlog messages.
12584
12585 2003-04-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12586
12587         * libmisc/limits.c, src/logoutd.c:
12588         More utmp/utmpx fixes: use endutend() or endutxend() depending on HAVE_UTMPX_H.
12589
12590         * 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:
12591         Run "make update-po" after remove SVR4 code and fix duplicated entries in sv.po.
12592
12593         * NEWS, src/login.c, src/logoutd.c, src/useradd.c:
12594         Remove old SVR4 and SVR4_SI86_EUA dependent code from login, useradd and
12595         logoutd.
12596
12597 2003-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12598
12599         * man/pl/usermod.8: Remove "OD TŁUMACZA" section.
12600
12601         * 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:
12602         Added EXIT VALUES section with full description exit codes.
12603
12604         * src/groupadd.c: Typo (s/nut/not/).
12605
12606         * man/Attic/shadowconfig.8: Merge changes from Debian.
12607
12608         * NEWS, man/Attic/passwd.5:
12609         Remove text about password aging from passwd(5) (based on Debian changes).
12610
12611         * 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:
12612         More unification in lastlog command syntax.
12613
12614         * man/Attic/lastlog.8, man/it/lastlog.8, man/ja/lastlog.8, man/pl/lastlog.8:
12615         Unifications in SYNOPSIS.
12616
12617         * 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:
12618         Remove ^M from end of line.
12619
12620         * man/Attic/gpasswd.1, man/Attic/groupadd.8:
12621         Indentation in FILES section.
12622
12623         * src/pwconv.c, src/useradd.c, src/userdel.c:
12624         s/bad command syntax/invalid command syntax/
12625
12626         * src/userdel.c:
12627         Indent by hand (seems indent have problems with complex conditions).
12628
12629         * man/ru/Makefile.am: man_MANS: s#passwd.1#passwd.5#
12630
12631         * po/pl.po: s/nie mogę/nie można/
12632
12633         * po/fr.po: Emoticon removed.
12634
12635         * NEWS, configure.in, man/Makefile.am, man/ru/.cvsignore, man/ru/Makefile.am, man/ru/passwd.5:
12636         Added ru passwd(1) man page from KSI resources.
12637
12638         * 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:
12639         Added chch(1), chfn(1) man pages from chinese man pages translation
12640         project.
12641         Added id(1) man page czech man pages translation project.
12642         Updated ja man pages and added expiry(1).
12643
12644         * man/hu/groups.1, man/hu/login.1:
12645         Remove info about $HOME/.profile from FILES section (this does not depends
12646         stricte on shadow).
12647
12648         * configure.in, man/Makefile.am, man/es/Makefile.am:
12649         Added es man pages to ac/am suit.
12650
12651         * man/es/.cvsignore, man/hu/.cvsignore, man/pt_BR/.cvsignore, man/zh_CN/.cvsignore, man/zh_TW/.cvsignore:
12652         Added .cvsignore files.
12653
12654         * man/hu/Makefile.am, man/hu/su.1:
12655         Added su(1) man page from hungarian man pages translation project.
12656
12657 2003-04-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12658
12659         * NEWS: Ready for gettext 0.11.5, automake 1.7.4, autoconf 2.57.
12660         Many cleanups and unifications in man pages.
12661
12662         * 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:
12663         Fixes: correct utmp/wtmp paths.
12664         Unifications: bold commnanda and italify other file names.
12665         Other minor changes and cleanups and unifications.
12666
12667         * libmisc/limits.c: More utmpx/utmp fixes.
12668
12669         * 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:
12670         Usage help message unification (s/usage:/Usage:/).
12671
12672         * TODO: Missing "are".
12673
12674         * src/logoutd.c, src/userdel.c, NEWS:
12675         Handle also utmpx if avalaile in userdel and logoutd.
12676
12677 2003-04-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
12678
12679         * src/sulogin.c: Remove unused utent declaration.
12680
12681         * src/sulogin.c, src/login.c:
12682         Remove #include <utmp.h> and <utmpx.h>. This comes with #include "prototypes.h".
12683
12684         * lib/prototypes.h:
12685         "#include <utmp.h>" or "#include <utmpx.h>" depending on HAVE_UTMPX_H.
12686
12687         * libmisc/failure.c:
12688         Remove "#include <utmp.h>" (this is included in failure.h).
12689
12690         * configure.in:
12691         On detect mail spool directory location try first /var/mail.
12692
12693 2003-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
12694
12695         * 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:
12696         Indent all using current .indent.pro settings.
12697
12698         * po/Makevars: New file neccessary for gettext >=0.11.5.
12699
12700         * man/Makefile.am: Removed getspnam.3 from man_MANS (dos not exist).
12701
12702         * po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po:
12703         Fixes after filtering gettext 0.11.5 (missing headers elements, inforrect
12704         format strings).
12705
12706 2003-04-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12707
12708         * NEWS, man/de/passwd.1:
12709         updated german passwd(1) man page (by Josef Spillner <josef@ggzgamingzone.org>)
12710
12711 2003-03-12  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12712
12713         * po/pl.po: - updated; terminology unification
12714
12715 2003-02-28  Paweł Gołaszewski  <blues@pld.org.pl>
12716
12717         * etc/login.defs: - missing "MD5_CRYPT_ENAB  yes" added
12718
12719 2003-01-20  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12720
12721         * configure.in: - added Makefiles for man/zh_{CN,TW}
12722
12723         * 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:
12724         - added zh man pages from MDK (2 x 6) and from cman (1)
12725
12726 2003-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12727
12728         * man/ja/shadow.3, man/pl/shadow.3, man/Attic/shadow.3:
12729         sync spwd structure declaration with current glibc declaration (tahnks for
12730         point this bug to Michael Kerrisk <michael.kerrisk@gmx.net>).
12731
12732         * man/pl/faillog.5: s/konsolę/terminal/
12733
12734 2002-12-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12735
12736         * src/Makefile.am: typo (s/EXTRA_DOST/EXTRA_DIST/).
12737
12738 2002-10-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12739
12740         * src/Makefile.am:
12741         fixed making vigr symlink to vipw (not vipw to vigr) in install-exec-hook (fix submited by
12742         Dimitar Zhekov <jimmy@is-vn.bg>).
12743
12744         * 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:
12745         removed debian directory.
12746
12747 2002-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12748
12749         * NEWS, src/newgrp.c:
12750         Use CLOSE_SESSIONS depending code only when USE_PAM.
12751         The problem was reported by Mattias Webjorn Eriksson using Slackware
12752         8.1 and reproduced it using slackware-current (9.0beta) (fix submited by
12753         Simon Williams <simon@no-dns-yet.org.uk>).
12754
12755 2002-10-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12756
12757         * 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:
12758         changed utmp and wtmp files paths (s#/etc/utmp/#/var/run/utmp#; s#/etc/wtmp#/var/log/wtmp#)
12759
12760         * po/ru.po, configure.in: added ru translation (from KSI resources).
12761
12762 2002-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12763
12764         * NEWS, libmisc/failure.c:
12765         libbmisc/failure.c (too_many_failures): incorrect if() condition in non-PAM
12766         dependent code in fail login handling (fixed by Krzysztof Oledzki <ole@ans.pl>).
12767
12768 2002-08-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12769
12770         * man/pl/useradd.8, man/Attic/useradd.8, NEWS:
12771         document useradd and groupadd -M option in en and pl man pages
12772         (by Jakub Mikusek <mick3y@o.k.pl>).
12773
12774         * configure.in: start prepare 4.0.4.
12775
12776 2002-03-18  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12777
12778         * 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:
12779         - updated to man-pages-ja-20020315 (except cvs tags)
12780
12781 2002-03-15  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12782
12783         * TODO: - remove already done pl man updates from the list
12784
12785 2002-03-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
12786
12787         * 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:
12788         added ko man pages.
12789
12790         * man/de/.cvsignore, man/de/Makefile.am:
12791         automake files for de man pages.
12792
12793         * TODO: updated.
12794
12795         * 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:
12796         added cs, de, fr, id, it, ko man pages to ac/am.
12797
12798 2002-03-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12799
12800         * 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:
12801         "make update-po"
12802
12803         * po/de.po, NEWS, configure.in:
12804         added de translation (by Frank Schmid <frank@cs-schmid.de>).
12805
12806         * NEWS: added info about Solar patch for man pages.
12807
12808 2002-03-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12809
12810         * 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:
12811         added some raw cs, de, es, fr, id, it man pages from national
12812         man pages translation projects (all man pages not yet added to Makefile.am
12813         files because all need some work).
12814
12815         * man/hu/chfn.1, man/hu/id.1:
12816         added id(1) chfn(1) from hu man pages translation project (it need some work
12817         because this documents describes GNU version id and chfn from util-linux).
12818
12819         * man/hu/Makefile.am, man/hu/login.1:
12820         added login(1) man page from hu man pages translation project.
12821
12822         * po/POTFILES.in: updated (suath.c moved to src/).
12823
12824         * src/Makefile.am: added su_SOURCES with "su.c suauth.c".
12825
12826         * libmisc/Makefile.am:
12827         remove suauth.c from libmisc_la_SOURCES (varialbles and functions from
12828         this file are usesd only in su).
12829
12830         * libmisc/Attic/suauth.c, src/suauth.c: move suauth.c o src/.
12831
12832         * libmisc/Attic/suauth.c:
12833         move "struct passwd pwent" outside #ifdef SU_ACCESS.
12834
12835 2002-03-09  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12836
12837         * 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:
12838         - sync with en versions
12839
12840         * 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:
12841         - update to chage.1; formatting/typo fixes
12842
12843 2002-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12844
12845         * po/uk.po, po/ko.po, po/pl.po, po/sv.po, po/ja.po, po/cs.po, po/el.po, po/fr.po:
12846         "make update-po"
12847
12848 2002-03-09  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12849
12850         * 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:
12851         - further "SEE ALSO" references sorting
12852
12853 2002-03-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
12854
12855         * 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:
12856         merged shadow-4.0.0-owl-man.patch by Solar Designer <solar@openwall.com>.
12857
12858         * NEWS: updated for 4.0.3.
12859
12860         * libmisc/Attic/suauth.c, libmisc/utmp.c, src/login.c, src/su.c:
12861         swapped utent dnd pwent efinition/extern and now shadow source can be configured
12862         --with-shared (fix by Dimitar Zhekov <jimmy@is-vn.bg>).
12863
12864 2002-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12865
12866         * configure.in: start prepare 4.0.3.
12867
12868         * src/Makefile.am:
12869         use ln -sf instead ln -s in install-exec-hok (fix pointed by Dimitar Zhekov
12870         <jimmy@is-vn.bg>).
12871
12872 2002-03-02  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12873
12874         * man/pl/passwd.1: sync with en version
12875
12876         * man/Attic/passwd.1: - they -> his/her, user's
12877         - typos
12878         - fix sentence about "writing down"
12879
12880         * man/Attic/passwd.1: relocation by NAKANO Takeo
12881
12882 2002-02-28  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12883
12884         * man/hu/passwd.1: missing "-"
12885
12886         * man/ja/Attic/shadowconfig.8, man/ja/passwd.5, man/ja/shadow.5:
12887         - updated to man-pages-ja-20020215
12888
12889 2002-02-23  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12890
12891         * po/cs.po, po/fr.po, po/pl.po, po/sv.po, po/uk.po, man/pl/useradd.8:
12892         - typos in pl/useradd.8; commented out unsupported -r option description
12893         - useradd "usage" formatting fixes
12894         - fix translation in uk.po
12895
12896 2002-02-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12897
12898         * configure.in: release 4.0.2.
12899
12900 2002-02-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12901
12902         * Attic/shadow-utils.spec.in, Makefile.am, configure.in, shadow.spec.in:
12903         rename spec file s/shadow-utils.spec/shadow.spec/
12904
12905         * po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/sv.po, po/uk.po:
12906         update-po before release.
12907
12908         * po/ko.po, po/pl.po: cleanups.
12909
12910 2002-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
12911
12912         * 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:
12913         placa ".so man<level>/<man_page>.<level>" in roff .so includes (seems some
12914         man page viewers do not handles correctly man documents without subdirectory
12915         name in roff .so incude).
12916
12917 2002-01-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
12918
12919         * 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:
12920         resolve many fuzzy translations also all this which may cause problems on
12921         displaing long uid/gid.
12922
12923         * 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:
12924         drop translate some messages in id output (about {,e}{u,g}id).
12925
12926 2002-01-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
12927
12928         * README: s#password: cvs#password: [empty password]#
12929
12930 2002-01-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12931
12932         * NEWS: two new entries.
12933
12934         * libmisc/chkname.c (good_name):
12935         allow usernames ending with "$" for allow create machine
12936         acounts for samba (thanks for point this problem in 4.0.1 by
12937         Jerome Borsboom <borsboom@tch.fgg.eur.nl>).
12938
12939         * 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:
12940         s/invalid user name `%s'/invalid user name '%s'/
12941
12942 2002-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12943
12944         * configure.in:
12945         fix in libpam_misc detection (removed one "," AC_CHECK_LIB()).
12946         Thanks to Silvan Minghetti for report this.
12947
12948 2002-01-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12949
12950         * NEWS: start prepare to 4.0.2.
12951
12952         * po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po, po/cs.po:
12953         updated.
12954
12955         * configure.in: It is good time to release 4.0.1.
12956
12957         * libmisc/.indent.pro, lib/.indent.pro: added -pcs option.
12958
12959         * TODO: some things goes out other in.
12960
12961         * src/newgrp.c, NEWS:
12962         added ability to log session closes in newgrp (look at long nice comments
12963         inside source code :_) by Joseph Parmelee <jparmele@wildbear.com>.
12964
12965         * src/groupadd.c, src/useradd.c:
12966         next part fixes for handle long UID/GID (by Thorsten Kukuk <kukuk@suse.de>).
12967
12968         * lib/getdef.c, lib/getdef.h:
12969         adeded getdef_unum(): get unsigned numerical value from table of
12970         definitions (Thorsten Kukuk <kukuk@suse.de>).
12971
12972         * NEWS: updated.
12973
12974         * libmisc/isexpired.c:
12975         remove "#if defined(SHADOWPWD)" (not removed during remove AGING).
12976
12977         * etc/Makefile.am: useradd config file added to EXTRA_DIST.
12978
12979 2002-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12980
12981         * po/sv.po, po/uk.po, po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po:
12982         update.
12983
12984         * 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:
12985         Add -pcs to .indent.pro file and reindent all code.
12986         Remove "\n" from all SYSLOG() messages.
12987
12988         * NEWS: s/SuSe/SuSE/
12989
12990 2001-12-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
12991
12992         * man/pl/useradd.8, man/Attic/useradd.8: documment -o option.
12993
12994         * 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:
12995         correct package name (s/shadow-password/shadow/).
12996
12997         * src/chage.c, src/expiry.c, src/login.c, src/passwd.c, src/su.c, libmisc/age.c, libmisc/isexpired.c, NEWS, configure.in:
12998         Finish integrate AGING code into SHADOWPW.
12999         Remove handle old HAVE_USERSEC_H code.
13000
13001         * po/uk.po: typo.
13002
13003         * 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:
13004         cleanups.
13005
13006         * 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:
13007         standarize usage messages syntax.
13008
13009         * man/pl/useradd.8, man/pl/usermod.8, man/pl/vipw.8, man/pl/userdel.8:
13010         removed duplicated man page text.
13011
13012         * 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:
13013         standarize usage meissages syntax.
13014
13015         * src/chage.c, NEWS (main):
13016         merge part Solar shadow-4.0.0-owl-pam-auth.diff patch with reorder
13017         nitialize PAM and checkin is chage is runed by root or not - now chage can be
13018         runed from non-root account for checking by user own accout information.
13019
13020         * src/pwck.c: indent source.
13021
13022         * src/pwck.c (main): remove old work around for Slackware bug.
13023
13024 2001-12-20  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13025
13026         * man/ja/Attic/adduser.8, man/ja/Makefile.am, man/ja/limits.5, man/ja/pwconv.8:
13027         - updated to man-pages-ja-20011215
13028
13029 2001-11-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13030
13031         * src/grpck.c:
13032         remove check for a Slackware bug (make sure GID is not -1; it was special
13033         meaning for some syscalls).
13034
13035         * 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:
13036         fixes for handle/print correctly 32bit uid/gid (Thorsten Kukuk <kukuk@suse.de>).
13037
13038         * src/chage.c: - break usage vomment line.
13039
13040         * lib/defines.h:
13041         removed bunch spaces on end line in conditionale #include <errno.h>
13042         which in some cases dissallow compile correctly shadow (thanks for
13043         Silvan Minghetti <bullet@users.sourceforge.net>).
13044
13045 2001-11-17  Michał Moskal  <malekith@pld.org.pl>
13046
13047         * NEWS:
13048         - mention fix for SEGV when using pwck -s on /etc/passwd file with
13049           empty lines in it
13050
13051         * lib/commonio.c:
13052         - installed fix for SEGV when using pwck -s on /etc/passwd file with
13053           empty lines in it
13054
13055 2001-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13056
13057         * libmisc/chkname.c, NEWS:
13058         next merge from Solar patches (shadow-4.0.0-owl-check_names.diff) but only
13059         part this patch with checking login name matching; checking is login
13060         string isn't longer than possible probably it will be good prepare using
13061         _POSIX_LOGIN_NAME_MAX from <bits/posix1_lim.h>
13062
13063 2001-11-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13064
13065         * NEWS: typos.
13066
13067         * NEWS: added info about new hu man pages.
13068
13069         * NEWS: updated.
13070
13071 2001-11-16  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13072
13073         * 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:
13074         - updated to man-pages-ja-20011115.tar.gz
13075
13076         * man/ja/groups.1: 3c26de91cfd359c0b7c36ca3cd3e170d  groups.1
13077
13078         * man/ja/grpconv.8: 402190c04b8df45e20afd01e3acd0da4  grpconv.8
13079
13080         * man/ja/grpunconv.8: 402190c04b8df45e20afd01e3acd0da4  grpunconv.8
13081
13082         * man/ja/id.1: 3edc687b1c09bbdd170553f326a71711  id.1
13083
13084         * man/ja/newusers.8: c2ecaa6ddffe07de2c39be3aefb5bcae  newusers.8
13085
13086         * man/ja/pwunconv.8: 402190c04b8df45e20afd01e3acd0da4  pwunconv.8
13087
13088         * man/ja/Attic/shadowconfig.8:
13089         f79300c0db64fd961443177c88605087  shadowconfig.8
13090
13091         * man/ja/useradd.8: 3333b9a2e5a388a472fb05106d65a596  useradd.8
13092
13093         * man/ja/vigr.8: 42825938683e54e391897ea100001af1  vigr.8
13094
13095         * man/ja/vipw.8: 0cb8db0f1f19de7690f0ef9baeceb919  vipw.8
13096
13097 2001-11-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13098
13099         * lib/Attic/getpass.c:
13100         one fix warning from Solar shadow-4.0.0-owl-warnings.diff.
13101
13102         * src/chage.c, lib/defines.h:
13103         move "#include <errno.h>" to /lib/defines.h.
13104
13105         * configure.in: added AC_CHECK_HEADERS(errno.h)
13106
13107         * src/chage.c: apply shadow-4.0.0-owl-chage-drop-priv.diff and
13108         shadow-4.0.0-owl-chage-ro-no-lock.diff by Solar Designer <solar@openwall.com>.
13109         Added locks which are needed when doing r/w accesses, not when running as root.
13110         If root does read-only, there's no lock needed. Added missing
13111         "#include <errno.h>" for above.
13112
13113 2001-11-14  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
13114
13115         * configure.in: - added hu directory antry
13116
13117         * man/Makefile.am: - groups.1 moved to EXTRA_DIST
13118         - added hu directory entry
13119
13120         * man/ja/Makefile.am: - sorted
13121         - shadow.3 moved to EXTRA_DIST
13122
13123         * man/pl/Makefile.am: - sorted
13124         - added entries for new pages
13125         - EXTRA_DIST synced with man/Makefile.am
13126
13127         * 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:
13128         - man pages from Debian
13129
13130         * man/Attic/groupmems.8: - typo
13131
13132         * man/pl/expiry.1, man/pl/groupmems.8: - translated pages
13133
13134 2001-11-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13135
13136         * libmisc/Makefile.am:
13137         fix building with cracklib enabled: $(LIBCRACK) added to libmisc_la_LIBADD.
13138
13139         * src/useradd.c: typo.
13140
13141 2001-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13142
13143         * 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:
13144         removed prototypes which are defined in libc header files
13145         (Thorsten Kukuk <kukuk@suse.de>).
13146
13147         * libmisc/Attic/nscd.c, libmisc/Makefile.am, lib/commonio.c:
13148         implemetn better reloading the nscd cache (per NSS map)
13149         by Thorsten Kukuk <kukuk@suse.de>
13150
13151         * src/login.c, libmisc/setupenv.c:
13152         fixed warnings "not used but defined" on compile using gcc 3.0.x
13153         by bulletpr00ph <bullet@users.sourceforge.net>.
13154
13155 2001-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
13156
13157         * NEWS: New entries for 4.0.1.
13158
13159         * po/pl.po: few more pl translations.
13160
13161         * po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po:
13162         "make update-po".
13163
13164         * po/ja.po, po/ko.po, configure.in:
13165         added ja, ko translations found in SuSe.
13166
13167 2001-10-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13168
13169         * src/useradd.c: sort alphabetically *flg variables.
13170
13171         * debian/Attic/Makefile.am, debian/Attic/tar.c: removed.
13172
13173 2001-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13174
13175         * 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:
13176         added vigr(1) man page as roff .so link to vipw(1),                                                                             - added sg(1) man page as roff .so link to newgrp(1).
13177
13178         * src/Makefile.am:
13179         added install symlinks newgrp -> sg, vipw -> vigr in install-exec-hook target.
13180
13181 2001-10-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13182
13183         * lib/Makefile.am (libshadow_la_SOURCES):
13184         reverte last change and added rcsid.h,
13185         (EXTRA_DIST): added missing "\".
13186
13187         * src/Makefile.am: (DEFS):
13188         - fix -DLOCALEDIR in DEFS,
13189         - added -DHAVE_CONFIG_H,
13190         - removed @DEFS@.
13191
13192         * lib/Makefile.am:
13193         added missing shadow_.h file to libshadow_la_SOURCES.
13194
13195 2001-09-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
13196
13197         * Makefile.am (AUTOMAKE_OPTIONS):
13198         version changed to 1.5 and added dist-bzip2.
13199
13200         * lib/Makefile.am, libmisc/Makefile.am, src/Makefile.am:
13201         add .indent.pro to EXTRA_DIST.
13202
13203         * etc/Makefile.am, etc/useradd: add example /etc/defaults/useradd.
13204
13205 2001-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
13206
13207         * TODO: last touch.
13208
13209         * TODO: more TODO.
13210
13211         * lib/commonio.c, NEWS:
13212         Fix bug discovered and fixed by Marcel Ritter <Marcel.Ritter@rrze.uni-erlangen.de>
13213         Due to a big buffer size in lib/commonio.c this error does only appear
13214         if a line gets longer than 4096 bytes (there are probably very few people
13215         stumbling across this).
13216         Ths bug can be exposed by trashing /etc/groups file using useradd with script:
13217                 #!/bin/sh
13218                 typeset -i NUM
13219                 NUM=0
13220                 groupadd demogroup
13221                 while [ $NUM -le 1000 ]; do
13222                    useradd -g demogroup -G demogroup -p "NONE" user$NUM
13223                    NUM=$NUM+1
13224                 done
13225
13226 2001-09-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13227
13228         * src/groups.c, src/id.c, src/newgrp.c, src/useradd.c, src/usermod.c, libmisc/addgrps.c, NEWS:
13229         remove limit 32 to groups per user (the same user can belong to
13230         more than 32 groups) by use sysconf(_SC_NGROUPS_MAX) instead constant
13231         NGROUPS_MAX (patch by Radu Constantin Rendec <radu.rendec@ines.ro>)
13232         NOTE: it probably need testing on other system for add some conditionals
13233         for using sysconf(_SC_NGROUPS_MAX) or NGROUPS_MAX constant.
13234
13235 2001-08-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
13236
13237         * etc/pam.d/Makefile.am, etc/pam.d/useradd: added file for useradd.
13238
13239 2001-08-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
13240
13241         * src/useradd.c (set_defaults):
13242         handle correctly error open/create useradd default config
13243         filei (based on orginal post to bugtraq).
13244
13245         * TODO: documment in pt_BR, ja man pages -s {pw,grp}ck option.
13246
13247         * libmisc/sulog.c, NEWS:
13248         remove limit to 6 chars logged tty name (apply 012_libmisc_sulog.c.diff Debian
13249         patch).
13250
13251         * man/pl/Attic/shadowconfig.8, man/Attic/shadowconfig.8:
13252         - aply 021_man_shadowconfig_usr_doc.diff debian patch.
13253
13254         * src/Makefile.am, lib/Makefile.am:
13255         use $(top_builddir) in .la files paths (for allow correct compile if
13256         $(top_builddir) isn't the same as $(top_srcdir)).
13257
13258         * po/.cvsignore, po/Attic/ChangeLog: removed ChangeLog.
13259
13260 2001-08-18  Michał Moskal  <malekith@pld.org.pl>
13261
13262         * src/grpck.c: - fixed getopt() call, thnx to arekm
13263
13264 2001-08-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13265
13266         * NEWS: - include last changes to list changes in version 4.0.0.
13267
13268 2001-08-14  Michał Moskal  <malekith@pld.org.pl>
13269
13270         * NEWS: - mention new -s options
13271
13272         * man/pl/grpck.8, man/pl/pwck.8, man/Attic/grpck.8, man/Attic/pwck.8:
13273         - documented new -s options
13274
13275         * src/grpck.c, src/pwck.c: - added -s option to sort output files
13276
13277         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
13278         - added pw_sort, gr_sort, sgr_sort and spw_sort functions
13279
13280         * lib/commonio.c, lib/commonio.h:
13281         - added commonio_sort{,_wrt} functions
13282
13283 2001-08-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13284
13285         * po/Attic/ChangeLog, po/uk.po, configure.in:
13286         added uk translation (Roman Festchook <roma@polesye.net>).
13287
13288         * src/logoutd.c (mani):
13289         s/ut->ut_libe/ut->ut_user/ on prepare strin with user name for syslog
13290         line (reported by Roman Festchook <roma@polesye.net>).
13291
13292 2001-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13293
13294         * Attic/acconfig.h: - added missing USG.
13295
13296 2001-07-04  Marek Michałkiewicz  <marekm@pld.org.pl>
13297
13298         * lib/commonio.c:
13299         fix buffer overflow (not a security hole) in commonio_setname
13300
13301 2001-06-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
13302
13303         * NEWS: entry about dropping support one argument pam_strerror().
13304
13305         * libmisc/pam_pass.c, src/login.c, src/su.c, Attic/acconfig.h, configure.in, lib/defines.h, lib/pam_defs.h:
13306         drop detecting is pam_strerror() need one or two arguments. Instead using
13307         PAM_STRERROR() macro use directly pam_strerror() function with two arguments.
13308         pam_strerror() with one argument is obsoleted.
13309
13310         * configure.in:
13311         pass display error message if libpam_misc not found in correct argument
13312         AC_CHECK_LIB().
13313
13314         * configure.in:
13315         added checking for libpam_misc if libpam found and if libpam_misc is avalaible
13316         add them to $LIBPAM. Othervise exit fron autoconf script with error message.
13317         Now shadow compiles if pam support is enabled.
13318
13319 2001-06-28  Marek Michałkiewicz  <marekm@pld.org.pl>
13320
13321         * libmisc/copydir.c: fix overwriting existing file (add O_TRUNC)
13322
13323 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13324
13325         * configure.in: remove intl/po2tbl.sed from AC_OUTPUT().
13326
13327         * configure.in:
13328         removed add md5.o md5crypt.o conditionaly to $LIBOBJS (this is obsoleted).
13329         In current version ndling md5 functionality is included conditionaly
13330         inside md5.c and md5crypt.c source files.
13331
13332         * lib/Attic/md5.c: added comments for #endif.
13333
13334         * configure.in: also do not use SU_ACCESS when PAM is used.
13335
13336         * configure.in:
13337         - check pam directly by AC_CHECK_LIB() (PAM from PLD is now fixed an also other
13338           PAM implementation must be fixed for this method checkin is libpam is avalaible;
13339           sorry .. no way this is plain linking procedure bug),
13340         - use AC_DEFINE(LOGIN_ACCES) only when PAM isn't used.
13341
13342 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
13343
13344         * src/Makefile.am:
13345         add LDADD for groupmod and usermod, as they use PAM too
13346
13347         * src/login.c, src/su.c: fix uninitialized variable failcount
13348         skip '*' in pw_shell for subsystem root
13349
13350 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13351
13352         * src/login.c: use "extern int login_access()" only if !USE_PAM.
13353
13354         * src/Makefile.am:
13355         added LDADD rules for programs which uses PAM and cracklib.
13356
13357 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
13358
13359         * libmisc/chowntty.c:
13360         allow root login even on read-only root filesystem
13361
13362         * libmisc/Makefile.am: add -DHAVE_CONFIG_H to DEFS
13363
13364 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13365
13366         * autogen.sh: run configure by default with --disable-desrpc,
13367         fix: --with-libpam (not --with-pam).
13368
13369 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
13370
13371         * libmisc/chowntty.c:
13372         libmisc/chowntty.c (chown_tty): move perror() before syslog() call
13373         which might change errno.
13374
13375         * man/pl/login.defs.5, man/Attic/login.defs.5:
13376         (UMASK): Default value is 077, not 0 - see NEWS for shadow-3.3.2-951106.
13377
13378 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
13379
13380         * NEWS, configure.in: prepare for release 4.0.0 version.
13381
13382         * configure.in: remove commented line.
13383
13384 2001-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13385
13386         * po/pl.po: fixed charset (must be iso-8859-2).
13387
13388         * 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:
13389         added ja man pages.
13390
13391 2001-05-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
13392
13393         * src/Attic/shadowconfig.sh, src/Makefile.am, debian/Attic/Makefile.am, debian/Attic/shadowconfig.sh:
13394         move shadowconfig.sh to debian/
13395
13396         * src/Makefile.am: added missing -I${top_srcdir} to INCLUDES.
13397
13398         * lib/Makefile.am: empty DEFS and INCLUDES="-I$(top_srcdir)".
13399
13400         * libmisc/Makefile.am:
13401         empty DEFS and INCLUDES="-I$(top_srcdir) -I$(top_srcdir)/lib".
13402
13403 2001-03-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
13404
13405         * src/.indent.pro, lib/.indent.pro, libmisc/.indent.pro:
13406         directory indent config file is -kr -i8 -bad (indent open this file and
13407         read options if options not specyfied in commnad line).
13408
13409         * autogen.sh (conf_flags): added --with-pam.
13410
13411         * NEWS: start complette next release information.
13412
13413 2001-02-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
13414
13415         * shlib/Attic/Makefile.am, shlib/Attic/Makefile.in.saved: - removed.
13416
13417         * src/Makefile.am, libmisc/Makefile.am, lib/Makefile.am:
13418         Rewrited automake suit for building lib, libmisc and src (now this look much
13419         better). Also for all is now used libtool in proper way.
13420
13421         * configure.in:
13422         - added useing AM_DISABLE_SHARED, AM_ENABLE_STATIC for disable compile shared
13423           libraries and enable static,
13424         - some cosmetics.
13425
13426         * Makefile.am (SUBDIRS): reorder libmisc must be before lib.
13427
13428 2001-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13429
13430         * man/pt_BR/Makefile.am: - added man_MANS to EXTRA_DIST.
13431
13432 2001-01-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
13433
13434         * 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:
13435         include pt_BR man pages for gpasswd(1), groupadd(1), groupdel(8),
13436         groupmod(8), shadow(5).
13437
13438 2001-01-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13439
13440         * TODO: - updated.
13441
13442         * 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:
13443         many small cleanups, fixes also removed commented obsoleted texts.
13444
13445 2001-01-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
13446
13447         * autogen.sh: add to conf_flags --disable-shared.
13448
13449         * 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:
13450         put or move to top cemmented Id cvs keyword,
13451         (passwd.1): documment -e option (patch from Debian),
13452         (userdel.1): remove commented obsoleted options.
13453
13454         * man/Makefile.am:
13455         put all files in man_MANS and EXTRA_DIST in alphabethic order.
13456
13457         * src/chpasswd.c, src/pwunconv.c:
13458         remove from comments program description and history logs.
13459
13460         * src/Makefile.am: move groups to bin_PROGRAMS.
13461
13462 2000-12-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13463
13464         * src/su.c: Based on Debian modyfications:
13465         (main): #endif /* USE_PAM */ #ifdef USE_PAM replaced by #else,
13466         (main): removed some dead code (scoped by #if 0 .. #endif).
13467         (main): call to re-establish SIGINT to right place.
13468
13469         * man/pl/passwd.1: Removed SEE ALSO to shadow(3) and passwd(3).
13470
13471         * man/pl/shadow.5, man/Attic/shadow.5: Removed SEE ALSO to shadow(3).
13472
13473         * man/Attic/passwd.1:
13474         Removed SEE ALSO to passwd(3) and commented shadow(3).
13475
13476 2000-12-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13477
13478         * src/useradd.c (main):
13479         use "useradd" instead "shadow in pam_start() parameters - this
13480         allow use separated pam config file for useradd (for example for allow
13481         specified non-root user for add user).
13482
13483 2000-11-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
13484
13485         * TODO: remove write expiry(1) man page.
13486
13487         * man/Attic/expiry.1, man/Makefile.am:
13488         added expiry(1) man page from Debian.
13489
13490         * man/pl/lastlog.8, man/Attic/lastlog.8:
13491         updated man pages for whole dispaly syntax.
13492
13493         * src/lastlog.c (main): fixed command line syntax description.
13494
13495         * src/lastlog.c (main):
13496         display correctly and full current commnad line lastlog syntax
13497         and also output this string using gettext.
13498
13499         * src/lastlog.c (main):
13500         merge src_lastlogin.c patch from debian with use getopt_long()
13501         instead getopt() for add handling --help, --user, --time switches and
13502         dipslay useage message on -h, --help and as default action.
13503
13504 2000-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13505
13506         * src/groupmems.c, po/el.po, po/fr.po, po/pl.po, po/sv.po, po/POTFILES.in, po/cs.po:
13507         added i18n support for src/groupmems.c.
13508
13509         * src/useradd.c:
13510         * (set_defaults): use mkstemp() if avalaible. Othereise use mktemp().
13511
13512         * configure.in: * added checking for mkstemp().
13513
13514         * src/useradd.c: * (set_defaults): use mkstemp() instead mktemp(),
13515         * (mani): fix compilation error in previouse RH patch (removed using nflg).
13516
13517 2000-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13518
13519         * TODO: - groupmems need some work on add PAM and i18n support.
13520
13521         * src/groupmems.c, man/Attic/groupmems.8:
13522         Added raw version groupmems program for administer members of a user's
13523         primary group. groupmems was written by George Kraft IV <gk4@us.ibm.com>
13524         and this tool have BSD license.
13525
13526         * src/Attic/patchlevel.h, src/Makefile.am:
13527         patchlevel.h, Makefile.am: removed patchlevel.h file,
13528         Makefile.am: removed bindir, sbindir (this comes with autoconf).
13529
13530 2000-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13531
13532         * TODO: - write expire man page.
13533
13534 2000-10-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13535
13536         * 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:
13537         Julianne F. Haugh new contact adress.
13538
13539         * NEWS: - summary chanfes for 20001016.
13540
13541         * doc/Attic/README.shadow-paper, doc/Makefile.am:
13542         - removed outdated README.shadow-paper.
13543
13544         * configure.in: - release 20001016.
13545
13546 2000-10-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13547
13548         * man/pl/Makefile.am, man/Makefile.am: fixes in man/{,po}/Makefile.am:
13549         - $(man_MANS) added to EXTRA_DISTS,
13550         - do not install by default groups.1, id.1, pw_auth.3, shadow.3, pwauth.8,
13551           sulogin.8, dpasswd.8 (moved to EXTRA_DISTS),
13552
13553 2000-10-15  Marek Michałkiewicz  <marekm@pld.org.pl>
13554
13555         * lib/commonio.c (reload_nscd): Disable for now because not every
13556         version of nscd can handle it, unless ENABLE_NSCD_SIGHUP defined.
13557
13558 2000-10-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13559
13560         * libmisc/pwdcheck.c, libmisc/Makefile.am: - added missing pwdcheck.c.
13561
13562         * configure.in: - removed old/Makefile from AC_OUTPUT list.
13563
13564 2000-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13565
13566         * README: - fixed information about RO cvs access.
13567
13568         * NEWS: - summary changes description for shadow-20001012.
13569
13570         * configure.in: - release changed to 20001012.
13571
13572         * etc/Makefile.am: - removed shells and suauth from EXTRA_DIST.
13573
13574         * doc/Makefile.am: - removed README.debian from EXTRA_DIST.
13575
13576         * libmisc/Makefile.am: - removed pwdcheck.c from libmisc_a_SOURCES.
13577
13578         * debian/Attic/Makefile.am: - removed FILES from EXTRA_DIST.
13579
13580         * contrib/Makefile.am: - s/udbachk.v012.tgz/udbachk.tgz/
13581
13582         * doc/Makefile.am: - removed CHANGES (this file was moved to ../NEWS).
13583
13584 2000-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13585
13586         * po/Attic/ChangeLog: - add empty file (gettext requires this).
13587
13588 2000-10-10  Arkadiusz Miśkiewicz  <misiek@pld.org.pl>
13589
13590         * README: typos fixed
13591
13592 2000-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13593
13594         * Makefile.am: - added shadow-utils.spec.in to EXTR_DIST.
13595
13596         * redhat/Attic/shadow-utils.spec.in: - obsoleted.
13597
13598         * Attic/stamp-h.in: - removed (this file is autogenerated by autoconf).
13599
13600         * po/pl.po, po/sv.po, po/cs.po, po/el.po, po/fr.po:
13601         - update before release.
13602
13603         * doc/Attic/LSM: - new maintainer and new primary site.
13604
13605         * Makefile.am: - README added to EXTRA_DIST.
13606
13607         * README: - added README with all shadow sites and resources details.
13608
13609         * Attic/shadow-utils.spec.in: - partialy rewrited.
13610
13611         * configure.in: - change version to 20001010.
13612
13613         * Makefile.am: - added NEWS to EXTRA_DIST.
13614
13615         * Makefile.am, TODO: - added TODO.
13616
13617         * doc/Attic/CHANGES, NEWS: - rename doc/CHANGES -> NEWS.
13618
13619 2000-10-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
13620
13621         * 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:
13622         - remove redhat/ directory with obsoleted files.
13623
13624         * po/.cvsignore, src/.cvsignore, man/.cvsignore, man/pl/.cvsignore, .cvsignore, libmisc/.cvsignore:
13625         - shut up cvs.
13626
13627         * man/Makefile.am: - removed redundant ${man_MANS} from EXTRA_DIST.
13628
13629         * src/useradd.c:
13630         - fix a security bug (adduser could overwrite previously existing
13631           groups (shadow-19990827-group.patch from RH),
13632
13633         * po/cs.po, po/el.po, po/fr.po, po/pl.po, po/sv.po:
13634         - "make updated-po".
13635
13636         * 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:
13637         - added man pages for grpconv(8), grpunconv(8), pwunconv(8) (.so link to
13638           pwconv(8))
13639
13640         * man/pl/Attic/adduser.8, man/pl/Makefile.am, man/Attic/adduser.8, man/Makefile.am:
13641         - added man page for adduser(8) (.so link to useradd(8)).
13642
13643         * po/Attic/doit:
13644         - removed (in po/Makefile.in.in exist special update-po target).
13645
13646         * etc/pam.d/passwd, etc/pam.d/su: - cosmetics.
13647
13648         * etc/pam.d/Attic/shadow: - sample PAM config file for shadow utils.
13649
13650         * etc/pam.d/Makefile.am: - added shadow to EXTRA_DIST
13651
13652         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
13653         - bind to shadow PAM file instead userdb (mainly PAMimication all shadow
13654           utils is used for proper updating db files but in real this can be used
13655           for perform many other tasks).
13656
13657         * src/Makefile.am: - added linking with @LIBPAM@ all PAMified tools.
13658
13659         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
13660         - added PAM support (bind to common "userdb" PAM authentication description
13661           file).
13662
13663         * src/chage.c: - added PAM support.
13664
13665 2000-10-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13666
13667         * autogen.sh:
13668         - added autogen.sh script which prepare raw source code from cvs to use.
13669
13670 2000-10-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
13671
13672         * man/pl/useradd.8, man/pl/userdel.8, man/pl/usermod.8, man/pl/vipw.8:
13673         - merged changes from PTM.
13674
13675         * man/pl/Makefile.am:
13676         - simplified: use only man_MANS and remaped $(mandir) variable.
13677
13678 2000-09-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13679
13680         * po/cs.po, configure.in:
13681         - added cs translation (Jiri Pavlovsky <Jiri.Pavlovsky@ff.cuni.cz>).
13682
13683 2000-09-05  Marek Michałkiewicz  <marekm@pld.org.pl>
13684
13685         * 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:
13686         *** empty log message ***
13687
13688 2000-09-02  Marek Michałkiewicz  <marekm@pld.org.pl>
13689
13690         * 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:
13691         *** empty log message ***
13692
13693 2000-08-26  Marek Michałkiewicz  <marekm@pld.org.pl>
13694
13695         * 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:
13696         *** empty log message ***
13697
13698 1999-08-27  Marek Michałkiewicz  <marekm@pld.org.pl>
13699
13700         * 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:
13701         *** empty log message ***
13702
13703 1999-07-09  Marek Michałkiewicz  <marekm@pld.org.pl>
13704
13705         * 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:
13706         *** empty log message ***
13707
13708 1999-06-07  Marek Michałkiewicz  <marekm@pld.org.pl>
13709
13710         * 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:
13711         *** empty log message ***
13712
13713 1999-03-07  Marek Michałkiewicz  <marekm@pld.org.pl>
13714
13715         * 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:
13716         *** empty log message ***
13717
13718 1998-12-28  Marek Michałkiewicz  <marekm@pld.org.pl>
13719
13720         * 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:
13721         *** empty log message ***
13722
13723 1998-07-24  Marek Michałkiewicz  <marekm@pld.org.pl>
13724
13725         * 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:
13726         *** empty log message ***
13727
13728 1998-06-26  Marek Michałkiewicz  <marekm@pld.org.pl>
13729
13730         * 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:
13731         *** empty log message ***
13732
13733 1998-05-29  Marek Michałkiewicz  <marekm@pld.org.pl>
13734
13735         * 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:
13736         *** empty log message ***
13737
13738 1998-04-16  Marek Michałkiewicz  <marekm@pld.org.pl>
13739
13740         * 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:
13741         *** empty log message ***
13742
13743 1998-04-02  Marek Michałkiewicz  <marekm@pld.org.pl>
13744
13745         * 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:
13746         *** empty log message ***
13747
13748 1998-01-30  Marek Michałkiewicz  <marekm@pld.org.pl>
13749
13750         * 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:
13751         *** empty log message ***
13752
13753 1998-01-25  Marek Michałkiewicz  <marekm@pld.org.pl>
13754
13755         * Attic/acconfig.h: *** empty log message ***
13756
13757 1997-12-14  Marek Michałkiewicz  <marekm@pld.org.pl>
13758
13759         * 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:
13760         *** empty log message ***
13761
13762 1997-12-08  Marek Michałkiewicz  <marekm@pld.org.pl>
13763
13764         * 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:
13765         *** empty log message ***
13766
13767 1997-10-01  Marek Michałkiewicz  <marekm@pld.org.pl>
13768
13769         * 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:
13770         *** empty log message ***
13771
13772 1997-09-30  Marek Michałkiewicz  <marekm@pld.org.pl>
13773
13774         * 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:
13775         *** empty log message ***
13776
13777 1997-09-29  Marek Michałkiewicz  <marekm@pld.org.pl>
13778
13779         * man/Attic/chpasswd.8, man/Attic/pwconv.8, man/Attic/pwunconv.8, man/Attic/su.1, man/Makefile.am:
13780         *** empty log message ***
13781
13782 1997-06-16  Marek Michałkiewicz  <marekm@pld.org.pl>
13783
13784         * 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:
13785         *** empty log message ***
13786
13787 1997-06-01  Marek Michałkiewicz  <marekm@pld.org.pl>
13788
13789         * 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:
13790         *** empty log message ***
13791
13792 1997-05-02  Marek Michałkiewicz  <marekm@pld.org.pl>
13793
13794         * 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:
13795         *** empty log message ***
13796
13797 1997-02-11  Marek Michałkiewicz  <marekm@pld.org.pl>
13798
13799         * 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:
13800         *** empty log message ***
13801
13802 1997-01-08  Marek Michałkiewicz  <marekm@pld.org.pl>
13803
13804         * 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:
13805         *** empty log message ***
13806
13807 1996-10-27  Marek Michałkiewicz  <marekm@pld.org.pl>
13808
13809         * 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:
13810         *** empty log message ***
13811
13812 1996-09-25  Marek Michałkiewicz  <marekm@pld.org.pl>
13813
13814         * 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:
13815         *** empty log message ***
13816
13817 1996-09-20  Marek Michałkiewicz  <marekm@pld.org.pl>
13818
13819         * 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:
13820         *** empty log message ***
13821
13822 1996-09-10  Marek Michałkiewicz  <marekm@pld.org.pl>
13823
13824         * 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:
13825         *** empty log message ***
13826
13827 1996-08-10  Marek Michałkiewicz  <marekm@pld.org.pl>
13828
13829         * 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:
13830         New file.
13831
13832         * contrib/adduser-old.c, contrib/adduser.sh, contrib/adduser2.sh, contrib/atudel:
13833         960810 - first version under cvs
13834
13835         * 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:
13836         New file.
13837