]> granicus.if.org Git - shadow/blob - ChangeLog
* NEWS, src/usermod.c: Accept options in any order (username not
[shadow] / ChangeLog
1 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
2
3         * NEWS, src/usermod.c: Accept options in any order (username not
4         necessarily at the end)
5
6 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
7
8         * autogen.sh: Expand autoreconf to avoid running autopoint.
9
10 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
11
12         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
13         * po/*.po, man/po/*.po: Updated PO files.
14
15 2010-08-28  Brian M. Carlson  <sandals@crustytoothpaste.ath.cx>
16
17         * man/chsh.1.xml: Fix comma splice.
18
19 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
20
21         * lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
22         selinux_file_context renamed set_selinux_file_context.
23         * lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
24         Added reset_selinux_file_context.
25         * src/useradd.c: Check the return value of
26         set_selinux_file_context and reset_selinux_file_context.
27         * libmisc/copydir.c: Check the return value of
28         reset_selinux_file_context.
29
30 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
31
32         * src/su.c: Fix handling of environment variables when
33         the environment is not changed. In particular, this makes su
34         behave as documented regarding PATH and IFS (i.e. they are reset)
35         when -p is provided.
36
37 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
38
39         * man/su.1.xml: Fix typo.
40
41 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
42
43         * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
44         src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
45         src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
46         src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
47         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/chage.c,
48         src/groupadd.c, src/login.c, src/grpconv.c, src/groups.c,
49         src/grpunconv.c, src/chsh.c: Prog changed to a constant string.
50
51 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
52
53         * libmisc/limits.c: Avoid implicit conversion of integer to
54         boolean.
55         * libmisc/basename.c: Avoid implicit conversion of pointer to
56         boolean.
57         * libmisc/basename.c, lib/prototypes.h (Basename): Return a
58         constant string.
59         * libmisc/basename.c, libmisc/obscure.c, lib/prototypes.h,
60         libmisc/xmalloc.c, libmisc/getdate.h, libmisc/system.c,
61         libmisc/getgr_nam_gid.c, libmisc/failure.c, libmisc/valid.c: Add
62         splint annotations.
63         * libmisc/chowndir.c: Avoid memory leak.
64         * libmisc/chowndir.c: Do not check *printf/*puts return value.
65         * libmisc/chowntty.c: Avoid implicit conversion between integer
66         types.
67         * libmisc/obscure.c: Return a bool when possible instead of int.
68         * libmisc/shell.c: Do not check *printf/*puts return value.
69         * libmisc/shell.c: Do not check execle return value.
70         * libmisc/setupenv.c: Avoid implicit conversion between integer
71         types.
72         * libmisc/xmalloc.c: size should not be zero to avoid returning
73         NULL pointers.
74         * libmisc/hushed.c: Do not check *printf/*puts return value.
75         * libmisc/system.c: Avoid implicit conversion of integer to
76         boolean. safe_system last argument is a boolean.
77         * libmisc/system.c: Check return value of dup2.
78         * libmisc/system.c: Do not check *printf/*puts return value.
79         * libmisc/system.c: Do not check execve return value. 
80         * libmisc/salt.c: Do not check *printf/*puts return value.
81         * libmisc/loginprompt.c: Do not check gethostname return value.
82         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not check
83         gr_rewind/pw_rewind return value.
84         * libmisc/ttytype.c: Limit the number of parsed characters in the
85         sscanf format.
86         * libmisc/ttytype.c: Test if a type was really read.
87         * libmisc/sub.c: Do not check *printf/*puts return value.
88         * libmisc/sub.c: Avoid implicit conversion of integer to boolean.
89         * src/userdel.c: Fix typo in comment.
90         * src/userdel.c: Avoid implicit conversion of boolean to integer.
91         * src/userdel.c: safe_system last argument is a boolean.
92         * src/newusers.c: Avoid implicit conversion of boolean to integer.
93         * src/newusers.c: Avoid implicit conversion of integer to boolean.
94         * src/usermod.c: Add brackets.
95         * src/usermod.c: Avoid implicit conversion of characters or
96         integers to booleans.
97         * src/vipw.c: Avoid implicit conversion of integer to boolean.
98         * src/su.c: Avoid implicit conversion of integer to boolean.
99         * src/su.c: Add brackets.
100         * src/useradd.c: Avoid implicit conversion of characters or
101         integers to booleans.
102
103 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
104
105         * libmisc/obscure.c, lib/prototypes.h (obscure): Return a bool
106         instead of an int.
107         * libmisc/obscure.c, libmisc/tz.c, src/passwd.c, lib/encrypt.c,
108         libmisc/copydir.c, lib/prototypes.h: Add splint annotations.
109         * libmisc/tz.c: Fix some const issues.
110         * libmisc/tz.c: Avoid multi-statements lines.
111         * libmisc/tz.c: Add brackets.
112         * libmisc/copydir.c: Do not check *printf/*puts return value.
113         * libmisc/copydir.c: Fail if we cannot set or reset the SELinux
114         fscreate context.
115         * libmisc/copydir.c: Use xmalloc instead of malloc.
116         * libmisc/copydir.c: Do not check lutimes return value
117         * src/vipw.c: Avoid implicit conversion of integer to boolean.
118         * src/su.c (iswheel): Return a bool instead of an int.
119         * src/passwd.c: Remove insert_crypt_passwd(). Use xstrdup instead.
120         * src/passwd.c: Return constant strings when sufficient.
121         * src/passwd.c: Do not check *printf/*puts return value.
122         * src/passwd.c: Avoid implicit conversion of character to boolean.
123         * src/passwd.c: Do not check sleep return value.
124         * src/sulogin.c: Do not check *printf/*puts return value.
125         * lib/encrypt.c: Do not check fprintf return value.
126
127 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
128
129         * src/passwd.c: Fix a const issue.
130         * src/passwd.c: Avoid multi-statements lines.
131         * src/sulogin.c: Fix a const issue.
132
133 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
134
135         * libmisc/copydir.c, lib/prototypes.h: Caller can choose not to
136         copy the extended attributes (the SELinux context is hence reset)
137         * src/usermod.c: Copy the extended attributes.
138         * src/useradd.c: Only reset the SELinux context.
139
140 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
141
142         * configure.in: Fixed typo.
143
144 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
145
146         * libmisc/console.c, libmisc/motd.c, libmisc/setupenv.c,
147         libmisc/sulog.c, libmisc/hushed.c, libmisc/failure.c,
148         libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/obscure.c,
149         libmisc/pam_pass_non_interractive.c, src/userdel.c, src/login.c,
150         lib/commonio.c, lib/commonio.h, libmisc/setugid.c,
151         libmisc/setupenv.c: Fix some const issues.
152         * libmisc/motd.c: Avoid multi-statements lines.
153         * libmisc/motd.c: Support long MOTD_FILE.
154         * libmisc/list.c, lib/prototypes.h: Revert previous change.
155         dup_list and is_on_list are used with members as defined for the
156         group structure, and thus even if the list is not modified, the
157         list elements cannot be constant strings.
158         * libmisc/system.c: Avoid C++ comments.
159         * src/vipw.c: WITH_TCB cannot be tested inside a gettextized
160         string. Split the Usage string.
161         * lib/commonio.h: Re-indent.
162
163 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
164
165         * libmisc/audit_help.c (audit_logger):pgname is not used. We let
166         audit find out the name of the program.
167         * libmisc/audit_help.c: Re-indent.
168
169 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
170
171         * lib/groupio.c: Avoid implicit conversion from signed to unsigned.
172
173 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
174
175         * lib/commonio.c: Make sure there are no NULL pointer dereference.
176
177 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
178
179         * libmisc/remove_tree.c: Ignore snprintf return value.
180
181 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
182
183         * lib/prototypes.h, libmisc/list.c: dup_list() and is_on_list() do
184         not change the members of the list they receive. Added const
185         qualifiers.
186
187 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
188
189         * src/usermod.c: Re-indent.
190
191 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
192
193         * lib/commonio.c: Avoid multi-statements lines.
194
195 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
196
197         * man/po/fr.po: Fix a typo.
198
199 2010-06-24  Baurzhan Muftakhidinov  <baurthefirst@gmail.com>
200
201         * NEWS, po/kk.po: Updated Kazakh translation.
202
203 2010-04-12  Nicolas François  <nicolas.francois@centraliens.net>
204
205         * man/po/fr.po: Fix some typos. Minor updates: 886t70f187u.
206
207 2010-04-12  Nicolas François  <nicolas.francois@centraliens.net>
208
209         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
210         * po/*.po, man/po/*.po: Updated PO files.
211
212 2010-04-05  Nicolas François  <nicolas.francois@centraliens.net>
213
214         * man/newusers.8.xml, man/useradd.8.xml, man/groupadd.8.xml,
215         man/login.defs.d/UMASK.xml, man/login.defs.d/CREATE_HOME.xml,
216         man/login.defs.d/LOGIN_RETRIES.xml: Fix typos: choosen, overriden,
217         bahavior.
218
219 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
220
221         * man/usermod.8.xml: Document changes of ownerships.
222
223 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
224
225         * man/vipw.8.xml: Fix formatting typo.
226         * man/vipw.8.xml: Document the login.defs parameters only when tcb
227         is enabled.
228
229 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
230
231         * src/useradd.c: spool is a constant string.
232         * src/useradd.c: Set the new copy_tree's paramater 'copy_root' to false 
233
234 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
235
236         * src/usermod.c: move_home() is only called if mflg is set.
237         * src/usermod.c: Fail is -m is provided but the old home directory
238         is not a directory.
239         * src/usermod.c: Use the previous improvement of copy_tree to
240         provide better error diagnosis.
241         * src/usermod.c: When rename() is used, also change the ownership.
242         * src/usermod.c: Do not change the ownership of the root directory
243         twice.
244         * src/usermod.c: When -u is provided, only change the ownership of
245         the home directory if it is a directory.
246         * src/usermod.c: Also change ownerships when -g is used.
247
248 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
249
250         * lib/prototypes.h, libmisc/copydir.c: Add the old UID and GID to
251         copy_tree to detect when ownership shall be changed.
252         * libmisc/copydir.c: Document the behavior when the IDs are set to
253         -1.
254         * lib/prototypes.h, libmisc/copydir.c (copy_tree): Add parameter
255         copy_root.
256         * libmisc/copydir.c: error() and ctx can be static.
257         * libmisc/copydir.c (copy_hardlink): Remove parameter src.
258
259 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
260
261         * libmisc/chowndir.c: Dynamically allocate memory to support
262         path longer than 1024 characters.
263         * libmisc/chowndir.c: Fix typos in documentation.
264         * libmisc/chowndir.c: Support and document the behavior when a old
265         or new ID is set to -1.
266         * libmisc/chowndir.c: Improved error detection when chown fails.
267         * libmisc/chowndir.c: Harmonize error handling strategy when an
268         error occurs: stop changing ownership as soon as an error was
269         detected.
270
271 2010-04-03  Nicolas François  <nicolas.francois@centraliens.net>
272
273         * man/hu/passwd.5: Fix formatting typo.
274         * man/id/login.1: Likewise.
275
276 2010-03-31  Nicolas François  <nicolas.francois@centraliens.net>
277
278         * man/vipw.8.xml: When TCB is enabled, vipw uses login.defs.
279
280 2010-03-31  Nicolas François  <nicolas.francois@centraliens.net>
281
282         * NEWS, libmisc/copydir.c: When a hardlink is detected, the
283         original hardlink should not be removed.
284
285 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
286
287         * po/POTFILES.in, libmisc/Makefile.am, lib/prototypes.h,
288         libmisc/remove_tree.c, libmisc/copydir.c: Split remove_tree()
289         outside of copydir.c to avoid linking against libacl or libattr.
290
291 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
292
293         * src/su.c: shell's name must be -su when a su fakes a login.
294
295 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
296
297         * NEWS, configure.in, libmisc/copydir.c, man/useradd.8.xml,
298         man/usermod.8.xml, src/Makefile.am: Added support for ACLs and
299         Extended Attributes.
300
301 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
302
303         * libmisc/copydir.c: Document the sections closed by #endif
304
305 2010-03-27  Nicolas François  <nicolas.francois@centraliens.net>
306
307         * man/vipw.8.xml: Add section ENVIRONMENT.
308
309 2010-03-26  Nicolas François  <nicolas.francois@centraliens.net>
310
311         * etc/login.defs: Updated description of UMASK to indicate its
312         usage by pam_umask.
313         * man/login.defs.d/UMASK.xml: Likewise.
314
315 2010-03-25  Nicolas François  <nicolas.francois@centraliens.net>
316
317         * man/login.1.xml: login does not check for new mails in PAM
318         enabled versions. This is done by pam_mail.
319
320 2010-03-25  Nicolas François  <nicolas.francois@centraliens.net>
321
322         * NEWS, src/chpasswd.c, man/chpasswd.8.xml, man/login.defs.5.xml:
323         PAM enabled versions: restore the -e option to allow restoring
324         passwords without knowing those passwords. Restore together the -m
325         and -c options.
326
327 2010-03-23  Nicolas François  <nicolas.francois@centraliens.net>
328
329         * src/su.c, src/vipw.c, src/newgrp.c: When the child is
330         interrupted, stop ourself with a SIGSTOP signal.
331
332 2010-03-23  Nicolas François  <nicolas.francois@centraliens.net>
333
334         * src/newgrp.c: Limit the scope of variable pid.
335         * src/login_nopam.c: Limit the scope of variables end, lineno, i,
336         str_len.
337         * src/logoutd.c: Limit the scope of variable c.
338         * src/vipw.c: Re-indent.
339         * src/vipw.c: Close the file after the creation of the backup.
340         * src/useradd.c (set_default): Close input file on failure.
341         * src/useradd.c: Limit the scope of variables spool, file, fd, gr,
342         gid, mode.
343         * src/passwd.c: Limit the scope of variables last and ok.
344         * src/chage.c: Fix typo (non breaking space).
345         * src/login.c: Limit the scope of variables erasechar killchar, c,
346         failed.
347         * src/groups.c: Limit the scope of variable ngroups, pri_grp, i.
348         * src/id.c: Limit the scope of variable i.
349
350 2010-03-22  Nicolas François  <nicolas.francois@centraliens.net>
351
352         * lib/utent.c (getutline): Remove getutline(). This function is
353         no more used.
354         * lib/groupmem.c: Limit the scope of variable i.
355         * lib/shadow.c: Avoid implicit conversion of pointers and integers
356         to booleans.
357         * lib/shadow.c: Added brackets.
358         * libmisc/limits.c: Limit the scope of variable tmpmask.
359         * libmisc/copydir.c: Close opened file on failure.
360         * libmisc/loginprompt.c: Limit the scope of variable envc.
361         * libmisc/find_new_uid.c, libmisc/find_new_gid.c: Limit the scope
362         of variable id.
363
364 2010-03-21  Nicolas François  <nicolas.francois@centraliens.net>
365
366         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Detect some
367         misconfigurations of UID_MIN, UID_MAX, SYS_UID_MIN, SYS_UID_MAX (and
368         the GID equivalents)
369
370 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
371
372         * NEWS, configure.in: Next version will be 4.1.5.
373         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
374         * po/*.po, man/po/*.po: Updated PO files.
375
376 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
377
378         * libmisc/limits.c: Re-indent to make pmccabe happy.
379
380 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
381
382         * man/generate_translations.mak, man/generate_mans.mak: Fix
383         distcheck. All manpages generation code shall be enclosed in
384         ENABLE_REGENERATE_MAN conditions.
385
386 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
387
388         * man/useradd.8.xml: Do not document the features which are not
389         working.
390         * man/useradd.8.xml: Fix typo: -u was meant instead of -o.
391         * man/useradd.8.xml: Document that the default behavior depends on
392         CREATE_HOME.
393
394 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
395
396         * lib/groupio.c: Fix memory management insplit_groups().
397
398 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
399
400         * libmisc/strtoday.c: Empty dates indicate a disabled date, this is
401         not an error.
402
403 2010-03-19  Nicolas François  <nicolas.francois@centraliens.net>
404
405         * src/useradd.c, lib/commonio.c, po/POTFILES.in: Fix typos.
406         * libmisc/limits.c: Removed unused variable.
407
408 2010-03-19  Nicolas François  <nicolas.francois@centraliens.net>
409
410         * lib/commonio.c: Stop sorting entries when we reach the first
411         NIS line.
412
413 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
414
415         * src/chsh.c: Even for root, warn if an invalid shell is
416         specified. Alioth#311305
417
418 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
419
420         * man/limits.5.xml: Document the selection of the limits when
421         multiple lines match the user.
422
423 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
424
425         * libmisc/limits.c: Re-indent.
426         * libmisc/limits.c: Reformat the documentation. Avoid personal
427         comments.
428         * man/limits.5.xml: Document the new features.
429
430 2010-03-18  Thomas Orgis  <thomas@orgis.org>
431
432         * NEWS, libmisc/limits.c: Fix parsing of limits.
433         * NEWS, libmisc/limits.c: Add support for infinite limits.
434         * NEWS, libmisc/limits.c: Add support for @group syntax.
435
436 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
437
438         * lib/tcbfuncs.h: Re-indent.
439         * lib/tcbfuncs.h: Explicitly indicate function taking a void
440         parameter.
441
442 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
443
444         * src/useradd.c: When exiting because of a failure, warn if an
445         home directory created, but cannot be removed.
446
447 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
448
449         * libmisc/chowndir.c: Re-indent.
450         * libmisc/chowndir.c: Avoid assignment in comparisons.
451         * libmisc/chowndir.c: Added brackets and parenthesis.
452
453 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
454
455         * libmisc/strtoday.c: Add support for numerical dates, assuming
456         they are already specified in number of days since Epoch. Return
457         -2 in case of errors to support the specification of -1.
458         * src/usermod.c, src/useradd.c: Adapt to the new error value of
459         strtoday().
460         * src/chage.c:  Remove isnum(). Adapt to the new error value of
461         strtoday(). Support for numerical dates is moved to strtoday().
462
463 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
464
465         * man/po/fr.po: Harmonize name of parameters.
466
467 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
468
469         * NEWS: Indicate which tools support TCB.
470
471 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
472
473         * src/pwck.c: Unlock the password and shadow files when there is a
474         failure to prepare the update in memory.
475
476 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
477
478         * src/pwck.c: Only log to SYSLOG when acting on system files.
479
480 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
481
482         * src/pwck.c: Document the sections closed by #endif
483         * src/pwck.c, man/pwck.8.xml: No alternative shadow file can be
484         given when USE_TCB is enabled.
485         * src/pwck.c: Remove the -s option from the usage when USE_TCB is
486         enabled. The option is still supported, but has no effect, as
487         documented in the manpage.
488
489 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
490
491         * src/pwck.c: Do not use pwd_file and spw_file. Always use the
492         dbname() functions.
493
494 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
495
496         * src/pwck.c: Re-indent.
497
498 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
499
500         * src/userdel.c, src/usermod.c, src/vipw.c, src/useradd.c,
501         src/pwck.c, src/chage.c, lib/shadowio.c: Explicitly use the
502         SHADOWTCB_FAILURE return code instead of 0 or implicit conversion
503         to booleans.
504
505 2010-03-18  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
506
507         * src/pwck.c: Add support for TCB.
508         * src/pwck.c: Use spw_dbname() instead of spw_file since TCB
509         changes from a file to another depending on the user. Also use
510         pw_dbname() for consistency.
511
512 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
513
514         * src/faillog.c: Re-indent.
515
516 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
517
518         * lib/tcbfuncs.h: Added type shadowtcb_status.
519         * lib/tcbfuncs.h, lib/tcbfuncs.c: Return a shadowtcb_status
520         instead of an int.
521         * lib/tcbfuncs.c: Do not return in OUT_OF_MEMORY.
522         * lib/tcbfuncs.c: Only FreeBSD specify that the returned buffer is
523         NULL in case of failure. The return value of asprintf shall be
524         checked.
525         * lib/tcbfuncs.c: Avoid implicit conversion of pointers or
526         integers to booleans.
527         * lib/tcbfuncs.c: Avoid assignments in comparisons.
528         * lib/tcbfuncs.c: Do not free path before its last use.
529         * lib/tcbfuncs.c: Include shadowio.h, needed for the
530         spw_setdbname's prototype.
531         * lib/tcbfuncs.c: Ignore fflush() return value.
532         * lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.
533         * lib/tcbfuncs.c: Avoid integer to char conversions.
534         * lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.
535         * lib/tcbfuncs.c: Removed dead return.
536         * lib/tcbfuncs.c: move_dir() and shadowtcb_move() need a non NULL
537         stored_tcb_user.
538         * lib/tcbfuncs.c: Avoid implicit int to mode_t conversion.
539         * lib/tcbfuncs.c: Added brackets and parenthesis.
540         * lib/tcbfuncs.c: Re-indent.
541
542 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
543
544         * lib/commonio.c: Avoid implicit conversion of pointers to
545         booleans.
546         * lib/commonio.c: Ignore the return value of close when a
547         failure is reported.
548
549 2010-03-16  Nicolas François  <nicolas.francois@centraliens.net>
550
551         * man/faillog.8.xml: Document the behavior in display mode of the
552         -a option.
553         * NEWS, man/faillog.8.xml, src/faillog.c: Extend the -a option to
554         the non-display mode. This changes the default behavior of the -l,
555         -m, -r, -t options when -a is not specified (restrict to existing
556         users).
557
558 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
559
560         * man/chage.1.xml, man/login.defs.5.xml, man/pwck.8.xml,
561         man/pwconv.8.xml, man/useradd.8.xml, man/userdel.8.xml,
562         man/usermod.8.xml, man/vipw.8.xml: Document the usage of the
563         TCB_AUTH_GROUP, TCB_SYMLINKS, and USE_TCB configuration
564         parameters.
565         * man/pwconv.8.xml, man/pwck.8.xml: Document the behavior when
566         USE_TCB is enabled.
567
568 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
569
570         * po/POTFILES.in, lib/tcbfuncs.c: Add more strings for
571         translation.
572         * lib/tcbfuncs.c: Indicate the name of the program in error
573         messages. Avoid perror.
574         * src/useradd.c: Re-indent.
575         * src/useradd.c: Add more strings for translation. Indicate the
576         name of the program in error messages.
577         * src/userdel.c: Re-indent.
578         * src/userdel.c: Add more strings for translation. Indicate the
579         name of the program in error messages.
580
581 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
582
583         * src/usermod.c: user_newname and user_newid cannot be used to
584         test if the username or ID is changed. lflg and uflg should be
585         used instead.
586
587 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
588
589         * src/userdel.c: Avoid perror. Give more verbose warnings.
590
591 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
592
593         * man/Makefile.am: Indicate that man/generate_mans.deps is
594         generated.
595
596 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
597
598         * lib/commonio.c: Re-indent.
599         * lib/commonio.c: Document the sections closed by #endif
600         * lib/commonio.c: Added brackets.
601         * lib/commonio.c: Avoid implicit conversion of integer to
602         booleans.
603
604 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
605
606         * src/userdel.c: Re-indent.
607         * src/userdel.c: Added brackets.
608         * src/userdel.c: Avoid implicit conversion of pointers to
609         booleans.
610
611 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
612
613         * lib/shadowio.c: Re-indent.
614         * lib/shadowio.c: Added brackets and parenthesis.
615         * lib/shadowio.c: Document the sections closed by #endif
616         * lib/shadowio.c: Avoid negation of comparisons.
617         * lib/shadowio.c: Avoid implicit conversion of integer to booleans
618         and booleans to integers.
619
620 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
621
622         * src/useradd.c: Re-indent.
623         * src/useradd.c: Added brackets.
624         * src/useradd.c: Avoid implicit conversion of integers to
625         booleans.
626         * src/useradd.c: Harmonize error messages.
627
628 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
629
630         * src/vipw.c: Document the sections closed by #endif
631         * src/vipw.c: Avoid implicit conversion of pointers or integers to
632         booleans.
633         * src/vipw.c: Added brackets and parenthesis.
634         * src/vipw.c: Limit the definition of some variables and macros to
635         the WITH_TCB scope.
636         * src/vipw.c: Avoid assignment in comparisons.
637         * src/vipw.c: Replace PASSWD_FILE (resp. GROUP_FILE and
638         SGROUP_FILE) by pw_dbname () (resp. gr_dbname () and sgr_dbname ()).
639         This is more consistent with the shadow file handling and may be
640         useful to allow edition of another partition's files.
641
642
643 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
644
645         * src/usermod.c: Re-indent.
646         * src/usermod.c: Avoid implicit conversion of pointers to
647         booleans.
648         * src/usermod.c: Added parenthesis.
649
650 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
651
652         * src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.
653
654 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
655
656         * src/userdel.c: Re-indent.
657         * src/userdel.c: Avoid implicit conversion of pointers to
658         booleans.
659         * src/userdel.c: Document the sections closed by #endif
660
661 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
662
663         * src/pwconv.c: Only check USE_TCB if configured WITH_TCB.
664
665 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
666
667         * libmisc/copydir.c: Added parenthesis.
668
669 2010-02-14  Michael Bunk  <mb@computer-leipzig.com>
670
671         * NEWS, lib/gshadow.c: Fix parsing of gshadow entries.
672
673 2010-01-30  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
674
675         * NEWS: Add support for TCB.
676         * lib/tcbfuncs.h, lib/tcbfuncs.c, lib/Makefile.am: New library to
677         support TCB.
678         * lib/prototypes, libmisc/copydir.c (remove_tree): Add boolean
679         parameter remove_root.
680         * configure.in: Add conditional WITH_TCB.
681         * src/userdel.c, src/usermod.c: Add support for TCB. Update call to
682         remove_tree().
683         * src/pwconv.c, src/pwunconv.c: Should not be used with TCB enabled.
684         * src/vipw.c: Add support for TCB. Update call to remove_tree().
685         * src/useradd.c: Add support for TCB. Open the shadow file outside
686         of open_files().
687         * src/chage.c: Add support for TCB.
688         * src/Makefile.am: Install passwd sgid shadow when TCB is enabled.
689         * lib/getdefs.c, man/vipw.8.xml, man/login.defs.5.xml,
690         man/login.defs/TCB_AUTH_GROUP.xml, man/login.defs/USE_TCB.xml,
691         man/login.defs/TCB_SYMLINKS.xml, man/generate_mans.mak,
692         man/generate_mans.deps, man/Makefile.am: New configuration
693         parameters: TCB_AUTH_GROUP, TCB_SYMLINKS, USE_TCB.
694         * lib/shadowio.c, lib/commonio.c: Add support for TCB.
695
696 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
697
698         * libmisc/env.c: Fix sanitize_env() noslash support. This fixes
699         Alioth#311740.
700
701 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
702
703         * src/su.c: Do not sanitize the environment. This breaks
704         --preserve-environment. This sanitation was disabled on Debian
705         since quite some time with no reported issues, and sanitize_env()
706         documentation agrees that it should be useless as all modern
707         Unixes will handle setuid executables properly. This fixes
708         Alioth#312287.
709
710 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
711
712         * libmisc/setupenv.c: Fix typo from 2009-11-01.
713
714 2010-01-24  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
715
716         * configure.in: Add support for TCB in configure.in. Actual TCB
717         support will follow.
718
719 2009-11-05  Nicolas François  <nicolas.francois@centraliens.net>
720
721         * NEWS, src/groupmod.c: Fixed groupmod when configured with
722         --enable-account-tools-setuid.
723
724 2009-11-01  Nicolas François  <nicolas.francois@centraliens.net>
725
726         * NEWS, man/login.defs.d/ENV_SUPATH.xml, libmisc/setupenv.c:
727         Harmonize other paths and documentation with previous
728         change.
729
730 2009-11-01  Michel Hermier  <michel.hermier@gmail.com>
731
732         * src/su.c: Set the default ENV_SUPATH to
733         /sbin:/bin:/usr/sbin:/usr/bin (i.e. PATH when no ENV_SUPATH is
734         specified).
735
736 2009-10-15  Thorsten Kukuk  <kukuk@suse.de>
737
738         * src/faillog.c, man/faillog.8.xml: Harmonize long option in code
739         and documentation. Use --lock-secs instead of --lock-time.
740
741 2009-10-05  Miroslav Kure  <kurem@upcase.inf.upol.cz>
742
743         * po/cs.po: updated to 412t
744
745 2009-09-29  Clytie Siddall  <clytie@riverland.net.au>
746
747         * po/vi.po: updated to 412t
748
749 2009-09-27  Miroslav Kure  <kurem@upcase.inf.upol.cz>
750
751         * po/cs.po: updated to 411t1f
752
753 2009-09-24  Christian Perrier  <bubulle@debian.org>
754
755         * man/po/fr.po: Updated French translation to 835t99f165
756
757 2009-09-24  Clytie Siddall  <clytie@riverland.net.au>
758
759         * po/vi.po: updated to 348t30f34u
760
761 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
762
763         * lib/commonio.c: Avoid pre-decrement operator (--n). Add some
764         comments.
765         * libmisc/cleanup.c: Fix off by one in an assertion.
766
767 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
768
769         * src/su.c: Fix indentation.
770         * src/su.c: Add more messages for translation.
771         * src/su.c: Ignore kill() return value when sending the TERM
772         signal. If it fails, a KILL should be sent anyway.
773
774 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
775
776         * NEWS, src/su.c: When su receives a signal, wait for the child to
777         terminate (after sending a SIGTERM), and kill it only if it did
778         not terminate by itself. No delay will be enforced if the child
779         cooperates. See http://bugs.gentoo.org/282094
780         * NEWS, man/su.1.xml: Document su's exit values.
781
782 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
783
784         * src/useradd.c: The default value for the CREATE_MAIL_SPOOL
785         variable (i.e. if CREATE_MAIL_SPOOL= is specified without any
786         values) is "no", not DCREATE_MAIL_SPOOL ("CREATE_MAIL_SPOOL=").
787
788 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
789
790         * src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead.
791         For consistency, change HOME, INACT, EXPIRE, SKEL, and
792         CREATE_MAIL_SPOOL to DHOME, DINACT, DEXPIRE, DSKEL, and
793         DCREATE_MAIL_SPOOL.
794
795 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
796
797         * src/newusers.c: Prefer #ifdef over #if.
798
799 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
800
801         * configure.in: We do not use SETPGRP_VOID, and already assume
802         that setpgrp has a void argument. Remove AC_FUNC_SETPGRP to ease
803         cross compiling.
804
805 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
806
807         * man/generate_translations.mak, man/generate_mans.mak,
808         po/Makefile.in.in: Removing and restoring the config.xml file
809         broke parallel builds. Build the manpages based on *.xml-config
810         files instead of *.xml files.  The *.xml do not include config.xml
811         anymore, which permits to run xml2po without needing to remove
812         config.xml. The config.xml is restored in the *.xml-config files.
813         * man/groupadd.8.xml: Implementation of the above.
814         * man/generate_mans.deps: Updated dependencies
815
816 2009-09-07  Steve Grubb  <sgrubb@redhat.com>
817
818         * libmisc/limits.c: Fix the format to match the unsigned long
819         variable in argument.
820         * libmisc/utmp.c: Fix tests. tmptty is a variable stack. ut_host
821         is an array of the ut structure. None of them can be NULL.
822
823 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
824
825         * lib/shadowmem.c: Only copy the required fields of the struct
826         spwd. (start with the primitive types)
827         * lib/shadowmem.c: Avoid memzero() on a possibly NULL pointer.
828         * lib/groupmem.c: Only copy the required fields of the struct
829         group. (start with the primitive types)
830         * lib/groupmem.c: Avoid memzero() on a possibly NULL pointer.
831         * lib/groupmem.c: Free gr_mem in addition to its elements.
832         * lib/sgroupio.c: The struct sgrp has no primitive types to be
833         copied initially.
834         * lib/sgroupio.c: Avoid memzero() on a possibly NULL pointer.
835         * lib/sgroupio.c: Free sg_mem and sg_add in addition to their
836         elements.
837         * lib/pwmem.c: Only copy the required fields of the struct
838         passwd. (start with the primitive types)
839
840 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
841
842         * lib/sgroupio.h: Harmonize splint annotations of sgr_locate()
843         prototype with the one used in its definition.
844
845 2009-09-07  Steve Grubb  <sgrubb@redhat.com>
846
847         * libmisc/copydir.c, lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
848         Fix some memory leaks.
849
850 2009-09-06  Nicolas François  <nicolas.francois@centraliens.net>
851
852         * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c,
853         src/chpasswd.c, src/groupmems.c, src/usermod.c, src/chgpasswd.c,
854         src/vipw.c, src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c,
855         src/groupadd.c, src/chage.c, src/faillog.c, src/chsh.c: Use
856         booleans for tests.
857         * src/userdel.c, src/gpasswd.c, src/groupmems.c, src/usermod.c,
858         src/groupmod.c, src/passwd.c: Use a break even after usage().
859
860 2009-09-05  Nicolas François  <nicolas.francois@centraliens.net>
861
862         * src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd
863         Usage string. It was changed anyway to add the --help option.
864
865 2009-09-05  Mike Frysinger  <vapier@gentoo.org>
866
867         * NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c,
868         src/newusers.c, src/chpasswd.c, src/groupmems.c, src/usermod.c,
869         src/chgpasswd.c, src/vipw.c, src/su.c, src/useradd.c,
870         src/groupmod.c, src/passwd.c, src/groupadd.c, src/chage.c,
871         src/faillog.c, src/chsh.c: If someone uses the -h/--help options,
872         the usage should not go to stderr nor should the utility exit with
873         non-zero status. All of the shadow utils do just this
874         unfortunately, so convert them over to sanity.
875         * man/groupmems.8.xml, man/gpasswd.1.xml: Added option -h/--help.
876
877 2009-09-05  Nicolas François  <nicolas.francois@centraliens.net>
878
879         * src/useradd.c: Fixed wrong format string.
880         * lib/gshadow.c: Removed declaration of unused variable.
881
882 2009-08-30  Mike Frysinger  <vapier@gentoo.org>
883
884         * man/generate_mans.mak, man/generate_translations.mak: Provide an
885         useful error message when --enable-man is not enabled and the
886         translated manpages are not generated.
887
888 2009-08-21  Nicolas François  <nicolas.francois@centraliens.net>
889
890         * man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They
891         break the groff formatting.
892
893 2009-07-24  Nicolas François  <nicolas.francois@centraliens.net>
894
895         * po/fr.po: Fix typos, based on reviews by the Debian French
896         translation team.
897
898 2009-07-24  Nicolas François  <nicolas.francois@centraliens.net>
899
900         * NEWS, configure.in: Prepare for the next release 4.1.4.2.
901         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
902         * po/*.po, man/po/*.po: Updated PO files.
903
904 2009-07-23  Nicolas François  <nicolas.francois@centraliens.net>
905
906         * configure.in: Fixed definition of the SHELL configuration.
907
908 2009-07-23  Nicolas François  <nicolas.francois@centraliens.net>
909
910         * etc/login.defs: SYS_GID_MIN /SYS_UID_MIN changed from 100 to
911         101. GID 100 seems to be used statically.
912
913 2009-07-22  Nicolas François  <nicolas.francois@centraliens.net>
914
915         * libmisc/shell.c, src/su.c: Execute the scripts with "sh -"
916         rather than "sh".
917
918 2009-07-22  Nicolas François  <nicolas.francois@centraliens.net>
919
920         * configure.in, libmisc/shell.c, libmisc/setupenv.c, src/newgrp.c,
921         src/su.c: Let the system shell be configurable.
922
923 2009-07-20  Nicolas François  <nicolas.francois@centraliens.net>
924
925         * NEWS, src/su.c, libmisc/shell.c: Added support for shells being a
926         shell script without a shebang.
927
928 2009-07-19  Jean-Louis Dupond  <info@dupondje.be>
929
930         * po/nl.po: Fix obvious mistake in Dutch translation.
931
932 2009-07-18  Peter Vrabec  <pvrabec@redhat.com>
933
934         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not use
935         getpwent / getgrent for system accounts. Trying the low-IDs with
936         getpwuid / getgrgid should be more efficient on LDAP configured
937         systems with many accounts.
938         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Since
939         system accounts are allocated from SYS_?ID_MIN to SYS_?ID_MAX in
940         reverse order, accounts are packed close to SYS_?ID_MAX if
941         SYS_?ID_MIN is already used but there are still dome gaps.
942
943 2009-07-05  Piarres Beobide  <pi+debian@beobide.net>
944
945         * po/eu.po: Updated Basque translation.
946
947 2009-06-20  Nicolas François  <nicolas.francois@centraliens.net>
948
949         * man/fi/Makefile.am: Stop distributing the Finnish translation of
950         passwd.1 (outdated).
951
952 2009-06-20  Nicolas François  <nicolas.francois@centraliens.net>
953
954         * man/pwck.8.xml: The shadow file is optional.
955         * man/pwck.8.xml: Updated description of the checks. Added
956         description of the shadow checks.
957         * man/pwck.8.xml: Updated description of the checks.
958
959 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
960
961         * man/po/fr.po: Fixed typo (forunis)
962
963 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
964
965         * lib/fputsx.c: Compare the result of fgets() with the provided
966         buffer instead of NULL.
967
968 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
969
970         * lib/gshadow.c: Removed limitation on the length of the gshadow
971         lines.
972         * lib/gshadow.c: Compare the result of fgetsx() with the provided
973         buffer instead of NULL.
974
975 2009-06-11  Nicolas François  <nicolas.francois@centraliens.net>
976
977         * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetgrnam.c,
978         libmisc/xgetpwuid.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c: Do
979         not limit the size of the buffer to hold the group or user
980         structure. It used to be limited to 16k, which caused issues with
981         groups having many users.
982
983 2009-06-11  Nicolas François  <nicolas.francois@centraliens.net>
984
985         * src/su.c, man/su.1.xml: The default behavior (without -p or
986         --login) is to copy most of the environment variables. Revert a
987         previous change and update the documentation.
988
989 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
990
991         * man/passwd.5.xml, man/shadow.5.xml: Document the passwd- and
992         shadow- files.
993
994 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
995
996         * NEWS, src/su.c: Preserve the DISPLAY and XAUTHORITY environment
997         variables, even with --login. This was not the case before in the
998         PAM version.
999
1000 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1001
1002         * src/useradd.c, src/groupmod.c, src/groupadd.c, src/faillog.c:
1003         Fix typos. Take this opportunity to split the usage messages into
1004         smaller messages (one per option).
1005         * src/pwck.c: Fix typo.
1006
1007 2009-06-05  Petri Koistinen  <petri.koistinen@iki.fi>
1008
1009         * man/passwd.1.xml: The short option for --mindays is -n, not -m.
1010
1011 2009-06-04  Mike Frysinger  <vapier@gentoo.org>
1012
1013         * .gitignore, man/.gitignore, src/.gitignore: Added .gitignore
1014         files.
1015
1016 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1017
1018         * man/su.1.xml: Use <option> for the login.defs options.
1019         * man/su.1.xml: Improve the documentation of the su behavior
1020         regarding environment variables.
1021         * man/su.1.xml: Document that the login.defs file is used.
1022
1023 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1024
1025         * man/login.1.xml: Document that the login.defs file is used.
1026
1027 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1028
1029         * man/login.defs.d/ENVIRON_FILE.xml: Document the format for
1030         comments.
1031
1032 2009-05-26  Nicolas François  <nicolas.francois@centraliens.net>
1033
1034         * man/gpasswd.1.xml: Ease the translation of the refpurpose.
1035         * man/gpasswd.1.xml: Fix typo, shorten sentences.
1036
1037 2009-05-26  Nicolas François  <nicolas.francois@centraliens.net>
1038
1039         * man/pwck.8.xml, man/grpck.8.xml: Move the SEE ALSO section at
1040         the end.
1041
1042 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1043
1044         * src/vipw.c: Make sure opened files are closed.
1045
1046 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1047
1048         * man/chpasswd.8.xml, man/grpck.8.xml, man/newgrp.1.xml,
1049         man/passwd.1.xml, man/sg.1.xml: Avoid a spurious comma.
1050
1051 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1052
1053         * NEWS: New placeholder for the next release.
1054
1055 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1056
1057         * po/fr.po: Updated French translation.
1058
1059 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1060
1061         * NEWS: Prepare the next release.
1062         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1063         * po/*.po, man/po/*.po: Updated PO files.
1064
1065 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1066
1067         * man/passwd.1.xml: passwd -u does not reset the expiry field.
1068
1069 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1070
1071         * man/po/fr.po: Updated some strings.
1072
1073 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1074
1075         * NEWS, src/newgrp.c: Return the exit status of the child. Thanks
1076         to Lionel Elie Mamane.
1077
1078 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1079
1080         * src/usermod.c: Added warnings for absolute symlinks which could
1081         be broken by rename().
1082
1083 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1084
1085         * NEWS, src/userdel.c: Report errors to remove the user's mailbox.
1086         * NEWS, src/userdel.c: When USERGROUPS_ENAB is enabled, remove the
1087         user's group when the user was the only member. This is still not
1088         complete, as the user could have been specified twice in the
1089         members.
1090         * NEWS, src/userdel.c: Do not fail when -r is used and the home
1091         directory does not exist.
1092
1093 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1094
1095         * libmisc/copydir.c: Added warning for relative symlinks.
1096         * libmisc/copydir.c (remove_tree): There is no need to check if
1097         the root argument exist. opendir() will report this.
1098
1099 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1100
1101         * man/faillog.8.xml: Minor updates.
1102
1103 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1104
1105         * man/faillog.5.xml: Split a long paragraph. Typo fixes.
1106
1107 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1108
1109         * man/gpasswd.1.xml: Minor updates.
1110
1111 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1112
1113         * man/gshadow.5.xml: Updated documentation.
1114
1115 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1116
1117         * man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
1118         Harmonize formatting of login.defs and default/useradd variables.
1119         Use an <option> tag.
1120         * man/usermod.8.xml: Added reference to gshadow(5).
1121         * man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the
1122         USERDEL_CMD example.
1123
1124 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1125
1126         * src/su.c: Use a boolean instead of 0.
1127
1128 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
1129
1130         * man/usermod.8.xml: Fixed typos.
1131
1132 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
1133
1134         * configure.in: Next version will be 4.1.4.1.
1135
1136 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
1137
1138         * man/newusers.8.xml: Added notes regarding the ownership of
1139         files.
1140
1141 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1142
1143         * man/groupmod.8.xml: Split the -g option description into smaller
1144         paragraphs.
1145
1146 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1147
1148         * man/usermod.8.xml: Ownership of the mailbox is also changed with
1149         the -u option.
1150
1151 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1152
1153         * man/useradd.8.xml: When no passwords are provided, the password
1154         is disabled, not the account.
1155
1156 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1157
1158         * man/newusers.8.xml, man/chpasswd.8.xml, man/useradd.8.xml,
1159         man/groupadd.8.xml, man/usermod.8.xml, man/chgpasswd.8.xml,
1160         man/groupmod.8.xml: Added warning: passwords set with these tools
1161         may not respect the password policy.
1162
1163 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1164
1165         * man/groupadd.8.xml: Fixed formatting issue.
1166
1167 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1168
1169         * man/userdel.8.xml: Added warning for files that could remain
1170         owner by the removed user.
1171
1172 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1173
1174         * man/useradd.8.xml: Fix formatting typo.
1175
1176 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1177
1178         * man/groupdel.8.xml: Move the warning on filesystems checks to
1179         the CAVEAT section.
1180
1181 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1182
1183         * man/login.defs.d/GID_MAX.xml: Fixed typo. useradd was specified
1184         twice.
1185
1186 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1187
1188         * man/groupadd.8.xml, man/useradd.8.xml: names may also contain
1189         digits.
1190
1191 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1192
1193         * man/shadow.5.xml: What is important in shadow is not the
1194         encryption, but that the file is not world readable.
1195
1196 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1197
1198         * man/po/fr.po: Updated French translation. Thanks to ABBAS
1199         Belkacem for the login.defs update.
1200
1201 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1202
1203         * man/usermod.8.xml: Split the CAVEAT section in paragraphs.
1204         Updated information on the user_busy check.
1205
1206 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1207
1208         * man/userdel.8.xml: Document tat -f may force teh deletion of a
1209         busy user.
1210
1211 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1212
1213         * NEWS, src/usermod.c: Check if the user is busy when the user's
1214         UID, name or home directory is changed.
1215
1216 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1217
1218         * src/userdel.c, libmisc/user_busy.c, libmisc/Makefile.am,
1219         lib/prototypes.h: Move user_busy() to libmisc/user_busy.c.
1220         * NEWS, libmisc/user_busy.c: On Linux, do not check if an user is
1221         logged in with utmp, but check if the user is running some
1222         processes. If not on Linux, continue to search for an utmp record,
1223         but make sure the process recorded in the utmp entry is still
1224         running.
1225
1226 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1227
1228         * man/usermod.8.xml: Document the -m/--move-home option.
1229
1230 2009-05-17  Nicolas François  <nicolas.francois@centraliens.net>
1231
1232         * src/userdel.c (user_busy): Check if the process registered in
1233         utmp is still running. This avoids rejecting the removal of an
1234         user when UTMP was not updated and indicate that the user is still
1235         logged in.
1236
1237 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1238
1239         * NEWS, libmisc/console.c (console): Remove the leading /dev/ from
1240         the tty before comparing with the lines specified by CONSOLE.
1241         * src/su.c: Do not remove the /dev/ prefix since it is done by
1242         console().
1243
1244 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1245
1246         * man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE
1247         file.
1248
1249 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1250
1251         * NEWS, src/login.c: Fix failure of non PAM enabled versions when
1252         an empty username is entered after a first prompt.
1253
1254 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1255
1256         * src/passwd.c: Added missing end of line at the end of success
1257         messages.
1258
1259 2009-05-16  sacha  <sachall@infonie.fr>
1260
1261         * po/fr.po: Fixed typo in the vipw usage string.
1262
1263 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
1264
1265         * libmisc/shell.c: Removed invalid code that executed the user's
1266         shell as a shell script when the direct execution of the user's
1267         shell failed with ENOEXEC and the user's shell has a shebang. The
1268         interpreter might not be the right one.  Executing the user's
1269         shell with sh -c might be better, but I'm not sure we should try
1270         harder when there is a failure. Note: the removed code was only
1271         included #ifndef __linux__.
1272
1273 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
1274
1275         * man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed
1276         when the group is used by other users, not the user.
1277
1278 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
1279
1280         * src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the
1281         USERDEL_CMD script example from the source code to the
1282         documentation.
1283
1284 2009-05-11  Nicolas François  <nicolas.francois@centraliens.net>
1285
1286         * man/newusers.8.xml: PAM enabled version: describe how passwords
1287         are updated and how newusers behave in case of error.
1288
1289 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1290
1291         * NEWS, configure.in: New release will be 4.1.4.
1292         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1293         * po/*.po, man/po/*.po: Updated PO files.
1294
1295 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1296
1297         * libmisc/copydir.c: Added prototype of readlink_malloc(), and
1298         readlink_malloc() changed to static.
1299
1300 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1301
1302         * src/su.c: Avoid redeclaration of root_pw.
1303
1304 2009-05-10  NAKANO Takeo  <nakano@webmasters.gr.jp>
1305
1306         * po/ja.po: Updated Japanese translation.
1307
1308 2009-05-10  Jean-Luc Coulon (f5ibh)  <jean-luc.coulon@wanadoo.fr>
1309
1310         * po/fr.po: Updated French translation.
1311
1312 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1313
1314         * lib/commonio.c: Avoid PATH_MAX. On glibc, we can use realpath
1315         with a NULL argument.
1316         * src/useradd.c: Replace PATH_MAX by a fixed constant. The buffer
1317         was not meant as a storage for a path.
1318         * src/useradd.c, src/newusers.c, src/chpasswd.c: Better detection
1319         of fgets errors. Lines shall end with a \n, unless we reached the
1320         end of file.
1321         * libmisc/copydir.c: Avoid PATH_MAX. Support file paths with any
1322         length. Added readlink_malloc().
1323
1324 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1325
1326         * src/pwck.c: Warn if an user has an entry in passwd and shadow,
1327         and the password field in passwd is not 'x'.
1328         * src/grpck.c: Warn if a group has an entry in group and gshadow,
1329         and the password field in group is not 'x'.
1330
1331 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1332
1333         * man/login.defs.d/ENCRYPT_METHOD.xml,
1334         man/login.defs.d/MD5_CRYPT_ENAB.xml,
1335         man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Updated note for PAM
1336         enabled versions. These variables are only used for group
1337         passwords in this case.
1338
1339 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1340
1341         * man/chpasswd.8.xml: Sorted options alphabetically.
1342
1343 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1344
1345         * NEWS, src/newusers.c, src/Makefile.am: Added support for
1346         changing the passwords with PAM.
1347         * src/newusers.c: Split the usage string in smaller parts to
1348         allow enabling single parts.
1349         * man/newusers.8.xml: Indicate the options and configuration
1350         variables valid for PAM and non-PAM versions.
1351         * man/newusers.8.xml: Added pointer to /etc/pam.d/chpasswd.
1352
1353 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1354
1355         * src/userdel.c: Remove duplicate definitions of exit codes.
1356
1357 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1358
1359         * libmisc/non_interactive_pam_conv.c,
1360         libmisc/pam_pass_non_interractive.c, libmisc/Makefile.am: Renamed.
1361         * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
1362         non_interactive_password and non_interactive_pam_conv do not need
1363         to be externally visible.
1364         * libmisc/pam_pass_non_interractive.c: Added declaration of
1365         ni_conv.
1366         * libmisc/pam_pass_non_interractive.c: Only compile ifdef USE_PAM.
1367         * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
1368         Added do_pam_passwd_non_interractive().
1369         * src/chpasswd.c: Use do_pam_passwd_non_interractive().
1370
1371 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1372
1373         * libmisc/pam_pass.c: Removed comment regarding pam_misc. This is
1374         checked by configure.in.
1375
1376 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1377
1378         * man/login.defs.5.xml: PAM enabled chpasswd do not use any
1379         configuration variable from login.defs.
1380
1381 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1382
1383         * man/passwd.1.xml: Differentiate the files used for PAM and
1384         non-PAM versions.
1385
1386 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1387
1388         * man/chpasswd.8.xml: Describe how chpasswd behaves in case of error.
1389         * man/chpasswd.8.xml: Describe the PAM enabled chpasswd behavior.
1390         * man/chpasswd.8.xml: Differentiate the files and configurations
1391         used for PAM and non-PAM versions.
1392
1393 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1394
1395         * src/login.c: failcount does not need to be signed.
1396
1397 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1398
1399         * src/Makefile.am: PAM enabled chpasswd now needs to be linked to
1400         the PAM library, even if --enable-account-tools-setuid is not
1401         used.
1402
1403 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1404
1405         * src/chpasswd.c: Added the line number when an error is reported
1406         instead of only the username.
1407         * src/chpasswd.c: PAM enabled chpasswd may change the password
1408         database (for the user where the password update succeeded) even
1409         if there were a failure for one user. Do not indicate that changes
1410         were ignored.
1411
1412 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1413
1414         * src/passwd.c: Exit immediately when unlocking a password would
1415         result in a passwordless account. This avoid printing a success
1416         message after the warning.
1417
1418 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1419
1420         * src/nologin.c: Include <stdlib.h> to get EXIT_FAILURE.
1421
1422 2009-05-04  Nicolas François  <nicolas.francois@centraliens.net>
1423
1424         * NEWS, configure.in: Fix build failure on non-PAM enabled system
1425         when --without-pam is not specified.
1426
1427 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1428
1429         * lib/commonio.c: Ignore the return values of fclose() and
1430         unlink() in case of failure of fopen_set_perms() or
1431         create_backup().
1432         * lib/commonio.c: Should the backup file be unlink'ed in case of
1433         failure of create_backup()?
1434
1435 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1436
1437         * lib/getulong.c: Added splint annotations.
1438
1439 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1440
1441         * src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c,
1442         src/userdel.c, src/chpasswd.c, src/grpck.c, src/gpasswd.c,
1443         src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
1444         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
1445         src/groupadd.c, src/chage.c, src/login.c, src/faillog.c,
1446         src/sulogin.c, src/chsh.c, src/pwconv.c: Added splint annotations.
1447         * src/userdel.c, src/pwconv.c, src/lastlog.c, src/grpck.c,
1448         src/vipw.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/login.c,
1449         src/sulogin.c, src/usermod.c: Use return instead of exit at the
1450         end of main().
1451         * src/gpasswd.c, src/passwd.c, src/faillog.c: Use the exitcodes.h
1452         exit codes.
1453         * src/chpasswd.c: Added missing ||.
1454         * src/nologin.c: Do not include exitcodes.h.
1455         * src/nologin.c: Added brackets.
1456         * src/nologin.c: Avoid assignments in comparisons.
1457
1458 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1459
1460         * libmisc/getgr_nam_gid.c, lib/get_gid.c, lib/get_pid.c,
1461         lib/get_uid.c: Added splint annotations.
1462
1463 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1464
1465         * lib/exitcodes.h: Define E_SUCCESS as EXIT_SUCCESS. Added FIXMEs.
1466         * libmisc/chowntty.c, libmisc/rlogin.c, libmisc/sub.c,
1467         src/newusers.c, libmisc/sulog.c, libmisc/system.c, src/logoutd.c,
1468         src/groups.c, src/id.c, lib/encrypt.c, libmisc/audit_help.c,
1469         libmisc/limits.c: Return EXIT_FAILURE instead of 1, and
1470         EXIT_SUCCESS instead of 0.
1471         * libmisc/audit_help.c: Replace an fprintf() by fputs().
1472         * libmisc/audit_help.c: Remove documentation of the audit_logger
1473         returned values. The function returns void.
1474         * libmisc/system.c: Only return status if waitpid succeeded.
1475         Return -1 otherwise.
1476
1477 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1478
1479         * NEWS, src/chpasswd.c: Added support for changing the passwords
1480         with PAM.
1481         * src/chpasswd.c: Split the usage string in smaller parts to
1482         allow enabling single parts.
1483         * src/chpasswd.c: Do not set a global lock on the password files.
1484         This is done by PAM each time a password is updated.
1485
1486 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1487
1488         * lib/defines.h: Include <utmpx.h> and <utmp.h> to define
1489         USER_NAME_MAX_LENGTH.
1490
1491 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1492
1493         * src/login.c: Change a snprintf() to strncpy(). There are no
1494         format.
1495
1496 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1497
1498         * src/passwd.c: Harmonize status report at the end of passwd.
1499         Prefix the messages with "passwd: ", only indicate a password
1500         change if the password was actually changed, and password
1501         properties changed otherwise.
1502
1503 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1504
1505         * src/chgpasswd.c, src/newusers.c: There is no need to test for 0
1506         after getopt_long. No options have flag != NULL.
1507
1508 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1509
1510         * lib/prototypes.h: Replace #if by #ifdef
1511         * libmisc/Makefile.am, lib/prototypes.h,
1512         libmisc/non_interactive_pam_conv.c: Added
1513         non_interactive_pam_conv() and non_interactive_password.
1514
1515 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1516
1517         * libmisc/utmp.c, src/userdel.c, src/logoutd.c: Replace #if by #ifdef
1518
1519 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1520
1521         * src/vipw.c: Harmonize messages.
1522
1523 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1524
1525         * src/lastlog.c: Replace atoi() by getulong().
1526
1527 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1528
1529         * libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
1530
1531 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1532
1533         * libmisc/rlogin.c: Replace atoi() by getulong().
1534
1535 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1536
1537         * libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
1538
1539 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1540
1541         * libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
1542         are no more needed.
1543
1544 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1545
1546         * libmisc/limits.c: Replace strtol() by getlong().
1547         * libmisc/limits.c: Replace HAVE_UTMPX_H by USE_UTMPX.
1548
1549 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1550
1551         * man/groupmod.8.xml, man/usermod.8.xml, man/groupadd.8.xml,
1552         man/useradd.8.xml: Added note to warn about insecurity in using
1553         --password.
1554         * man/groupmod.8.xml: Removed not regarding default if --password
1555         is not used. This was a cut&paste from groupadd.8.xml.
1556         * man/passwd.1.xml: Split some paragraphs.
1557         * man/passwd.1.xml: Recommend other encryption methods than DES.
1558
1559 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1560
1561         * src/login.c: Move update_utmp() after the PID or session ID
1562         changed in order to get more accurate data in UTMP. This also
1563         fixes "exec login" when login in installed setuid.
1564
1565 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1566
1567         * src/login.c: Reuse a string and avoid an untranslated message
1568         "Login incorrect".
1569
1570 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1571
1572         * src/login.c: Replace HAVE_UTMPX_H by USE_UTMPX.
1573         * src/login.c: Avoid name clash between global variables and the
1574         update_utmp() arguments.
1575
1576 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1577
1578         * src/groupadd.c, lib/commonio.c, lib/groupio.c: Added missing
1579         include of <assert.h>
1580
1581 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1582
1583         * lib/prototypes.h: Replace HAVE_UTMPX_H by USE_UTMPX.
1584         * lib/prototypes.h, libmisc/log.c: Added splint annotations.
1585         * libmisc/log.c: Added SYSLOG warning when lseek fails (should not
1586         happen).
1587
1588 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1589
1590         * libmisc/mail.c, libmisc/copydir.c: Added missing include of
1591         <assert.h>
1592
1593 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1594
1595         * libmisc/env.c: Added assertions on the snprintf results.
1596
1597 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1598
1599         * NEWS, configure.in: Added configure option --enable-utmpx,
1600         disabled by default. This defines USE_UTMPX, which should be used
1601         instead of HAVE_UTMPX_H.
1602         * libmisc/utmp.c: Replace HAVE_UTMPX_H by USE_UTMPX.
1603         * libmisc/utmp.c: Removed old comment on HAVE_STRUCT_UTMP_UT_ID
1604         and UTMPX support.
1605
1606 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1607
1608         * man/po/fr.po: Fix typo.
1609
1610 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
1611
1612         * src/newgrp.c: Close the databases before changing the UDI and
1613         GID.
1614
1615 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
1616
1617         * libmisc/myname.c: Updated splint annotations.
1618
1619 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
1620
1621         * lib/commonio.c: Added splint annotations.
1622         * lib/commonio.c: old_context should be local to commonio_close(),
1623         not global.
1624
1625 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
1626
1627         * src/passwd.c: Do not freecon strings duplicated with strdup.
1628         Also avoid allocation of memory.
1629         * src/passwd.c: Use SYSLOG instead of syslog.
1630
1631 2009-04-25  Miroslav Kure  <kurem@upcase.inf.upol.cz>
1632
1633         * po/cs.po: Updated to 352T7f8u
1634
1635 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1636
1637         * lib/commonio.h, lib/commonio.c: Added splint annotations.
1638         * lib/commonio.c: Do not assumes eptr is always notnull.
1639
1640 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1641
1642         * NEWS, po/pt.po: Updated Portuguese translation.
1643
1644 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1645
1646         * libmisc/copydir.c: Added splint annotations.
1647         * libmisc/copydir.c: Added assert to help splint.
1648         * libmisc/copydir.c: Free allocated structures in cas of failure.
1649         * libmisc/copydir.c: Avoid implicit conversion of pointers to
1650         booleans.
1651         * libmisc/copydir.c: Use buffers of size PATH_MAX instead of 1024
1652         for filenames.
1653         * libmisc/copydir.c: Use fchmod and fchown to change the mode of
1654         the opened file.
1655         * libmisc/copydir.c: Indicate the mode to open(), even if we chmod
1656         later.
1657
1658 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1659
1660         * lib/prototypes.h: Added prototypes of getulong() and get_pid().
1661         * lib/prototypes.h: Added splint annotations.
1662
1663 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1664
1665         * lib/commonio.c: Use get_pid() instead of strtol.
1666         * lib/commonio.c: Replace an int by a size_t.
1667
1668 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1669
1670         * lib/commonio.h: Added splint annotations.
1671
1672 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1673
1674         * lib/sgroupio.c: Free allocated structures on failure.
1675         * lib/sgroupio.c: Added splint annotations.
1676
1677 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1678
1679         * lib/Makefile.am, lib/get_pid.c, lib/getulong.c: Added get_pid()
1680         and getulong().
1681
1682 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1683
1684         * lib/getlong.c: Do not check for NULL string but empty string.
1685
1686 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1687
1688         * lib/groupio.c: Updated splint annotations.
1689         * lib/groupio.c: Added assert to help splint.
1690
1691 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1692
1693         * src/useradd.c: Check assumptions on snprintf().
1694         * src/useradd.c: Replace peror by an strerror and avoid an
1695         intermediate buffer.
1696         * src/useradd.c: Save errno between the failure and the report by
1697         perror/strerror.
1698         * src/useradd.c: Prefer xmalloc to malloc.
1699
1700 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1701
1702         * src/lastlog.c: Remove function calls from within assert().
1703
1704 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1705
1706         * libmisc/obscure.c: Change some int to size_t.
1707
1708 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1709
1710         * libmisc/console.c: Use a less disturbing construct for splint.
1711
1712 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1713
1714         * libmisc/limits.c: Parse the limits, umask, nice, maxlogin, file
1715         limit with getlog() / getulong(). This also means, in case of
1716         non-PAM enabled systems, that the umask specified on the GECOS
1717         fields should start with a 0 if specified in octal. (it used to be
1718         force to octal). Do the appropriate cast and range checking.
1719
1720 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1721
1722         * libmisc/salt.c: In case gettimeofday() fails, get some entropy
1723         from the PID.
1724
1725 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1726
1727         * libmisc/setupenv.c: Prefer snprintf to sprintf, even if a small
1728         context indicates no issues.
1729         * libmisc/setupenv.c: Avoid implicit conversion of pointers to
1730         booleans.
1731
1732 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1733
1734         * libmisc/loginprompt.c: Prefer snprintf to sprintf, even if a
1735         small context indicates no issues.
1736
1737 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1738
1739         * src/faillog.c: Remove function calls from within assert().
1740
1741 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1742
1743         * libmisc/mail.c: Ignore the return value of puts().
1744         * libmisc/mail.c: Prefer snprintf to sprintf, even if a small
1745         context indicates no issues.
1746
1747 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1748
1749         * lib/commonio.c, lib/commonio.h, lib/groupio.c, lib/groupio.h,
1750         lib/pwio.c, lib/pwio.h, lib/shadowio.c, lib/shadowio.h: Added
1751         splint annotations. The *_locate() and *_next() functions
1752         currently return an observer. As the structure are often modified
1753         by the caller, it could maybe be changed to exposed later. (and
1754         non-const)
1755
1756 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1757
1758         * lib/pwauth.c: Use a boolean for wipe_clear_pass and use_skey.
1759         * lib/pwauth.c: Added splint annotations.
1760         * lib/pwauth.c: Added brackets and parenthesis.
1761         * lib/pwauth.c: Avoid assignments in comparisons.
1762         * lib/pwauth.c: Avoid implicit conversion of pointers or
1763         characters to booleans.
1764
1765 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1766
1767         * src/groupmod.c: Cast ID to ulongs and use ulong formats for IDs.
1768
1769 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1770
1771         * src/newgrp.c: Added splint annotations.
1772         * src/newgrp.c: audit_buf is only used in newgrp. Make it static.
1773         * src/newgrp.c: Ignore the return value of fputs().
1774         * src/newgrp.c: Use exit(EXIT_FAILURE) instead of exit(1).
1775
1776 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1777
1778         * libmisc/pwdcheck.c (passwd_check): The progname is not used.
1779         * libmisc/pwdcheck.c: Ignore the return value of sleep().
1780         * libmisc/pwdcheck.c: Use exit(EXIT_FAILURE) instead of exit(1).
1781
1782 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1783
1784         * libmisc/setupenv.c: Avoid assignments in comparisons.
1785         * libmisc/setupenv.c: Added brackets and parenthesis.
1786         * libmisc/setupenv.c: Ignore the return value of fclose (file
1787         opened read-only)
1788         * libmisc/setupenv.c: Ignore the return value of puts().
1789         * libmisc/setupenv.c: Avoid implicit conversion of pointers to
1790         booleans.
1791
1792 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1793
1794         * libmisc/find_new_gid.c, libmisc/find_new_uid.c,
1795         libmisc/isexpired.c, src/groupadd.c, lib/pwauth.h, lib/groupmem.c,
1796         lib/shadowmem.c, lib/pwmem.c, lib/prototypes.h: Added splint
1797         annotations.
1798
1799 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1800
1801         * libmisc/loginprompt.c: Use exit(EXIT_FAILURE) instead of
1802         exit(1).
1803         * libmisc/loginprompt.c: Avoid implicit conversion of pointers to
1804         booleans.
1805         * libmisc/loginprompt.c: Ignore return value of putc().
1806
1807 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1808
1809         * libmisc/env.c, libmisc/age.c: Added splint annotations.
1810         * libmisc/age.c: Added brackets and parenthesis.
1811         * libmisc/age.c: Ignore the return value of fclose (file opened
1812         read-only)
1813         * libmisc/age.c: Ignore puts() return value.
1814         * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
1815         * libmisc/age.c: Avoid assignments in comparisons.
1816
1817 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1818
1819         * lib/fputsx.c, lib/gshadow.c, lib/commonio.h: Added splint
1820         annotations.
1821
1822 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1823
1824         * lib/get_gid.c: gidstr should not be NULL, but the check was
1825         meant to make sure it is not empty.
1826         * lib/get_uid.c: Likewise.
1827
1828 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1829
1830         * lib/getdef.c: Added splint annotations.
1831         * lib/getdef.c: Ignore fputs() return value.
1832         * lib/getdef.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
1833
1834 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1835
1836         * src/faillog.c: Added splint annotations.
1837         * src/faillog.c: Cast ID to ulongs and use ulong formats for IDs.
1838         * src/faillog.c: Ignore fflush() return value.
1839         * src/faillog.c: Added parenthesis.
1840
1841 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1842
1843         * src/grpck.c: Ignore puts return value.
1844         * src/grpck.c: Avoid variable format string.
1845
1846 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1847
1848         * src/lastlog.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
1849         * src/lastlog.c: Added splint annotations.
1850         * src/lastlog.c: Avoid global pwent.
1851         * src/lastlog.c: Cast ID to ulongs and use ulong formats for IDs.
1852         * src/lastlog.c: Avoid assignment in comparisons.
1853         * src/lastlog.c: Ignore fclose() return value since the file is
1854         only opened for reading.
1855
1856 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1857
1858         * src/newgrp.c: Added assertion to guide splint (and me).
1859
1860 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1861
1862         * libmisc/find_new_gid.c: Use booleans instead of char fo
1863         used_gids.
1864         * libmisc/find_new_gid.c: Use getdef_ulong and cast to git_t to
1865         get GID values.
1866         * libmisc/find_new_gid.c: Use UL as a prefix for ulong values.
1867         * libmisc/find_new_uid.c: Likewise.
1868
1869 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1870
1871         * libmisc/yesno.c: Ignore the return value of puts.
1872
1873 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1874
1875         * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
1876         * libmisc/age.c: The return value of execl() is not used.
1877
1878 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1879
1880         * libmisc/xgetXXbyYY.c, libmisc/myname.c, libmisc/getgr_nam_gid.c,
1881         libmisc/salt.c, libmisc/list.c, libmisc/cleanup.c, src/login.c,
1882         lib/getdef.h, lib/groupio.c, lib/getlong.c, lib/gshadow_.h,
1883         lib/sgroupio.c, lib/shadowio.c, lib/pwio.c, lib/commonio.h,
1884         lib/fputsx.c, lib/prototypes.h: Added splint annotations.
1885         * lib/groupio.c: Avoid implicit conversion of pointers to
1886         booleans.
1887         * lib/groupio.c: Free allocated buffers in case of failure.
1888
1889 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1890
1891         * lib/defines.h: Added splint definitions to replace <locale.h>
1892
1893 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1894
1895         * libmisc/utmp.c, libmisc/age.c, libmisc/shell.c, lib/groupio.c,
1896         lib/groupio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c,
1897         lib/pwio.c, lib/commonio.c, lib/shadowio.h, lib/pwio.h,
1898         lib/commonio.h, lib/prototypes.h: Added splint annotations.
1899
1900 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1901
1902         * libmisc/utmp.c: Only set ut_time and ut_tv if gettimeofday()
1903         succeeds.
1904
1905 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1906
1907         * libmisc/utmp.c: Fix the check for empty host in prepare_utmp()
1908         and prepare_utmpx().
1909
1910 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1911
1912         * libmisc/utmp.c: The ut argument of prepare_utmp() and
1913         prepare_utmpx () might be NULL. ut_id needs to be forged in that
1914         case.
1915
1916 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1917
1918         * libmisc/utmp.c: Removed old documentation of setutmp().
1919
1920 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1921
1922         * libmisc/utmp.c: Use xmalloc() rather than malloc().
1923
1924 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1925
1926         * libmisc/utmp.c: The name returned by ttyame() needs to be copied
1927         locally.
1928
1929 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1930
1931         * src/login.c: Added assert()s for NULL (or ! NULL) username, and
1932         pwd. This helps splint.
1933         * src/login.c: Added splint annotations.
1934
1935 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1936
1937         * src/login.c: After login_prompt(), do not check for unset
1938         username, but for empty username.
1939
1940 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1941
1942         * lib/defines.h: Define USER_NAME_MAX_LENGTH, based on utmp and
1943         default to 32.
1944         * libmisc/chkname.c: Use USER_NAME_MAX_LENGTH.
1945         * src/login.c: Use USER_NAME_MAX_LENGTH instead of the default 32.
1946         username also needs to be bigger than USER_NAME_MAX_LENGTH because
1947         it has to be nul-terminated.
1948
1949 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1950
1951         * src/login.c: Use xmalloc() instead of malloc().
1952
1953 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1954
1955         * src/login.c: Ignore the return value of puts(), fputs(),
1956         strftime().
1957
1958 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1959
1960         * src/login.c: timeout, delay, and retries should be unsigned.
1961         * src/login.c: Ignore the return value of alarm() and sleep().
1962
1963 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1964
1965         * src/login.c: If we cannot get the terminal configuration, do not
1966         change the terminal configuration. setup_tty() is just a best
1967         effort configuration of the terminal.
1968         * src/login.c: Ignore failures when setting the terminal
1969         configuration.
1970         * src/login.c: Fail if the ERASECHAR or KILLCHAR configurations
1971         are not compatible with a cc_t type.
1972
1973 2009-04-22  Paul Szabo  <psz@maths.usyd.edu.au>
1974
1975         * src/login.c: utent might be NULL after get_current_utmp().
1976
1977 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1978
1979         * src/login.c: Removed temp_shell. No more used.
1980         * src/login.c: lastlog is only used #ifndef USE_PAM
1981         * src/login.c: Rename lastlog to ll to avoid name clash with the
1982         lastlog type.
1983
1984 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1985
1986         * src/login.c: Added update_utmp() to group the prepare_utmp and
1987         setutmp (and the utmpx versions).
1988
1989 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1990
1991         * src/login.c: Do not include netdb.h. gethostbyname() is no more
1992         called from within login.c. Also UT_ADDR does not exist anymore.
1993
1994 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1995
1996         * src/login.c: Check if login is run with effective root
1997         privileges. This should be more helpful to users than a failure to
1998         find an utmp entry or failure to access a file.
1999
2000 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2001
2002         * libmisc/utmp.c: Reworked. Get rid of Linux specific stuff. Get rid
2003         of global utent/utxent variables. Only reuse the ut_id and maybe
2004         the ut_host fields from utmp.
2005         * lib/prototypes.h, libmisc/utmp.c: Removed checkutmp(),
2006         setutmp(), setutmpx().
2007         * lib/prototypes.h, libmisc/utmp.c: Added get_current_utmp(),
2008         prepare_utmp(), prepare_utmpx(), setutmp(), setutmpx().
2009         * libmisc/utmp.c (is_my_tty): Only compare the name of the utmp
2010         line with ttyname(). (No stat of the two terminals to compare the
2011         devices).
2012         * libmisc/utmp.c: Use getaddrinfo() to get the address of the
2013         host.
2014         * configure.in: Check for getaddrinfo().
2015         * configure.in: Use AC_CHECK_MEMBERS to check for the existence of
2016         fields in the utmp/utmpx structures.
2017         * configure.in: Reject systems with utmpx support but no ut_id
2018         field in utmp. This could be fixed later if needed.
2019         * src/login.c: Use the new utmp functions. This also simplifies
2020         the failtmp() handling.
2021         * src/login.c: passwd_free() renamed to pw_free() and
2022         shadow_free() renamed to spw_free()
2023
2024 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2025
2026         * NEWS, configure.in: Enable --enable-account-tools-setuid by
2027         default for PAM builds, as it used to be before the introduction
2028         of this option.
2029
2030 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2031
2032         * etc/pam.d/Makefile.am: Distribute all pam.d files, even if
2033         ACCT_TOOLS_SETUID is not enabled.
2034
2035 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2036
2037         * lib/shadowmem.c: Added spw_free().
2038         * lib/shadowio.c: Use spw_free() for shadow_free().
2039         * lib/groupmem.c: Added gr_free().
2040         * lib/groupio.c: Use gr_free() for group_free().
2041         * lib/pwmem.c: Include define.h before prototypes.h
2042         * lib/pwmem.c: Added pw_free().
2043         * lib/pwio.c: Use pw_free() for passwd_free().
2044         * lib/sgroupio.c: Added sgr_free().
2045         * lib/sgroupio.c: Use sgr_free() for gshadow_free().
2046         * lib/prototypes.h: Added gr_free(), pw_free(), sgr_free(),
2047         spw_free().
2048
2049 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2050
2051         * libmisc/shell.c: Add brackets and parenthesis.
2052         * libmisc/shell.c: Avoid assignments in comparisons.
2053         * libmisc/shell.c: Re-indent.
2054
2055 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2056
2057         * lib/defines.h: Added MIN and MAX macros.
2058         * libmisc/salt.c: Removed MIN and MAX macros.
2059
2060 2009-04-20  Sven Joachim  <svenjoac@gmx.de>
2061
2062         * NEWS, src/lastlog.c: Fix regression causing empty reports.
2063         Get the size of the file before printing the entries.
2064
2065 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2066
2067         * src/login.c: Get rid of pwent. pwd is sufficient as long as it
2068         is always coming from xgetpwnam. There is no need to copy pwd to
2069         pwent, this was not a good idea anyway as the strings from pwd
2070         were not duplicated.
2071         * src/login.c: Always free the pwd and spwd structure when we
2072         retrieve a new one. This will clear the password of the previous
2073         user from the memory.
2074         * src/login.c: user_passwd is used to keep point to the password
2075         of the user being authenticated.
2076         * src/login.c: (non PAM) Fail if the user's entry cannot be found
2077         after the user updated her password (if expire() requested an
2078         update).
2079         * src/login.c: If the user does not exist on the system, there is
2080         no need to build a pwd structure (with shell).
2081
2082 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2083
2084         * src/login.c: ttytype already checks for TTYTYPE_FILE and TERM.
2085         Just call ttytype.
2086
2087 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2088
2089         * src/login.c: Open the PAM session before pam_setcred and before
2090         initgroups. This is more consistent with rfc86.0.
2091
2092 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2093
2094         * src/login.c: Added helper functions get_pam_user() and
2095         get_failent_user().
2096
2097 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2098
2099         * src/login.c: Added parameter to check_nologin. This will help
2100         getting rid of the global pwent variable.
2101
2102 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2103
2104         * src/login.c: Added comments.
2105         * src/login.c: Close the user and group files before dropping root
2106         privileges.
2107
2108 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2109
2110         * src/login.c: We do not need to keep the old umask. Discard the
2111         umask() return value.
2112
2113 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2114
2115         * libmisc/hushed.c, lib/prototypes.h, src/login.c: Change the
2116         hushed() prototype to take a username instead of a passwd
2117         structure in argument. The passwd entry is retrieved withing
2118         hushed().
2119
2120 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2121
2122         * libmisc/setugid.c: Updated comments.
2123
2124 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2125
2126         * libmisc/failure.h, libmisc/failure.c, src/login.c: Added
2127         username as first parameter of failtmp to avoid issues with
2128         non-null terminated ut_user, unavailability of ut_user, incomplete
2129         username (that should not happen currently).
2130
2131 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2132
2133         * libmisc/ttytype.c: Add brackets and parenthesis.
2134         * libmisc/ttytype.c: Avoid assignments in comparisons.
2135
2136 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2137
2138         * lib/pwio.c, lib/shadowio.c, lib/groupio.c, lib/sgroupio.c: Fill
2139         the password fields with zeros before they are freed.
2140
2141 2009-04-19  Changwoo Ryu  <cwryu@debian.org>
2142
2143         * po/ko.po: Updated Korean translation.
2144
2145 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
2146
2147         * NEWS, src/login.c: Also check if the authentication token of the
2148         user has to be updated in case the user was already authenticated.
2149
2150 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
2151
2152         * src/login.c: fflg is already restricted to root. Move
2153         pam_acct_mgmt(), in case of fflg, earlier. This is equivalent and
2154         simplifies the code.
2155
2156 2009-04-19  Paul Szabo  <psz@maths.usyd.edu.au>
2157
2158         * libmisc/utmp.c: Always call endutent or endutxent when setutent
2159         or setutxent were used.
2160
2161 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
2162
2163         * src/login.c: Added comment to make sure PAM_RHOST or PAM_TTY do
2164         not get set to unsanitized values.
2165
2166 2009-04-17  Paul Szabo  <psz@maths.usyd.edu.au>
2167
2168         * NEWS, src/login.c: Do not trust the current utmp entry's ut_line
2169         to set PAM_TTY.
2170         * libmisc/utmp.c: Do not trust the current utmp entry's ut_line.
2171         Always set ut_line based on ttyname(0).
2172
2173 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2174
2175         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
2176         * po/*.po, man/po/*.po: Updated PO files.
2177         * configure.in: Updated version number.
2178
2179 2009-04-15  Peter Vrabec  <pvrabec@redhat.com>
2180
2181         * NEWS, src/userdel.c: Fixed SE Linux support. semanage should be
2182         called at the end.
2183         * src/useradd.c: Always call selinux_update_mapping() (i.e.
2184         semanage), not only when -Z is used.
2185
2186 2009-04-15  Peter Vrabec  <pvrabec@redhat.com>
2187
2188         * NEWS, srclib/getlong.c: Fix parsing of octal numbers.
2189
2190 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2191
2192         * NEWS, src/login.c: Fix segfault when no user is provided on the
2193         command line.
2194
2195 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2196
2197         * README, libmisc/system.c: Was contributed by Dan Walsh.
2198
2199 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2200
2201         * NEW, src/vipw.c: SE Linux: Set the default context to the
2202         context of the file being edited. This ensures that the backup
2203         file inherit from the file's context.
2204
2205 2009-04-14  Nicolas François  <nicolas.francois@centraliens.net>
2206
2207         * man/usermod.8.xml: There are no default values for --inactive
2208         and --gid. If the options are no provided, the original values are
2209         not changed.
2210
2211 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2212
2213         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
2214         * po/*.po, man/po/*.po: Updated PO files.
2215
2216 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2217
2218         * src/su.c: If there are no root account, or if the root account
2219         has an UID != 0, default to the first UID 0 account.
2220
2221 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2222
2223         * src/login.c: Restore the echoctl, echoke, onclr flags to the
2224         terminal termio flags. Reset echoprt, noflsh, tostop. This
2225         behavior seems to have change by mistake in earlier releases
2226         (4.0.8, for no obvious reason).
2227
2228 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2229
2230         * src/login.c: Fix the count of failures before login exits in
2231         case of PAM enabled configurations.
2232
2233 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2234
2235         * man/passwd.1.xml: Document that passwd uses PAM to authenticate
2236         and change passwords on PAM-enabled builds.
2237
2238 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2239
2240         * src/newusers.c: Add more information to the mkdir and chown
2241         failure messages.
2242
2243 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2244
2245         * man/po/fr.po: Updated some login.defs entries. Thanks to
2246         Belkacem Abbas.
2247
2248 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2249
2250         * man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml,
2251         man/login.defs.d/CONSOLE_GROUPS.xml: Fix typos.
2252
2253 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2254
2255         * man/es/Makefile.am: Disable the distribution of Spanish
2256         manpages. They are outdated. Please contact
2257         pkg-shadow-devel@lists.alioth.debian.org if you wish to provide
2258         updates.
2259
2260 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2261
2262         * src/usermod.c, src/useraddd.c: Fix the usage string so that it
2263         does not change depending on the configure option. Use a format.
2264
2265 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2266
2267         * src/gpasswd.c: Fix the usage of the unused macro.
2268
2269 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2270
2271         * lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A
2272         shadow entry is now sufficient for agecheck. Remove the first
2273         passwd entry parameter.
2274
2275 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2276
2277         * src/useradd.c, src/usermod.c: Only call selinux_update_mapping()
2278         if Zflg is set.
2279         * src/userdel.c: Rename argv to args to avoid nameclash with the
2280         main() parameters.
2281
2282 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2283
2284         * libmisc/getgr_nam_gid.c: Added support for NULL argument.
2285         * libmisc/chowntty.c: Reuse getgr_nam_gid(), and get rid of atol().
2286
2287 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
2288
2289         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: For system
2290         accounts, return the first unused ID, starting from the max value.
2291         This could be useful later to increase the static IDs range.
2292
2293 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
2294
2295         * NEWS, src/useradd.c, man/useradd.8.xml: add -Z option to map
2296         SELinux user for user's login.
2297         * NEWS, src/usermod.c, man/usermod.8.xml: Likewise.
2298         * libmisc/system.c, libmisc/Makefile.am, lib/prototypes.h: Added
2299         safe_system(). Used to run semanage.
2300         * lib/prototypes.h, libmisc/copydir.c: Make a
2301         selinux_file_context() an extern function.
2302         * libmisc/copydir.c: Reset SELinux to create files with default
2303         contexts at the end of copy_tree().
2304         * NEWS, src/userdel.c: Delete the SELinux user mapping for user's
2305         login.
2306
2307 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
2308
2309         * src/useradd.c (get_defaults): Close the default file after the
2310         default values were read.
2311
2312 2009-04-11  Christian Perrier  <bubulle@debian.org>
2313
2314         * po/sk.po: Slovak translation updated. Thanks to Ivan Masár
2315
2316 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2317
2318         * lib/Makefile.am, lib/prototypes.h: Added sgetspent.c.
2319
2320 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2321
2322         * po/POTFILES.in: Added missing files. Sorted.
2323
2324 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2325
2326         * lib/getdef.c: Use getlong instead of strtol/strtoul.
2327         * libmisc/getlong, lib/getlong.c, libmisc/Makefile.am,
2328         lib/Makefile.am: getlong.c moved from libmisc/ to lib/.
2329
2330 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2331
2332         * lib/shadow.c: Replace strtol() by getlong(). Also detect more
2333         issues in a numerical shadow entry field.
2334
2335 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2336
2337         * lib/sgetspent.c: Only compile ifndef HAVE_SGETSPENT
2338
2339 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2340
2341         * lib/sgetspent.c: Replace strtol() by getlong(). Also detect more
2342         issues in a numerical shadow entry field.
2343
2344 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2345
2346         * src/chage.c: More strtol() replaced by getlong().
2347         * src/chage.c: expdays renamed to expdate. It is a date, even if
2348         expressed in a number of days since Jan 1, 1970.
2349         * src/chage.c: Likewise: lastday renamed to lstchgdate. Also fix
2350         the --lastday documentation.
2351
2352 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2353
2354         * lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
2355         NOT defined.
2356
2357 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2358
2359         * src/passwd.c: Replace getnumber() by getlong(). This permits to
2360         get rid of another strtol().
2361
2362 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2363
2364         * libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed
2365         for strtol and errno, and do not include "defines.h" (not needed).
2366
2367 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2368
2369         * src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c,
2370         libmisc/Makefile.am, lib/prototypes.h: Moved getgr_nam_gid() from
2371         src/useradd.c and src/usermod.c to libmisc/getgr_nam_gid.c.
2372
2373 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2374
2375         * src/useradd.c: Re-indent.
2376         * src/useradd.c: Use getlong instead of get_number.
2377         * src/useradd.c: Get rid of strtol.
2378         * src/useradd.c: Provide better warning in case a default GROUP or
2379         INACTIVE value is not valid in /etc/default/useradd.
2380
2381 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2382
2383         * src/usermod.c: Re-indent.
2384         * src/usermod.c: Specifying a inactivity value < -1 is not valid.
2385
2386 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2387
2388         * configure.in: Prepare the next 4.1.3 release.
2389         * po/*.po, man/po/*.po: Updated PO files.
2390
2391 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2392
2393         * lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to
2394         ifndef USE_PAM.
2395         * lib/prototypes.h: Remove the declaration of add_cons_grps(). The
2396         function does not exist.
2397         * libmisc/setugid.c libmisc/age.c (setup_uid_gid): is_console is
2398         never set ifndef USE_PAM. Change the prototype of setup_uid_gid()
2399         when USE_PAM is not defined. This permits to remove add_groups
2400         from PAM builds.  setup_uid_gid is already subject to
2401         HAVE_INITGROUPS.
2402         * libmisc/pwd2spwd.c (pwd_to_spwd): pwd_to_spwd() is not used in
2403         PAM builds.
2404
2405 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2406
2407         * src/passwd.c: do_update_age is only used ifndef USE_PAM. Make it
2408         more explicit.
2409
2410 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2411
2412         * src/useradd.c: Set errno to 0 before calling strtol.
2413
2414 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2415
2416         * libmisc/isexpired.c: If there are no shadow entry, there is no
2417         need to convert the password entry to a shadow entry. The password
2418         is valid.
2419
2420 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2421
2422         * man/usermod.8.xml: Split some paragraphs into smaller units.
2423
2424 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2425
2426         * man/shadow.5.xml: Rewrote to mention the meaning of special
2427         values.
2428
2429 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
2430
2431         * libmisc/pwd2spwd.c, src/chpasswd.c, src/newusers.c,
2432         src/passwd.c, src/pwck.c, src/pwconv.c, src/useradd.c,
2433         src/usermod.c: On Jan 01, 1970, do not set the sp_lstchg field to
2434         0 (which means that the password shall be changed during the next
2435         login), but use -1 (password aging disabled).
2436         * src/passwd.c: Do not check sp_min if sp_lstchg is null or -1.
2437
2438 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
2439
2440         * src/chage.c: When no shadow entry exist, the default sp_lstchg
2441         value should be -1 (no aging) rather than 0 (password must be
2442         changed).
2443         * src/chage.c: For password expiration and inactivity, indicate
2444         that the password must be changed when sp_lstchg is null rather
2445         than indicating that expiration and inactivity are not enabled.
2446
2447 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
2448
2449         * libmisc/isexpired.c: Document the isexpired return value.
2450
2451 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
2452
2453         * libmisc/age.c: Return a specific message when sp_lstchg is null.
2454
2455 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
2456
2457         * lib/sgetpwent.c, lib/sgetgrent.c: Use get_uid and get_gid to
2458         validate the UIDs or GIDs instead of atoi/strtol.
2459
2460 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
2461
2462         * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
2463         lib/get_gid.c, lib/get_uid.c, lib/Makefile.am: get_uid.c and
2464         get_gid.c moved from libmisc/ to lib/.
2465
2466 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
2467
2468         * src/grpck.c (check_members): When a member is removed, do not
2469         increase the index.
2470         * src/grpck.c: Fix typo in messages and comments.
2471
2472 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
2473
2474         * lib/commonio.c: Call fsync before closing the backup file. This
2475         ensures that the backup file is flushed to the storage medium.
2476         * src/useradd.c: Likewise for the default file, faillog, lastlog,
2477         and mail spool.
2478         * src/usermod.c: Likewise for the faillog and lastlog file.
2479         * src/vipw.c: Likewise for the backup file.
2480         * libmisc/sulog.c: Likewise for the su log.
2481
2482 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2483
2484         * src/groupmod.c: Embed gshadow related cleanup in #ifdef
2485         SHADOWGRP.
2486
2487 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2488
2489         * src/usermod.c: get_number() replaced by getlong().
2490         * src/usermod.c: When the user is renamed, make sure we do not
2491         override an user with the same name (in passwd or shadow).
2492
2493 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2494
2495         * src/gpasswd.c: log_gpasswd_success_gshadow is in the cleanup
2496         stack only when the shadow group file is present.
2497
2498 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2499
2500         * NEWS, src/userdel.c: Make sure the user exists in the shadow
2501         database before calling spw_remove().
2502         * NEWS, src/userdel.c: When the user's group is removed, make sure
2503         the group is in the gshadow database before calling sgr_remove().
2504         * src/userdel.c: Improve warning's wording.
2505
2506 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2507
2508         * libmisc/cleanup.c: Fix del_cleanup. The arguments were not
2509         desynchronized with the cleanup functions.
2510         * libmisc/cleanup.c: cleanup_function_args is an array of void
2511         pointer, not strings.
2512
2513 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2514
2515         * libmisc/find_new_gid.c: Fix find_new_gid() the current group
2516         database was not taken into account.
2517
2518 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2519
2520         * libmisc/addgrps.c: Fix compilation warnings.
2521
2522 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2523
2524         * man/po/Makefile.in.in: xml2po cannot exclude one entity for
2525         expansion. Make sure config.xml does not exist when the POT file
2526         is created in order to keep the configurations in the POT file
2527         * man/generate_translations.mak: make sure config.xml does not
2528         exist neither when the translated XML is generated. Add the
2529         missing %config; (strip out by xml2po). and make sure config.xml
2530         is present when the translated manpage is generated.
2531         * man/generate_mans.mak: config.xml is needed for the generation
2532         of manpages (already in the .deps for the English manpages, but
2533         needed for the translations).
2534         * man/Makefile.am: Added missing CREATE_HOME.xml.
2535
2536 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2537
2538         * etc/login.defs: Added note for PAM enabled configurations.
2539
2540 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2541
2542         * man/Makefile.am: Compute the dependencies for building the
2543         manpages.
2544         * man/generate_mans.deps: Added Makefile dependency rules.
2545
2546 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2547
2548         * libmisc/addgrps.c: Fix warnings.
2549
2550 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2551
2552         * man/po/fr.po: Added missing space.
2553
2554 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2555
2556         * man/lastlog.8.xml: Document that there might be entries, for
2557         deleted users, that are not displayed.
2558
2559 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2560
2561         * man/chgpasswd.8.xml, man/chpasswd.8.xml: Fix the man page in
2562         case SHA crypt is not supported.
2563
2564 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2565
2566         * man/vipw.8.xml: MAX_MEMBERS_PER_GROUP is not used by vipw and
2567         vigr.
2568
2569 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2570
2571         * man/login.defs.5.xml: Indicate that sg uses the same variables
2572         as newgrp.
2573         * man/login.defs.5.xml: vipw does not use any variable.
2574         * man/login.defs.5.xml: In PAM enabled configurations, login still
2575         uses some login.defs variables.
2576
2577 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2578
2579         * man/usermod.8.xml: use a <replaceable> instead of a
2580         <emphasis remap='I'>.
2581
2582 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2583
2584         * man/newusers.8.xml: Document the behavior of newusers for each
2585         field.
2586         * man/newusers.8.xml: Do not add the note on PAM on non-PAM
2587         enabled configurations.
2588
2589 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
2590
2591         * src/newusers.c: Make sure the SHA related variables are not
2592         compiled when disabled at configuration time.
2593         * src/newusers.c: Added FIXME
2594         * src/chpasswd.c: Make sure the SHA related variables is not
2595         compiled when disabled at configuration time.
2596         * src/chgpasswd.c: Make sure the SHA related variables is not
2597         compiled when disabled at configuration time.
2598         * src/chgpasswd.c: Fix the test for getlong() failure.
2599         * src/useradd.c, man/useradd.8.xml: Added long name for the -l
2600         option: --no-log-init.
2601         * src/faillog.c: Added support for the specification of a range of
2602         users with -u.
2603         * src/faillog.c: Do not call print_one() for users which do not
2604         exist.
2605         * src/faillog.c: Make sure the user's entry is not outside the
2606         faillog file and initialize the faillog structure in that case.
2607         * src/faillog.c: Move print_one() closer to print().
2608         * src/faillog.c: reset(), setmax(), set_locktime() can also change
2609         entries of user which do not exist.
2610         * src/faillog.c: reset(), setmax() and set_locktime() shall not
2611         create entries for users which have no entries if the value has to
2612         be set to 0.
2613         * src/faillog.c: reset(), setmax() and set_locktime(): better
2614         handling of users whose entry is outside the faillog file.
2615         * src/faillog.c: Improved option handling. Options can now be
2616         specified in any order.
2617         * src/faillog.c: Improved warnings when options are not
2618         compatible or when the faillog cannot be open with the right mode.
2619         * src/faillog.c: Only fstat the faillog file once.
2620         * man/faillog.8.xml: Improved documentation.
2621
2622 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
2623
2624         * src/gpasswd.c: Remove the documentation of options from the
2625         main() documentation. It will always be outdated here.
2626
2627 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
2628
2629         * src/lastlog.c: lastlog variable renamed to ll to avoid name
2630         clash with the structure.
2631         * src/lastlog.c: check the offset in print_one() so that it is
2632         used for the display of one entry or a set of entries.
2633         * src/lastlog.c: Do not loop over the whole user database when -u
2634         is used with a single user.
2635         * src/lastlog.c: Check the size of the lastlog file so that we
2636         can identify failures to read.
2637
2638 2009-03-13  Mike Frysinger  <vapier@gentoo.org>
2639
2640         * libmisc/salt.c: Removed l64a prototype. The libc declaration is
2641         non static, but the internal definition is static.
2642
2643 2009-03-09  Nicolas François  <nicolas.francois@centraliens.net>
2644
2645         * src/gpasswd.c: log_gpasswd_success_gshadow only exists ifdef
2646         SHADOWGRP.
2647
2648 2009-03-08  Nicolas François  <nicolas.francois@centraliens.net>
2649
2650         * libmisc/getlong.c: Make sure the getlong argument is not empty.
2651         * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
2652         lib/prototypes.h: Added get_uid() and get_gid() to parse user and
2653         group IDs.
2654         * NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set
2655         to -1.
2656         * NEWS, src/newusers.c, src/usermod.c, src/useradd.c,
2657         src/groupmod.c, src/groupadd.c: Make sure no user or group are
2658         created with an ID set to -1.
2659
2660 2009-03-07  Nicolas François  <nicolas.francois@centraliens.net>
2661
2662         * contrib/adduser-old.c, contrib/adduser.c: Do not use the target
2663         of snprintf in one of the format's parameters.
2664
2665 2009-03-07  Nicolas François  <nicolas.francois@centraliens.net>
2666
2667         * man/groupmems.8.xml: groupmems does not create new user.
2668
2669 2009-03-03  Nicolas François  <nicolas.francois@centraliens.net>
2670
2671         * NEWS, po/LINGUAS, po/kk.po: Added Kazakh translation. Thanks to
2672         Timur Birsh <taem@linukz.org>.
2673
2674 2009-02-22  Nicolas François  <nicolas.francois@centraliens.net>
2675
2676         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Avoid calling
2677         getgrent()/getpwent() after they return NULL. This caused LDAP to
2678         return at the beginning of the group/user entries.
2679
2680 2009-01-27  Nicolas François  <nicolas.francois@centraliens.net>
2681
2682         * man/nologin.8.xml: Fix typo (HYSTORY -> HISTORY).
2683
2684 2009-01-26  Nicolas François  <nicolas.francois@centraliens.net>
2685
2686         * NEWS, src/gpasswd.c: Only report success to audit and syslog
2687         when the changes are committed to the system. Do not log failure
2688         for on-memory changes to audit or syslog. Make sure failures and
2689         inconsistencies will be reported in case of unexpected failures
2690         (e.g. malloc failures). Only specify an audit message if it is not
2691         implicitly implied by the type argument. Removed fail_exit
2692         (replaced by atexit(do_cleanups)). Log failures in case of
2693         permission denied.
2694
2695 2009-01-19  Nicolas François  <nicolas.francois@centraliens.net>
2696
2697         * man/login.defs.d/UMASK.xml: Indicate how UMASK is used and
2698         limitations.
2699         * man/limits.5.xml: Remove space before an end of tag.
2700         * man/useradd.8.xml, man/login.defs.d/CREATE_HOME.xml,
2701         man/login.defs.5.xml: Document the CREATE_HOME variable.
2702         * etc/login.defs: Improve the documentation of UMASK.
2703
2704 2009-01-06  Sebastian Rick Rijkers  <srrijkers@gmail.com>
2705
2706         * NEWS, src/su.c: Preserve COLORTERM in addition to TERM when su
2707         is called with the -l option.
2708
2709 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
2710
2711         * libmisc/chkname.c: Use a bool when possible instead of integers.
2712         * libmisc/chkname.c: Add brackets and parenthesis.
2713
2714 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
2715
2716         * man/groupadd.8.xml, configure.in, man/config.xml.in: Use the
2717         real group name length limit in the documentation.
2718
2719 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
2720
2721         * src/Makefile.am: Only link with the needed library. When
2722         compiled with PAM support, chfn, chsh, login, newgrp, passwd, and
2723         su do not need the libcrypt library.
2724
2725 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
2726
2727         * libmisc/cleanup_group.c: Fix compilation when compiled without
2728         shadow group support.
2729
2730 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
2731
2732         * src/groupdel.c: Remove the fail_exit () declaration.
2733
2734 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
2735
2736         * src/gpasswd.c: Fix the support for usernames with arbitrary
2737         length.
2738
2739 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
2740
2741         * src/groupadd.c, src/groupdel.c, src/groupmod.c: Re-indent.
2742         * src/groupmod.c: Do not add the command synopsis to the main ()
2743         documentation. This avoids outdated information.
2744         * libmisc/chkname.c: Remove outdated comments.
2745
2746 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
2747
2748         * libmisc/audit_help.c: Added audit_logger_message() to log
2749         messages not related to an account.
2750         * lib/prototypes.h, libmisc/cleanup.c, libmisc/cleanup_group.c,
2751         libmisc/cleanup_user.c, libmisc/Makefile.am: Added stack of
2752         cleanup functions to be executed on exit.
2753         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c: Only
2754         report success to audit and syslog when the changes are committed
2755         to the system. Do not log failure for on-memory changes to audit
2756         or syslog. Make sure failures and inconsistencies will be reported
2757         in case of unexpected failures (e.g. malloc failures). Only
2758         specify an audit message if it is not implicitly implied by the
2759         type argument. Removed fail_exit (replaced by atexit(do_cleanups)).
2760
2761 2008-12-15  Nicolas François  <nicolas.francois@centraliens.net>
2762
2763         * NEWS, src/gpasswd.c: Added support usernames with arbitrary
2764         length.
2765
2766 2008-11-27  Mike Frysinger  <vapier@gentoo.org>
2767
2768         * configure.in: Fix the "$enable_acct_tools_setuid" = "yes" test.
2769
2770 2008-11-27  Mike Frysinger  <vapier@gentoo.org>
2771
2772         * NEWS, configure.in, libmisc/chkname.c: make group max length a
2773         configure option.  The configure behavior encoded is:
2774         <no option> -> default of 16 (like today);
2775         --with-group-name-max-length -> default of 16;
2776         --without-group-name-max-length -> no max length;
2777         --with-group-name-max-length=n > max is set to n.
2778
2779 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
2780
2781         * src/su.c: (!USE_PAM) Provide visible information indicating that
2782         su was denied.
2783
2784 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
2785
2786         * man/su.1.xml: Fix the su synopsis. username is referenced in the
2787         manpage, not LOGIN.
2788         * man/ja/login.1: Fix the path of the utmp and wtmp files.
2789
2790 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
2791
2792         * libmisc/chowntty.c: Improve the logs for fchown and fchmod
2793         failures.
2794         * libmisc/chowntty.c: Only closelog() when failure cause an exit.
2795
2796 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
2797
2798         * NEWS, libmisc/chowntty.c: Fix a race condition that could lead to
2799         gaining ownership or changing mode of arbitrary files.
2800         * NEWS, libmisc/chowntty.c, libmisc/utmp.c: is_my_tty() moved from
2801         utmp.c to chowntty.c. checkutmp() now only uses an existing utmp
2802         entry if the pid matches and ut_line matches with the current tty.
2803         This fixes a possible DOS when entries can be forged in the utmp
2804         file.
2805         * libmisc/chowntty.c, src/login.c, lib/prototypes.h: Remove the
2806         tty argument from chown_tty. chown_tty always changes stdin and
2807         does not need this argument anymore.
2808
2809 2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>
2810
2811         * man/gshadow.5.xml, man/shadow.5.xml, man/passwd.5.xml,
2812         man/grpck.8.xml: Sorted SEE ALSO references.
2813         * man/gshadow.5.xml: Added reference to grpck(8) and grpconv(8).
2814         * man/pwck.8.xml: Added reference to grpck(8).
2815         * man/shadow.5.xml: Added reference to pwck(8).
2816         * man/passwd.5.xml: Added reference to pwck(8).
2817         * man/grpck.8.xml: Added reference to pwck(8).
2818
2819 2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>
2820
2821         * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence
2822         header.
2823
2824 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2825
2826         * src/login.c: Always check the return value of the pam_* APIs.
2827
2828 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2829
2830         * src/login.c: Use a dynamic buffer for usernames.
2831         * src/login.c: Copy the name of the user authenticated by PAM to
2832         username. This simplify later logging (avoid USE_PAM
2833         conditional).
2834         * src/login.c: Check that no username is specified with -r.
2835         * src/login.c: Make sure a username is specified with -f.
2836         * src/login.c: Explicitly tag the end of the #ifdef RLOGIN
2837         sections.
2838         * src/login.c: Erase the username later since it it used for the
2839         fake password check (in case of empty password).
2840         * src/login.c, man/login.1.xml: the username is not an optional
2841         parameter of -f. Fix the getopt optstring, remove the parsing of
2842         username in the -f processing block, and remove unnecessary checks
2843         (username cannot be parsed twice anymore), better documentation of
2844         the synopsis.
2845
2846 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2847
2848         * src/login.c: Existence of pam_user was already checked. pwd was
2849         already copied to pwent. Remove duplicated code.
2850
2851 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2852
2853         * src/login.c: check_flags() renamed process_flags(). All flag
2854         processing blocs moved to process_flags().
2855
2856 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2857
2858         * src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.
2859
2860 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2861
2862         * src/login.c: Add missing closing }. This was probably never
2863         noticed because UT_ADDR is never defined.
2864         * src/login.c: Re-indent.
2865
2866 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2867
2868         * src/login.c: Do not mix USE_PAM and !USE_PAM code.
2869
2870 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2871
2872         * src/login.c: Use failent_user to log to audit. username is the
2873         caller, not the user login tries to authenticate.
2874         * src/login.c: Use pwd->pw_name instead of pwd->pw_uid. This might
2875         be more precise (name must be unique, uid might not be).
2876
2877 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2878
2879         * man/passwd.1.xml: passwd cannot change the full name of the
2880         user, the user's login shell; but it can change the account or
2881         password validity period. Thanks to Reuben Thomas.
2882
2883 2008-09-14  Nicolas François  <nicolas.francois@centraliens.net>
2884
2885         * src/useradd.c: Added missing declaration of Mflg.
2886         * src/pwck.c: Only unlock files if they were locked before (e.g.
2887         not in read-only mode).
2888         * src/pwck.c: Quote the username in error messages (harmonization
2889         with other messages).
2890         * libmisc/find_new_gid.c: Fixed typo (s/grp->gr_gid/group_id/).
2891         * libmisc/find_new_gid.c: Likewise.
2892
2893 2008-09-13  Nicolas François  <nicolas.francois@centraliens.net>
2894
2895         * libmisc/setugid.c, src/login_nopam.c, src/suauth.c,
2896         lib/getdef.c: Replace the %m format string by strerror(). This
2897         avoids errno to be reset between the system call error and the
2898         report function.
2899
2900 2008-09-13  Nicolas François  <nicolas.francois@centraliens.net>
2901
2902         * lib/commonio.c: Ignore the return value of umask() when the mask
2903         is set to the old value.
2904
2905 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
2906
2907         * NEWS, etc/login.defs: New CREATE_HOME variable to tell useradd
2908         to create a home directory for new users.
2909         * src/useradd.c, man/useradd.8.xml: New -M/--no-create-home option
2910         and CREATE_HOME usage. System accounts are not impacted by
2911         CREATE_HOME.
2912         * man/useradd.8.xml: Indicate that a new group is created by
2913         default.
2914         * src/useradd.c: Removed TODO item (moved to the TODO file).
2915
2916 2008-09-11  Miroslav Kuře  <kurem@debian.cz>
2917
2918         * po/cs.po: Updated Czech translation.
2919
2920 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
2921
2922         * man/login.defs.d/USERGROUPS_ENAB.xml: Fix typo: new <para> tag
2923         before the previous one is closed. This caused a missng
2924         explanation for USERGROUPS_ENAB.
2925
2926 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
2927
2928         * man/groupadd.8.xml: Remove the list of (short) options from the
2929         SYNOPSIS. Replaced with [options] for consistency with other tools
2930         and maintainability.
2931
2932 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
2933
2934         From RedHat's patch shadow-4.1.2-sysAccountDownhill.patch
2935         Thanks to Peter Vrabec.
2936         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Build an
2937         index of used IDs to avoid a database request for each id in the
2938         allowed range (when the highest allowed ID is already used).
2939         This speedups the addition of users or groups when the highest
2940         allowed ID is already used. The additional memory usage of the
2941         tools should be acceptable when UID_MAX/SYS_UID_MAX are set to a
2942         reasonable number.
2943
2944 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
2945
2946         * configure.in: Fix the dependency of ACCT_TOOLS_SETUID on
2947         USE_PAM. Build failed with --without-libpam.
2948
2949 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
2950
2951         * libmisc/copydir.c, configure.in: Check for the presence of
2952         st_mtim and st_mtimensec, as for st_atim and st_atimensec.
2953         * libmisc/copydir.c: Call utimes() after closing the file.
2954
2955 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
2956
2957         * src/gpasswd.c: Document the long options in the usage.
2958
2959 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
2960
2961         * NEWS: Added configure --enable-account-tools-setuid (default) /
2962         --disable-account-tools-setuid options. This permits to disable
2963         the PAM authentication of the caller for chage, chgpasswd,
2964         chpasswd, groupadd, groupdel, groupmod, newusers, useradd,
2965         userdel, and usermod.  This authentication is not necessary when
2966         these tools are not installed setuid root.
2967         * configure.in: Added option --enable-account-tools-setuid to
2968         enable/disable the usage of PAM to authenticate the callers of
2969         account management tools: chage, chgpasswd, chpasswd, groupadd,
2970         groupdel, groupmod, useradd, userdel, usermod.
2971         * src/Makefile.am: Do not link the above tools with libpam if
2972         account-tools-setuid is disabled.
2973         * src/userdel.c, src/newusers.c, src/chpasswd.c, src/usermod.c,
2974         src/groupdel.c, src/chgpasswd.c, src/useradd.c, src/groupmod.c,
2975         src/groupadd.c, src/chage.c: Implement ACCT_TOOLS_SETUID
2976         (--enable-account-tools-setuid).
2977         * etc/pam.d/Makefile.am: Install the pam service file for the
2978         above tools only when needed.
2979
2980 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
2981
2982         * libmisc/tz.c: tz() is only used when USE_PAM is not defined.
2983         * lib/prototypes.h: Indicate functions whose presence depends on
2984         the USE_PAM flag.
2985
2986 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
2987
2988         * src/groupmems.c: Call open_files() and close_files().
2989         * src/groupmems.c: Always call check_perms(), which takes care of
2990         checking if --list is used.
2991
2992 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
2993
2994         * libmisc/obscure.c: Compare characters to '\0', not NULL.
2995
2996 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
2997
2998         * lib/defines.h: Do not include <config.h>. This complicate
2999         undefining some configuration macros when the file is included
3000         multiple times.
3001         * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
3002         libmisc/xgetgrgid.c, libmisc/xgetgrnam.c, libmisc/xgetspnam.c:
3003         Include <config.h> from teh compiled C file, not the included
3004         getXXbyYY.c.
3005
3006 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3007
3008         * src/userdel.c, src/newusers.c, src/chpasswd.c, src/chfn.c,
3009         src/groupmems.c, src/usermod.c, src/groupdel.c, src/chgpasswd.c,
3010         src/useradd.c, src/groupmod.c, src/groupadd.c, src/chage.c,
3011         src/chsh.c: Simplify the PAM error handling. Do not keep the pamh
3012         handle, but terminate the PAM transaction as soon as possible if
3013         there are no PAM session opened. If the username cannot be
3014         determined, report it as such (not a PAM authentication failure).
3015         * src/useradd.c, src/userdel.c, src/usermod.c: It is no more
3016         needed to initialize retval to PAM_SUCCESS.
3017
3018 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3019
3020         * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
3021         src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
3022         src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
3023         src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
3024         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
3025         src/groupadd.c, src/chage.c, src/login.c, src/grpconv.c,
3026         src/groups.c, src/grpunconv.c, src/chsh.c: Prog is now global (not
3027         static to the file) so that it can be used by the helper functions
3028         of libmisc.
3029         * lib/prototypes.h: Added extern char *Prog.
3030         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Indicate the
3031         program name with the warning.
3032
3033 2008-09-05  Nicolas François  <nicolas.francois@centraliens.net>
3034
3035         * configure.in: Check if AUDIT_ADD_USER, AUDIT_DEL_USER,
3036         AUDIT_ADD_GROUP, and AUDIT_DEL_GROUP are defined in <libaudit.h>.
3037
3038 2008-09-04  Nicolas François  <nicolas.francois@centraliens.net>
3039
3040         * src/useradd.c: Fix comment of lflg: it is also used for faillog.
3041
3042 2008-09-04  Nicolas François  <nicolas.francois@centraliens.net>
3043
3044         * NEWS, src/groupmems.c, man/groupmems.8.xml: Document the long
3045         options.
3046
3047 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3048
3049         * lib/prototypes.h, libmisc/audit_help.c: Define new type
3050         shadow_audit_result for the result argument of audit_logger().
3051         This permits stronger type checking and a better readability of
3052         the results (SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS constants).
3053         * src/groupadd.c, src/groupdel.c, src/useradd.c, src/userdel.c:
3054         Use the SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS results instead
3055         of 0 or 1 in audit_logger().
3056
3057 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3058
3059         * src/userdel.c: Log failures to remove the mailbox to syslog and
3060         audit.
3061         * src/userdel.c: Log successful removal of home directory to audit
3062         only in case of success.
3063         * src/userdel.c: Move the audit log of failure to remove the home
3064         directory before the call to function that may exit.
3065         * src/userdel.c: Document that errors is only used to count errors
3066         during the removal of the home directory.
3067
3068 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3069
3070         * src/useradd.c: Log errors to syslog in grp_update() since
3071         changes have started to be reported to syslog.
3072         * src/userdel.c: Fix some result parameters sent to
3073         audit_logger().
3074
3075 2008-09-02  Nicolas François  <nicolas.francois@centraliens.net>
3076
3077         * NEWS: Following changes from a patch contributed by Steve Grubb
3078         <sgrubb@redhat.com>
3079         * src/groupadd.c: Log to audit with type AUDIT_ADD_GROUP instead
3080         of AUDIT_USER_CHAUTHTOK.
3081         * src/groupdel.c: Log to audit with type AUDIT_DEL_GROUP instead 
3082         of AUDIT_USER_CHAUTHTOK.
3083         * src/useradd.c: Log to audit with type AUDIT_ADD_USER /
3084         AUDIT_ADD_GROUP / AUDIT_USYS_CONFIG instead of
3085         AUDIT_USER_CHAUTHTOK.
3086         * src/useradd.c: Add missing logs to audit.
3087         * src/userdel.c: Log to audit with type AUDIT_DEL_USER /
3088         AUDIT_DEL_GROUP instead of AUDIT_USER_CHAUTHTOK.
3089         * src/userdel.c: Add missing logs to audit.
3090
3091 2008-08-31  Nicolas François  <nicolas.francois@centraliens.net>
3092
3093         * src/groupmems.c: Remove duplicated gr_open().
3094
3095 2008-08-30  Nicolas François  <nicolas.francois@centraliens.net>
3096
3097         * man/useradd.8.xml: Document the /etc/default/useradd variables.
3098         * man/useradd.8.xml: Fix the documentation of the GROUP variable
3099         (and -g/--gid option).
3100         * man/useradd.8.xml: Document that -o is only valid with -u
3101
3102 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3103
3104         * shadow.spec.in: Fix the source (new FTP).
3105
3106 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3107
3108         * src/su.c: Add brackets and parenthesis.
3109         * src/su.c: Avoid implicit conversion of pointers to booleans.
3110
3111 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3112
3113         * libmisc/list.c: Remove historical comment.
3114         * libmisc/list.c: Added assertions for non NULL parameters.
3115
3116 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3117
3118         * src/pwconv.c, src/pwunconv.c: Fail if unexpected parameters are
3119         provided.
3120
3121 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3122
3123         * src/passwd.c: Add brackets and parenthesis.
3124         * src/passwd.c: Avoid implicit conversion of pointers to booleans.
3125         * src/passwd.c: Avoid assignments in comparisons.
3126
3127 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3128
3129         * NEWS, src/groupmems.c, man/groupmems.8.xml: Added support for
3130         shadow groups.
3131         * src/groupmems.c: Use fail_exit() instead of exit().
3132
3133 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3134
3135         * src/groupmems.c: The grp structure returned by gr_locate is a
3136         const. Duplicate this structure before working on it.
3137         * src/groupmems.c: Do not fail and do not display warnings if a
3138         close failure happens with the --list option. (Files are opened
3139         read-only).
3140         * src/groupmems.c: Avoid mixed declarations and code.
3141
3142 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3143
3144         * src/gpasswd.c: Replace the 'valid' variable by is_valid to avoid
3145         clashes with the valid() function.
3146
3147 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3148
3149         * libmisc/obscure.c: Add brackets and parenthesis.
3150         * libmisc/obscure.c: Avoid implicit conversion of pointers / chars to
3151         booleans.
3152         * libmisc/obscure.c: Simplify the list of if.
3153
3154 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3155
3156         * src/passwd.c: Fix a typo in the Usage string.
3157
3158 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3159
3160         * src/grpconv.c, src/groups.c: Name the parameters in the
3161         prototypes of the static functions.
3162         * src/grpconv.c, src/grpunconv.c, src/logoutd.c: Fail if
3163         unexpected parameters are provided.
3164         * src/grpconv.c, src/grpunconv.c: Indicate that argc is not used
3165         in the no SHADOWGRP version.
3166
3167 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3168
3169         * src/chgpasswd.c, src/chpasswd.c: Removed variable ok, which is
3170         no more used.
3171
3172 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3173
3174         * src/chage.c: Fix the format for long integers (from %ul to %lu).
3175
3176 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3177
3178         * libmisc/utmp.c: Mark the line and host arguments of setutmp() as
3179         not used in the __linux__ version.
3180
3181 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3182
3183         * lib/nscd.c: Avoid redefinition of _GNU_SOURCE.
3184
3185 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3186
3187         * configure.in: Indentation fix.
3188         * configure.in, src/login.c: Do not use HAVE_PAM_FAIL_DELAY, but
3189         HAS_PAM_FAIL_DELAY, to avoid a redefinition with Linux PAM.
3190
3191 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3192
3193         * src/groupmems.c: Added functions add_user(), remove_user(), and
3194         purge_members() to ease the support of gshadow.
3195
3196 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3197
3198         * src/expiry.c: Use Basename for Prog.
3199         * src/expiry.c: Added missing OPENLOG.
3200
3201 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3202
3203         * lib/nscd.c: Make sure the file is not empty when configured
3204         without nscd support.
3205
3206 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3207
3208         * configure.in: Remove the USE_NSCD AM_CONDITIONAL (USE_NSCD is
3209         not used in any Makefile.am).
3210         * configure.in: Make sure posix_spawn is present when configured
3211         with nscd support.
3212
3213 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3214
3215         * lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Added brackets and
3216         parenthesis.
3217         * lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Avoid assignments
3218         in comparisons.
3219
3220 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3221
3222         * libmisc/mail.c: Added brackets and parenthesis.
3223         * libmisc/mail.c: Avoid assignments in comparisons.
3224
3225 2008-08-26  Tobias Poschwatta  <tp@fonz.de>
3226
3227         * NEWS: Added support for uclibc.
3228         * configure.in, libmisc/copydir.c: futimes() and lutimes() are not
3229         standard. Check if they are implemented before using them. Do not
3230         set the time of links if lutimes() does not exist, and use
3231         utimes() as a replacement for futimes().
3232         * configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd and
3233         --without-nscd flags to support systems without nscd.
3234         * lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c:
3235         Include <sys/types.h> before <pwd.h> and <grp.h>. It is necessary
3236         for the definition of uid_t and gid_t.
3237         * lib/pwmem.c: do not include <pwd.h>, "pwio.h" is sufficient
3238         here.
3239         * configure.in: Check if the stat structure has a st_atim or
3240         st_atimensec field.
3241         * libmisc/copydir.c: Conditionally use the stat's st_atim and
3242         st_atimensec fields.
3243
3244 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3245
3246         * src/groupmems.c: Handle the options alphabetically.
3247
3248 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3249
3250         * src/groupmems.c: When removing an user, check if deluser is on
3251         the list, not adduser. This fixes a segmentation fault for every
3252         call of groupmems -d.
3253         * libmisc/list.c: Add assertions to help identifying these issues.
3254         * libmisc/list.c: Avoid implicit conversion of pointers to
3255         booleans.
3256
3257 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3258
3259         * NEWS, src/groupmems.c: Use the "groupmems" PAM service name
3260         instead of "groupmod".
3261
3262 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3263
3264         * src/chfn.c: Merge some translated messages.
3265         * src/groupmems.c, src/groupadd.c, src/gpasswd.c, src/chsh.c,
3266         src/chfn.c: Harmonize *_update() failure messages.
3267         * src/groupmems.c: Harmonize gr_close() failure messages.
3268         * src/newgrp.c: Harmonize "unknown GID" messages.
3269         * src/newusers.c: Move the pwd declaration to a inner block scope.
3270
3271 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3272
3273         * src/useradd.c: Harmonize some error messages.
3274         * src/userdel.c: Add log to syslog when the mail file could not be
3275         removed.
3276         * src/userdel.c: Give more context an error message (merge with
3277         perror()).
3278         * src/usermod.c: Harmonize some error messages.
3279
3280 2008-08-25  Nicolas François  <nicolas.francois@centraliens.net>
3281
3282         * src/groupmems.c: Check the return value of gr_update().
3283         * src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
3284         src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupmems.c,
3285         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
3286         src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c,
3287         src/useradd.c, src/userdel.c, src/usermod.c: Harmonize the error
3288         message sent to stderr in case of *_update () failure.
3289         * src/chage.c, src/chsh.c, src/groupadd.c, src/passwd.c: Do not
3290         log to syslog when pw_update() or spw_update() fail.
3291         * src/newusers.c: Do not log specific error message to stderr when
3292         sgr_update() fails.
3293         * src/pwconv.c: Remove duplicated definition of Prog.
3294
3295 2008-08-25  Nicolas François  <nicolas.francois@centraliens.net>
3296
3297         * src/chfn.c, src/chsh.c, src/expiry.c, src/gpasswd.c,
3298         src/newgrp.c, src/passwd.c, src/su.c: Use the same stderr and
3299         syslog warnings when the username cannot be determined.
3300         * src/newgrp.c: Reuse the same stderr message for groups which do
3301         not exist in the system.
3302
3303 2008-08-21  Nicolas François  <nicolas.francois@centraliens.net>
3304
3305         * src/usermod.c: Log errors while *_close to syslog.
3306
3307 2008-08-21  Nicolas François  <nicolas.francois@centraliens.net>
3308
3309         * src/grpconv.c: Use Basename for the definition of Prog. Prog
3310         needs a file visibility.
3311         * src/grpunconv.c: Likewise.
3312
3313 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
3314
3315         * src/chfn.c: Do not exit on pw_unlock failures.
3316         * src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c,
3317         src/vipw.c: Open syslog with the right identification name.
3318         * src/vipw.c: Log unlock errors to syslog.
3319         * src/vipw.c: Log edits to syslog.
3320         * src/chage.c, src/chfn.c, src/chsh.c, src/gpasswd.c,
3321         src/groupadd.c, src/groupdel.c, src/groupmod.c, src/grpconv.c,
3322         src/grpunconv.c, src/passwd.c, src/pwck.c, src/pwunconv.c,
3323         src/useradd.c, src/usermod.c: Harmonize the syslog levels. Failure
3324         to close or unlock are errors. Failure to open files are warnings.
3325
3326 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
3327
3328         * src/newusers.c: Open syslog with the right identification name.
3329         * src/newusers.c: Mark the files as locked only if they are really
3330         locked (i.e. if shadow is not enabled, the files are not locked).
3331
3332 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
3333
3334         * NEWS, src/gpasswd.c: Use getopt_long instead of getopt. Added
3335         support for long options --add (-a), --delete (-d),
3336         --remove-password (-r), --restrict (-R), --administrators (-A),
3337         and --members (-M) 
3338         * man/gpasswd.1.xml: Document the new long options.
3339         * src/gpasswd.c: The sgrp structure is only used if SHADOWGRP is
3340         defined.
3341
3342 2008-08-18  Nicolas François  <nicolas.francois@centraliens.net>
3343
3344         * src/grpck.c: Added function fail_exit(). Check failure to unlock
3345         files. Report errors to stderr and syslog, but continue.
3346         * src/grpconv.c: Check failure to unlock files. Report errors to
3347         stderr and syslog, but continue.
3348
3349 2008-08-18  Nicolas François  <nicolas.francois@centraliens.net>
3350
3351         * src/passwd.c: Check failure to unlock files. Report errors to
3352         stderr and syslog, but continue.
3353
3354 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
3355
3356         * src/chfn.c, src/chgpasswd.c, src/chpasswd.c, src/gpasswd.c,
3357         src/groupadd.c, src/groupdel.c, src/groupmems.c, src/groupmod.c,
3358         src/grpconv.c, src/grpunconv.c, src/newusers.c, src/pwconv.c,
3359         src/pwunconv.c, src/useradd.c, src/userdel.c: Harmonize the name
3360         of the variables keeping the lock status, to match the shadow
3361         library prefixes.
3362
3363 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
3364
3365         * src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c,
3366         src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmems.c,
3367         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
3368         src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
3369         src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c: In
3370         case of a lock failure, indicate to the user that she can try
3371         again later. Do not log to syslog.
3372
3373 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
3374
3375         * NEWS, src/passwd.c: For compatibility with other passwd version,
3376         the --lock an --unlock options do not lock or unlock the user
3377         account anymore.  They only lock or unlock the user's password.
3378         * man/passwd.1.xml: Document above change. Document how an account
3379         can be locked and what a password lock means.
3380
3381 2008-08-15  Nicolas François  <nicolas.francois@centraliens.net>
3382
3383         * man/groupadd.8.xml: Fix the regular expression for group policy.
3384         The final $ character is optional.
3385         * man/groupadd.8.xml: Likewise.
3386         * man/groupadd.8.xml: Indicate the maximum size of usernames.
3387
3388 2008-08-15  Nicolas François  <nicolas.francois@centraliens.net>
3389
3390         * man/po/pl.po: Fix typo in the Polish translation (see
3391         http://bugs.debian.org/491460)
3392
3393 2008-08-13  Nicolas François  <nicolas.francois@centraliens.net>
3394
3395         * man/pl/Makefile.am: Do not build the Polish translation of
3396         login.1 and su.1 (not enough translated). See
3397         http://bugs.debian.org/491460
3398
3399 2008-08-13  Nicolas François  <nicolas.francois@centraliens.net>
3400
3401         * man/shadow.5.xml: Fix typo. The password must be changed before
3402         the maximum number of days, not after.
3403
3404 2008-08-09  Nicolas François  <nicolas.francois@centraliens.net>
3405
3406         * src/groupmems.c: Harmonize the unlock failure messages.
3407
3408 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3409
3410         * src/pwck.c: Added fail_exit().
3411         * src/pwck.c: Report failure to unlock files to stderr and
3412         syslog.
3413         * src/pwck.c: Report failure to sort to stderr, and exit with
3414         E_CANTSORT.
3415         * man/pwck.8.xml: Document return code 6 (E_CANTSORT).
3416
3417 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3418
3419         * src/vipw.c: Report failures to remove files to stderr.
3420         * src/vipw.c: Report failures to unlock files to stderr.
3421
3422 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3423
3424         * NEWS, src/groupmems.c: Added syslog support.
3425         * src/groupmems.c: members() renamed display_members() to
3426         avoid name clash with its members argument.
3427         * src/groupmems.c: Report failure to unlock to syslog.
3428         * src/groupmems.c: Harmonize error messages.
3429         * src/groupmems.c: Report failures to write the new group file to
3430         syslog (gr_close() failure).
3431         * src/groupmems.c: Don't use fail_exit for non-failure exit.
3432
3433 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3434
3435         * src/chsh.c: Added fail_exit().
3436         * src/chsh.c: Use fail_exit() instead of exit(), this avoid
3437         calling closelog() every times.
3438         * src/chsh.c: Ignore the return value or pam_end().
3439         * src/chsh.c: Simplify the PAM error handling.
3440         * src/chsh.c: Report failure to unlock files to stderr and
3441         syslog.
3442
3443 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3444
3445         * src/chpasswd.c: Added fail_exit().
3446         * src/chpasswd.c: Added support for syslog.
3447         * src/chpasswd.c: Report failure to unlock files to stderr and
3448         syslog.
3449         * src/chpasswd.c: Simplify the PAM error handling.
3450         * src/chpasswd.c: Report failure during *_close() to syslog.
3451         * src/chpasswd.c: Ignore the return value or pam_end().
3452
3453 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3454
3455         * src/chgpasswd.c: Added fail_exit().
3456         * src/chgpasswd.c: Added support for syslog.
3457         * src/chgpasswd.c: Report failure to unlock files to stderr and
3458         syslog.
3459         * src/chgpasswd.c: Simplify the PAM error handling.
3460         * src/chgpasswd.c: Report failure during *_close() to syslog.
3461         * src/chgpasswd.c: Ignore the return value or pam_end().
3462
3463 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3464
3465         * src/userdel.c: Report failure to remove entries from group or
3466         gshadow to stderr.
3467         * src/userdel.c: Fail in case of failure during the write of a
3468         user or group database. Report errors to syslog.
3469         * src/userdel.c: Do not unlock non locked files.
3470         * src/userdel.c: Report failure to unlock the passwd or shadow
3471         file to stderr and syslog.
3472
3473 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3474
3475         * src/pwunconv.c: Report failure to unlock the passwd or shadow
3476         file to stderr and syslog.
3477
3478 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3479
3480         * src/usermod.c: Report failure to unlock files to stderr and
3481         syslog.
3482
3483 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3484
3485         * src/newusers.c: Report failure to unlock files to stderr and
3486         syslog.
3487         * src/newusers.c: In case of error when files are open or closed,
3488         indicate the failing file.
3489         * src/newusers.c: Do not try to unlock the files manually since
3490         this is done in fail_exit.
3491
3492 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3493
3494         * src/chage.c: Report failure to unlock the passwd or shadow file
3495         to stderr and syslog.
3496
3497 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3498
3499         * src/pwconv.c: Report failure to unlock the passwd or shadow file
3500         to stderr and syslog.
3501         * src/pwconv.c: Report failure to chmod the backup file.
3502
3503 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3504
3505         * src/grpunconv.c: Report failure to unlock the group or gshadow
3506         files to stderr and syslog.
3507
3508 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3509
3510         * src/chfn.c: Added fail_exit(). Check if the passwd file is
3511         locked. Report failures to unlock to stderr and syslog.
3512         * src/chfn.c: Is case of failure, use fail_exit() rather than
3513         exit().
3514         * src/chfn.c: Ignore the return value of pam_end().
3515
3516 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3517
3518         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h,
3519         lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
3520         Added *_dbname() functions to retrieve the name of the databases.
3521         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h,
3522         lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
3523         *_name() functions renamed *setname().
3524         * src/grpck.c, src/pwck.c: Likewise.
3525         * lib/groupio.h, lib/pwio.h, lib/sgroupio.h, lib/shadowio.h: Added
3526         the name of the arguments to the prototypes.
3527         * src/chage, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
3528         src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c,
3529         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
3530         src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
3531         src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c:
3532         Harmonize the erro & syslog messages in case of failure of the
3533         *_lock(), *_open(), *_close(), *_unlock(), *_remove() functions.
3534         * src/chgpasswd.c, src/chpasswd.c, src/usermod.c: Avoid
3535         capitalized messages.
3536         * src/chpasswd.c, src/useradd.c, src/usermod.c: Harmonize messages
3537         in case of inexistent entries.
3538         * src/usermod.c:  Harmonize messages in case of already existing
3539         entries.
3540         * src/newusers.c, src/useradd.c: Simplify PAM error handling.
3541         * src/useradd.c: Report failures to unlock files (stderr, syslog,
3542         and audit). But do not fail (continue).
3543         * src/useradd.c (open_files): Do not report to syslog & audit
3544         failures to lock or open the databases. This might be harmless,
3545         and the logs were not already informed that a change was
3546         requested.
3547         * src/usermod.c: It's not the account which is unlocked, but its
3548         password.
3549
3550 2008-08-02  Nicolas François  <nicolas.francois@centraliens.net>
3551
3552         * src/groupadd.c: Harmonize error & syslog messages.
3553         * src/groupadd.c: Add logging to syslog & audit on lock/unlock
3554         failures.
3555         * src/groupadd.c: Only call gr_unlock() and sgr_unlock() in the
3556         group or gshadow files were previously locked.
3557         * src/groupadd.c: Make sure failures are reported to syslog/audit
3558         after the change is mentioned.
3559         * src/groupmod.c: Harmonize error & syslog messages.
3560         * src/groupmod.c: Add logging to syslog & audit on lock/unlock
3561         failures.
3562         * src/groupmod.c: Make sure issues are reported to syslog or audit
3563         after the change is mentioned.
3564         * src/groupdel.c: Harmonize error & syslog messages.
3565         * src/groupdel.c: Add logging to syslog & audit on lock/unlock
3566         failures.
3567         * src/groupdel.c: Only call gr_unlock() and sgr_unlock() in the
3568         group or gshadow files were previously locked.
3569         * src/groupdel.c: Simplify the handling of PAM errors.
3570
3571 2008-08-01  Nicolas François  <nicolas.francois@centraliens.net>
3572
3573         * src/gpasswd.c: Harmonize error & syslog messages.
3574         * src/gpasswd.c: Warn and log to syslog and audit when group or
3575         gshadow cannot be unlocked, but do not fail.
3576
3577 2008-08-01  Nicolas François  <nicolas.francois@centraliens.net>
3578
3579         * src/chfn.c, src/chsh.c, src/groupdel.c, src/groupmems.c,
3580         src/groupmod.c, src/grpck.c, src/login.c, src/logoutd.c,
3581         src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c,
3582         src/suauth.c, src/useradd.c, src/userdel.c, src/usermod.c,
3583         src/vipw.c: Complete the switch from the `' quotation style to ''.
3584         Do it also in SYSLOG messages. Quote some parameters. All this
3585         permits to merge some messages.
3586
3587 2008-07-30  Lukáš Kuklínek  <lkukline@redhat.com>
3588
3589         * src/groupmems.c: Only check if the adduser user exists when an
3590         user is specified with -a.
3591
3592 2008-07-30  Nicolas François  <nicolas.francois@centraliens.net>
3593
3594         * src/groupmems.c: Fix the groupmems' usage message. The -D option
3595         is in fact -p.
3596
3597 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3598
3599         * src/groupmems.c: Replace an if test by an else.
3600
3601 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3602
3603         * src/groupmems.c: Ignore the return value of fputs().
3604
3605 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3606
3607         * src/groupmems.c (whoami): Make sure usr and grp are not NULL
3608         before dereferencing them.
3609
3610 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3611
3612         * src/groupmems.c: Use xstrdup() rather than strdup().
3613
3614 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3615
3616         * src/groupmems.c: Add parenthesis.
3617         * src/groupmems.c: Avoid implicit conversion of pointers / chars to
3618         booleans.
3619
3620 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3621
3622         * NEWS, src/groupmems.c: Allow everybody to list the users of a group.
3623         This information is publicly available in /etc/group.
3624         * NEWS, src/groupmems.c: Open /etc/group read only for the -l option.
3625
3626 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3627
3628         * man/groupmems.8.xml: Sort options alphabetically.
3629
3630 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3631
3632         * src/groupmems.c (check_perms): Simplify. Always call pam_end()
3633         at the end of the authentication.
3634
3635 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3636
3637         * src/groupmems.c: Add fail_exit() to remove the group lock file
3638         in case of failure. Replace the calls to exit() by fail_exit().
3639
3640 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3641
3642         * src/groupmems.c: Reduce the number of checks. Isolate the
3643         parameters setting and permissions checking.
3644
3645 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3646
3647         * src/groupmems.c: Add functions process_flags() and check_perms()
3648         from code of main().
3649         * src/groupmems.c: Harmonize the failure message in case of PAM
3650         failure with the other programs.
3651
3652 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3653
3654         * src/groupmems.c: Remove isgroup(), which always returns TRUE.
3655
3656 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3657
3658         * src/groupmems.c: Reuse the functions from libmisc/list.c to deal
3659         with user lists. addtogroup() was broken when realloc() move the
3660         memory area.
3661         * src/groupmems.c: Report failures with the name of the program.
3662
3663 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3664
3665         * src/groupmems.c: EXIT_READ_GROUP changed to EXIT_INVALID_GROUP.
3666         * src/groupmems.c: EXIT_INVALID_USERNAME changed to EXIT_INVALID_USER.
3667
3668 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
3669
3670         * src/groupmems.c: Really use booleans.
3671         * src/groupmems.c: Change isroot() to a macro that returns a
3672         boolean.
3673
3674 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
3675
3676         * lib/defines.h: Make sure the booleans are defined before using
3677         them.
3678
3679 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
3680
3681         * src/groupmems.c: Added Prog global variable to indicate the name
3682         of the program in error messages.
3683
3684 2008-07-22  Lukáš Kuklínek  <lkukline@redhat.com>
3685
3686         * NEWS, src/groupmems.c: Check if the user added to group actually
3687         exist. RedHat bug #455603
3688         * NEWS, src/groupmems.c: Check if the group exists in the group
3689         local database (/etc/group). RedHat bug #456088
3690
3691 2008-07-22  Nicolas François  <nicolas.francois@centraliens.net>
3692
3693         * lib/prototypes.h: Fix getrange prototype.
3694
3695 2008-07-21  Seraphim Mellos  <mellos@ceid.upatras.gr>
3696
3697         * README, NEWS, configure.in, lib/pam_defs.h, src/login.c: Add
3698         support for OpenPAM.
3699
3700 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
3701
3702         * src/chage.c: Ignore the return value of pam_end() before exiting.
3703         * src/chage.c: Ignore return values of strftime(), snprintf(),
3704         puts(), printf(), and fputs().
3705         * src/chage.c: Check the return value of asctime().
3706
3707 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
3708
3709         * lib/gshadow.c: Avoid assignments in comparison.
3710
3711 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
3712
3713         * ChangeLog, NEWS, src/login.c: Re-inject the changes from 4.1.2.1.
3714
3715 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
3716
3717         * src/usermod.c: Do not call usr_update() if it will have no
3718         effects. This avoid checking if the user exists in the local passwd
3719         file if not necessary, and thus allow to add LDAP users to local
3720         groups. (The user is already checked against the system
3721         configuration with getpwnam()). Thanks to Dan Kopecek.
3722
3723 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
3724
3725         * src/usermod.c: Split update_files() into update_lastlog() and
3726         update_faillog(). Report errors (but don't fail) if the file
3727         exist, but open(), lseek(), read(), write(), or close() fails.
3728         * src/usermod.c: Add brackets and parenthesis.
3729         * src/usermod.c: Ignore the return value of pam_end() before
3730         exiting.
3731         * src/usermod.c: Ignore the return value of strftime(),
3732         snprintf(), and puts().
3733         * src/usermod.c: Check the return value of gmtime() and asctime(),
3734         and output the raw time_t on failures.
3735
3736 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
3737
3738         * libmisc/setugid.c: Add brackets.
3739
3740 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
3741
3742         * libmisc/env.c: Avoid implicit conversion of pointers / chars to
3743         booleans.
3744         * libmisc/env.c: Add brackets and parenthesis.
3745         * libmisc/env.c: Ignore the return value of puts() and fputs().
3746         * libmisc/env.c: Avoid multi-statements lines.
3747
3748 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
3749
3750         * libmisc/utmp.c: Avoid implicit conversion of pointers / chars to
3751         booleans.
3752         * libmisc/utmp.c: Add brackets and parenthesis.
3753         * libmisc/utmp.c: Exit with the EXIT_FAILURE status code in case
3754         of failure.
3755         * libmisc/utmp.c: Avoid assignments in comparisons.
3756         * lib/prototypes.h, libmisc/utmp.c: Change setutmp()'s prototype
3757         to return an int because pututline() and pututxline() may fail.
3758
3759 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
3760
3761         * libmisc/audit_help.c: Added one string for translation.
3762         * po/POTFILES.in: Added libmisc/audit_help.c,
3763         libmisc/find_new_gid.c, libmisc/find_new_uid.c, libmisc/getlong.c,
3764         libmisc/getrange.c, libmisc/xgetXXbyYY.c, and libmisc/yesno.c.
3765         Removed libmisc/find_new_ids.c
3766
3767 2008-06-16  Nicolas François  <nicolas.francois@centraliens.net>
3768
3769         * src/useradd.c: If the faillog file exist, warn in case of
3770         failure when open(), lssek(), write() or close() fails when the
3771         new user's faillog entry is reset.
3772         * src/useradd.c: Ditto for the lastlog entry.
3773
3774 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3775
3776         * libmisc/limits.c: Add brackets and parenthesis.
3777         * libmisc/limits.c: Avoid implicit conversion of pointers /
3778         integers to booleans.
3779         * libmisc/limits.c: Ignore the return value of umask(). We will
3780         never return to the original umask.
3781         * libmisc/limits.c: Avoid multi-statements lines.
3782         * libmisc/limits.c: Added default to a switch(). Report invalid
3783         limit strings to syslog.
3784         * libmisc/limits.c: Ignore the return value of fclose().
3785         /etc/limits is open read-only.
3786         * libmisc/limits.c: Ignore the return value of fputs() and
3787         sleep().
3788         * libmisc/limits.c: Check the return value of nice() and
3789         set_filesize_limit(), and report errors to syslog.
3790
3791 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3792
3793         * libmisc/ulimit.c, lib/prototypes.h: Return failures of
3794         set_filesize_limit(). Change the prototype to return an int
3795         instead of void.
3796
3797 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3798
3799         * libmisc/failure.c: Try to close the open file if a failure
3800         occured during lseek(), read() or write().
3801
3802 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3803
3804         * libmisc/log.c: Check return values. If lseek() failed, avoid
3805         reading or writing at an unspecified location. Log to syslog in
3806         case of failure.
3807         * libmisc/log.c: Use the right casts.
3808
3809 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3810
3811         * libmisc/find_new_ids.c, libmisc/find_new_gid.c,
3812         libmisc/find_new_uid.c, libmisc/Makefile.am, lib/prototypes.h:
3813         Split find_new_ids.c into find_new_gid.c and find_new_uid.c to
3814         ease the description of login.defs variables in the different
3815         tools.
3816
3817 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3818
3819         * libmisc/failure.c: Ignore the return value of strftime() and
3820         printf().
3821         * libmisc/failure.c: Fix syslog call. The UID is not available.
3822         User the username specified in the utmp/utmpx entry.
3823
3824 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3825
3826         * lib/defines.h: Avoid implicit conversion of pointers to
3827         booleans.
3828         * lib/defines.h: Ignore return values of setlocale() except the
3829         first call.
3830         * lib/defines.h: Fix a splint observer warning by using an
3831         intermediate variable (old_locale).
3832
3833 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3834
3835         * libmisc/failure.c: Check return values. If lseek() failed, avoid
3836         reading or writing at an unspecified location. Log to syslog in
3837         case of failure when reading a faillog entry or writing in
3838         faillog or btmp.
3839         * libmisc/failure.c: Check if the file exist before opening it.
3840         * libmisc/failure.c: Log failures of open() and close() when
3841         necessary.
3842
3843 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
3844
3845         * lib/prototypes.h: Add the getrange() prototype.
3846         * lib/prototypes.h: Fix the valid_field() prototype (does not
3847         return an bool).
3848         * lib/prototypes.h: Fix the valid() prototype (it does return a
3849         bool).
3850
3851 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
3852
3853         * lib/getdef.c: Fix the getdef_ulong() prototype.
3854         * lib/getdef.h: Fix the getdef_ulong() prototype.
3855
3856 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
3857
3858         * src/lastlog.c: Use getrange to parse the range of users.
3859         * src/lastlog.c: umin and umax do not need to be signed long. Use
3860         an unsigned long which might be needed to parse a GID or UID. Add
3861         the has_umin and has_umax to replace the -1 values.
3862         * src/lastlog.c: Cast dates to time_t.
3863         * src/lastlog.c: Prefix lastlog errors with "lastlog: ".
3864
3865 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
3866
3867         * libmisc/getlong.c: Reset errno before calling strtol().
3868         Otherwise, errno could be already set to ERANGE.
3869
3870 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
3871
3872         * libmisc/Makefile.am, libmisc/getrange.c: Added function to parse
3873         a range (useful for lastlog).
3874
3875 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
3876
3877         * src/chsh.c: <signal.h> is not needed.
3878
3879 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3880
3881         * lib/prototypes.h: Define AUDIT_NO_ID to (unsigned int) -1. This
3882         value should be used when the ID should not be considered.
3883         * lib/prototypes.h: Fix the prototype of do_rlogin() according to
3884         earlier changes.
3885
3886 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3887
3888         * lib/shadow.c: Use SHADOW_SP_FLAG_UNSET for the initial
3889         value of spwd.sp_flag.
3890         * lib/shadow.c: Add brackets.
3891         * lib/shadow.c: Avoid implicit conversion of pointers to
3892         booleans.
3893         * lib/shadow.c: The size argument of fgets is an int, not a
3894         size_t.
3895
3896 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3897
3898         * lib/commonio.c: len should be typed ssize_t as it is the return
3899         of read(), and is compared to 0. Cast to size_t when necessary.
3900
3901 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3902
3903         * libmisc/find_new_ids.c: Use getdef_ulong to retrieve UIDs/GIDs
3904         from login.defs. Type constants to long integers.
3905
3906 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3907
3908         * lib/gshadow.c: Use a bool when possible instead of int integers.
3909         * lib/gshadow.c: Remove __setsgNIS() -never used).
3910         * lib/gshadow.c: Avoid multi-statements lines.
3911         * lib/gshadow.c: Avoid assignments in comparisons.
3912         * lib/gshadow.c: ptr[nelem] is a string. Initialize it to NULL
3913         instead of '\0'.
3914         * lib/gshadow.c: Add brackets and parenthesis.
3915         * lib/gshadow.c: The size argument of strncpy is a size_t and the
3916         size argument of fgets is an int.
3917
3918 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3919
3920         * lib/groupio.c: Add brackets.
3921         * lib/groupio.c: Make sure malloc receives a size_t.
3922         * lib/groupio.c: Avoid multi-statements lines.
3923
3924 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3925
3926         * lib/sgetspent.c: Use SHADOW_SP_FLAG_UNSET for the initial
3927         value of spwd.sp_flag.
3928
3929 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3930
3931         * lib/getdef.h, lib/getdef.c: Add getdef_ulong().
3932         * lib/getdef.c: Added TODOs because of lack of error checking.
3933         * lib/getdef.c: The size argument of fgets is an int, not a
3934         size_t.
3935         * lib/getdef.c: Avoid multi-statements lines.
3936
3937 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3938
3939         * src/id.c: Make sure malloc receives a size_t.
3940         * src/id.c: Use a %lu format and cast group and user IDs to
3941         unsigned long integers.
3942
3943 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3944
3945         * src/sulogin.c: Ignore the return value of signal().
3946
3947 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3948
3949         * src/groups.c: sys_ngroups is only used when HAVE_GETGROUPS is
3950         defined.
3951
3952 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3953
3954         * src/faillog.c: Ignore return value of time() when use with a
3955         non NULL argument.
3956         * src/faillog.c: Use a %lu format and cast number of days to
3957         unsigned long integers.
3958         * src/faillog.c: Cast dates to time_t.
3959
3960 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3961
3962         * src/login.c: Ignore the return value of signal().
3963         * src/login.c: Use a %lu format and cast group and user IDs to
3964         unsigned long integers.
3965         * src/login.c: Ignore return value of setlocale(),
3966         bindtextdomain(), and textdomain().
3967
3968 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3969
3970         * src/chage.c: Add the arguments' names in the functions
3971         prototypes.
3972         * src/chage.c: The ID argument of audit_logger is an unsigned
3973         int. Use AUDIT_NO_ID instead of -1.
3974         * src/chage.c: print_date() received a time_t.
3975         * src/chage.c: Use SHADOW_SP_FLAG_UNSET for the initial
3976         value of spwent.sp_flag.
3977
3978 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3979
3980         * src/groupadd.c: The ID argument of audit_logger is an unsigned
3981         int. Use AUDIT_NO_ID instead of -1.
3982         * src/groupadd.c: Cast the parsed GID/UID to a gid_t/uid_t.
3983
3984 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3985
3986         * src/pwck.c: Use a %lu format and cast group and user IDs to
3987         unsigned long integers.
3988         * src/pwck.c: Cast number of days to a long integer.
3989         * src/pwck.c: Use the SCALE macro instead of (24L * 3600L)
3990         for the values to be set in /etc/shadow.
3991         * src/pwck.c: Use SHADOW_SP_FLAG_UNSET for the initial
3992         value of spent.sp_flag.
3993
3994 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3995
3996         * src/passwd.c: Ignore return value of time() when use with a
3997         non NULL argument.
3998         * src/passwd.c: Cast number of days to a long integer.
3999
4000 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4001
4002         * src/groupmod.c: The ID argument of audit_logger is an unsigned
4003         int. Use AUDIT_NO_ID instead of -1.
4004         * src/groupmod.c:  Use a %lu format and cast group and user IDs to
4005         unsigned long integers.
4006         * src/groupmod.c: Cast the parsed GID/UID to a gid_t/uid_t.
4007
4008 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4009
4010         * src/useradd.c: The ID argument of audit_logger is an unsigned
4011         int. Use AUDIT_NO_ID instead of -1.
4012         * src/useradd.c: Cast the parsed GID/UID to a gid_t/uid_t.
4013         * src/useradd.c: The size argument of fgets is an int, not a
4014         size_t.
4015         * src/useradd.c: Cast number of days to a long integer.
4016         * src/useradd.c: Use SHADOW_SP_FLAG_UNSET for the initial
4017         value of spent.sp_flag.
4018         * src/useradd.c: Use a %lu format and cast group and user IDs to
4019         unsigned long integers.
4020
4021 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4022
4023         * src/su.c: fork() and waitpid() return a pid_t, not an int.
4024         * src/su.c: Add brackets and parenthesis.
4025         * src/su.c: Ignore the return value of signal().
4026
4027 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4028
4029         * src/groupdel.c: The ID argument of audit_logger is an unsigned
4030         int. Use AUDIT_NO_ID instead of -1.
4031
4032 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4033
4034         * src/expiry.c: Ignore the return value of signal().
4035
4036 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4037
4038         * src/newusers.c: Fix the check for GID/UID validity.
4039         * src/newusers.c: Comment why we use both getgrgid() and
4040         gr_locate_gid().
4041         * src/newusers.c: Cast the parsed GID/UID to a gid_t/uid_t.
4042         * src/newusers.c: Cast the number of days to a long integer.
4043         * src/newusers.c: Use SHADOW_SP_FLAG_UNSET for the initial
4044         value of spent.sp_flag.
4045         * src/newusers.c: The size argument of fgets is an int, not a
4046         size_t.
4047
4048 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4049
4050         * src/usermod.c: Cast dates to time_t, and number of days to a
4051         long integer.
4052         * src/usermod.c: Cast UIDs and GIDs to uid_t and gid_t after
4053         checking the ranges.
4054         * src/usermod.c: The ID argument of audit_logger is an unsigned
4055         int.
4056         * src/usermod.c: read() returns a ssize_t.
4057         * src/usermod.c: Cast the return value of malloc and make sure it
4058         receives a size_t.
4059
4060 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4061
4062         * src/logoutd.c: Ignore return value of time() when use with a
4063         non NULL argument.
4064
4065 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4066
4067         * src/pwconv.c: Use SHADOW_SP_FLAG_UNSET for the initial
4068         value of sp.sp_flag.
4069         * src/pwconv.c: Cast number of days to a long integer.
4070
4071 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4072
4073         * src/gpasswd.c: The ID argument of audit_logger is an unsigned
4074         int.
4075         * src/gpasswd.c: Ignore the return value of signal(). The signal
4076         handlers are only changed for the last steps of gpasswd, and there
4077         is no need to restore them.
4078
4079 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4080
4081         * src/userdel.c: The ID argument of audit_logger is an unsigned
4082         int.
4083         * src/userdel.c: fork() and wait() return a pid_t, not an int.
4084
4085 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4086
4087         * src/newgrp.c: Use a %lu format and cast group and user IDs to
4088         unsigned long integers.
4089         * src/newgrp.c: The ID argument of audit_logger is an unsigned
4090         int.
4091         * src/newgrp.c: Ignore the return value of signal() (the signal
4092         handlers are assumed to be the default one and are restored
4093         later).
4094         * src/newgrp.c: Do not checl if a pid_t is < 0, check if equal
4095         to (pid_t)-1.
4096
4097 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4098
4099         * libmisc/isexpired.c: Cast number of days to a long integer.
4100         * libmisc/isexpired.c: Add brackets and parenthesis.
4101
4102 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4103
4104         * libmisc/copydir.c: Do not specify a size of arrays in the
4105         prototypes.
4106         * libmisc/copydir.c: Use a size_t for the length of strings.
4107         * libmisc/copydir.c: Cast the return value of malloc().
4108         * libmisc/copydir.c: The size argument of write() is a size_t.
4109
4110 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4111
4112         * libmisc/pwd2spwd.c: Cast number of days to a long integer.
4113         * libmisc/pwd2spwd.c: Use SHADOW_SP_FLAG_UNSET for the initial
4114         value of sp.sp_flag.
4115
4116 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4117
4118         * lib/defines.h: Include <config.h> since it uses the macro that
4119         might be defined in this header file.
4120         * lib/defines.h: Prefer checking if HAVE_LOCALE_H or ENABLE_NLS
4121         are defined (rather than set to non 0).
4122         * lib/defines.h: The dummy implementations of bindtextdomain() and
4123         textdomain() should return a pointer. Return NULL instead of
4124         /* empty */
4125         * lib/defines.h: Define SHADOW_SP_FLAG_UNSET, to be used for the
4126         initialization of sp_flag field of the shadow structures.
4127         * lib/defines.h: Define LC_ALL, needed even if HAVE_LOCALE_H is
4128         not defined.
4129
4130 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4131
4132         * libmisc/sulog.c: Ignore the return value of umask() when the
4133         mask is restored.
4134         * libmisc/sulog.c: Add brackets.
4135         * libmisc/sulog.c: Ignore return value of time() when use with a
4136         non NULL argument.
4137
4138 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4139
4140         * libmisc/log.c: Avoid assignments in comparisons.
4141         * libmisc/log.c: Add brackets and parenthesis.
4142         * libmisc/log.c: read() returns a ssize_t (note size_t).
4143         * libmisc/log.c: Avoid implicit conversion of pointers to
4144         booleans.
4145         * libmisc/log.c: Ignore return value of time() when use with a
4146         non NULL argument.
4147
4148 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4149
4150         * libmisc/strtoday.c: Avoid implicit conversion of pointers to
4151         booleans.
4152         * libmisc/strtoday.c: Add brackets and parenthesis.
4153
4154 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4155
4156         * libmisc/salt.c: Use a size_t for the size of strings instead of
4157         unsigned int.
4158         * libmisc/salt.c: Add brackets and parenthesis.
4159         * libmisc/salt.c: Avoid assignments in comparisons.
4160
4161 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4162
4163         * libmisc/age.c: fork() and wait() return a pid_t, not an int.
4164         * libmisc/age.c: Avoid implicit conversion of pointers to
4165         booleans.
4166         * libmisc/age.c: Avoid assignments in comparisons.
4167         * libmisc/age.c: Ignore the return value of printf(), puts(),
4168         fputs() and fflush().
4169         * libmisc/age.c: Add brackets and parenthesis.
4170         * libmisc/age.c: Cast the return value of time() to long and
4171         converted to a date.
4172
4173 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4174
4175         * libmisc/rlogin.c: The size argument of read() is a size_t.
4176         Propagate this time to the callers (the get_remote_string() and
4177         do_rlogin() functions).
4178         * libmisc/rlogin.c: Add brackets and parenthesis.
4179         * libmisc/rlogin.c: Avoid multi-statements lines.
4180         * libmisc/rlogin.c: Avoid assignments in comparisons.
4181         * libmisc/rlogin.c: Avoid implicit conversion of pointers to
4182         booleans.
4183
4184 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4185
4186         * libmisc/failure.c: Avoid assignments in comparisons.
4187         * libmisc/failure.c: read() returns a ssize_t.
4188         * libmisc/failure.c: Add brackets and parenthesis.
4189         * libmisc/failure.c: Ignore return value of time() when use with a
4190         non NULL argument.
4191
4192 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4193
4194         * libmisc/chowntty.c: Avoid assignments in comparisons.
4195         * libmisc/chowntty.c: Avoid implicit conversion of pointers to
4196         booleans.
4197         * libmisc/chowntty.c: Add brackets and parenthesis.
4198
4199 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4200
4201         * libmisc/audit_help.c: Add brackets.
4202
4203 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4204
4205         * libmisc/addgrps.c: Avoid implicit conversion of pointers to
4206         booleans.
4207         * libmisc/addgrps.c: Add brackets.
4208
4209 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4210
4211         * libmisc/utmp.c: Avoid implicit conversion of pointers to
4212         booleans.
4213
4214 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4215
4216         * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c,
4217         libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/tz.c,
4218         src/login_nopam.c, src/chpasswd.c, src/chgpasswd.c, lib/port.c:
4219         The size argument of fgets is an int, not a size_t.
4220         * libmisc/loginprompt.c: Ignore the return value from signal()
4221         when the signal handlers are restored.
4222         * src/chpasswd.c: Cast the return value of time() to a long
4223         integer.
4224         * src/chpasswd.c: Use the SCALE macro instead of (24L * 3600L)
4225         for the values to be set in /etc/shadow.
4226
4227 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4228
4229         * src/pwck.c: Use a bool when possible instead of int integers.
4230         * src/pwck.c: Avoid implicit conversion of integers to booleans.
4231
4232 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4233
4234         * src/su.c: Use a bool when possible instead of int integers.
4235         * src/su.c: Add brackets and parenthesis.
4236         * src/su.c: Avoid implicit conversion of pointers / integers
4237         / chars to booleans.
4238         * src/su.c: Ignore the return value of pam_end() before
4239         exiting.
4240         * src/su.c: Avoid assignments in comparisons.
4241         * src/su.c: Avoid multi-statements lines.
4242
4243 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4244
4245         * lib/prototypes.h, libmisc/valid.c: Change the prototype of
4246         valid() to return a bool.
4247         * libmisc/valid.c: Add parenthesis.
4248
4249 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4250
4251         * lib/commonio.c: Add brackets and parenthesis.
4252         * lib/commonio.c: Check the result of fgets().
4253         * lib/commonio.c: Avoid implicit conversion of pointers to
4254         booleans.
4255
4256 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4257
4258         * lib/prototypes.h: Fix the prototypes to match earlier changes.
4259
4260 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4261
4262         * lib/nscd.c: Include defines.h.
4263         * lib/nscd.c: Always warn when the nscd cache cannot be flushed.
4264         * lib/nscd.c: Avoid assignments in comparisons.
4265         * lib/nscd.c: Ignore the return value of fputs() when printing
4266         errors.
4267
4268 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4269
4270         * lib/port.c: Add brackets and parenthesis.
4271         * lib/port.c: Change isttytime() prototype to return a bool.
4272         * lib/port.c: Ignore the return value of fclose () (file open
4273         read-only).
4274         * lib/port.c: Avoid multi-statements lines.
4275
4276 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4277
4278         * src/id.c: Ignore the return value of fputs(), puts(), putchar(),
4279         and printf().
4280         * src/id.c: Ignore return value of setlocale(),
4281         bindtextdomain(), and textdomain().
4282         * src/id.c: Add brackets and parenthesis.
4283         * src/id.c: Avoid implicit conversion of pointers / integers
4284         to booleans.
4285
4286 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4287
4288         * src/chsh.c: Use a bool when possible instead of int integers.
4289         * src/chsh.c: restricted_shell() renamed is_restricted_shell().
4290         check_shell() renamed shell_is_listed().
4291         * src/chsh.c: Ignore return value of setlocale(),
4292         bindtextdomain(), and textdomain().
4293         * src/chsh.c: Avoid implicit conversion of pointers / integers
4294         to booleans.
4295         * src/chsh.c: Ignore the return value of pam_end() before
4296         exiting.
4297
4298 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4299
4300         * src/grpunconv.c: Use a bool when possible instead of int
4301         integers.
4302         * src/grpunconv.c: Add brackets and parenthesis.
4303         * src/grpunconv.c: Ignore return value of setlocale(),
4304         bindtextdomain(), and textdomain().
4305         * src/grpunconv.c: Avoid implicit conversion of pointers / integers
4306         to booleans.
4307
4308 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4309
4310         * src/sulogin.c: Ignore return value of setlocale(),
4311         bindtextdomain(), and textdomain().
4312         * src/sulogin.c: Avoid implicit conversion of pointers / integers
4313         / chars to booleans.
4314         * src/sulogin.c: Avoid assignments in comparisons.
4315         * src/sulogin.c: Ignore the return value of alarm().
4316
4317 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4318
4319         * src/groups.c: Use a bool when possible instead of int integers.
4320         * src/groups.c: Add brackets and parenthesis.
4321         * src/groups.c: Avoid implicit conversion of pointers / integers
4322         to booleans.
4323         * src/groups.c: Avoid assignments in comparisons.
4324         * src/groups.c: Ignore the return value of putchar(), printf()
4325         * src/groups.c: Ignore return value of setlocale(),
4326         bindtextdomain(), and textdomain().
4327
4328 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4329
4330         * src/grpconv.c: Use a bool when possible instead of int integers.
4331         * src/grpconv.c: Add brackets and parenthesis.
4332         * src/grpconv.c: Ignore return value of setlocale(),
4333         bindtextdomain(), and textdomain().
4334         * src/grpconv.c: Avoid implicit conversion of pointers / integers
4335         to booleans.
4336
4337 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4338
4339         * src/faillog.c: Use a bool when possible instead of int integers.
4340         * src/faillog.c: Avoid implicit conversion of pointers / integers
4341         / chars to booleans.
4342         * src/faillog.c: Ignore return value of setlocale(),
4343         bindtextdomain(), and textdomain().
4344         * src/faillog.c: Add brackets and parenthesis.
4345
4346 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4347
4348         * src/login.c: Avoid multi-statements lines.
4349         * src/login.c: Ignore the return value of pam_end() before
4350         exiting.
4351         * src/login.c: Use a bool when possible instead of int integers.
4352         * src/login.c: Add brackets and parenthesis.
4353         * src/login.c: Ignore the return values of fflush(), putchar(), puts().
4354         * src/login.c: Ignore the return value of fclose() for read-only
4355         files.
4356         * src/login.c: Avoid assignments in comparisons.
4357         * src/login.c: Ignore return value of setlocale(),
4358         bindtextdomain(), and textdomain().
4359         * src/login.c: Avoid implicit conversion of pointers / integers
4360         / chars to booleans.
4361
4362 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4363
4364         * src/chage.c: Use a bool when possible instead of int integers.
4365         * src/chage.c: Ignore return value of setlocale(),
4366         bindtextdomain(), and textdomain().
4367
4368 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4369
4370         * src/groupadd.c: Use a bool when possible instead of int
4371         integers.
4372         * src/groupadd.c: Add brackets and parenthesis.
4373         * src/groupadd.c: Avoid implicit conversion of pointers / integers
4374         / chars to booleans.
4375         * src/groupadd.c: Ignore return value of setlocale(),
4376         bindtextdomain(), and textdomain().
4377         * src/groupadd.c: Ignore the return value of pam_end() before
4378         exiting.
4379
4380 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4381
4382         * src/pwck.c: Use a bool when possible instead of int integers.
4383         * src/pwck.c: Ignore return value of setlocale(),
4384         bindtextdomain(), and textdomain().
4385
4386 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4387
4388         * src/passwd.c: Use a bool when possible instead of int integers.
4389         * src/passwd.c: Avoid assignments in comparisons.
4390         * src/passwd.c: Add brackets and parenthesis.
4391         * src/passwd.c: Avoid implicit conversion of pointers / integers /
4392         chars to booleans.
4393         * src/passwd.c: Move the "context_t c" declaration at the
4394         beginning check_selinux_access.
4395         * src/passwd.c: Ignore return value of setlocale(),
4396         bindtextdomain(), and textdomain().
4397
4398 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4399
4400         * src/groupmod.c: Use a bool when possible instead of int
4401         integers.
4402         * src/groupmod.c: Avoid assignments in comparisons.
4403         * src/groupmod.c: Add brackets and parenthesis.
4404         * src/groupmod.c: Avoid implicit conversion of pointers / integers
4405         / chars to booleans.
4406         * src/groupmod.c: Use a %lu format to print GIDs, and cast the GID
4407         to (unsigned long int).
4408         * src/groupmod.c: Ignore return value of setlocale(),
4409         bindtextdomain(), and textdomain().
4410         * src/groupmod.c: Ignore the return value of pam_end() before
4411         exiting.
4412
4413 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4414
4415         * src/su.c: Ignore return value of setlocale(),
4416         bindtextdomain(), and textdomain().
4417
4418 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4419
4420         * src/useradd.c: Use a bool when possible instead of int integers.
4421         * src/useradd.c: Avoid implicit conversion of pointers / integers
4422         / chars to booleans.
4423         * src/useradd.c: Add brackets and parenthesis.
4424         * src/useradd.c: Avoid assignments in comparisons.
4425         * src/useradd.c: Ignore the return value of fclose() for read-only
4426         files.
4427         * src/useradd.c: Ignore the return value of fflush() before
4428         closing the files.
4429         * src/useradd.c: Avoid multi-statements lines.
4430         * src/useradd.c: Ignore return value of setlocale(),
4431         bindtextdomain(), and textdomain().
4432         * src/useradd.c: Ignore the return value of pam_end() before
4433         exiting.
4434
4435 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4436
4437         * src/vipw.c: Use a bool when possible instead of int integers.
4438         * src/vipw.c: Ignore the return value of umask(), when the mask is
4439         set again to the old value.
4440         * src/vipw.c: Avoid implicit conversion of pointers / integers to
4441         booleans.
4442         * src/vipw.c: Add brackets and parenthesis.
4443         * src/vipw.c: Avoid assignments in comparisons.
4444         * src/vipw.c: Ignore return value of setlocale(),
4445         bindtextdomain(), and textdomain().
4446         * src/vipw.c: Add missing termination of the longopts parameter
4447         for getopt_long().
4448
4449 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4450
4451         * src/chgpasswd.c: Use a bool when possible instead of int
4452         integers.
4453         * src/chgpasswd.c: Ignore return value of setlocale(),
4454         bindtextdomain(), and textdomain().
4455         * src/chgpasswd.c: Avoid implicit conversion of integers to
4456         booleans.
4457
4458 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4459
4460         * src/groupdel.c: Use a bool when possible instead of int
4461         integers.
4462         * src/groupdel.c: Avoid implicit conversion of pointers / integers to
4463         booleans.
4464         * src/groupdel.c: Avoid assignments in comparisons.
4465         * src/groupdel.c: Ignore the return value of pam_end() before
4466         exiting.
4467         * src/groupdel.c: Ignore return value of setlocale(),
4468         bindtextdomain(), and textdomain().
4469
4470 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4471
4472         * src/expiry.c: Ignore return value of setlocale(),
4473         bindtextdomain(), and textdomain().
4474         * src/expiry.c: Add brackets and parenthesis.
4475         * src/expiry.c: Avoid assignments in comparisons.
4476         * src/expiry.c: Avoid implicit conversion of pointers to booleans.
4477
4478 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4479
4480         * src/pwunconv.c: Use a bool when possible instead of int
4481         integers.
4482         * src/pwunconv.c: Add brackets and parenthesis.
4483         * src/pwunconv.c: Ignore return value of setlocale(),
4484         bindtextdomain(), and textdomain().
4485         * src/pwunconv.c: Avoid implicit conversion of pointers / integers
4486         / chars to booleans.
4487         * src/pwunconv.c: Avoid assignments in comparisons.
4488
4489 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4490
4491         * src/usermod.c: Use a bool when possible instead of int integers.
4492         * src/usermod.c: Add brackets and parenthesis.
4493         * src/usermod.c: Avoid implicit conversion of pointers / integers
4494         / chars to booleans.
4495         * src/usermod.c: Avoid assignments in comparisons.
4496         * src/usermod.c: Ignore return value of setlocale(),
4497         bindtextdomain(), and textdomain().
4498         * src/usermod.c: Ignore the return value of pam_end() before
4499         exiting.
4500
4501 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4502
4503         * src/groupmems.c: Move the declaration of option_index and
4504         long_options before the blocks of code.
4505         * src/groupmems.c: Ignore return value of setlocale(),
4506         bindtextdomain(), and textdomain().
4507         * src/groupmems.c: Ignore the return value of pam_end() before
4508         exiting.
4509
4510 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4511
4512         * src/chfn.c: Use a bool when possible instead of int integers.
4513         * src/chfn.c: Avoid implicit conversion of integers / chars to
4514         booleans.
4515         * src/chfn.c: Ignore return value of setlocale(),
4516         bindtextdomain(), and textdomain().
4517
4518 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4519
4520         * src/logoutd.c: Use a bool when possible instead of int integers.
4521         * src/logoutd.c: Avoid implicit conversion of pointers / integers
4522         / chars to booleans.
4523         * src/logoutd.c: Ignore return value of setlocale(),
4524         bindtextdomain(), and textdomain().
4525         * src/logoutd.c: Add brackets and parenthesis.
4526
4527 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4528
4529         * src/chpasswd.c: Use a bool when possible instead of int
4530         integers.
4531         * src/chpasswd.c: Avoid implicit conversion of pointers / integers
4532         / chars to booleans.
4533         * src/chpasswd.c: Ignore return value of setlocale(),
4534         bindtextdomain(), and textdomain().
4535
4536 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4537
4538         * src/pwconv.c: Use a bool when possible instead of int integers.
4539         * src/pwconv.c: Add brackets and parenthesis.
4540         * src/pwconv.c: Ignore return value of setlocale(),
4541         bindtextdomain(), and textdomain().
4542         * src/pwconv.c: Avoid implicit conversion of pointers / integers /
4543         chars to booleans.
4544
4545 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4546
4547         * NEWS, src/newusers.c: Implement the -r, --system option.
4548         * src/newusers.c: Use a bool when possible instead of int
4549         integers.
4550         * src/newusers.c: Avoid implicit conversion of pointers / integers
4551         / chars to booleans.
4552         * src/newusers.c: Ignore the return value of pam_end() before
4553         exiting.
4554         * src/newusers.c: Ignore return value of setlocale(),
4555         bindtextdomain(), and textdomain().
4556         * src/newusers.c: Avoid multi-statements lines.
4557         * src/newusers.c: Add brackets and parenthesis.
4558
4559 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4560
4561         * src/gpasswd.c: Use a bool when possible instead of int integers.
4562         * src/gpasswd.c: Avoid implicit conversion of pointers / integers
4563         / chars to booleans.
4564         * src/gpasswd.c: Ignore the return value of putchar() and fflush()
4565         before exiting.
4566         * src/gpasswd.c: check_list() renamed is_valid_user_list(), and
4567         return a bool.
4568         * src/gpasswd.c: Ignore return value of setlocale(),
4569         bindtextdomain(), and textdomain().
4570
4571 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4572
4573         * src/grpck.c: Use a bool when possible instead of int integers.
4574         * src/grpck.c: Ignore return value of setlocale(),
4575         bindtextdomain(), and textdomain().
4576
4577 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4578
4579         * src/lastlog.c: Use a bool when possible instead of int integers.
4580         * src/lastlog.c: Avoid implicit conversion of pointers / integers
4581         / chars to booleans.
4582         * src/lastlog.c: Add brackets and parenthesis.
4583         * src/lastlog.c: Ignore return value of setlocale(),
4584         bindtextdomain(), and textdomain().
4585
4586 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4587
4588         * src/userdel.c: Use a bool for the is_shadow_pwd, is_shadow_grp,
4589         deleted_user_group, was_member, was_admin, and the
4590         options' flags.
4591         * src/userdel.c: Change path_prefix() prototype to return a bool.
4592         * src/userdel.c: Ignore return value of setlocale(),
4593         bindtextdomain(), and textdomain().
4594         * src/userdel.c: Ignore the return value from pam_end() since we
4595         are exiting anyway just afterwards.
4596         * src/userdel.c: Avoid implicit conversion of pointers /
4597         integers / chars to booleans.
4598         * src/userdel.c: Add brackets and parenthesis.
4599         * src/userdel.c: Avoid assignments in comparisons.
4600         * src/userdel.c: Do not ignore the return value of the *_unlock()
4601         functions.
4602
4603 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4604
4605         * src/login_nopam.c: Do not use the YES and NO macros. Use the
4606         booleans true and false instead. Change the prototypes of
4607         list_match(), user_match(), from_match(), and string_match()
4608         accordingly. Also use booleans internally.
4609         * src/login_nopam.c: Add brackets and parenthesis.
4610         * src/login_nopam.c: Avoid implicit conversion of pointers /
4611         integers / chars to booleans.
4612         * src/login_nopam.c: Avoid assignments in comparisons.
4613
4614 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4615
4616         * src/newgrp.c: Use a bool for is_newgrp, notfound, needspasswd,
4617         initflag, and cflag.
4618         * src/newgrp.c: Add brackets and parenthesis.
4619         * src/newgrp.c: Avoid implicit conversion of pointers / integers /
4620         chars to booleans.
4621         * src/newgrp.c: Avoid multi-statements lines.
4622         * src/newgrp.c: Ignore return value of setlocale(),
4623         bindtextdomain(), and textdomain().
4624         * src/newgrp.c: Avoid assignments in comparisons.
4625
4626 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4627
4628         * libmisc/list.c: Change is_on_list() prototype to return a bool.
4629
4630 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4631
4632         * libmisc/find_new_ids.c: Change find_new_uid() and find_new_gid()
4633         prototypes to use a bool for their first argument (sys_user /
4634         sys_group).
4635
4636 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4637
4638         * libmisc/console.c: Change is_listed() prototype to return a bool.
4639         The default parameter should also be a bool.
4640         * libmisc/console.c: Add brackets and parenthesis.
4641         * libmisc/console.c: Avoid assignments in comparisons.
4642         * libmisc/console.c: Change console() prototype to return a bool.
4643
4644 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4645
4646         * lib/sgetspent.c: Add brackets and parenthesis.
4647         * lib/sgetspent.c: Avoid assignments in comparisons.
4648         * lib/sgetspent.c: Avoid implicit conversion of pointers / chars
4649         to booleans.
4650         * lib/sgetspent.c: Avoid multi-statements lines.
4651
4652 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4653
4654         * lib/sgetpwent.c: Avoid implicit conversion of pointers / chars to
4655         booleans.
4656         * lib/sgetpwent.c: Add brackets and parenthesis.
4657         * lib/sgetpwent.c: Return NULL instead of 0.
4658         * lib/sgetpwent.c: Do not check twice if fields[2] and fields[3]
4659         are not empty.
4660         * lib/sgetpwent.c: Avoid assignments in comparisons.
4661
4662 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4663
4664         * libmisc/getdate.y: abbrev is a bool.
4665         * libmisc/getdate.y: Avoid implicit conversion of pointers / chars /
4666         integers to booleans.
4667
4668 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4669
4670         * lib/prototypes.h: Fix prototypes according to earlier changes
4671         (usage of the bool type).
4672         * lib/prototypes.h: Add the arguments' name to the prototypes.
4673
4674 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4675
4676         * lib/groupio.h: Add protection against multiple inclusions.
4677
4678 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4679
4680         * lib/pwio.h: Add protection against multiple inclusions.
4681         * lib/pwio.c: The changed, isopen, locked, and readonly fields
4682         of the db are booleans.
4683
4684 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4685
4686         * lib/shadowio.h, lib/shadowio.c: spw_file_present returns a bool.
4687         * lib/shadowio.h: Add protection against multiple inclusions.
4688         * lib/shadowio.c: The changed, isopen, locked, and readonly fields
4689         of the db are booleans.
4690
4691 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4692
4693         * lib/sgroupio.c: Avoid assignments in comparisons.
4694         * lib/sgroupio.c: Add brackets.
4695         * lib/sgroupio.c: Avoid implicit conversion of pointers / integers
4696         to booleans.
4697         * lib/sgroupio.c: The changed, isopen, locked, and readonly fields
4698         of the db are booleans.
4699         * lib/sgroupio.h, lib/sgroupio.c: sgr_file_present returns a bool.
4700         * lib/sgroupio.h: Add protection against multiple inclusions.
4701
4702 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4703
4704         * lib/gshadow.c: nis_used and nis_bound are booleans.
4705         * lib/gshadow.c: Avoid implicit conversion of pointers / integers
4706         to booleans.
4707         * lib/gshadow.c: Avoid assignments in comparisons.
4708         * lib/gshadow.c: Add brackets.
4709
4710 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4711
4712         * lib/groupio.c: The changed, isopen, locked, and readonly fields
4713         of the db are booleans.
4714         * lib/groupio.h: Add protection against multiple inclusion.
4715
4716 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4717
4718         * lib/sgetgrent.c: Avoid implicit conversion of pointers / chars
4719         to booleans.
4720         * lib/sgetgrent.c: Avoid assignments in comparisons.
4721         * lib/sgetgrent.c: Add brackets.
4722
4723 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4724
4725         * lib/encrypt.c: Avoid implicit conversion of pointers to
4726         booleans.
4727         * lib/encrypt.c: Add parenthesis.
4728
4729 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4730
4731         * lib/port.c: Avoid implicit conversion of pointers / integers /
4732         chars to booleans.
4733         * lib/port.c: Avoid multiple statement on the same line.
4734         * lib/port.c: Add brackets and parenthesis.
4735         * lib/port.c: Avoid assignments in comparisons.
4736         * lib/port.c: Fix typo comparision -> comparison (in comment).
4737
4738 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4739
4740         * lib/fputsx.c: Add brackets.
4741         * lib/fputsx.c: Avoid assignments in comparisons.
4742         * lib/fputsx.c: Avoid implicit conversion of pointers / integers /
4743         chars to booleans.
4744
4745 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4746
4747         * lib/commonio.h: commonio_entry.changed, commonio_db.changed,
4748         commonio_db.isopen, commonio_db.locked, and commonio_db.readonly
4749         are no booleans.
4750         * lib/commonio.h: Include defines.h to get the definition of bool.
4751         * lib/commonio.h: commonio_present returns a bool
4752         * lib/commonio.c: Implement above changes.
4753         * lib/commonio.c: add argument names in prototypes.
4754         * lib/commonio.c: name_is_nis returns a bool.
4755         * lib/commonio.c: nscd_need_reload is a bool.
4756         * lib/commonio.c: Improve types (use size_t / pid_t when needed
4757         instead of int).
4758         * lib/commonio.c: Avoid assignments in comparisons.
4759         * lib/commonio.c: Add brackets and parenthesis.
4760         * lib/commonio.c: Avoid implicit conversion of pointers / integers
4761         to booleans
4762         * lib/commonio.c: The return values of utime is not checked on
4763         purpose.
4764
4765 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4766
4767         * libmisc/isexpired.c: ARGSUSED is no more needed (shadow is
4768         always supported).
4769         * libmisc/isexpired.c: Avoid implicit conversion of pointers to
4770         booleans.
4771         * libmisc/isexpired.c: Add brackets and parenthesis.
4772
4773 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4774
4775         * libmisc/sulog.c (sulog): The success argument is a bool.
4776         * libmisc/sulog.c: The return values of fflush is not checked on
4777         purpose.
4778         * libmisc/sulog.c: Indicate that some return values should be
4779         checked.
4780
4781 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4782
4783         * libmisc/ttytype.c: Avoid implicit conversion of pointers /
4784         integers to booleans.
4785         * libmisc/ttytype.c: Avoid assignments in comparisons.
4786         * libmisc/ttytype.c: Add brackets and parenthesis.
4787         * libmisc/ttytype.c: The return values of fclose is not checked on
4788         purpose.
4789
4790 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4791
4792         * libmisc/mail.c: Avoid implicit conversion of pointers to
4793         booleans.
4794         * libmisc/mail.c: Avoid assignments in comparisons.
4795
4796 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4797
4798         * libmisc/loginprompt.c: Avoid implicit conversion of pointers /
4799         chars to booleans.
4800         * libmisc/loginprompt.c: Add brackets.
4801         * libmisc/loginprompt.c: Avoid assignments in comparisons.
4802         * libmisc/loginprompt.c: The return values of fclose and fflush
4803         are not checked on purpose.
4804
4805 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4806
4807         * libmisc/setupenv.c: Avoid implicit conversion of chars to
4808         booleans.
4809
4810 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4811
4812         * libmisc/copydir.c: selinux_checked, selinux_enabled, and set_orig
4813         are now booleans.
4814
4815 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4816
4817         * libmisc/setugid.c (setup_uid_gid): The is_console argument is now
4818         a bool.
4819         * libmisc/setugid.c: Avoid implicit conversion of integers /
4820         pointers to booleans.
4821         * libmisc/setugid.c: Add brackets.
4822
4823 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4824
4825         * libmisc/pam_pass.c (do_pam_passwd): The silent and
4826         change_expired are no booleans instead of int.
4827         * libmisc/pam_pass.c: The return value of pam_end is not checked
4828         on purpose.
4829
4830 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4831
4832         * libmisc/getlong.c: Avoid implicit conversion of pointers / chars
4833         to booleans.
4834         * libmisc/getlong.c: Add brackets.
4835
4836 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4837
4838         * libmisc/valid.c: Avoid implicit conversion of pointers / chars
4839         to booleans.
4840         * libmisc/valid.c: Add brackets.
4841
4842 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4843
4844         * libmisc/yesno.c: yes_or_no returns a bool instead of int.
4845         * libmisc/yesno.c: Avoid implicit conversion of pointers to
4846         booleans.
4847         * libmisc/yesno.c: The return value of fflush is not checked
4848         on purpose.
4849
4850 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4851
4852         * libmisc/age.c: Avoid implicit conversion of integers to
4853         booleans.
4854
4855 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4856
4857         * libmisc/rlogin.c: Avoid assignments in comparisons.
4858         * libmisc/rlogin.c: Avoid implicit conversion of integers to
4859         booleans.
4860         * libmisc/rlogin.c: Add brackets.
4861
4862 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4863
4864         * libmisc/failure.c (failcheck): The failed argument is a bool.
4865         * libmisc/failure.h: Likewise.
4866         * libmisc/failure.c (too_many_failures): too_many_failures returns
4867         a bool.
4868         * libmisc/failure.c: Add notes about unchecked return values.
4869         * libmisc/failure.c: Avoid assignments in comparisons.
4870         * libmisc/failure.c: Add brackets.
4871
4872 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4873
4874         * libmisc/myname.c: Avoid assignments in comparisons.
4875         * libmisc/myname.c: Avoid implicit conversion of pointers / chars
4876         to booleans.
4877         * libmisc/myname.c: Add brackets.
4878
4879 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4880
4881         * libmisc/utmp.c (checkutmp): Change picky argument's type to
4882         bool.
4883         * libmisc/utmp.c: Use bool when possible (found_utmpx,
4884         found_utmp).
4885         * libmisc/utmp.c: Add note about unchecked return values.
4886
4887 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4888
4889         * libmisc/addgrps.c: Change type of added to bool.
4890         * libmisc/addgrps.c: Avoid implicit conversion of pointers to
4891         booleans.
4892
4893 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4894
4895         * libmisc/hushed.c: hushed returns a bool instead of int.
4896         * libmisc/hushed.c: Avoid assignments in comparisons.
4897         * libmisc/hushed.c (hushed): Change type of found to bool.
4898         * libmisc/hushed.c: Add brackets.
4899         * libmisc/hushed.c: Always check if the user or the shell is in
4900         the file. Do not check the first character of the line first. This
4901         is simpler and match better with the HUSHLOGIN_FILE documentation.
4902
4903 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4904
4905         * lib/getdef.h, lib/getdef.c: getdef_bool returns a bool instead
4906         of int.
4907         * lib/getdef.c: Change typo of def_loaded to bool.
4908         * lib/getdef.c: Add brackets.
4909         * lib/getdef.c: Avoid assignments in comparisons.
4910
4911 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4912
4913         * libmisc/chowntty.c: is_my_tty returns a bool.
4914         * libmisc/chowntty.c: Avoid implicit conversion of integers to
4915         booleans.
4916         * libmisc/chowntty.c: Add brackets.
4917
4918 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4919
4920         * libmisc/chowndir.c: Avoid assignment in comparisons, implicit
4921         comparison of integers to booleans.
4922         * libmisc/chowndir.c: The return value of closedir is not checked
4923         on purpose.
4924         * libmisc/chowndir.c: Add brackets.
4925
4926 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4927
4928         * libmisc/chkname.h, libmisc/chkname.c: check_group_name (resp.
4929         check_user_name) renamed to is_valid_user_name (resp.
4930         is_valid_group_name). is_valid_user_name and is_valid_group_name
4931         return a bool.
4932         * src/grpck.c, src/newusers.c, src/usermod.c, src/useradd.c,
4933         src/groupmod.c, src/pwck.c, src/groupadd.c: Use is_valid_user_name
4934         and is_valid_group_name, following above change.
4935         * libmisc/chkname.c: Avoid implicit conversion of chars to
4936         booleans. Add brackets and parenthesis.
4937
4938 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4939
4940         * libmisc/xmalloc.c: Avoid implicit conversion of integers /
4941         pointers to booleans.
4942         * libmisc/xgetXXbyYY.c: Likewise.
4943
4944 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4945
4946         * configure.in, lib/defines.h: Allow usage of booleans in the
4947         source.
4948
4949 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4950
4951         * configure.in: Allow --disable-man and --enable-man=no.
4952
4953 2008-06-26  Nicolas François  <nicolas.francois@centraliens.net>
4954
4955         Prepare the 4.1.2.1 release
4956         * NEWS: set the release date.
4957         * man/po/*.po, po/*.po: Updated PO files.
4958         * configure.in: Set the version to 4.1.2.1.
4959
4960 2008-06-26  Nicolas François  <nicolas.francois@centraliens.net>
4961
4962         * NEWS, src/login.c: Fix an "audit log injection" vulnerability in
4963         login. This is similar to CVE-2008-1926 (util-linux-ng's login).
4964         This vulnerability makes it easier for attackers to hide
4965         activities by modifying portions of log events, e.g. by appending
4966         an addr= statement to the login name.
4967         * lib/prototypes.h: Added definition of AUDIT_NO_ID.
4968
4969 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4970
4971         Prepare the 4.1.2 release
4972         * NEWS: set the release date.
4973         * man/po/*.po, po/*.po: Updated PO files.
4974         * configure.in: Set the version to 4.1.2.
4975
4976 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4977
4978         * po/Makevars, man/po/Makefile.in.in: Run msgmerge with
4979         --previous. (This requires gettext >= 0.16)
4980
4981 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
4982
4983         * libmisc/copydir.c (remove_tree): As we always use remove_tree
4984         followed by rmdir to remove the directory itself, delete also the
4985         root directory in remove_tree.
4986         * src/userdel.c, src/usermod.c: Do not call rmdir after
4987         remove_tree.
4988
4989 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
4990
4991         * libmisc/copydir.c (remove_tree): Make sure unlink is successful
4992         when removing files.
4993
4994 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
4995
4996         * libmisc/pwdcheck.c: Simply passwd_check since it's never used
4997         when configured with PAM support.
4998
4999 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5000
5001         Fix compiler warnings:
5002         * libmisc/audit_help.c: Include prototypes.h to get the prototype
5003         of audit_help_open.
5004         * libmisc/salt.c: Use booleans instead of negating integers.
5005         * src/passwd.c: Declare the check_selinux_access prototype and
5006         avoid name clashes (change_user -> changed_user; change_uid ->
5007         changed_uid; access -> requested_access)
5008         * libmisc/list.c: Avoid assignments in comparisons, assignments
5009         with post increments (x++), use of integers as booleans, and
5010         explicitly mark blocks with brackets.
5011         * libmisc/fields.c: Likewise.
5012         * libmisc/copydir.c: Likewise.
5013         * libmisc/fields.c: Add comments.
5014         * libmisc/copydir.c: Mark function whose return value is not
5015         checked as such.
5016
5017 2008-05-23  Nicolas François  <nicolas.francois@centraliens.net>
5018
5019         * libmisc/pam_pass.c: Use fputs rather than fprintf for constant
5020         strings.
5021
5022 2008-05-21  Nicolas François  <nicolas.francois@centraliens.net>
5023
5024         * man/login.1.xml: Indicate that login should be executed with
5025         "exec login" if called from a shell.
5026
5027 2008-05-21  Nicolas François  <nicolas.francois@centraliens.net>
5028
5029         * man/passwd.1.xml: Remove the advices for the choice of a good
5030         password (they are debatable). Point to
5031         http://en.wikipedia.org/wiki/Password_strength instead.
5032
5033 2008-05-20  Nicolas François  <nicolas.francois@centraliens.net>
5034
5035         * NEWS, libmisc/salt.c (SHA_salt_size): Seed the RNG, and fix a
5036         overflow. These caused the SHA salt size to always be 8 bytes,
5037         instead of being in the 8-16 range. Thanks to Peter Vrabec
5038         pvrabec@redhat.com for noticing.
5039         * NEWS, libmisc/salt.c (SHA_salt_rounds): Seed the RNG with
5040         seedRNG instead of srand, and fix the same overflow. This caused
5041         the number of rounds to always be the smallest one.
5042
5043 2008-05-20  Nicolas François  <nicolas.francois@centraliens.net>
5044
5045         * man/newusers.8.xml man/groupmems.8.xml man/groupdel.8.xml
5046         man/useradd.8.xml man/groupadd.8.xml man/newgrp.1.xml man/sg.1.xml
5047         man/chgpasswd.8.xml man/groupmod.8.xml: Tag the section which
5048         require --enable-shadowgrp accordingly.
5049
5050 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5051
5052         * man/login.defs.5.xml: SHA_CRYPT_MAX_ROUNDS and
5053         SHA_CRYPT_MIN_ROUNDS can only exist if configured with
5054         --with-sha-crypt.
5055
5056 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5057
5058         * NEWS, man/useradd.8.xml: Document the -k, --skel option, and
5059         update the -m, --create-home documentation.
5060
5061 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5062
5063         * man/useradd.8.xml: Sort options.
5064
5065 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5066
5067         * lib/getdef.c: SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can
5068         only exist if configured with --with-sha-crypt.
5069         * man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Likewise.
5070
5071 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5072
5073         * libmisc/salt.c: Document the section closed by #endif
5074
5075 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5076
5077         * src/useradd.c: Fix formatting.
5078
5079 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5080
5081         * NEWS, man/useradd.8.xml: Document the -r, --system option.
5082         * NEWS, man/groupadd.8.xml: Document the -r, --system option.
5083         * NEWS, man/newusers.8.xml: Document the -r, --system option.
5084         * NEWS, man/newusers.8.xml: Document the -c, --crypt-method and
5085         -s, --sha-rounds options.
5086
5087 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5088
5089         Import Debian patch 487_passwd_chauthtok_failed_message
5090         * libmisc/pam_pass.c: Be more verbose and indicate that the
5091         password was not changed when pam_chauthtok fails (in addition to
5092         the PAM error, which may not be comprehensible for the users).
5093
5094 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5095
5096         Import Debian patch 434_login_stop_checking_args_after--
5097         * NEWS, src/login.c (check_flags): Stop checking the arguments
5098         after --. The later options will be sent to the shell, and do not
5099         need to be checked.
5100
5101 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5102
5103         * src/vipw.c, src/su.c, src/newgrp.c: Harmonize the children's
5104         SIGSTOP handling. Raise the signal which stopped the child instead
5105         of always SIGSTOP.
5106
5107 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5108
5109         Import Debian patch 406_vipw_resume_properly.
5110         Thanks to Dean Gaudet.
5111         * NEWS, src/vipw.c: Resume properly after ^Z.
5112
5113 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
5114
5115         * lib/getdef.c, lib/lockpw.c, lib/utent.c, lib/sgetgrent.c,
5116         lib/getdef.h, lib/pwauth.c, lib/sgetspent.c, lib/pwauth.h,
5117         lib/port.c, lib/encrypt.c, lib/groupio.c, lib/shadowmem.c,
5118         lib/port.h, lib/groupio.h, lib/groupmem.c, lib/exitcodes.h,
5119         lib/gshadow.c, lib/gshadow_.h, lib/sgroupio.c, lib/sgroupio.h,
5120         lib/shadowio.c, lib/pwio.c, lib/sgetpwent.c, lib/commonio.c,
5121         lib/faillog.h, lib/shadowio.h, lib/pwio.h, lib/pam_defs.h,
5122         lib/pwmem.c, lib/commonio.h, lib/shadow.c, lib/fputsx.c,
5123         lib/prototypes.h, libmisc/xmalloc.c, libmisc/limits.c,
5124         libmisc/entry.c, libmisc/console.c, libmisc/ulimit.c,
5125         libmisc/xgetXXbyYY.c, libmisc/chkname.c, libmisc/pwd2spwd.c,
5126         libmisc/xgetpwnam.c, libmisc/basename.c, libmisc/chkname.h,
5127         libmisc/chowndir.c, libmisc/audit_help.c, libmisc/chowntty.c,
5128         libmisc/hushed.c, libmisc/xgetpwuid.c, libmisc/getdate.h,
5129         libmisc/addgrps.c, libmisc/xgetgrgid.c, libmisc/utmp.c,
5130         libmisc/myname.c, libmisc/failure.c, libmisc/find_new_ids.c,
5131         libmisc/env.c, libmisc/rlogin.c, libmisc/age.c, libmisc/failure.h,
5132         libmisc/xgetgrnam.c, libmisc/yesno.c, libmisc/valid.c,
5133         libmisc/getlong.c, libmisc/obscure.c, libmisc/pam_pass.c,
5134         libmisc/motd.c, libmisc/salt.c, libmisc/setugid.c,
5135         libmisc/fields.c, libmisc/xgetspnam.c, libmisc/shell.c,
5136         libmisc/copydir.c, libmisc/setupenv.c, libmisc/strtoday.c,
5137         libmisc/loginprompt.c, libmisc/list.c, libmisc/pwd_init.c,
5138         libmisc/log.c, libmisc/mail.c, libmisc/ttytype.c,
5139         libmisc/pwdcheck.c, libmisc/sub.c, libmisc/sulog.c,
5140         libmisc/isexpired.c, libmisc/tz.c, src/newgrp.c, src/userdel.c,
5141         src/lastlog.c, src/grpck.c, src/gpasswd.c, src/newusers.c,
5142         src/pwconv.c, src/chpasswd.c, src/logoutd.c, src/chfn.c,
5143         src/groupmems.c, src/usermod.c, src/pwunconv.c, src/expiry.c,
5144         src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
5145         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
5146         src/groupadd.c, src/nologin.c, src/chage.c, src/login.c,
5147         src/suauth.c, src/faillog.c, src/grpconv.c, src/groups.c,
5148         src/sulogin.c, src/grpunconv.c, src/chsh.c, src/id.c: Make sure
5149         every source files are distributed with a copyright and license.
5150         Files with no license use the default 3-clauses BSD license. The
5151         copyright were mostly not recorded; they were updated according to
5152         the Changelog. "Julianne Frances Haugh and contributors" changed
5153         to "copyright holders and contributors".
5154
5155 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
5156
5157         * NEWS, libmisc/sulog.c: If the SULOG_FILE does not exist when an
5158         su session is logged, make sure the file is created with group
5159         root, instead of using the group of the caller.
5160
5161 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
5162
5163         * NEWS, libmisc/fields.c, src/chfn.c, man/chfn.1.xml: Allow
5164         non-US-ASCII characters in the GECOS fields ("name", "room
5165         number", and "other info" fields).
5166
5167 2008-04-17  Nicolas François  <nicolas.francois@centraliens.net>
5168
5169         * NEWS, src/newgrp.c: Fix compilation failure when compiled with
5170         audit support. Thanks to Mike Frysinger for reporting it.
5171
5172 2008-04-16  Nicolas François  <nicolas.francois@centraliens.net>
5173
5174         Ensure that getpwent() is used in setpwent(), getpwent(),
5175         endpwend() sequences (ditto for getgrent(), getspent(), and
5176         getsgent()). The only real (minor) issue was in login, which kept
5177         the passwd file open.
5178         * libmisc/entry.c: Remove unneeded setspent() and endspent() (only
5179         getspnam is called in the middle).
5180         * libmisc/find_new_ids.c: Make sure to close the password and
5181         group files with endpwent() and endgrent().
5182         * libmisc/pwdcheck.c: Remove unneeded endspent() (only getspnam()
5183         is called before).
5184         * src/lastlog.c, src/passwd.c, src/groupmod.c, src/faillog.c,
5185         src/groups.c: Make sure to close
5186         the password file with endpwent().
5187         * src/login.c: Remove unneeded setpwent() (only xgetpwnam is
5188         called before).
5189         * src/login.c, src/newgrp.c: Fix typos in comments.
5190
5191 2008-04-16  Nicolas François  <nicolas.francois@centraliens.net>
5192
5193         * NEWS, configure.in: Fix the detection of the audit, pam, and
5194         selinux. Fail if the feature is requested but the library (or
5195         header file) could not be found. If nothing is specified, enable
5196         the feature only if we can find the library (or header file).
5197         * configure.in: Document --with-selinux as "yes if found" rather
5198         than "autodetected" for consistency with other options.
5199
5200 2008-04-04  Mark Rosenstand  <mark@borkware.net>
5201
5202         * NEWS, etc/pam.d/Makefile.am: Add chfn, chsh, and userdel to
5203         $(pamd_files). Remove the duplicate useradd. And sort
5204         alphabetically.
5205
5206 2008-04-04  Nicolas François  <nicolas.francois@centraliens.net>
5207
5208         * NEWS: Prepare next release, 4.1.2.
5209
5210 2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
5211
5212         * NEWS, configure.in: Prepare release 4.1.1
5213         * NEWS: Fix the release date of 4.1.0. Was in 2007, not 2008.
5214
5215 2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
5216
5217         * po/fr.po: Update according to the file under review.
5218         Thanks to Jean-Luc Coulon.
5219
5220 2008-04-01  Holger Wansing  <linux@wansing-online.de>
5221
5222         * po/de.po: updated to 431t
5223
5224 2008-03-31  Piarres Beobide  <pi+debian@beobide.net>
5225
5226         * po/eu.po: updated to 431t
5227
5228 2008-03-30  Leandro Azevedo  <leorock182@gmail.com>
5229
5230         * po/pt_BR.po: updated to 360t71f
5231
5232 2008-03-30  Mehmet Türker <mturker@innova.com.tr>
5233
5234         * po/tr.po: updated to 431t
5235
5236 2008-03-30  Clytie Siddall  <clytie@riverland.net.au>
5237
5238         * po/vi.po: updated to 431t
5239
5240 2008-03-30  Daniel Nylander  <yeager@ubuntu.com>
5241
5242         * po/sv.po: updated to 431t
5243
5244 2008-03-29  helix84 <helix84@centrum.sk>
5245
5246         * po/sk.po: updated to 431t
5247
5248 2008-03-27  Danilo Piazzalunga  <danilopiazza@gmail.com>
5249
5250         * po/it.po: updated to 431t
5251
5252 2008-03-26  Nicolas François  <nicolas.francois@centraliens.net>
5253
5254         * TODO: Added entries regarding SE Linux.
5255
5256 2008-03-26  Russell Coker  <russell@coker.com.au>
5257
5258         * src/passwd.c, NEWS: Make SE Linux tests more strict, when the
5259         real UID is 0 SE Linux checks will be performed.
5260
5261 2008-03-24  Yuri Kozlov  <kozlov.y@gmail.com>
5262
5263         * po/ru.po: updated to 431t
5264
5265 2008-03-23  Miguel Figueiredo  <elmig@debianpt.org>
5266
5267         * po/pt.po: updated to 431t
5268
5269 2008-03-21  Changwoo Ryu  <cwryu@debian.org>
5270
5271         * po/ko.po: updated to 431t
5272
5273 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5274
5275         * man/login.defs.5.xml: Fix manpages generation. The SYS_GID_MAX
5276         and SYS_UID_MAX entities were not defined.
5277
5278 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5279
5280         * src/faillog.c: Fix minor compilation warning (assignment used as
5281         a comparison).
5282
5283 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5284
5285         * lib/prototypes.h, src/login.c: login_access() is used in
5286         src/login.c, and defined in src/login_nopam.c (which lacks a
5287         prototype). Move its prototype from src/login.c to
5288         lib/prototypes.h.
5289
5290 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5291
5292         * src/gpasswd.c, src/groupmod.c: Compilation fix. gshadow_locked
5293         should only be used if SHADOWGRP is defined.
5294
5295 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5296
5297         * src/grpck.c: Fix some warnings. compare_members_lists() is only
5298         used if SHADOWGRP is defined.
5299
5300 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5301
5302         * NEWS, src/groupmod.c: Make sure the passwd, group, and gshadow
5303         files are unlocked on exit. Unlock locked files in fail_exit().
5304         Prefer fail_exit() over exit().
5305         * NEWS, src/groupmod.c: When the GID of a group is changed, update
5306         also the GID of the passwd entries of the users whose primary
5307         group is the group being modified.
5308
5309 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5310
5311         * lib/commonio.c (commonio_remove): Fail when the name to be
5312         removed is used by different entries (like commonio_update does).
5313         * NEWS: This fix the behavior of groupdel when the system is not
5314         configured to support split group but different group entries
5315         have the name of the group to be deleted.
5316
5317 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5318
5319         * NEWS, src/useradd.c: Make sure the passwd, group, shadow, and
5320         gshadow files are unlocked on exit. Unlock locked files in
5321         fail_exit(). Prefer fail_exit() over exit().
5322
5323 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5324
5325         * NEWS, src/groupdel.c: Make sure the group, and gshadow files are
5326         unlocked on exit. Add function fail_exit(). Use fail_exit()
5327         instead of exit().
5328         * src/groupdel.c: Fail immediately instead of increasing errors.
5329         Better handling of error cases, like locked group or gshadow file.
5330
5331 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5332
5333         * NEWS, src/newusers.c: Make sure the passwd, group, shadow, and
5334         gshadow files are unlocked on exit. Add function fail_exit(). Use
5335         fail_exit() instead of exit().
5336
5337 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5338
5339         * NEWS, src/gpasswd.c: Make sure the group and gshadow files are
5340         unlocked on exit. Add function fail_exit(). Use fail_exit()
5341         instead of exit().
5342
5343 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5344
5345         * NEWS, src/groupdel.c: Do not rewrite the group and gshadow file
5346         in case of error.
5347
5348 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5349
5350         * src/groupdel.c: Do not log that the group was deleted if an
5351         error occurred.
5352
5353 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5354
5355         * NEWS, src/groupdel.c: Do not raise an error if the group does
5356         not exist in the gshadow file.
5357
5358 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5359
5360         * etc/login.defs: Document MAX_MEMBERS_PER_GROUP.
5361
5362 2008-03-07  Nicolas François  <nicolas.francois@centraliens.net>
5363
5364         * src/newgrp.c: Add missing end of line in message.
5365         * src/newgrp.c: Add audit events for the authentication
5366         (AUDIT_GRP_AUTH). Thansk to Peter Vrabec.
5367
5368 2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
5369
5370         * NEWS, src/faillog.c: Only reset the entries of existing users
5371         with faillog -r (not all numeric IDs starting from 0). Thanks to
5372         Peter Vrabec.
5373
5374 2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
5375
5376         * src/pwunconv.c: Fix typo. One "can't open" message is a "can't
5377         lock".
5378
5379 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
5380
5381         * src/gpasswd.c: When a password is moved to the gshadow file, use
5382         "x" instead of "x" to indicate that the password is shadowed
5383         (consistency with grpconv).
5384
5385 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
5386
5387         * NEWS: Fix failures when the gshadow file is not present. Thanks
5388         to Christian Henz (http://bugs.debian.org/467488)
5389         * src/gpasswd.c (get_group): Do not fail if gshadow is not present. Just use
5390         the group file and set the grent structure
5391         * src/gpasswd.c (check_perms): The permissions should be checked
5392         using both the gshadow and group file. Add a <struct group *>
5393         parameter, and check if the gshadow file exists (is_shadowgrp).
5394         * src/gpasswd.c (main): Do not use sgent.sg_mem or sgent.sg_adm if
5395         the gshadow file is not present (sgent is not initialized in that
5396         case). The fields of sgent can be set, but not used.
5397
5398 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
5399
5400         * src/gpasswd.c: Fix typo in comment.
5401         * src/gpasswd.c: Move comment regarding FIRST_MEMBER_IS_ADMIN to
5402         where it belongs.
5403         * src/gpasswd.c: Indicate the end of the #ifdef FIRST_MEMBER_IS_ADMIN
5404         section.
5405
5406 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5407
5408         * man/po/Makefile.in.in: Use --previous when merging PO files of
5409         the manpages.
5410
5411 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5412
5413         * man/login.defs.d/SYS_UID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
5414         Document new variables.
5415         * man/newusers.8.xml, man/login.defs.5.xml,
5416         man/login.defs.d/GID_MAX.xml, man/login.defs.d/UID_MAX.xml:
5417         newusers uses now the GID_MAX, GID_MIN, UID_MAX, UID_MIN,
5418         SYS_GID_MAX, SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
5419         * man/groupadd.8.xml, man/login.defs.5.xml: groupadd uses now the
5420         SYS_GID_MAX, and SYS_GID_MIN variables.
5421         * man/login.defs.5.xml: useradd uses now the SYS_GID_MAX,
5422         SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
5423         * man/Makefile.am: Add the new XML documentation files to EXTRA_DIST.
5424
5425 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5426
5427         * lib/getdef.c: Added missing SYS_GID_MAX, SYS_GID_MIN,
5428         SYS_UID_MAX, and SYS_UID_MIN.
5429
5430 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5431
5432         * NEWS, src/useradd.c, man/useradd.8.xml: Added options
5433         --user-group (-U, Uflg) and --no-user-group (-N, Nflg) to replace
5434         nflg.
5435         * man/login.defs.d/USERGROUPS_ENAB.xml: useradd now also uses
5436         USERGROUPS_ENAB.
5437
5438 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
5439
5440         * src/groupmod.c: Add missing 'p' to the getopt_long's optstring.
5441
5442 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
5443
5444         * src/groupadd.c: Add missing 'p' to the getopt_long's optstring.
5445         * src/groupadd.c: Fix --non-unique's has_arg field to no_argument
5446         instead of required_argument.
5447         * src/groupadd.c: Add missing -p, --password description to the
5448         Usage message.
5449
5450 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
5451
5452         * NEWS, etc/login.defs: Set GID_MIN to the same value as UID_MIN
5453         by default (1000).
5454         * NEWS, etc/login.defs: Added variables SYS_UID_MIN (100),
5455         SYS_UID_MAX (999), SYS_GID_MIN (100), SYS_GID_MAX (999) for system
5456         accounts.
5457         * libmisc/find_new_ids.c: Added support for system accounts in
5458         find_new_uid() and find_new_gid().
5459         * NEWS, src/newusers.c, src/useradd.c, src/groupadd.c: Added new
5460         option -r, --system for system accounts in useradd, groupadd, and
5461         newusers.
5462
5463 2008-02-18  Nicolas François  <nicolas.francois@centraliens.net>
5464
5465         * NEWS, src/groupmems.c: Fix buffer overflow when adding an user
5466         to a group. Thanks to Peter Vrabec.
5467
5468 2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
5469
5470         * NEWS, etc/useradd: Change the default HOME directory in
5471         /etc/default/useradd according FHS (/home instead of /home/users).
5472         This fixes Alioth's bug #310559. Thanks to Dale E. Edmons.
5473
5474 2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
5475
5476         * NEWS, src/newgrp.c: Use the correct AUDIT_CHGRP_ID event instead of
5477         AUDIT_USER_START, when changing the user space group ID with
5478         newgrp or sg. Thanks to sgrubb@redhat.com for the patch.
5479
5480 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
5481
5482         * src/usermod.c: Reset oflg with uflg if the new UID is equal to
5483         the old one.
5484         * src/usermod.c: Reset mflg with dflg if the new home directory is
5485         the same as the old one.
5486
5487 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
5488
5489         * NEWS, src/usermod.c: Fix the handling of -a when a user is being
5490         renamed (with -l). The new name of the user was used for the new
5491         supplementary groups, but not in the existing ones.
5492
5493 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
5494
5495         * src/newusers.c: Set the shadow's password instead of the
5496         passwd's password. Fix wrong cut&paste.
5497
5498 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5499
5500         * src/usermod.c: Use a function to convert the dates from
5501         /etc/shadow to human readable dates.
5502         * src/usermod.c: Really log the expiration date change as human
5503         readable strings instead of integers.
5504         * src/usermod.c: No need to check audit_fd, audit_logger() will
5505         take care of this.
5506
5507 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5508
5509         * src/login.c: Do not translate the fromhost variable. It is
5510         always used for syslog messages.
5511
5512 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5513
5514         * NEWS, lib/defines.h: Switch to the C locale before sending
5515         messages to syslog. The messages sent by shadow were not
5516         translated, but error messages from PAM returned by pam_strerror()
5517         were translated in the users's locale.
5518
5519 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5520
5521         * NEWS: newusers will behave more like useradd.
5522         * src/newusers.c: The user's ID must be found before the group ID
5523         to mimic useradd's behavior choices of UID and GID.
5524         * src/newusers.c: Reuse the generic find_new_uid() and
5525         find_new_gid() functions. This permits to respect the
5526         UID_MIN/UID_MAX and GID_MIN/GID_MAX variables, should 
5527         * src/newusers.c: Check if the user or group exist using the
5528         external databases (with the libc getpwnam/getgrnam functions).
5529         Refuse to update an user which exist in an external database but
5530         does not exist in the local database.
5531         * src/newusers.c: Check the usernames and groupnames with
5532         check_user_name() and check_group_name()
5533         * src/newusers.c: Use isdigit() for readability.
5534         * src/newusers.c: Check if numerical IDs are valid (no remaining
5535         chars).
5536
5537 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5538
5539         * NEWS, src/newusers.c: Fix the support for the NONE crypt method.
5540
5541 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5542
5543         * src/newusers.c: Fix shadow group support (the list of admins was
5544         not defined; it is now set to an empty list).
5545
5546 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5547
5548         * NEWS, libmisc/salt.c: Do not seed the random number generator
5549         each time, and use the time in microseconds to avoid having the
5550         same salt for different passwords generated in the same second.
5551         This permits to avoid using the same salt for different passwords
5552         in newusers.
5553
5554 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5555
5556         * lib/pwio.c, lib/pwio.h: New function to find an user by
5557         its UID on the local database.
5558         * lib/groupio.c, lib/groupio.h: New function to find a group by
5559         its GID on the local database.
5560         * libmisc/find_new_ids.c, lib/prototypes.h: Add new generic
5561         functions to find the next user or group ID available:
5562         find_new_uid() and find_new_gid(). They work the same way as the
5563         functions with the same name of useradd or groupadd, except that
5564         they check in the local database to make sure an ID was not
5565         reserved in an uncommitted change (this is needed to be used in
5566         newusers), they report a status instead of calling exit(), and
5567         they can receive a preferred ID. They should later support system
5568         IDs. This should be a little bit slower, but not too much (if the
5569         database is not open the checks against the local database will
5570         exit immediately, and if it is already open, all the checks will be
5571         done regarding the data in memory).
5572         * po/POTFILES.in: The new libmisc/find_new_ids.c file contains
5573         translatable strings.
5574         * libmisc/Makefile.am: Add libmisc/find_new_ids.c to the sources
5575         of the libmisc library.
5576         * src/useradd.c, src/groupadd.c: Use the find_new_uid() and
5577         find_new_gid() from the library instead of the local functions.
5578
5579 2008-02-02  Nicolas François  <nicolas.francois@centraliens.net>
5580
5581         * po/*.po: Updated PO files.
5582         * libmisc/age.c, libmisc/yesno.c, src/lastlog.c, src/grpck.c,
5583         src/chfn.c, src/passwd.c, src/chage.c, src/login.c, src/sulogin.c,
5584         src/chsh.c: Fix call to puts (remove end of line, or use fputs).
5585         * po/*.po: Unfuzzy PO files according to above change.
5586
5587 2008-01-26  Nicolas François  <nicolas.francois@centraliens.net>
5588
5589         Fix build failures with --disable-shadowgrp. Thanks to Jürgen
5590         Daubert for the patch.
5591         * libmisc/salt.c: Include <stdio.h>, needed for stderr and printf
5592         functions.
5593         * lib/encrypt.c: Include <stdio.h>, needed for perror, stderr and
5594         printf functions
5595         * src/usermod.c: sgr_locked exists only if SHADOWGRP is defined.
5596         * src/chgpasswd.c: Only check is the gshadow file exists if
5597         SHADOWGRP is defined.
5598
5599 2008-01-24  Nicolas François  <nicolas.francois@centraliens.net>
5600
5601         * src/gpasswd.c, src/chfn.c, src/chage.c, src/chsh.c, src/grpck.c,
5602         src/vipw.c, src/pwck.c, src/sulogin.c, src/newgrp.c,
5603         src/userdel.c, src/lastlog.c, src/groupmems.c, src/usermod.c,
5604         src/expiry.c, src/groupdel.c, src/useradd.c, src/su.c,
5605         src/groupmod.c, src/passwd.c, src/groupadd.c, src/login.c,
5606         src/suauth.c, src/faillog.c, src/id.c, libmisc/limits.c,
5607         libmisc/addgrps.c, libmisc/env.c, libmisc/age.c, libmisc/yesno.c,
5608         lib/getdef.c: Replace printf by puts for fixed strings. This would
5609         avoid issues caused by formats introduced in translated strings.
5610
5611 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
5612
5613         * src/useradd.c: Strings improvement s/can't get unique/no more
5614         available/.
5615
5616 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
5617
5618         * NEWS, src/usermod.c: Check that the new fields set with -u, -s,
5619         -l, -g, -f, -e, -d, and -c differ from the old ones. If a
5620         requested new value is equal to the old one, no changes will
5621         be performed for that field. If no fields are changed, usermod
5622         will exist successfully with a warning. This avoids logging
5623         changes to syslog when there are actually no changes.
5624
5625 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
5626
5627         * src/usermod.c: Always define user_newcomment, user_newshell,
5628         user_newexpire, and user_newinactive. It is more simple to always
5629         have user_<x> as the old field, and user_new<x> as the new field
5630         (even if the field did not change) instead of changing the
5631         algorithm depending on WITH_AUDIT.
5632
5633 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
5634
5635         * src/usermod.c: user_newname can only be used in WITH_AUDIT code
5636         or when lflg is set. This issue was introduced in the code
5637         refactoring of usermod.
5638
5639 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
5640
5641         * src/groupadd.c: Fix typo in comment: s/find_new_uid/find_new_gid/
5642
5643 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
5644
5645         * src/useradd.c: s/gid/GID/ in message string.
5646         * src/useradd.c: Set this string for translation.
5647
5648 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
5649
5650         * man/grpck.8.xml: Fix typo. Remove "the" from "All entries in the
5651         <filename></filename> are checked [...]"
5652         * man/grpck.8.xml: Conditionally include the parts mentioning the
5653         gshadow file (based on SHADOWGRP).
5654         * man/grpck.8.xml: Add reference to the gshadow(5) manpage
5655         (conditionally included).
5656
5657 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
5658
5659         * man/grpck.8.xml, man/pwck.8.xml: Indicate that the shadow
5660         parameter is optional (i.e. a passwd file can be specified without
5661         a shadow file, and the group file can be specified without the
5662         gshadow file).
5663
5664 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
5665
5666         * man/grpck.8.xml: Document the options with a list of options,
5667         as in the pwck(8) manpage.
5668
5669 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
5670
5671         * NEWS, src/newgrp.c: Fix segfault when an user returns to an
5672         unknown GID (either the user was deleted during the user's newgrp
5673         session or the user's passwd entry referenced an invalid group).
5674         Add a syslog warning in that case.
5675         * src/newgrp.c: Add an end of line when reporting an invalid
5676         password.
5677
5678 2008-01-12  Nicolas François  <nicolas.francois@centraliens.net>
5679
5680         * NEWS, src/useradd.c: Fix the handling of the --defaults option
5681         (it required an argument, but should behave as -D)
5682         * NEWS, man/useradd.8.xml: Document the --defaults option, which
5683         was already described in the useradd's Usage information.
5684
5685 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5686
5687         * src/passwd.c: Avoid setting the password to a const empty
5688         string, but set the first char to \0. This avoids a warning.
5689
5690 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5691
5692         * libmisc/salt.c: Add prototype for l64a(), gensalt(),
5693         SHA_salt_size(), and SHA_salt_rounds().
5694         * libmisc/salt.c: l64a() and gensalt() are static.
5695         * libmisc/salt.c: The `meth' parameter of crypt_make_salt() is a
5696         const. (ditto for the method variable).
5697         * libmisc/salt.c: SHA_salt_rounds returns a const string.
5698         * libmisc/salt.c: Avoid warnings with cast of random() to double.
5699         * libmisc/salt.c: Replace rand() by random().
5700
5701 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5702
5703         * lib/Makefile.am: Do not link libshadow.la with the intl, crypt,
5704         skey and md libraries...
5705         * src/Makefile.am: ...Specify for each binary which library is
5706         required. skey and md are required for the binaries with
5707         authentication of the user (chfn, chsh, login, passwd, su). intl
5708         is required for all. mcrypt is required for user (chfn, chsh,
5709         login, passwd, su, sulogin) and group (newgrp, gpasswd)
5710         authentication and for the creation of passwords (chpasswd,
5711         chgpasswd, gpasswd, newusers, passwd).
5712
5713 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5714
5715         * lib/nscd.c, lib/nscd.h: Set the service parameter of
5716         nscd_flush_cache() to const. This avoids a lot of warnings.
5717         * lib/nscd.c: Include "nscd.h" to avoid inconsistent prototypes.
5718
5719 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5720
5721         * lib/encrypt.c: Set the method string as a constant string.
5722
5723 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5724
5725         * lib/port.c: Assume <errno.h> declares errno.
5726
5727 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5728
5729         * man/po/fr.po: Fix typo: s/rend compte indiqué/rend le compte
5730         indiqué/
5731
5732 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5733
5734         * src/suauth.c: Remove prototype of check_su_auth(). It is
5735         redundant with prototypes.h.
5736         * src/suauth.c: isgrp() is static.
5737
5738 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5739
5740         * libmisc/obscure.c: Tag the `old' parameter of palindrome(),
5741         similar(), and simple() as unused.
5742         * libmisc/loginprompt.c: Tag the `sig' parameter of login_exit()
5743         as unused.
5744         * src/expiry.c: Tag the `sig' parameter of catch_signals() as
5745         unused.
5746         * src/su.c: Tag the `sig' parameter of catch_signals() as unused.
5747         * src/su.c: Add int parameter to the prototype of oldsig().
5748         * src/login.c: Tag the `sig' parameter of alarm_handler() as
5749         unused.
5750         * src/sulogin.c: Tag the `sig' parameter of catch_signals() as
5751         unused.
5752         * libmisc/getdate.y: Tag the `string' parameter of yyerror() as
5753         unused.
5754         * libmisc/getdate.y: The string provided to yyerror() is const.
5755         * libmisc/getdate.y: Fix the prototypes of yylex() and yyerror().
5756
5757 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5758
5759         * lib/defines.h: Remove teh macro definition of SETXXENT_TYPE,
5760         SETXXENT_RET, and SETXXENT_TEST. They were used by the now
5761         removed pwent.c and grent.c.
5762         * lib/defines.h: Remove the definition of PASSWD_PAG_FILE,
5763         GROUP_PAG_FILE, SHADOW_PAG_FILE, and SGROUP_PAG_FILE. They are
5764         never used.
5765         * lib/defines.h: Don't include "snprintf.h". The file does not
5766         exist in shadow.
5767         * lib/defines.h: Add new macro unused to tag unused parameters.
5768
5769 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5770
5771         * src/useradd.c, src/groupmems.c: Assume optarg and optind are
5772         declared in <getopt.h>.
5773
5774 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5775
5776         * src/usermod.c: Remove the pw_name argument of new_pw_passwd. Use
5777         the user_newname global variable instead. This avoid using a
5778         parameter with the same name as a function.
5779
5780 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5781
5782         * src/newgrp.c: Removed unused gid parameter of syslog_sg().
5783         * src/newgrp.c: The loginname and tty buffers are never changed.
5784         Add the const qualifier.
5785
5786 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5787
5788         * src/chpasswd.c, src/chgpasswd.c: The crypt_method string always
5789         points to a constant string. Add the const qualifier.
5790
5791 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5792
5793         * src/pwunconv.c: Remove prototype of l64a() (not used in
5794         pwunconv).
5795
5796 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5797
5798         * src/login_nopam.c: Use an ANSI prototype for resolve_hostname()
5799         instead of K&R prototype.
5800         * src/login_nopam.c: Fix the prototypes of list_match(),
5801         user_match(), from_match(), string_match(). There were no
5802         parameters in the prototypes.
5803         * src/login_nopam.c: Fix the prototypes of the function parameter
5804         match_fn of list_match().
5805
5806 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5807
5808         * libmisc/copydir.c: Remove the src parameter of copy_special().
5809         The entry's information are taken from the stat structure.
5810
5811 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5812
5813         * libmisc/console.c, libmisc/ulimit.c, lib/sgetgrent.c,
5814         lib/sgetpwent.c: Include "prototypes.h" to make
5815         sure the exported prototypes are the ones used for the definition
5816         of functions.
5817         * lib/prototypes.h: Added prototypes for __gr_del_entry(),
5818         __gr_get_db(), __gr_get_head(), __gr_set_changed(), __gr_dup(),
5819         __pw_del_entry(), __pw_get_db(), __pw_get_head(), __pw_dup(),
5820         sgetgrent(), sgetpwent(), __sgr_del_entry(), __sgr_dup(),
5821         __sgr_get_head(), __sgr_set_changed(), __spw_get_head(),
5822         __spw_del_entry(), __spw_dup().
5823         * lib/prototypes.h: Removed prototype for is_listed().
5824         * lib/prototypes.h: Added name of the check_su_auth()'s parameters.
5825         * lib/groupio.h: Removed prototypes for __gr_dup() and
5826         __gr_set_changed().
5827         * lib/sgroupio.c: Removed prototypes for putsgent(), sgetsgent(),
5828         and __gr_get_db().
5829         * lib/sgroupio.h: Removed prototypes for __sgr_dup() and
5830         __sgr_set_changed().
5831         * lib/shadowio.c: Removed prototype for __pw_get_db().
5832         * lib/pwio.c: Removed prototype for sgetpwent() and putpwent().
5833         * lib/shadowio.h: Removed prototypes for __spw_dup() and
5834         __spw_set_changed().
5835         * lib/pwio.h: Removed prototypes for __pw_dup() and
5836         __pw_set_changed().
5837         * lib/commonio.h: Add protection against multiple inclusions.
5838         * lib/prototypes.h: Include commonio.h (needed for the
5839         __xx_del_entry() functions).
5840         * src/grpck.c: Remove prototypes for __gr_del_entry(),
5841         __gr_get_head(), __sgr_del_entry(), and __sgr_get_head().
5842         * src/pwck.c: Remove prototypes for __pw_del_entry(),
5843         __pw_get_head(), __spw_del_entry(), and __spw_get_head().
5844         * lib/groupio.c: Remove prototype for sgetgrent().
5845         * lib/groupio.c: Add the name of the parameters for
5846         merge_group_entries() and split_groups().
5847         * lib/groupio.h: Remove prototypes for __gr_dup() and
5848         __gr_set_changed().
5849
5850 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5851
5852         * man/groupadd.8.xml, man/groupmod.8.xml: Add documentation for
5853         the new --password options.
5854
5855 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5856
5857         * src/useradd.c: Fix find_new_gid() prototype. Add a void
5858         parameter.
5859
5860 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5861
5862         * lib/prototypes.h: Add the dolastlog() prototype.
5863         * lib/prototypes.h: Typo: login.c -> loginprompt.c
5864         * src/login.c: Remove declaration of dolastlog().
5865         * lib/prototypes.h: Include <lastlog.h> for the declaration of
5866         struct lastlog.
5867         * lib/prototypes.h: Remove old comments in the header.
5868
5869 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5870
5871         * libmisc/pwdcheck.c: Do not include <pwd.h>. Include <shadow.h>
5872         and "pwauth.h" only when compiled without PAM support.
5873         * src/chfn.c, src/chsh.c: Do not include <shadow.h>
5874         * lib/commonio.c: Do not include <shadow.h>. Do not include
5875         <pwd.h>. Include "nscd.h" instead of <nscd.h>.
5876
5877 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5878
5879         * configure.in: Do not check if shadow.h exist, but make sure it
5880         exists.
5881         * libmisc/pwdcheck.c, src/chfn.c, src/chsh.c, lib/defines.h,
5882         lib/shadowmem.c, lib/shadowio.c, lib/commonio.c:
5883         HAVE_SHADOW_H is no more needed (shadow.h should always exist).
5884
5885 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5886
5887         * lib/groupio.c: Remove prototype of putgrent(), add parameter's
5888         name of sgetgrent().
5889         * lib/prototypes.h: Fix the do_pam_passwd() prototype (it returns
5890         void).
5891
5892 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5893
5894         * NEWS, src/groupmod.c, src/groupadd.c: Add option --password to
5895         groupadd and groupmod (similar to useradd and usermod).
5896
5897 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5898
5899         * lib/prototypes.h: grent.c does not exist anymore. Remove the
5900         putgrent prototype.
5901         * lib/prototypes.h: "shadowio.h" was included for the definition
5902         of the spwd structure. Replace this include by <shadow.h>
5903         * libmisc/xmalloc.c, libmisc/utmp.c, libmisc/strtoday.c,
5904         libmisc/pwd_init.c, libmisc/tz.c, lib/port.c, lib/fputsx.c,
5905         libmisc/pam_pass.c, libmisc/log.c: Include "prototypes.h" to make
5906         sure the exported prototypes are the ones used for the definition
5907         of functions.
5908         * libmisc/console.c: Define is_listed() as static and add its
5909         prototype.
5910         * libmisc/xgetXXbyYY.c, libmisc/yesno.c: Include config.h as a
5911         system include, as recommended by the autoconf documentation.
5912         * src/chage.c: Define isnum() as static and add its prototype.
5913         * libmisc/xgetspnam.c: Add missing include "shadowio.h". (This was
5914         OK as long as prototypes.h included this file.)
5915         * src/nologin.c: Make a proper prototype for the main() function
5916         declaration. (add void)
5917         * src/login.c: login_prompt is the name of a function, use
5918         loginprompt for the internal variable.
5919         * src/chsh.c: loginsh is a global variable, use newshell for the
5920         update_shell()'s parameter.
5921         * lib/gshadow.c: The prototypes of fgetsx() and fputsx() are
5922         already defined in prototypes.h. Remove the declaration of these
5923         functions.
5924         * lib/gshdow.c: list() is an external function. DO not shadow it
5925         with a static function. The internal list() was renamed
5926         build_list().
5927         * lib/commonio.c: stat shadows another stat variable. Remove this
5928         variable, and directly check the result of getfscreatecon().
5929         * libmisc/utmp.c: Remove the declaration of getutent(),
5930         getutline(), setutent(), and endutent() which are declared in
5931         <utmp.h>
5932
5933 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5934
5935         * src/newgrp.c: Remove duplicate logging to syslog.
5936
5937 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5938
5939         * src/newgrp.c: Avoid assignments in conditionals.
5940         * src/newgrp.c: Split check_perms(), syslog_sg() out of main().
5941
5942 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5943
5944         * lib/shadow.c: Avoid assignments in conditionals.
5945
5946 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5947
5948         * lib/groupio.c (split_groups): Test the pointer returned by malloc.
5949
5950 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5951
5952         * lib/commonio.c: Document add_one_entry_nis(), write_all(),
5953         commonio_remove(), commonio_locate(), and commonio_rewind().
5954
5955 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5956
5957         * src/pwck.c: Avoid implicit brackets.
5958         * src/pwck.c: Avoid implicit conversions to booleans.
5959
5960 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5961
5962         * src/grpck.c: Avoid implicit brackets.
5963         * src/grpck.c: Avoid implicit conversions to booleans.
5964
5965 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5966
5967         * NEWS: No functional changes were introduced by the previous pwck
5968         and grpck changes, except for the following bug fix: no syslog
5969         logging if a passwd or group file was specified on the command
5970         line without a shadowed database file, even if the system shadowed
5971         database was changed).
5972
5973 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5974
5975         * src/pwck.c: Fix typos in comments (gshadow/shadow).
5976
5977 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5978
5979         * src/pwck.c: Split process_flags(), open_files(), close_files()
5980         check_pw_file(), and check_spw_file() out of main(). New global
5981         variables is_shadow, sort_mode, use_system_pw_file, and
5982         use_system_spw_file.
5983
5984 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5985
5986         * libmisc/xgetXXbyYY.c: De-comment code (duplicate the entry when
5987         the _R function is not present on the system).
5988
5989 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5990
5991         * src/lastlog.c: Remove statbuf, not used.
5992         * src/lastlog.c: Fix types, cast umin and umax to uid_t.
5993         * src/lastlog.c: (option -u) user needs to be a signed long, not
5994         uid_t (to accept rangees like -<uid>
5995
5996 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5997
5998         * src/useradd.c: Avoid ?: construct without the middle term.
5999
6000 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6001
6002         * libmisc/copydir.c, src/usermod.c, lib/prototypes.h: The uid and
6003         gid parameters can be set to -1 to indicate that the original
6004         owners must be kept. Change the types from uid_t/gid_t to a
6005         long int (signed).
6006         * libmisc/copydir.c: Change the copy_entry(), copy_dir(),
6007         copy_symlink(), copy_special(), and copy_file() prototypes
6008         accordingly.
6009         * lib/prototypes.h: Add the parameters' name for the
6010         libmisc/copydir.c functions.
6011
6012 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6013
6014         * libmisc/limits.c, libmisc/obscure.c, src/login_nopam.c,
6015         lib/pwauth.c: Avoid empty file when USE_PAM is set.
6016         * libmisc/audit_help.c: Avoid empty file when WITH_AUDIT is not set.
6017         * src/login_nopam.c: Fix warnings: resolve_hostname takes and
6018         returns a constant string.
6019
6020 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6021
6022         * src/grpck.c: Split process_flags(), open_files(), and
6023         close_files() out of main(). New global variables is_shadow,
6024         sort_mode, use_system_grp_file, and use_system_sgr_file.
6025         * src/grpck.c: Split check_grp_file() and check_sgr_file() out of
6026         main().
6027         * src/grpck.c: Split check_members() and compare_members_lists()
6028         out of check_grp_file() and check_sgr_file().
6029
6030 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6031
6032         * man/po/Makefile.in.in: If remove-potcdate.sin does not exist,
6033         use the one from teh po directory (it is not installed
6034         automatically by autopoint.
6035
6036 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6037
6038         * lib/commonio.h: Fix the type of the bitfields in the commonio_entry
6039         and commonio_db structures to unsigned int (instead of int).
6040
6041 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6042
6043         * src/chsh.c: Split process_flags(), check_perms(), and update_shell()
6044         out of main().
6045         * src/chsh.c: Before pam_end(), the return value of the previous
6046         pam API was already checked. No need to validate it again.
6047         * src/chsh.c: Avoid implicit brackets.
6048         * src/chsh.c: Avoid assignments in comparisons.
6049
6050 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6051
6052         * src/chfn.c: New function: process_flags() split out of main().
6053         The flags variables are now global.
6054         * src/chfn.c: New functions: check_perms(), update_gecos(),
6055         get_old_fields(), and check_fields() split out of main().
6056         * src/chfn.c: Before pam_end(), the return value of the previous
6057         pam API was already checked. No need to validate it again.
6058         * src/chfn.c: Avoid implicit brackets.
6059         * src/chfn.c: Document may_change_field().
6060         * src/chfn.c: Avoid implicit conversions to booleans.
6061         * src/chfn.c: Avoid assignments in comparisons.
6062
6063 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6064
6065         * src/newusers.c: Compilation fix for PAM support (pamh needs to be
6066         global since the function split).
6067         * src/chpasswd.c: Likewise.
6068         * src/chgpasswd.c: Likewise.
6069         * src/chpasswd.c: Avoid implicit conversions to booleans.
6070
6071 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6072
6073         * src/chage.c: Fix typo: s/maximim/maximum/
6074         * src/chage.c: New function: fail_exit(). Change most of the exit()
6075         to a fail_exit, which makes sure the files are unlocked (new global
6076         variables: pw_locked, spw_locked), the PAM transaction is ended, and
6077         the failure is logged to libaudit (use a global user_name and user_uid
6078         for logging).
6079         * src/chage.c: Compilation fix for PAM support (pamh needs to be
6080         global since the function split).
6081         * src/chage.c: Document process_flags(), check_flags(), check_perms(),
6082         open_files(), and close_files().
6083         * src/chage.c: Split update_age() and get_defaults() out of main()
6084         * src/chage.c: Drop the privileges just after opening the files.
6085         * src/chage.c: Do not log to audit only if the user has an entry in
6086         the shadow file.
6087         * NEWS, src/chage.c (open_files): Also open the password file for
6088         writing. This fix chage when the user only has a password entry (and
6089         no shadow entries).
6090         * src/chage.c (get_defaults): Use default values that don't change the
6091         behavior of the account for the fields that are not specified when the
6092         user has no shadow entry.
6093
6094 2007-12-30  Nicolas François  <nicolas.francois@centraliens.net>
6095
6096         * src/groupadd.c: Compilation fix for PAM support (pamh needs to be
6097         global since the function split).
6098         * src/groupadd.c: End the PAM transaction in fail_exit().
6099         * src/groupadd.c: Document check_flags().
6100
6101 2007-12-30  Nicolas François  <nicolas.francois@centraliens.net>
6102
6103         * src/vipw.c: Compilation fix for non-gshadow support.
6104
6105 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6106
6107         * NEWS, src/newusers.c: Added support for gshadow.
6108
6109 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6110
6111         * NEWS, src/newusers.c: Do not add the new user to the group's
6112         members, because the group is already the primary group of the new
6113         user.
6114
6115 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6116
6117         newusers cleanups
6118         * src/newusers.c: main() split in new functions: process_flags(),
6119         check_flags(), check_perms(), open_files(), and close_files().
6120         * src/newusers.c: Before pam_end(), the return value of the previous
6121         pam API was already checked. No need to validate it again.
6122         * src/newusers.c: Avoid implicit brackets.
6123         * src/newusers.c: Avoid assignments in comparisons.
6124         * src/newusers.c: Avoid variables with the name of a type.
6125
6126 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6127
6128         chage cleanups
6129         * src/chage.c: Before pam_end(), the return value of the previous
6130         pam API was already checked. No need to validate it again.
6131         * src/chage.c: main() split in new functions: process_flags(),
6132         check_flags(), check_perms(), open_files(), and close_files().
6133         * src/chage.c: Avoid using a variable with the same name as a type.
6134         * src/chage.c: Remove dead code. It was probably put here to add more
6135         information to the audit_logger.
6136         * src/chage.c: Avoid implicit brackets.
6137         * src/chage.c: Avoid implicit conversion to booleans.
6138         * src/chage.c: Avoid assignments in comparisons.
6139
6140 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6141
6142         Same changes for chgpasswd:
6143         * src/chgpasswd.c: Before pam_end(), the return value of the previous
6144         pam API was already checked. No need to validate it again.
6145         * src/chgpasswd.c: main() split in process_flags(), check_flags(),
6146         check_perms(), open_files(), and close_files().
6147         * src/chgpasswd.c: Avoid assignments in comparisons.
6148         * src/chgpasswd.c: Avoid implicit brackets.
6149         * src/chgpasswd.c: Fix comments to match chgpasswd (group instead of
6150         user's passwords are changed).
6151
6152 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6153
6154         * src/chpasswd.c: Before pam_end(), the return value of the previous
6155         pam API was already checked. No need to validate it again.
6156         * src/chpasswd.c: New functions: process_flags(), check_flags(),
6157         check_perms(). Split out of main().
6158         * src/chpasswd.c: Other new functions: open_files(), close_files().
6159         This force flushing the password database after the password file is
6160         unlocked.
6161         * src/chpasswd.c: Avoid assignments in comparisons.
6162         * src/chpasswd.c: Avoid implicit brackets.
6163
6164 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6165
6166         * src/groupadd.c (find_new_gid): A group with the specified name
6167         cannot exist at that time. Remove the check.
6168         * src/groupadd.c (find_new_gid): If oflg is set, gflg is also set.
6169         Use (!gflg), which is clearer than (!gflg || !oflg).
6170         * src/groupadd.c (find_new_gid): find_new_gid is never called when an
6171         GID is specified with -g. Simplify find_new_gid accordingly.
6172         * src/groupadd.c (process_flags): prefer fail_exit to exit. This avoid
6173         an explicit call to audit_logger().
6174         * src/groupadd.c (main): Before pam_end(), the return value of the
6175         previous pam API was already checked. No need to validate it again.
6176         * src/groupadd.c (main, check_perms): New function check_perms().
6177         Split the validation of the user's permissions out of main()
6178
6179 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6180
6181         src/groupadd.c cleanup
6182         * src/groupadd.c (fail_exit): When compiled without AUDIT support, if
6183         the return code was E_SUCCESS, fail_exit() wouldn't have exited. Fix
6184         the scope of #idef WITH_AUDIT.
6185         * src/groupadd.c: Avoid implicit brackets.
6186         * src/groupadd.c: Split the processing and checking of options out of
6187         main() (process_flags).
6188         * src/groupadd.c: New function check_flags(). Split the validation of
6189         options and arguments out of process_flags.
6190         * src/groupadd.c: Add the parameters' names in the prototypes.
6191
6192 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
6193
6194         libmisc/copydir.c cleanup
6195         * libmisc/copydir.c: Split copy_tree() in more maintainable functions:
6196         copy_entry(), copy_dir(), copy_symlink(), copy_hardlink(),
6197         copy_special(), and copy_file().
6198         * libmisc/copydir.c: -1 is used to indicate an error, directly set err
6199         to -1, instead of incrementing it, and checking if not nul at the
6200         end.
6201         * libmisc/copydir.c: Avoid assignments in comparisons.
6202         * libmisc/copydir.c: Document selinux_file_context.
6203         * libmisc/copydir.c: Avoid implicit brackets.
6204         * libmisc/copydir.c: Avoid implicit conversions to booleans.
6205
6206 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
6207
6208         gpasswd cleanup
6209         * src/gpasswd.c: Add argument name to the internal function
6210         prototypes.
6211         * src/gpasswd.c: Document global variables.
6212         * src/gpasswd.c: New function: process_flags(). Split the processing
6213         of options out of main().
6214         * src/gpasswd.c: New functions: open_files(), close_files(),
6215         update_group(). Split out from main() to simplify this (too) big
6216         function.
6217         * src/gpasswd.c: New functions: check_perms(), get_group(),
6218         change_passwd(), check_flags(). Split out of main() to simplify main().
6219         * src/gpasswd.c: Avoid implicit brackets.
6220         * src/gpasswd.c: Avoid assignments in comparisons.
6221         * src/gpasswd.c: Avoid implicit conversions to booleans.
6222
6223 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
6224
6225         Merge Debian's patch 462_warn_to_edit_shadow
6226         * NEW, src/vipw.c: Recommend editing the shadowed (resp. regular) file
6227         if the regular (resp. shadowed) file was edited.
6228
6229 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6230
6231         Merge Debian's patch 451_login_PATH
6232         * NEWS, libmisc/setupenv.c: Export PATH according to ENV_PATH and
6233         ENV_SUPATH, as for su. This impacts login.
6234         * man/login.1.xml: PATH and SUPATH are now used both when PAM support
6235         is disabled and enabled.
6236
6237 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6238
6239         Merge Debian's patch 496_login_init_session
6240         * src/login.c, src/sulogin.c: If started as init, start a new session.
6241
6242 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6243
6244         Merge Debian's patch 408_passwd_check_arguments
6245         * NEWS, src/passwd.c: Make sure that no more than one username
6246         argument was provided.
6247
6248 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6249
6250         Merge Debian's patch 412_lastlog_-u_numerical_range
6251         * NEWS, src/lastlog.c, man/lastlog.8.xml: Accept numerical user, or
6252         ranges with the -u option.
6253
6254 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6255
6256         Merge Debian's patch 466_fflush-prompt
6257         * libmisc/Makefile.am, lib/prototypes.h, libmisc/yesno.c, src/grpck.c,
6258         src/pwck.c: move yes_or_no() from grpck/pwck to a separate
6259         libmisc/yesno.c (with a read_only argument).
6260         * libmisc/fields.c, libmisc/yesno.c: Make sure stdout is flushed before
6261         reading the user's answer.
6262
6263 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6264
6265         Merge Debian's patch 480_getopt_args_reorder
6266         * NEWS, src/su.c: su's arguments are now reordered.
6267
6268 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6269
6270         Merge RedHat's patch shadow-4.0.18.1-mtime.patch:
6271         * NEWS: Document that usermod will now preserve user's file modification
6272         and access time.
6273         * libmisc/copydir.c: Preserve the access and modification time of copied
6274         files. This is important for usermod. This will also impact useradd, for
6275         the skeleton files, but this is not important.
6276         * libmisc/copydir.c: Stop and return an error if a file could not be
6277         closed after during a copy.
6278
6279 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6280
6281         Cleanups:
6282         * src/useradd.c (find_new_gid): Check that gflg is not set (assert).
6283         * src/useradd.c (find_new_gid): Do not check the group name uniqueness
6284         (already checked in main).
6285         * src/useradd.c (find_new_gid): Avoid a "continue" in the loop.
6286         * src/useradd.c (find_new_gid): Remove irrelevant comments.
6287         * src/useradd.c (find_new_gid): Fix the function definition's comment.
6288
6289 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6290
6291         Merge RedHat's patch shadow-4.0.18.1-findNewUidOnce.patch:
6292         * src/useradd.c (usr_update): Do not call find_new_uid(). The UID was
6293         already either specified or found by another call to find_new_uid().
6294         * src/useradd.c (find_new_uid): Always start with uid_min (find_new_uid()
6295         is never called when user_id was already specified).
6296         * src/useradd.c (find_new_uid): Fix the comments (find_new_uid() is not
6297         called when the UID is specified (uflg)).
6298         * src/useradd.c (main): Only call find_new_uid() if (!oflg) and (!uflg).
6299         If uflg is set (but not oflg), check the UID uniqueness.
6300         * src/useradd.c (find_new_uid): Don't check the uid and user name
6301         uniqueness in find_new_uid(). The user name uniqueness is already checked
6302         during the parameter validation. UID uniqueness is also checked (see
6303         above).
6304         * src/useradd.c (find_new_uid): Don't check uflg in find_new_uid().
6305         * src/useradd.c (find_new_uid): Make sure that find_new_uid() is not
6306         called when uflg is set (assert).
6307
6308 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6309
6310         Merge RedHat's patch shadow-4.1.0-lOption.patch
6311         * NEWS, src/useradd.c, man/useradd.8.xml: Add option -l to avoid adding
6312         the user to the lastlog and faillog databases.
6313
6314 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6315
6316         * src/useradd.c, src/groupadd.c: NO_GETPWENT is no more supported. Remove
6317         associated chunks of code.
6318
6319 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6320
6321         * man/groupadd.8.xml: Document the long options (--force, --gid, --key,
6322         --non-unique).
6323
6324 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6325
6326         Merge RedHat's patch shadow-4.0.3-noinst.patch
6327         * NEWS, lib/Makefile.am: Do not install the shadow library per default.
6328         lib_LTLIBRARIES changed to noinst_LTLIBRARIES.
6329
6330 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6331
6332         * NEWS, configure.in: Prepare the 4.1.0 release.
6333
6334 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6335
6336         * NEWS, src/chgpasswd.c: Use chgpasswd PAM policy file instead of
6337         chpasswd's one.
6338
6339 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6340
6341         * man/pwconv.8.xml: Fix typos.
6342         * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document the NONE crypt
6343         method.
6344         * man/login.defs.d/MAIL_DIR.xml: Add comment regarding useradd not
6345         using MAIL_FILE.
6346         * man/login.defs.d/ERASECHAR.xml, man/login.defs.d/KILLCHAR.xml,
6347         man/login.defs.d/CONSOLE_GROUPS.xml, man/login.defs.d/ENV_HZ.xml,
6348         man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml:
6349         These variables are also used by some tools when compiled with PAM
6350         support.
6351         * man/login.defs.d/ENV_HZ.xml: Add note that it is only used by
6352         sulogin when compiled with PAM support.
6353         * man/login.defs.d/ENV_SUPATH.xml: Typos: ENV_PATH -> ENV_SUPATH,
6354         and mention sbin in the path.
6355         * man/login.defs.d/LOGIN_STRING.xml: Fix typo: confition ->
6356         condition.
6357         * man/sg.1.xml: Add CONFIGURATION section (SYSLOG_SG_ENAB).
6358         * man/su.1.xml: ENV_HZ, LOGIN_STRING, MAIL_DIR, USERGROUPS_ENAB
6359         are only used when su is compiled without PAM support.
6360         * man/login.defs.5.xml: Added variables: OBSCURE_CHECKS_ENAB
6361         PASS_ALWAYS_WARN PASS_CHANGE_TRIES SULOG_FILE SU_NAME
6362         SU_WHEEL_ONLY SYSLOG_SG_ENAB SYSLOG_SU_ENAB.
6363         * man/login.defs.5.xml: ENVIRON_FILE is only used when compiled
6364         without PAM support.
6365         * man/login.defs.5.xml: sulogin uses variables even when compiled
6366         with PAM support.
6367         * man/login.1.xml: ENV_HZ ENV_PATH ENV_SUPATH MAIL_DIR UMASK are
6368         only used when login is not compiled with PAM support.
6369
6370 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6371
6372         * src/login.c: Make sure is_console is only defined when USE_PAM
6373         is not defined.
6374
6375 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6376
6377         * libmisc/pwd2spwd.c: Fix time() prototype.
6378
6379 2007-12-08  Nicolas François  <nicolas.francois@centraliens.net>
6380
6381         * man/login.defs.d/CONSOLE_GROUPS.xml,
6382         man/login.defs.d/CONSOLE.xml, man/login.defs.d/DEFAULT_HOME.xml,
6383         man/login.defs.d/ENV_HZ.xml, man/login.defs.d/ENVIRON_FILE.xml,
6384         man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml,
6385         man/login.defs.d/ENV_TZ.xml, man/login.defs.d/ERASECHAR.xml,
6386         man/login.defs.d/FAIL_DELAY.xml,
6387         man/login.defs.d/FAILLOG_ENAB.xml,
6388         man/login.defs.d/FAKE_SHELL.xml, man/login.defs.d/FTMP_FILE.xml,
6389         man/login.defs.d/HUSHLOGIN_FILE.xml,
6390         man/login.defs.d/ISSUE_FILE.xml, man/login.defs.d/KILLCHAR.xml,
6391         man/login.defs.d/LASTLOG_ENAB.xml, man/login.defs.d/LOGIN_RETRIES.xml,
6392         man/login.defs.d/LOGIN_TIMEOUT.xml, man/login.defs.d/LOG_OK_LOGINS.xml,
6393         man/login.defs.d/LOG_UNKFAIL_ENAB.xml,
6394         man/login.defs.d/MAIL_CHECK_ENAB.xml, man/login.defs.d/MOTD_FILE.xml,
6395         man/login.defs.d/NOLOGINS_FILE.xml,
6396         man/login.defs.d/OBSCURE_CHECKS_ENAB.xml,
6397         man/login.defs.d/PASS_ALWAYS_WARN.xml,
6398         man/login.defs.d/PASS_CHANGE_TRIES.xml,
6399         man/login.defs.d/PASS_MAX_LEN.xml,
6400         man/login.defs.d/PORTTIME_CHECKS_ENAB.xml,
6401         man/login.defs.d/QUOTAS_ENAB.xml, man/login.defs.d/SULOG_FILE.xml,
6402         man/login.defs.d/SU_NAME.xml, man/login.defs.d/SU_WHEEL_ONLY.xml,
6403         man/login.defs.d/SYSLOG_SG_ENAB.xml,
6404         man/login.defs.d/SYSLOG_SU_ENAB.xml,
6405         man/login.defs.d/TTYGROUP.xml, man/login.defs.d/TTYTYPE_FILE.xml,
6406         man/login.defs.d/ULIMIT.xml, man/login.defs.d/USERGROUPS_ENAB.xml:
6407         New documentation of login.defs variables.
6408         * man/login.defs.d/MAIL_DIR.xml: Updated. It now contains the
6409         MAIL_FILE documentation.
6410         * man/login.defs.d/LOGIN_STRING.xml: Updated. Mentions %s.
6411         * man/pwconv.8.xml, man/groupmems.8.xml, man/groupdel.8.xml,
6412         man/useradd.8.xml, man/pwck.8.xml, man/groupadd.8.xml,
6413         man/sulogin.8.xml, man/newgrp.1.xml, man/usermod.8.xml,
6414         man/su.1.xml, man/vipw.8.xml, man/passwd.1.xml,
6415         man/groupmod.8.xml, man/login.1.xml, man/userdel.8.xml,
6416         man/grpck.8.xml: Added CONFIGURATION section.
6417         * man/generate_mans.mak: The generations of manpages depends on
6418         the variables from the Makefiles. Add the dependency on Makefile.
6419         * man/login.defs.5.xml: New login.defs variable documented.
6420         * man/Makefile.am: Added XML variable documentation to the
6421         distributed files.
6422
6423 2007-12-05  Nicolas François  <nicolas.francois@centraliens.net>
6424
6425         * man/gshadow.5.xml: Fix the newgrp section in the gshadow.5
6426         manpage. Thanks to Andre Majorel <aym-naibed@teaser.fr>.
6427
6428 2007-11-27  Nicolas François  <nicolas.francois@centraliens.net>
6429
6430         * man/Makefile.am: Added the login.defs variables description to
6431         the man's EXTRA_DIST.
6432
6433 2007-11-27  Nicolas François  <nicolas.francois@centraliens.net>
6434
6435         * man/chfn.1.xml: Uses CHFN_AUTH, CHFN_RESTRICT, LOGIN_STRING.
6436         * man/chgpasswd.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
6437         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
6438         * man/chpasswd.8.xml: Switch to using entities for ENCRYPT_METHOD,
6439         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
6440         * man/chsh.1.xml: Uses CHSH_AUTH, LOGIN_STRING.
6441         * man/expiry.1.xml: Does not use any login.defs parameter.
6442         * man/gpasswd.1.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
6443         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS.
6444         * man/login.defs.5.xml: Added CHSH_AUTH.
6445         * man/login.defs.5.xml: Cross reference -> cross references.
6446         * man/login.defs.5.xml: chfn only uses CHFN_AUTH when no_pam.
6447         * man/login.defs.5.xml: chsh uses CHSH_AUTH, not CHFN_AUTH.
6448         * man/login.defs.d/CHSH_AUTH.xml: Added.
6449         * man/login.defs.5.xml: chsh uses parameters only when no_pam.
6450         * man/login.defs.5.xml: expiry does not use CONSOLE_GROUPS, even
6451         if linked in the binary.
6452         * man/newusers.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
6453         MD5_CRYPT_ENAB, PASS_MAX_DAYS, PASS_MIN_DAYS, PASS_WARN_AGE,
6454         SHA_CRYPT_MIN_ROUNDS, UMASK.
6455
6456 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
6457
6458         * man/generate_translations.mak, man/po/Makefile.in.in: Add
6459         --expand-all-entities to the call to xml2po to avoid translating
6460         the external entities separately.
6461
6462 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
6463
6464         * man/login.defs.d/, man/login.defs.d/CHFN_RESTRICT.xml,
6465         man/login.defs.d/MAIL_DIR.xml, man/login.defs.d/PASS_MAX_DAYS.xml,
6466         man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml,
6467         man/login.defs.d/CHFN_AUTH.xml, man/login.defs.d/MD5_CRYPT_ENAB.xml,
6468         man/login.defs.d/PASS_WARN_AGE.xml, ·man/login.defs.d/UMASK.xml,
6469         man/login.defs.d/PASS_MIN_DAYS.xml, man/login.defs.d/UID_MAX.xml,
6470         man/login.defs.d/LOGIN_STRING.xml, man/login.defs.d/GID_MAX.xml,
6471         man/login.defs.d/ENCRYPT_METHOD.xml, man/login.defs.d/USERDEL_CMD.xml,
6472         man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml, man/login.defs.5.xml:
6473         Put each variable description in an external entities. This will permit
6474         to reference them in the various utils manpages.
6475         * man/login.defs.5.xml: Describe the usage of variables by each
6476         tools when compiled without PAM support.
6477
6478 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
6479
6480         * po/stats: Do not generate gmo files.
6481
6482 2007-11-25  Nicolas François  <nicolas.francois@centraliens.net>
6483
6484         * man/po/LINGUAS: Added missing LINGUAS.
6485         * man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
6486         man/po/ru.po, man/po/sv.po: Updated.
6487
6488 2007-11-25  Nicolas François  <nicolas.francois@centraliens.net>
6489
6490         * configure.in, man/po/Makefile.in.in, man/po/Makevars,
6491         man/po/POTFILES.in, man/Makefile.am: Generate the PO files for the
6492         manpages in the man/po directory (instead of man/<lang>). Use a
6493         Makefile.in.in based on gettext's one. This ensure that the PO are
6494         generated before being used in the <lang> directories.
6495         * man/generate_mans.mak, man/generate_translations.mak,
6496         man/Makefile.am: New makefile for the generation of manpages from
6497         XML (generate_mans.mak). This avoid duplicate chunks in
6498         generate_translations.mak and Makefile.am
6499         * man/de/de.po, man/fr/fr.po, man/it/it.po, man/pl/pl.po,
6500         man/ru/ru.po, man/sv/sv.po: Moved to...
6501         * man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
6502         man/po/ru.po, man/po/sv.po: ... here.
6503
6504 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6505
6506         * src/userdel.c, src/lastlog.c, src/newusers.c, src/chpasswd.c,
6507         src/usermod.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
6508         src/su.c, src/groupmod.c, src/passwd.c, src/groupadd.c,
6509         src/chage.c, src/faillog.c, src/chsh.c: Do not use tabulations in
6510         Usage strings.
6511         * po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po,
6512         po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/hu.po, po/id.po,
6513         po/it.po, po/ja.po, po/nb.po, po/pl.po, po/pt_BR.po, po/pt.po,
6514         po/ro.po, po/ru.po, po/sk.po, po/sv.po, po/tl.po, po/tr.po,
6515         po/uk.po, po/vi.po: Unfuzzy previous changes.
6516         * po/bs.po, po/he.po, po/nn.po, po/sq.po: No Usage string
6517         translated. Just updated PO.
6518         * po/dz.po, po/km.po, po/ko.po, po/ne.po, po/nl.po, po/zh_CN.po,
6519         po/zh_TW.po: It would be too error prone for me to unfuzzy these
6520         ones. Updated PO. (km and ne should be reviewed: options are
6521         translated).
6522
6523 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6524
6525         * po/ne.po, po/bs.po, po/cs.po, po/pt_BR.po, po/km.po, po/es.po,
6526         po/eu.po, po/ko.po, po/hu.po, po/sk.po, po/vi.po, po/uk.po,
6527         po/ro.po, po/sq.po, po/ru.po, po/id.po, po/nb.po, po/el.po,
6528         po/gl.po, po/fr.po, po/nl.po, po/pl.po, po/nn.po, po/it.po,
6529         po/dz.po, po/tl.po, po/pt.po, po/ca.po, po/da.po, po/tr.po,
6530         po/sv.po, po/de.po, po/ja.po, po/zh_TW.po, po/he.po, po/fi.po,
6531         po/zh_CN.po: Run "make update-po" in the po directory.
6532
6533 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6534
6535         * configure.in: New configure option: --with-sha-crypt enabled by
6536         default. Keeping the feature enabled is safe. Disabling it permits
6537         to disable the references to the SHA256 and SHA512 password
6538         encryption algorithms from the usage help and manuals (in addition
6539         to the support for these algorithms in the code).
6540         * libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
6541         src/chpasswd.c, src/chgpasswd.c, src/passwd.c: ENCRYPT_METHOD is
6542         always supported in login.defs. Remove the ENCRYPTMETHOD_SELECT
6543         preprocessor condition.
6544         * libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
6545         src/chpasswd.c, src/chgpasswd.c, src/passwd.c: Disable SHA256 and
6546         SHA512 if USE_SHA_CRYPT is not defined (this corresponds to a
6547         subset of the ENCRYPTMETHOD_SELECT sections).
6548
6549 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6550
6551         * lib/encrypt.c: If we requested a non DES encryption, make sure
6552         crypt returned a encrypted password longer than 13 chars. This
6553         protects against the GNU crypt() which does not return NULL if the
6554         algorithm is not supported, and return a DES encrypted password.
6555
6556 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6557
6558         * lib/groupio.c: Add missing #include "getdef.h"
6559
6560 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6561
6562         * src/newusers.c: Provide the crypt method to all the
6563         crypt_make_salt invocations.
6564         * src/newusers.c: Tag the ENCRYPTMETHOD_SELECT dependent code
6565         accordingly.
6566
6567 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6568
6569         * libmisc/salt.c: Make sure method is not NULL, defaulting to DES.
6570         Thanks to Dan Kopecek <dkopecek@redhat.com>.
6571         * src/chpasswd.c, src/chgpasswd.c: Do not use DES by default, but
6572         the system default define in /Etc/login.defs. Thanks to Dan
6573         Kopecek <dkopecek@redhat.com>.
6574         * NEWS, man/chpasswd.8.xml, man/chgpasswd.8.xml: Do not mention
6575         DES as the default algorithm.
6576         * src/chpasswd.c, src/chgpasswd.c: Tag the ENCRYPTMETHOD_SELECT
6577         dependent code accordingly.
6578
6579 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6580
6581         * libmisc/salt.c: Move the srandom call to gensalt.
6582         * libmisc/salt.c (gensalt): Replace the test on salt_size by an
6583         assert.
6584
6585 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6586
6587         Patch contributed by Dan Kopecek <dkopecek@redhat.com>
6588         * src/chpasswd.c, src/chgpasswd.c, src/newusers.c: Fix compilation
6589         when ENCRYPTMETHOD_SELECT is not defined.
6590         * libmisc/salt.c (MAGNUM): The nul char was put on (array)[2]
6591         instead of (array)[3].
6592         * libmisc/salt.c: MAGNUM should be defined even if
6593         ENCRYPTMETHOD_SELECT is not defined.
6594         * libmisc/salt.c: Use random instead of rand.
6595         * libmisc/salt.c (gensalt): New function to generate a salt
6596         (instead of using gettimeofday).
6597
6598 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6599
6600         * NEWS, src/newusers.c: New options -c/--crypt-method
6601         -s/--sha-rounds.
6602
6603 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6604
6605         * src/chpasswd.c: Added crypt method: NONE.
6606         * src/chpasswd.c: Added --sha-rounds to the usage().
6607         * libmisc/Makefile.am, libmisc/getlong.c, src/chgpasswd.c,
6608         src/chpasswd.c, lib/prototypes.h: New getlong function. Replace
6609         chpasswd's and chgpasswd's getnumber.
6610
6611 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6612
6613         * lib/groupio.c: Removed unused variable 'member'.
6614
6615 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6616
6617         * man/chpasswd.8.xml: Document the variables used by chpasswd.
6618         The definitions are copied from login.defs. I should try to use a
6619         less error prone process for this.
6620
6621 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6622
6623         * man/login.defs.5.xml: Use <replaceable> for the values set by
6624         users. (was sometimes <emphasis remap='I'>)
6625         * man/login.defs.5.xml: Use <option> vor the variable names. This
6626         makes the manpage much more readable.
6627         * man/login.defs.5.xml (ENCRYPT_METHOD, MD5_CRYPT_ENAB,
6628         SHA_CRYPT_MIN_ROUNDS, SHA_CRYPT_MAX_ROUNDS): Mention that command
6629         line option may supersede the system setting.
6630         * man/login.defs.5.xml: Document the variables used by chpasswd
6631         and chgpasswd.
6632
6633 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6634
6635         * lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
6636         svn propset svn:keywords Id
6637
6638 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
6639
6640         * NEWS, lib/getdef.c, man/login.defs.5.xml: New login.defs
6641         variable: MAX_MEMBERS_PER_GROUP. Used for the split groups support.
6642         * lib/commonio.c, lib/commonio.h: Add an open_hook and close_hook
6643         operation. They are called after the database is actually opened
6644         and parse, or before it is closed.
6645         * lib/groupio.c: Add an open_hook to merge split groups, and an
6646         close group to split groups if MAX_MEMBERS_PER_GROUP is set.
6647         This fixes gpasswd and chgpasswd when split groups are used.
6648         * lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: No open or close
6649         hooks for these databases. (unsure about what should be the gshadow
6650         behavior for split groups)
6651
6652 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
6653
6654         * NEWS, src/gpasswd.c: Read the group and shadow groups using
6655         gr_locate and sgr_locate. gpasswd write in the file database. Thus
6656         it should read information from the file database, not using
6657         getgrnam. The change to sgr_locate is just for consistency. This
6658         requires opening the group databases (read only) using
6659         gr_open/sgr_open.
6660
6661 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
6662
6663         * configure.in: SHADOWGRP added to AM_CONDITIONAL for the
6664         generation of manpages.
6665         * man/generate_translations.mak: Added pam/no_pam condition (like
6666         in man/Makefile.am).
6667         * man/Makefile.am, man/generate_translations.mak: Added
6668         gshadow/no_gshadow condition.
6669         * man/gpasswd.1.xml: Use the gshadow/no_gshadow condition to
6670         change the manpage depending on the shadow group support.
6671         * NEWS: Indicate that manpages should be re-generated if configure
6672         option are changed, due to conditions.
6673
6674 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
6675
6676         * po/ru.po: Updated to 399t. Thanks to Yuri Kozlov <kozlov.y@gmail.com>.
6677         * man/po/ru.po: Updated to 757t. Thanks also to Yuri Kozlov
6678         <kozlov.y@gmail.com>.
6679
6680 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
6681
6682         * man/Makefile.am: Add support for conditionally including
6683         paragraphs. (e.g. to support the documentation of PAM and !PAM
6684         features).
6685
6686 2007-11-21  Nicolas François  <nicolas.francois@centraliens.net>
6687
6688         * man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow,
6689         and /etc/passwd to section FILES.
6690         * man/newusers.8.xml: Mentions that PAM is not used to set the
6691         passwords.
6692         * man/chpasswd.8.xml: Added section FILES (/etc/passwd,
6693         /etc/shadow, /etc/login.defs).
6694         * man/chpasswd.8.xml: Use the same paragraph as in newusers.8.xml
6695         to indicate that PAM is not used.
6696         * man/chgpasswd.8.xml: Added section FILES (/etc/group,
6697         /etc/gshadow, /etc/login.defs).
6698
6699 2007-11-21  Nicolas François  <nicolas.francois@centraliens.net>
6700
6701         * src/newusers.c: Try harder to get the GID equal to the UID.
6702         This was not the case when the GID is not specified, and a GID
6703         exist with an ID higher than the all the UIDs.
6704         * src/newusers.c: Typo in comment: contrained -> constrained.
6705
6706 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6707
6708         * src/chgpasswd.c: If the shadow group file is not present, do not
6709         try to locate the group entry from /etc/gshadow, and set the
6710         password in /etc/group.
6711
6712 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6713
6714         * libmisc/obscure.c, libmisc/salt.c, src/passwd.c: Match DES, MD5,
6715         SHA256, and SHA512 exactly (not only the first 3/6 chars).
6716         * libmisc/salt.c (SHA_salt_rounds): Set rounds to the specified
6717         prefered_rounds value, if specified.
6718         * src/gpasswd.c, libmisc/salt.c: Fix compilation warnings (use
6719         size_t for lengths).
6720         * src/chpasswd.c, src/chgpasswd.c: Add missing parenthesis.
6721
6722 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6723
6724         * man/sv, man/de, man/fr, man/pl, man/ru, man/it: Ignore the
6725         generated manpages. Add *.[1358] to the svn:ignore property.
6726
6727 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6728
6729         * src/chgpasswd.c, src/chpasswd.c: The -c, -e, and -m options are
6730         exclusives.
6731
6732 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6733
6734         * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document how the
6735         encryption algorithm is chosen for the passwords. Document the new
6736         -c and -s options. Add a reference to login.defs(5).
6737         * man/login.defs.5.xml: Document the ENCRYPT_METHOD,
6738         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS, and SHA_CRYPT_MAX_ROUNDS
6739         variables.
6740         * etc/login.defs: Indicate that MD5_CRYPT_ENAB is deprecated.
6741         Document the relationship with PAM for MD5_CRYPT_ENAB and
6742         ENCRYPT_METHOD.
6743
6744 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6745
6746         * src/passwd.c: Increase the size of crypt_passwd from 128 to 256
6747         to avoid overflow in case of SHA512 (161 should be sufficient).
6748
6749 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6750
6751         * lib/prototypes.h, libmisc/salt.c: Add parameters to
6752         crypt_make_salt to force the crypt method and number of rounds.
6753         * libmisc/salt.c: Add parameter to SHA_salt_rounds to force the
6754         number of rounds.
6755         * libmisc/salt.c, lib/getdef.c: ENCRYPT_METHOD and MD5_CRYPT_ENAB
6756         are needed also when USE_PAM (e.g. for chpasswd).
6757         * src/passwd.c, src/newusers.c, src/gpasswd.c: Use the new
6758         crypt_make_salt prototype
6759         * src/chpasswd.c, src/chgpasswd.c: Add option -c, --crypt-method
6760         and -s, --sha-rounds to specify the crypt method and number of
6761         rounds in case of one of the SHA methods. The new prototype of
6762         crypt_make_salt simplifies the handling of -m, --md5.
6763
6764 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6765
6766         * libmisc/salt.c: The salt has a random size (between 8 and 16
6767         bytes).
6768         * lib/getdef.c, etc/login.defs: Add definitions for
6769         SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS.
6770         * libmisc/salt.c: Use SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS
6771         to add a random number of rounds if needed.
6772
6773 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6774
6775         * libmisc/salt.c (MAGNUM): Terminate the array with nul (the array
6776         is then used with strcat).
6777         * libmisc/salt.c (crypt_make_salt): Initialize result[0] to nul at
6778         the beginning (was not initialized when USE_PAM).
6779         * libmisc/salt.c (crypt_make_salt): Check that ENCRYPT_METHOD is a
6780         valid crypt method.
6781
6782 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6783
6784         * NEWS, libmisc/obscure.c, libmisc/salt.c, src/passwd.c,
6785         lib/getdef.c, etc/login.defs: Add support for SHA256 and SHA512
6786         encrypt methods. Apply RedHat's patch shadow-4.0.18.1-sha256.patch.
6787         Thanks to Peter Vrabec. Hardly no changes except re-indent and
6788         changes related to recent modifications (max_salt_len in
6789         crypt_make_salt). Changes in lib/defines.h not applied (definition
6790         of ENCRYPTMETHOD_SELECT). I will add a configure check or flag.
6791
6792 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6793
6794         * man/de/Makefile.am: Add su.1 to the generated manpages.
6795         * man/fr/Makefile.am: Add id.1 to EXTRA_DIST. It will be
6796         generated.
6797         * man/pl/Makefile.am: Add groupmems.8 to the generated manpages.
6798         * man/it/Makefile.am: Add logoutd.8 to EXTRA_DIST. It will be
6799         generated.
6800         * man/de/su.1, man/fr/id.1, man/pl/groupmems.8, man/it/logoutd.8:
6801         Removed, since auto-generated.
6802
6803 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6804
6805         Fix some compilation warnings:
6806         * src/login.c: "dereferencing type-punned pointer will break
6807         strict-aliasing rules", add a variable indirection: ptr_pam_user.
6808         * lib/commonio.c: do not initialize the sb stat structure.
6809         * lib/pwio.c, lib/shadowio.c, lib/sgroupio.c, lib/groupio.c:
6810         initialize the security context if WITH_SELINUX.
6811         * lib/nscd.c: The service argument is not const (used in the exec*
6812         parameters). This matches with the prototype definition.
6813         * src/groupmems.c: Avoid ++i when i is also used in the same line.
6814         * src/newusers.c: i is positive every time it is compared. Add
6815         cast to unsigned int.
6816         * src/nologin.c: Use a main() prototype with no arguments.
6817         * libmisc/getdate.y: Initialize the type and value fields of the
6818         terminating entry for each TABLE.
6819         * libmisc/tz.c: Use "TZ=CST6CDT" as the default timezone.
6820
6821 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6822
6823         * man/pl/Makefile.am: Add getspnam.3 to EXTRA_DIST since it is
6824         generated with shadow.3.
6825         * man/generate_translations.mak: Clean all the manpages, based on
6826         $(EXTRA_DIST), not $(man_MANS).
6827
6828 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6829
6830         * man/sv/getspnam.3, man/sv/faillog.5, man/sv/faillog.8,
6831         man/sv/grpconv.8, man/sv/chsh.1, man/sv/shadow.3,
6832         man/sv/grpunconv.8, man/sv/shadow.5, man/sv/newgrp.1,
6833         man/sv/limits.5, man/sv/gpasswd.1, man/sv/sg.1, man/sv/userdel.8,
6834         man/sv/lastlog.8, man/sv/login.access.5, man/sv/grpck.8,
6835         man/sv/chfn.1, man/sv/expiry.1, man/sv/newusers.8,
6836         man/sv/chpasswd.8, man/sv/pwconv.8, man/sv/logoutd.8,
6837         man/sv/groupmems.8, man/sv/usermod.8, man/sv/pwunconv.8,
6838         man/sv/su.1, man/sv/groupdel.8, man/sv/chgpasswd.8,
6839         man/sv/login.defs.5, man/sv/vipw.8, man/sv/useradd.8,
6840         man/sv/gshadow.5, man/sv/passwd.1, man/sv/groupmod.8,
6841         man/sv/passwd.5, man/sv/chage.1, man/sv/porttime.5,
6842         man/sv/login.1, man/sv/pwck.8, man/sv/nologin.8,
6843         man/sv/groupadd.8, man/sv/suauth.5, man/sv/vigr.8,
6844         man/sv/groups.1, man/de/passwd.1, man/de/newgrp.1, man/de/chsh.1,
6845         man/de/passwd.5, man/de/login.1, man/de/vipw.8, man/de/chfn.1,
6846         man/de/vigr.8, man/de/groups.1, man/fr/getspnam.3,
6847         man/fr/faillog.5, man/fr/faillog.8, man/fr/grpconv.8,
6848         man/fr/chsh.1, man/fr/shadow.3, man/fr/grpunconv.8,
6849         man/fr/shadow.5, man/fr/newgrp.1, man/fr/limits.5,
6850         man/fr/gpasswd.1, man/fr/sg.1, man/fr/userdel.8,
6851         man/fr/login.access.5, man/fr/lastlog.8, man/fr/grpck.8,
6852         man/fr/chfn.1, man/fr/expiry.1, man/fr/newusers.8,
6853         man/fr/chpasswd.8, man/fr/pwconv.8, man/fr/logoutd.8,
6854         man/fr/usermod.8, man/fr/pwunconv.8, man/fr/su.1,
6855         man/fr/groupdel.8, man/fr/login.defs.5, man/fr/vipw.8,
6856         man/fr/useradd.8, man/fr/gshadow.5, man/fr/passwd.1,
6857         man/fr/groupmod.8, man/fr/passwd.5, man/fr/porttime.5,
6858         man/fr/chage.1, man/fr/login.1, man/fr/pwck.8, man/fr/groupadd.8,
6859         man/fr/suauth.5, man/fr/vigr.8, man/fr/groups.1, man/pl/faillog.5,
6860         man/pl/faillog.8, man/pl/chsh.1, man/pl/grpconv.8,
6861         man/pl/grpunconv.8, man/pl/shadow.5, man/pl/newgrp.1,
6862         man/pl/limits.5, man/pl/gpasswd.1, man/pl/sg.1, man/pl/userdel.8,
6863         man/pl/login.access.5, man/pl/lastlog.8, man/pl/grpck.8,
6864         man/pl/chfn.1, man/pl/expiry.1, man/pl/newusers.8,
6865         man/pl/pwconv.8, man/pl/chpasswd.8, man/pl/logoutd.8,
6866         man/pl/usermod.8, man/pl/pwunconv.8, man/pl/su.1,
6867         man/pl/groupdel.8, man/pl/vipw.8, man/pl/login.defs.5,
6868         man/pl/useradd.8, man/pl/passwd.1, man/pl/groupmod.8,
6869         man/pl/passwd.5, man/pl/porttime.5, man/pl/chage.1,
6870         man/pl/login.1, man/pl/pwck.8, man/pl/groupadd.8, man/pl/suauth.5,
6871         man/pl/vigr.8, man/pl/groups.1, man/ru/getspnam.3,
6872         man/ru/faillog.5, man/ru/faillog.8, man/ru/grpconv.8,
6873         man/ru/chsh.1, man/ru/shadow.3, man/ru/grpunconv.8,
6874         man/ru/shadow.5, man/ru/newgrp.1, man/ru/limits.5,
6875         man/ru/gpasswd.1, man/ru/sg.1, man/ru/userdel.8,
6876         man/ru/login.access.5, man/ru/lastlog.8, man/ru/grpck.8,
6877         man/ru/chfn.1, man/ru/expiry.1, man/ru/newusers.8,
6878         man/ru/chpasswd.8, man/ru/pwconv.8, man/ru/logoutd.8,
6879         man/ru/groupmems.8, man/ru/usermod.8, man/ru/pwunconv.8,
6880         man/ru/su.1, man/ru/groupdel.8, man/ru/chgpasswd.8,
6881         man/ru/login.defs.5, man/ru/vipw.8, man/ru/useradd.8,
6882         man/ru/gshadow.5, man/ru/passwd.1, man/ru/groupmod.8,
6883         man/ru/passwd.5, man/ru/chage.1, man/ru/porttime.5,
6884         man/ru/login.1, man/ru/pwck.8, man/ru/nologin.8,
6885         man/ru/groupadd.8, man/ru/suauth.5, man/ru/vigr.8,
6886         man/ru/groups.1, man/it/getspnam.3, man/it/faillog.5,
6887         man/it/faillog.8, man/it/grpconv.8, man/it/chsh.1,
6888         man/it/shadow.3, man/it/grpunconv.8, man/it/shadow.5,
6889         man/it/newgrp.1, man/it/gpasswd.1, man/it/sg.1, man/it/userdel.8,
6890         man/it/lastlog.8, man/it/grpck.8, man/it/chfn.1, man/it/expiry.1,
6891         man/it/newusers.8, man/it/chpasswd.8, man/it/pwconv.8,
6892         man/it/usermod.8, man/it/pwunconv.8, man/it/su.1,
6893         man/it/groupdel.8, man/it/vipw.8, man/it/useradd.8,
6894         man/it/passwd.1, man/it/groupmod.8, man/it/passwd.5,
6895         man/it/porttime.5, man/it/chage.1, man/it/login.1, man/it/pwck.8,
6896         man/it/groupadd.8, man/it/vigr.8, man/it/groups.1,
6897         man/pl/shadow.3, man/pl/sulogin.8, man/pl/id.1, man/ru/sulogin.8,
6898         man/ru/id.1, man/it/id.1: Remove generated translated manpages.
6899         They are still distributed with the shadow tarballs.
6900
6901 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6902
6903         * man/pl/chgpassw.8: Remove chgpassw.8 since the real manpage
6904         should be named chgpasswd.8.
6905
6906 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6907
6908         * man/vigr.8.xml: Remove file. The vigr man page is generated from
6909         the vipw XML file.
6910
6911 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
6912
6913         * lib/prototypes.h, configure.in, libmisc/Makefile.am,
6914         libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
6915         libmisc/xgetgrnam.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c:
6916         Added functions xgetpwnam(), xgetpwuid(), xgetgrnam(),
6917         xgetgrgid(), and xgetspnam(). They allocate memory for the
6918         returned structure and are more robust to successive calls. They
6919         are implemented with the libc's getxxyyy_r() functions if
6920         available.
6921         * NEWS, libmisc/limits.c, libmisc/entry.c, libmisc/chowntty.c,
6922         libmisc/addgrps.c, libmisc/myname.c, libmisc/rlogin.c,
6923         libmisc/pwdcheck.c, src/newgrp.c, src/login_nopam.c, src/login.c,
6924         src/userdel.c, src/lastlog.c, src/grpck.c, src/gpasswd.c,
6925         src/newusers.c, src/chpasswd.c, src/chfn.c, src/groupmems.c,
6926         src/usermod.c, src/expiry.c, src/groupdel.c, src/chgpasswd.c,
6927         src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c, src/pwck.c,
6928         src/groupadd.c, src/chage.c, src/login.c, src/suauth.c,
6929         src/faillog.c, src/groups.c, src/chsh.c, src/id.c: Review all the
6930         usage of one of the getpwnam(), getpwuid(), getgrnam(),
6931         getgrgid(), and getspnam() functions. It was noticed on
6932         http://bugs.debian.org/341230 that chfn and chsh use a passwd
6933         structure after calling a pam function, which result in using
6934         information from the passwd structure requested by pam, not the
6935         original one. It is much easier to use the new xget... functions
6936         to avoid these issues. I've checked which call to the original
6937         get... functions could be left (reducing the scope of the
6938         structure if possible), and I've left comments to ease future
6939         reviews (e.g. /* local, no need for xgetpwnam */).
6940         Note: the getpwent/getgrent calls should probably be checked also.
6941         * src/groupdel.c, src/expiry.c: Fix typos in comments.
6942         * src/groupmod.c: Re-indent.
6943         * lib/Makefile.am, lib/groupmem.c, lib/groupio.c, lib/pwmem.c,
6944         lib/pwio.c, lib/shadowmem.c, lib/shadowio.c: Move the __<xx>_dup
6945         functions (used by the xget... functions) from the <xx>io.c files
6946         to the new <xx>mem.c files. This avoid linking some utils against
6947         the SELinux library.
6948
6949 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
6950
6951         * man/pl/pl.po: Fix typo: chgpassw -> chgpasswd.
6952         * man/pl/Makefile.am: Fix typo: chgpassw -> chgpasswd.
6953         * man/de/de.po: groups shall not be translated (for command,
6954         refname, or refentrytitle).
6955
6956 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
6957
6958         * src/login.c: Fix typo introduced while fixing
6959         http://bugs.debian.org/451521 (compile fix).
6960
6961 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
6962
6963         * libmisc/Makefile.am: Fix typo: EXTRA_DOST -> EXTRA_DIST.
6964
6965 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
6966
6967         * src/login_nopam.c: Fix a typo in a comment.
6968
6969 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
6970
6971         * src/useradd.c: Do not document the behavior compared to old
6972         versions.
6973
6974 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
6975
6976         * man/usermod.8.xml: Document the differences between locking an
6977         account and locking a password.
6978
6979 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
6980
6981         * NEWS, src/usermod.c: Refuse to unlock an account when it would
6982         result in a passwordless account.  Based on Openwall's patch
6983         shadow-4.0.4.1-owl-usermod-unlock.diff.
6984         * NEWS, src/passwd.c: Likewise.
6985
6986 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
6987
6988         * src/userdel.c (path_prefix): Make sure that the prefix is the
6989         name of a directory (not only the beginning of a directory).
6990         Openwall patch shadow-4.0.4.1-owl-userdel-path_prefix.diff.
6991
6992 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
6993
6994         * NEWS, src/newgrp.c: Do not give an indication that the group has no
6995         password.
6996         * src/newgrp.c: Do not only bail on syslog if the password is not
6997         valid. Also give an indication to the user on stderr.
6998
6999 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7000
7001         Fixes from Openwall patch shadow-4.0.4.1-owl-chage-drop-priv.diff:
7002         * src/chage.c: Remove cleanup(). pw_lock is never called. Replace
7003         cleanup(2) by spw_unlock and remove the calls to cleanup(1).
7004         * src/chage.c: Remove variable pwrw. It is always set to 0. The
7005         password database is always read only.
7006         * src/chage.c: Make chage -l also drop the saved GID.
7007         * src/chage.c: Prefer setregid/setreuid to setgid/setuid.
7008
7009 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7010
7011         Fixes from Openwall patch shadow-4.0.4.1-alt-man.diff:
7012         * man/useradd.8.xml: Indicate that the NIS caveats is also valid
7013         for any external database as LDAP.
7014         * man/groupadd.8.xml: Likewise.
7015         * man/groupadd.8.xml: Reorder and reformat the caveats bullets.
7016
7017 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7018
7019         * NEWS: Applied Debian patch 409_man_generate_from_PO to
7020         automatically generate the translated manpages from the POs.
7021         * man/Makefile.am: Replace the individual rules for the generation
7022         of the manpages (from XML) by a generic Makefile rule an
7023         dependencies for the linked manpages.
7024         * man/generate_translations.mak: Generic rules for all the
7025         generated translated manpages (if ENABLE_REGENERATE_MAN).
7026         * man/Makefile.am: Removed rules for all the generated translated
7027         manpages.
7028         * man/sv/Makefile.am, man/de/Makefile.am, man/fr/Makefile.am,
7029         man/pl/Makefile.am, man/ru/Makefile.am, man/it/Makefile.am:
7030         Include generate_translations.mak to handle the generated
7031         translations (XML and roff files).
7032         * man/Makefile.am: Translated XML files moved from the CLEANFILES
7033         variable of man/Makefile.am to the various languages Makefiles.
7034
7035 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7036
7037         * man/chpasswd.8.xml: Document that chpasswd does not use PAM to
7038         update the passwords. This fixes http://bugs.debian.org/396726.
7039         Debian patch 411_chpasswd_document_no_pam.
7040
7041 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7042
7043         * NEWS, src/su.c: Avoid terminating the PAM library in the forked
7044         child.  This is done later in the parent after closing the PAM
7045         session. This fixes http://bugs.debian.org/412061.
7046         Debian patch 405_su_no_pam_end_before_exec.
7047
7048 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7049
7050         * man/newgrp.1.xml: Mention sg in the newgrp manpage.
7051         This fixes http://bugs.debian.org/396690.
7052         Debian patch 410_newgrp_man_mention_sg.
7053
7054 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7055
7056         * src/passwd.c: Fix typo: the warndays option was called warning.
7057         This is now warndays, as documented in the manpage and usage.
7058         This fixes http://bugs.debian.org/445481.
7059         Debian patch 417_passwd_warndays.
7060
7061 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7062
7063         * NEWS, src/pwck.c: Remove the preprocessor check SHADOWPWD. The
7064         variable is no more defined (and always assumed).
7065         Debian patch 493_pwck_no_SHADOWPWD.
7066
7067 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7068
7069         * NEWS, src/passwd.c, man/passwd.1.xml: -l/-u options: edit the
7070         shadow account expiry field *in addition* to editing the password
7071         field.  This fixes http://bugs.debian.org/389183.
7072         Debian patch 494_passwd_lock.
7073
7074 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7075
7076         * NEWS, src/newgrp.c: Do not request a password when a user uses
7077         newgrp to switch to her primary group.
7078         This fixes http://bugs.debian.org/396691.
7079         Debian patch 497_newgrp_primary_group.
7080         * src/newgrp.c: Remove a comment which states otherwise.
7081
7082 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7083
7084         * src/login.c: Log an error if the password entry could not be
7085         found (respect LOG_UNKFAIL_ENAB to avoid logging a password). This
7086         fixes the Debian bug http://bugs.debian.org/451521
7087
7088 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7089
7090         * man/useradd.8.xml: -b documenation: Use the same notation for
7091         the -d argument as in the -d documentation.
7092
7093 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7094
7095         * src/useradd.c: Allow the -b option even without the -D option.
7096
7097 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7098
7099         * src/usermod.c: Use the same error message for the below errors.
7100         (option working ONLY if another is specified).
7101
7102 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7103
7104         * src/usermod.c: Make usermod -o and -u work independently of the
7105         argument order.
7106
7107 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7108
7109         * src/usermod.c: Validate that two of the -L, -p, and -U options
7110         are not used at the same time after the parsing of options. -U
7111         used to be allowed after -p or -L, but not before.
7112
7113 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7114
7115         * src/usermod.c: Make usermod -d and -m work independently of the
7116         argument order. Thanks to Justin Pryzby <jpryzby+d@quoininc.com>
7117         for the patch. This fixes http://bugs.debian.org/451518.
7118
7119 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7120
7121         * NEWS, lib/nscd.c: Execute nscd -i instead of using the private
7122         glibc socket to flush the nscd tables. This comes from the RedHat
7123         patch shadow-4.0.16-nscd.c.
7124         * lib/commonio.c: Forbid inheritance of the passwd and group files
7125         to the spawed processes (like nscd). This comes from the RedHat
7126         patch shadow-4.0.17-notInheritFd.patch.
7127         * lib/nscd.h: Update header.
7128
7129 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7130
7131         * src/usermod.c (fail_exit): Add static variables pw_locked,
7132         spw_locked, gr_locked, and sgr_locked to indicate which files must
7133         be unlocked.
7134         * src/usermod.c (open_files, close_files): Open and close the
7135         group files as well as the passwd files. This permit to check if
7136         the group files modification are allowed before writing the passwd
7137         files.
7138         * src/usermod.c (grp_update, update_gshadow, update_group): Do not
7139         return a status code, but call fail_exit() in case of error. The
7140         group files are no more opened and closed in update_gshadow() and
7141         update_group().
7142         * src/usermod.c (main): move the call to grp_update between
7143         open_files and close_files.
7144         * src/usermod.c: Differentiate failure to add a group entry and
7145         failure to add a shadow group entry.
7146
7147 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7148
7149         * src/userdel.c: Differentiate failure to update a group entry and
7150         failure to update a shadow group entry.
7151
7152 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7153
7154         * src/userdel.c, src/usermod.c, src/useradd.c: Inform the user if
7155         out of memory while updating a group database.
7156
7157 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7158
7159         * NEWS, src/usermod.c: Update the group database before flushing
7160         the nscd caches.
7161
7162 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7163
7164         * NEWS, src/userdel.c: Abort if an error is found while updating the
7165         user or group database. No changes will be written in the
7166         databases.
7167
7168 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7169
7170         * src/useradd.c: It is no more needed to check that the user's
7171         groups are specified only once in the group file. This is checked
7172         by gr_update().
7173
7174 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7175
7176         * lib/commonio.c (next_entry_by_name): New function.
7177         * NEWS, lib/commonio.c (commonio_update): When an entry is updated, make
7178         sure that there are no other entry with the same name. This fixes
7179         an infinite loop in userdel and usermod when an (erroneous) group
7180         file contains two entries with the same name.
7181         (https://bugzilla.redhat.com/show_bug.cgi?id=240915)
7182
7183 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7184
7185         * libmisc/salt.c: Make sure the salt string is terminated at the
7186         right place (either 8th, or 11th position).
7187         * NEWS, src/chgpasswd.c, src/chpasswd.c: The protocol + salt does
7188         not need 15 chars. No need for a temporary buffer.
7189         This change the fix committed on 2007-11-10. The salt provided to
7190         pw_encrypt could have been too long.
7191
7192 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7193
7194         * man/fr/fr.po: Fix typo: missing / in <placeholder-1/>. This
7195         caused the gpasswd title to be incomplete in the French manpage.
7196
7197 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7198
7199         * configure.in: Check if the l64a function exists instead of a64l
7200         which we do not use.
7201         * libmisc/salt.c: Add support for uClibc with no l64a().
7202
7203 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7204
7205         * configure.in: Check if the netdb.h header file and the innetgr
7206         function exist.
7207         * src/login_nopam.c, NEWS: Add support for systems with no
7208         innetgr().  On those systems, username with an @ will be treated
7209         like any other username (i.e. lookup in the local database for an
7210         user with an @). Thanks to Mike Frysinger for the patch.
7211
7212 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7213
7214         * src/useradd.c: Indentation fix.
7215
7216 2007-11-14  Nicolas François  <nicolas.francois@centraliens.net>
7217
7218         * src/newgrp.c, NEWS: Declare the child and pid variable at the
7219         beginning of a block. This fixes a compilation issue with gcc 2.95.
7220         The intent is the same as Gentoo's patch shadow-4.0.12-gcc2.patch.
7221
7222 2007-11-14  Nicolas François  <nicolas.francois@centraliens.net>
7223
7224         * src/Makefile, NEWS: Add a suidperms variable. This should ease
7225         the change of permission of suid binaries for distributors (not
7226         recommended).
7227
7228 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7229
7230         * ./, libmisc/, src/, contrib/, doc/, lib/, man/, man/sv/,
7231         man/de/, man/ja/, man/fi/, man/pt_BR/, man/fr/, man/pl/, man/hu/,
7232         man/tr/, man/ru/, man/zh_TW/, man/id/, man/zh_CN/, man/cs/,
7233         man/es/, man/ko/, man/it/, etc/, etc/pam.d/, po/: Restore the
7234         ignore patterns from the previous repository.
7235
7236         * libmisc/*.c, libmisc/*.h, libmisc/getdate.y, shadow.spec.in,
7237         src/*.c, contrib/groupmems.shar, contrib/pwdauth.c,
7238         doc/README.platforms, doc/WISHLIST, doc/console.c.spec.txt,
7239         lib/*.c, lib/*.h, COPYING, man/*.xml, man/sv/*.[1358],
7240         man/de/*.[1358], man/ja/*.[1358], man/fi/*.[1358],
7241         man/fr/*.[1358], man/pt_BR/*.[1358], man/pl/*.[1358],
7242         man/hu/*.[1358], man/tr/*.[1358], man/ru/*.[1358],
7243         man/zh_TW/*.[1358], man/id/*.[1358], man/zh_CN/*.[1358],
7244         man/cs/*.[1358], man/es/*.[1358], man/ko/*.[1358],
7245         man/it/*.[1358], etc/login.access, etc/login.defs, NEWS: Added the
7246         subversion svn:keywords property (Id) for proper identification.
7247
7248 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7249
7250         * man/sv/sv.po, man/de/de.po, man/fr/fr.po, man/pl/pl.po,
7251         man/ru/ru.po, man/it/it.po: Run "make update-po" in the man
7252         directory.
7253
7254         * po/ne.po, po/bs.po, po/cs.po, po/pt_BR.po, po/km.po, po/es.po,
7255         po/eu.po, po/ko.po, po/hu.po, po/sk.po, po/vi.po, po/uk.po,
7256         po/ro.po, po/sq.po, po/ru.po, po/id.po, po/nb.po, po/el.po,
7257         po/gl.po, po/fr.po, po/nl.po, po/pl.po, po/nn.po, po/it.po,
7258         po/dz.po, po/tl.po, po/pt.po, po/ca.po, po/da.po, po/tr.po,
7259         po/sv.po, po/de.po, po/ja.po, po/zh_TW.po, po/he.po, po/fi.po,
7260         po/zh_CN.po: Run "make update-po" in the po directory.
7261
7262 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7263
7264         * NEWS, src/newgrp.c: Don't ask for a password if there are no
7265         group passwords. Just directly give up. This comes from the
7266         Fedora's patch shadow-4.0.13-newgrpPwd.patch, and seems to be the
7267         only part with an effect.
7268
7269 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7270
7271         * NEWS, src/chgpasswd.c, src/chpasswd.c: Fix chpasswd and
7272         chgpasswd stack overflow. Based on Fedora's
7273         shadow-4.0.18.1-overflow.patch.
7274
7275 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7276
7277         * NEWS, src/useradd.c: Allow non numerical group identifier to be
7278         specified with useradd's -g option. Applied Debian patch
7279         397_non_numerical_identifier. Thanks also to Greg Schafer
7280         <gschafer@zip.com.au>.
7281
7282 2007-10-28  Nicolas François  <nicolas.francois@centraliens.net>
7283
7284         * configure.in: Prepare the next release: 4.0.18.2. The gettext
7285         version used for the configuration will be 0.16.
7286
7287 2007-10-28  Nicolas François  <nicolas.francois@centraliens.net>
7288
7289         * po/ja.po: Remove a plural form. nplurals=1 for japanese.
7290         Moreover, msgstr[0] was identical to msgstr[1].
7291
7292 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7293
7294         * libmisc/limits.c, man/limits.5.xml, etc/limits: Apply patch sent
7295         by Justin Bronder <jsbronder@gmail.com>. See Debian bug #442334.
7296         This adds support to 2 new resource limits: max nice value, and
7297         max real time priority. This is only used when shadow is not
7298         compiled with PAM support.
7299
7300 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7301
7302         * man/gpasswd.1.xml: Describe the options separately in the
7303         OPTIONS section. Simplify the synopsis.
7304
7305 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7306
7307         * README, po/Makevars: Update contact information.
7308
7309 2007-10-27  Christian Perrier  <bubulle@debian.org
7310
7311         * src/newgrp.c, src/passwd.c, src/su.c:
7312         No longer 'apologize' to users when they use incorrect passwords
7313         Remove "Sorry" from programs display
7314         Imported from Debian's patch 413_no-sorry-in-passwd and
7315         102_de-fix-sorry
7316         * man/fr/fr.po: fix translation errors. Imported from Debian's
7317         patch 201_fix_man_su_fr and 416_man-fr_newgrp
7318         * man/it/it.po, man/Makefile.am, man/it/Makefile.am:
7319         Use gettext for the Italian man pages translation. Imported from
7320         Debian's patch 202_it_man_uses_gettext. Thanks to Giuseppe
7321         Sacco who contributed the Italian translation.
7322         * man/de/de.po: (nearly) complete German translation of man pages
7323         Imported from Debian's patch 203_de-man-update. Thanks to 
7324         Simon Brandmair
7325         * src/usermod.c: Clarify the online help of usermod for "-a"
7326         Imported from Debian's patch 402-clarify_usermod_usage
7327         * man/shadow.5.xml: fix spelling error. Imported from Debian's
7328         patch 433_shadow.5-typo_312430
7329         * src/su.c: Be up front on the origin of su and mention the GNU
7330         origin. Imported from Debian's patch 438_su_GNU_origin
7331
7332 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7333
7334         * NEWS, po/zh_CN.po: Updated Chinese translation. Imported from
7335         Debian's patch 105_zh_CN. Thanks to Ming Hua for the update.
7336
7337 2007-10-13  Tommi Vainikainen  <thv+debian@iki.fi>
7338
7339         * NEWS, po/fi.po: Updated Finish translation (400t).
7340
7341 2007-10-13  Nicolas François  <nicolas.francois@centraliens.net>
7342
7343         * NEWS, src/su.c: If compiled without PAM support, enforce the
7344         limits from /etc/limits when one of the -, -l, or --login options
7345         is set, even if called by root. Thanks to Justin Bronder.
7346
7347 2007-10-07  Nicolas François  <nicolas.francois@centraliens.net>
7348
7349         * NEWS, Changelog: Convert the Changelog and NEWS files to UTF-8
7350         (it was partially ISO-8859-2).
7351
7352 2007-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
7353
7354         * 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:
7355         groupadd.8, groupmod.8, login.1, useradd.8, userdel.8, usermod.8: grammar
7356         mistakes and other correctstions (by Schulenberg <bensberg@justemail.net>).
7357
7358 2007-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
7359
7360         * NEWS, src/usermod.c:
7361         fixed handle -a option in usermod (by Benno Schulenberg <bensberg@justemail.net>).
7362
7363 2006-12-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
7364
7365         * man/sv/sv.po:
7366         more UTF8 fixe (by Mikael Magnusson <mikma@users.sourceforge.net>).
7367
7368         * man/sv/sv.po:
7369         UTF8 fixes (by Mikael Magnusson <mikma@users.sourceforge.net>).
7370
7371 2006-11-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
7372
7373         * man/pl/Makefile.am, man/pl/chgpassw.8, man/pl/chpasswd.8, man/pl/pl.po:
7374         translation chpasswd.8 and chgpassw.8 finished.
7375
7376 2006-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
7377
7378         * man/pl/pl.po: resolve fuzzy entries.
7379
7380         * 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:
7381         spelling fixes 's/super user/superuser/' (by Benno Schulenberg <bensberg@justemail.net>).
7382
7383         * man/sv/sv.po, man/de/de.po, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po:
7384         run "make update-po".
7385
7386         * man/newusers.8.xml, man/su.1.xml:
7387         fixed wrong word, a few typos, some grammar mistakes, and puts in a comma here
7388         and there for clarity (by Benno Schulenberg <bensberg@justemail.net>).
7389
7390         * man/pl/groupmod.8, man/pl/chage.1, man/pl/chsh.1, man/pl/lastlog.8, man/pl/vipw.8:
7391         regenerated.
7392
7393         * man/de/de.po: run "make update-po".
7394
7395         * man/Makefile.am:
7396         added de to LINGUAS but man/de/de.po still need many work.
7397
7398 2006-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
7399
7400         * src/useradd.c: indent code.
7401
7402         * NEWS, src/useradd.c:
7403         improved auditing support (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211659).
7404
7405 2006-11-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
7406
7407         * 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:
7408         run "make update-po".
7409
7410         * NEWS, po/nl.po:
7411         updated (by cobaco (aka Bart Cornelis) <cobaco@skolelinux.no>).
7412
7413         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po:
7414         "make update-po".
7415
7416 2006-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
7417
7418         * man/su.1.xml:
7419         added sg(1) to the SEE ALSO section (Debian Bug#396690).
7420
7421 2006-10-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
7422
7423         * man/newusers.8.xml: clarify pw_gid fileld content description.
7424
7425         * man/it/Makefile.am, man/sv/Makefile.am:
7426         s/man_nonpam/man_nopam/ (merged 498_man_nonpam_undefined Debian patch).
7427
7428         * po/nl.po:
7429         fixed https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212892
7430
7431 2006-10-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
7432
7433         * man/newusers.8.xml: there is no pw_age fileld in passwd.
7434
7435         * man/fr/fr.po:
7436         Fix an error in the passwd.1 French translation (fixed Debian bug #395537).
7437
7438         * 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:
7439         cleanups on begin DESCRIPTION section.
7440
7441         * man/pl/pl.po: typos.
7442
7443 2006-10-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
7444
7445         * po/pl.po: cleanups.
7446
7447 2006-10-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
7448
7449         * man/pl/pl.po: more translations.
7450
7451         * NEWS:
7452         UTF-8 corrections (by Benno Schulenberg <bensberg@justemail.net>).
7453
7454 2006-10-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
7455
7456         * man/groupdel.8.xml: added description for exit code 6.
7457
7458 2006-08-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
7459
7460         * man/de/de.po: copy & paste some msgid to msgstr.
7461
7462         * man/de/de.po:
7463         kill some fuzzy (by Nicolas François <nicolas.francois@centraliens.net>).
7464
7465 2006-08-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
7466
7467         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po, man/passwd.1.xml:
7468         s/change password/password change/ in passwd(1) (by Simon Brandmair <sbrandmair@gmx.net>).
7469
7470         * man/de/de.po:
7471         initial version based on partial translations only for passwd(1) by
7472         Simon Brandmair <sbrandmair@gmx.net>.
7473
7474         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/useradd.c, src/userdel.c, src/usermod.c:
7475         flush nscd cashes after close /etc/{group,passwd} files.
7476
7477 2006-08-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
7478
7479         * po/tl.po: updated (by Eric Pareja <xenos@upm.edu.ph>).
7480
7481 2006-08-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
7482
7483         * NEWS, po/ja.po: updated (by Takeo Nakano <nakano@webmasters.gr.jp>).
7484
7485 2006-08-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
7486
7487         * man/fr/Makefile.am:
7488         removed whitespaces following trailing backslashes.
7489
7490         * NEWS, configure.in: release 4.0.18.1.
7491
7492         * 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:
7493         fixed missing man pages in dist tar ball necessary on build when PAM is disabled.
7494
7495         * NEWS, src/groupmems.c:
7496         fixed groupmems compilation when PAM is disabled (by Johannes Winkelmann <jw@smts.ch>).
7497
7498         * configure.in:
7499         typo s/followig/following/ (by Johannes Winkelmann <jw@smts.ch>).
7500
7501 2006-08-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
7502
7503         * NEWS: release date corrected.
7504
7505         * NEWS, src/su.c:
7506         fixed set enviroment too early when using PAM, so move it to !USE_PAM
7507         (patch submitted by Mike Frysinger <vapier@gentoo.org>).
7508
7509 2006-07-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
7510
7511         * 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:
7512         fr man pages are now up to date.
7513
7514         * man/fr/fr.po:
7515         more updates for 4.0.18 (by Nicolas François <nicolas.francois@centraliens.net>).
7516
7517         * man/fr/fr.po:
7518         updated for 4.0.18 (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
7519
7520 2006-07-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
7521
7522         * 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:
7523         updated.
7524
7525         * src/useradd.c, src/usermod.c:
7526         fixed UID/GID overflow (fixed http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920).
7527         Fixed expiredate/inactive/mindays/warndays/maxdays overflow (simillar to RH#198920).
7528
7529         * src/passwd.c:
7530         fixed inactive/mindays/warndays/maxdays overflow (similar to RH#198920).
7531
7532         * src/groupadd.c, src/groupmod.c:
7533         fixed GID overflow (fixed http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920).
7534
7535 2006-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
7536
7537         * src/.cvsignore: groupmems added.
7538
7539 2006-07-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
7540
7541         * po/fr.po:
7542         updated for 4.0.18 (by ean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
7543
7544         * po/uk.po: break lines longer than 80 cols and add missing \n.
7545
7546         * po/uk.po:
7547         updated for 4.0.18 (by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>).
7548
7549         * man/pl/pl.po, man/ru/ru.po, man/sv/sv.po, man/chgpasswd.8.xml, man/chpasswd.8.xml, man/fr/fr.po:
7550         s/instead DES/instead of DES/
7551
7552         * NEWS: sv man pages are partially translated.
7553
7554 2006-07-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
7555
7556         * src/groupmems.c: fix compilation warnings.
7557
7558         * po/ko.po: use \t.
7559
7560         * po/nl.po: break lines longer than 80 cols and add missing \n.
7561
7562 2006-07-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
7563
7564         * man/ru/faillog.5: regenerated.
7565
7566         * po/ko.po: updated for 4.0.18 (by Changwoo Ryu <cwryu@debian.org>).
7567
7568 2006-07-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
7569
7570         * man/faillog.5.xml, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po:
7571         added <refmiscinfo class="sectdesc"> tag for faillog.5.xml.
7572
7573         * man/sv/Attic/grupper.1: removed.
7574
7575         * 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:
7576         corrected text charset and other minor cleanups (by Daniel Nylander <info@danielnylander.se>).
7577
7578         * po/tr.po: break lines longer than 80 cols.
7579
7580         * po/tr.po:
7581         updated for 4.0.18 (by Mehmet TURKER <mturker@innova.com.tr>).
7582
7583         * configure.in, man/Makefile.am, man/sv/Makefile.am:
7584         fixes for "make {dist|distchec}" and sv man pages.
7585
7586         * 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:
7587         full sv man pages set added (by Daniel Nylander <info@danielnylander.se>).
7588         This man pages are translated using new XML/xml2po/gettext infrastructure.
7589
7590         * po/pl.po: updated for 4.0.18.
7591
7592 2006-07-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
7593
7594         * po/pt.po:
7595         updated for 4.0.18 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
7596
7597         * po/gl.po, NEWS:
7598         updated for 4.0.18 (by Jacobo Tarrio <jacobo@tarrio.org>).
7599
7600         * NEWS, po/eu.po:
7601         updated for 4.0.18 (by Piarres Beobide <pi@beobide.net>).
7602
7603         * 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:
7604         updated for 4.0.18 (by Yuri Kozlov <kozlov.y@gmail.com>).
7605
7606         * po/vi.po, NEWS:
7607         updated for 4.0.18 (by Clytie Siddall <clytie@riverland.net.au>).
7608
7609         * NEWS, po/cs.po:
7610         updated for 4.0.18 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
7611
7612         * NEWS, po/sv.po:
7613         updated for 4.0.18 (by Daniel Nylander <info@danielnylander.se>).
7614
7615         * NEWS, po/ca.po:
7616         updated for 4.0.18 (by Guillem Jover <guillem@debian.org>).
7617
7618 2006-07-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
7619
7620         * po/hu.po: cleanups.
7621
7622         * NEWS, po/da.po:
7623         updated for 4.0.18 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
7624
7625         * po/hu.po, NEWS: updated for 4.0.18 (by SZERVÁC Attila <sas@321.hu>).
7626
7627         * NEWS: typos.
7628
7629         * man/ru/ru.po, man/fr/fr.po, man/pl/pl.po: run "make update-po".
7630
7631         * man/su.1.xml: fixes in <refsynopsisdiv>.
7632
7633         * src/groupmems.c: indent soutrce code.
7634
7635         * src/groupmems.c: use shadow Copyright.
7636
7637         * 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:
7638         added src/groupmems.c to POTFILES.in.
7639
7640         * NEWS, etc/pam.d/Makefile.am, etc/pam.d/groupmems, man/Makefile.am, man/groupmems.8.xml, src/Makefile.am, src/groupmems.c:
7641         groupmems rewrited for use PAM and getopt_long() nad now it is enabled
7642         for build and install (patch by George Kraft <gk4@swbell.net>).
7643
7644         * NEWS, configure.in: start prepare for 4.0.18.
7645
7646 2006-07-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
7647
7648         * 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:
7649         run "make update-po" and some cleanups (added missing \n and use tabs instead spaces).
7650
7651         * src/su.c: s#[login]#[LOGIN]# in help message.
7652
7653         * man/useradd.8.xml:
7654         added missing --<foo> long options names in "Changing the default values" section.
7655
7656         * po/tr.po: updated (by Murat Şenel <muratasenel@gmail.com>).
7657
7658 2006-07-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
7659
7660         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.
7661
7662         * man/useradd.8.xml: added newusers(8) to SEE ALSO section.
7663
7664         * etc/login.defs:
7665         removed GETPASS_ASTERISKS (patch by Mike Frysinger <vapier@gentoo.org>).
7666
7667 2006-07-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
7668
7669         * NEWS, man/pl/chsh.1, man/pl/pl.po: pl chage(1): translation finished.
7670
7671         * NEWS:
7672         s#fix by Mike Frysinger <vapier@gentoo.org>)#(patch by Ulrich Mueller <ulm@kph.uni-mainz.de>; http://bugs.gentoo.org/139966#
7673
7674         * NEWS, configure.in:
7675         S/Key: removed assign getpass() to libshadow_getpass() on autoconf level
7676         (fix by Mike Frysinger <vapier@gentoo.org>).
7677
7678 2006-07-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
7679
7680         * man/vipw.8.xml: make options <replaceable> in SYNOPSIS.
7681
7682         * 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:
7683         s/group/GROUP/ in groupadd help message.
7684
7685         * src/su.c (main):
7686         move **envcp declaration to #ifdef USE_PAM (fixed warning about unused
7687         variable when shadow is builded with PAM didabled).
7688
7689         * man/pl/pl.po, NEWS, man/pl/chage.1: pl chage(1) translation finished.
7690
7691         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.
7692
7693         * man/chsh.1.xml: updated after rewrite chsh for use getopt_long().
7694
7695         * po/pl.po: kill fuzzy.
7696
7697 2006-07-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
7698
7699         * 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:
7700         one \t more in help message.
7701
7702         * 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:
7703         updated.
7704
7705         * NEWS, src/chsh.c: chsh rewrited for use getopt_long().
7706
7707 2006-07-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
7708
7709         * man/pl/groupmod.8, man/pl/pl.po: finish translation groupmod(8).
7710
7711         * man/fr/fr.po, man/groupmod.8.xml, man/pl/groupmod.8, man/pl/pl.po, man/ru/ru.po:
7712         cleanups in groupmod(8).
7713
7714         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml, src/usermod.c, NEWS:
7715         back to previouse usermod -a option sematics and clarify -a behavior
7716         on documentation level (by Greg Schafer <gschafer@zip.com.au>).
7717
7718         * man/fr/fr.po, man/groupmod.8.xml, man/pl/pl.po, man/ru/ru.po:
7719         updated groupmod man page.
7720
7721 2006-07-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
7722
7723         * src/groupmod.c: too many \t in help message.
7724
7725         * 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:
7726         updated.
7727
7728         * 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:
7729         run "make update-po".
7730
7731         * src/groupmod.c: cleunps in help message.
7732
7733         * src/chage.c: s/user/\[LOGIN\]/ in help message.
7734
7735         * src/passwd.c: s/\[login\]/\[LOGIN\]/ in help message.
7736
7737         * NEWS, src/groupmod.c: groupmod rewrited for use getopt_log().
7738
7739 2006-07-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
7740
7741         * po/sv.po:
7742         added missing \n in help messages and few other minor cleanups.
7743
7744         * NEWS, po/sv.po:
7745         updated for 4.0.17 (by Daniel Nylander <info@danielnylander.se>).
7746
7747         * NEWS: 4.0.17 release date i 10-07-2006.
7748
7749         * NEWS, libmisc/copydir.c:
7750         fixed segfault usermod/userdel on remove home directory when it can't
7751         be removed; for example when it is /dev/null (fixed http://bugs.gentoo.org/139148).
7752
7753         * src/login.c, src/logoutd.c, src/userdel.c, libmisc/limits.c:
7754         remove USER_PROCESS conditionsi (code simplifications).
7755
7756 2006-07-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
7757
7758         * po/km.po: kill all fuzzy (Sokhem <khoemsokhem@khmeros.info>).
7759
7760 2006-07-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
7761
7762         * po/de.po: kill fuzzy (by Holger Wansing <linux@wansing-online.de>).
7763
7764 2006-07-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
7765
7766         * man/Makefile.am: removed duplicated all target.
7767
7768         * NEWS, po/LINGUAS, po/ne.po:
7769         new Nepali translation (by Paras Pradhan <pradhanparas@gmail.com>).
7770
7771         * NEWS, po/LINGUAS, po/dz.po: new Dzongkha translation.
7772
7773         * NEWS, po/de.po:
7774         updated for 4.0.17 (by Holger Wansing <linux@wansing-online.de>).
7775
7776         * NEWS, po/nl.po:
7777         updated for 4.0.17 (by "cobaco (aka Bart Cornelis)" <cobaco@skolelinux.no>)
7778
7779 2006-06-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
7780
7781         * po/ko.po: cleanups (by darehanl <darehanl@gmail.com>).
7782
7783         * src/usermod.c: fixes in getopt_long() optstring: s/a/a:/ and added h.
7784
7785         * src/faillog.c:
7786         fixed long_options[] entries: s/no_argument/required_argument/ for lock-secs,
7787         maximum, time and user options.
7788
7789         * NEWS, configure.in:
7790         improved SELinux detection on autoconf level (based on patch by
7791         Dan Yefimov <dan@D00M.lightwave.net.ru>).
7792
7793         * po/ro.po, NEWS:
7794         updated for 4.0.17 (by Sorin Batariuc <sorin@bonbon.net>).
7795
7796 2006-06-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
7797
7798         * NEWS: cleanups.
7799
7800         * man/pl/pl.po: more translations for chage(1).
7801
7802         * TODO: remove done things.
7803
7804         * NEWS, lib/Attic/getpass.c, lib/Makefile.am, lib/getdef.c, lib/pwauth.c, po/POTFILES.in:
7805         removed using private implementatuon getpass() libc function (now getpass() is
7806         used also when S/KEY support is enabled).
7807
7808         * NEWS, src/Makefile.am: move nologin do $(sbindir).
7809
7810         * man/pl/pl.po: more work.
7811
7812         * man/pl/pl.po: more translations.
7813
7814         * po/pl.po: s/KEY=VALUE/KLUCZ=WARTOŚĆ/
7815
7816         * po/pl.po: s/SEC/SEK/
7817
7818         * src/chpasswd.c: added missing #include "exitcodes.h".
7819
7820         * src/chpasswd.c: s/exit (1)/exit (E_USAGE)/
7821
7822         * man/Makefile.am:
7823         move all current i18n man pages automation inside "if ENABLE_REGENERATE_MAN .. endif".
7824
7825         * man/Makefile.am:
7826         add an error message so people don't have to go digging through
7827         source to find out what's up (by Mike Frysinger <vapier@gentoo.org>).
7828
7829         * 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:
7830         updated ru man pages (regenerated from man/ru/ru.po -> man/ru/*xml -> roff).
7831
7832         * NEWS, po/ru.po:
7833         updated for 4.0.17 (by Yuri Kozlov <kozlov.y@gmail.com>).
7834
7835         * NEWS, po/LINGUAS, po/km.po:
7836         new km translation (Sokhem <khoemsokhem@khmeros.info>).
7837
7838         * 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:
7839         cleanups in groupadd help message.
7840
7841         * NEWS, po/nb.po:
7842         updated for 4.0.17 (by Bjørn Steensrud <bjornst@powertech.no>).
7843
7844         * NEWS, po/da.po:
7845         updated for 4.0.17 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
7846
7847         * po/pl.po:
7848         s/twóş/twĂłrz/ (fix by Michał Łomnicki <michal.lomnicki@gmail.com>).
7849
7850         * NEWS, po/pt.po:
7851         updated for 4.0.17 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
7852
7853         * NEWS, po/vi.po:
7854         updated for 4.0.17 (by Clytie Siddall <clytie@riverland.net.au>).
7855
7856         * NEWS, po/cs.po:
7857         updated for 4.0.17 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
7858
7859         * po/eu.po, po/fr.po, po/gl.po, po/pl.po:
7860         Project-Id-Version: shadow 4.0.17
7861
7862         * NEWS, po/sk.po:
7863         updated for 4.0.17 (by Peter Mann <Peter.Mann@tuke.sk>).
7864
7865         * NEWS, po/ko.po:
7866         updated for 4.0.17 (by Changwoo Ryu <cwryu@debian.org>).
7867
7868 2006-06-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
7869
7870         * NEWS, configure.in: schedule release 40.17 on 26-06-2006.
7871
7872         * src/useradd.c:
7873         adjust last fix for leave some fix mail spool creation after rewrite internal
7874         configuration API.
7875
7876         * src/useradd.c, NEWS:
7877         fixed mail spool file creation (bug cached by Frans Pop <elendil@planet.nl>,
7878         fixed http://bugs.debian.org/374705).
7879
7880 2006-06-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
7881
7882         * 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:
7883         better looking help messages output. Added one empty line at end of help message.
7884
7885         * po/ru.po, po/sk.po, po/sv.po, po/tl.po, po/uk.po, po/ro.po, po/pt_BR.po:
7886         break help messages lines before col 80.
7887
7888         * man/pl/pl.po: more work on usermod.
7889
7890         * po/pl.po: cleanups.
7891
7892 2006-06-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
7893
7894         * man/pl/vipw.8:
7895         regenerated using fixed DocBook XSL Stylesheets v1.70.1 (I must submit my
7896         fixes common/pl.xml do DocBook XSL Stylesheets mantainer).
7897
7898         * man/fr/fr.po, man/ru/ru.po: updated.
7899
7900         * man/pl/lastlog.8, man/pl/pl.po: finish translate lastlog(8).
7901
7902         * man/lastlog.8.xml: improved NOTE section content.
7903
7904         * po/pl.po: iprove lastlog help message.
7905
7906         * man/fr/fr.po, man/lastlog.8.xml, man/pl/pl.po, man/ru/ru.po:
7907         Better lastlog short description. Now it is:
7908         lastlog - reports the most recent login of all users or of a given user
7909
7910         * man/Makefile.am, man/fr/fr.po, man/lastlog.8.xml, man/pl/pl.po, man/ru/ru.po:
7911         Fixed CAVEATS section (what the hell is mmdf ? :)
7912
7913         * man/ru/ru.po, NEWS, man/faillog.5.xml, man/fr/fr.po, man/pl/pl.po:
7914         added missing information about fail_locktime element of faillog struct
7915         in faillog(5) man page (by Thorsten Kukuk <kukuk@suse.de>).
7916
7917 2006-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
7918
7919         * 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:
7920         fully regenerated man pages.
7921
7922         * man/Makefile.am:
7923         hack for generate translated xml files with lang="<lang> in <refentry> tag.
7924         Now is possible testing correctnes of XSLT sheets languages definition.
7925
7926 2006-06-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
7927
7928         * NEWS, po/eu.po: updated (by Piarres Beobide <pi@beobide.net>).
7929
7930 2006-06-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
7931
7932         * 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:
7933         s/ \\n"/\\n"/ in translated strings.
7934
7935         * man/pl/pl.po: more translations for usermod.
7936
7937         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml:
7938         added <command> tags for at and crontab.
7939
7940         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml:
7941         remove /etc/login.defs from FILES section.
7942
7943         * po/gl.po: updated (by Jacobo Tarrio <jtarrio@trasno.net>).
7944
7945         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
7946
7947         * po/pl.po:
7948         updated usermod help message and fixed few other things introduced during
7949         copy&paset from useradd help message.
7950
7951         * 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:
7952         fixes in help message:
7953         s/login/LOGIN/
7954         s/new login directory/new home directory/
7955         s/new initial login group/new primary group/
7956         s/tlist of supplementary/new tlist of supplementary/
7957         s/LOGIN/NEW_LOGIN/
7958
7959         * 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:
7960         cleanups in usermod help message.
7961
7962         * po/es.po, po/eu.po, po/fi.po, po/tl.po: cleanups.
7963
7964         * 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:
7965         s/\\\t /\\\t/
7966
7967 2006-06-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
7968
7969         * NEWS, configure.in, man/Makefile.am:
7970         reverte using docbook.sourceforge.net in XSLT url.
7971
7972         * po/pl.po: cleanups.
7973
7974 2006-06-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
7975
7976         * man/Makefile.am:
7977         improved gen-xmls target: now this target generates only missing xml files.
7978
7979 2006-06-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
7980
7981         * NEWS, po/sk.po:
7982         updated for 4.0.16 (by Peter Mann <Peter.Mann@tuke.sk>).
7983
7984         * NEWS, po/es.po:
7985         updated for 4.0.16 (by Ruben Porras <nahoo82@gmail.com>).
7986
7987         * NEWS, po/fi.po:
7988         updated for 4.0.16 (by Tommi Vainikainen <thv+debian@iki.fi>).
7989
7990         * NEWS, man/cs/Makefile.am, man/cs/groupmems.8, man/cs/groupmod.8, man/cs/grpck.8, man/cs/gshadow.5:
7991         new cs man pages: groupmems(8), groupmod(8), grpck(8), gshadow(5)
7992         (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
7993
7994         * NEWS, po/cs.po:
7995         updated for 4.0.16 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
7996
7997 2006-06-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
7998
7999         * NEWS, configure.in, man/Makefile.am:
8000         regenerate roff man pages using docbook-style-xsl-1.70.1.
8001         This version uses new base URL: http://docbook.sf.net/release/xsl/current/
8002
8003         * man/.cvsignore: shadow-man-pages.pot added.
8004
8005         * man/Makefile.am:
8006         added temporary gen-xmls targed and dependencies beetwen .pot and .po files.
8007
8008         * man/chgpasswd.8.xml: removed <!DOCTYPE> tag (isn't neccessary).
8009
8010 2006-05-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
8011
8012         * man/pl/pl.po: chage(1) translation.
8013
8014         * man/pl/Attic/chage.1.xml: removed.
8015
8016         * man/chage.1.xml, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po:
8017         chage requires shadow access and can't work without this.
8018
8019         * po/da.po:
8020         updated for 4.0.16 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8021
8022         * po/pl.po: s/_DAYS/_DNI/
8023
8024 2006-05-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8025
8026         * NEWS: s/OWL/Owl/
8027
8028         * NEWS: new release date for 4.0.16 is 05-06-2006.
8029
8030         * NEWS: fixed last usermod changes comment. Current is:
8031         better fix for old CERT VU#312962 (which was fixed in shadow 4.0.8):
8032         fixed forgoten checking of the return value from fchown() before
8033         proceeding with the fchmod() (based on Owl patch prepared by
8034         Rafal Wojtczuk <nergal@owl.openwall.com>)
8035
8036         * src/useradd.c (create_mail):
8037         move checking create_mail_spool is "yes" on top function.
8038
8039         * man/pl/pl.po: cleanups.
8040
8041         * po/fr.po:
8042         plugged fuzzy (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8043
8044         * po/fr.po:
8045         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8046
8047 2006-05-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
8048
8049         * man/Makefile.am:
8050         simplifications in update-po target and fixes in dist-po-files target.
8051
8052         * NEWS, po/eu.po:
8053         updated for 4.0.16 (by Piarres Beobide <pi@beobide.net>).
8054
8055 2006-05-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8056
8057         * 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:
8058         bunch of cleanups in chfn(1), faillog(8), gpasswd(1), groupadd(8),
8059         groupmems(8), limits(5), login(1), login.defs(5), newgrp(1), passwd(1),
8060         passwd(5) and su(1) (by Yuri Kozlov <kozlov.y@gmail.com>).
8061
8062         * man/Makefile.am, man/ru/ru.po: added ru to LINGUAS.
8063
8064         * po/ru.po: updated for 4.0.16 (by Yuri Kozlov <kozlov.y@gmail.com>).
8065
8066 2006-05-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
8067
8068         * man/fr/fr.po, man/pl/pl.po, man/chage.1.xml, man/passwd.1.xml:
8069         s/-n/-m/ in passwd(1). Improved -m, --mindays description in chage(1) and passwd(1).
8070         More pl translations.
8071
8072         * po/vi.po: updated (by Clytie Siddall <clytie@riverland.net.au>).
8073
8074         * NEWS, po/hu.po:
8075         updated for 4.0.16 (by Gabor Kelemen <kelemeng@gnome.hu>).
8076
8077 2006-05-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
8078
8079         * man/cs/Makefile.am, man/it/Makefile.am, man/ru/Makefile.am:
8080         id and sulogin executables are not installed by "make install",
8081         but a few translated man pages are still installed.
8082         (patch by Lasse Collin <lasse.collin@tukaani.org>)
8083
8084 2006-05-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8085
8086         * NEWS, po/vi.po:
8087         updates for 4.0.16 (by Clytie Siddall <clytie@riverland.net.au>).
8088
8089         * po/gl.po: updated for 4.0.16 (by Jacobo Tarrio <jtarrio@debian.org>).
8090
8091 2006-05-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8092
8093         * po/pl.po: more cleanups.
8094
8095         * po/fr.po:
8096         updated for 4.0.16 (by Christian Perrier <bubulle@kheops.frmug.org>).
8097
8098         * 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:
8099         use common style in FILES sections.
8100
8101         * 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:
8102         begin <refpurpose> text from lowercase.
8103
8104         * man/fr/fr.po, man/pl/pl.po, man/pwconv.8.xml, man/vipw.8.xml:
8105         remove "." from <refpurpose>.
8106
8107         * po/pl.po: cleanups.
8108
8109         * po/pl.po: typo.
8110
8111         * 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:
8112         *.xml added.
8113
8114         * 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:
8115         .xml2po.mo added.
8116
8117         * NEWS, man/pl/vipw.8: update pl vipw(8) man page.
8118
8119         * src/useradd.c: s/mailbox/mailbox file/
8120
8121         * man/pl/pl.po: seems vipw finished.
8122
8123         * man/fr/fr.po, man/vipw.8.xml: s/Quiet mode database./Quiet mode./
8124
8125         * man/pl/pl.po: more entries.
8126
8127         * 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:
8128         /mailbox/mailbox file/
8129
8130         * man/pl/pl.po: fill few entries.
8131
8132         * man/Makefile.am: fixes in dist-po-files target.
8133
8134         * man/Makefile.am: pl added to Linguas. Some mprovements.
8135
8136         * man/fr/fr.po:
8137         initial version based on ond version submited by Christian Perrier <bubulle@debian.org>.
8138
8139         * man/pl/pl.po: initial version.
8140
8141         * man/Makefile.am:
8142         implemet update-po target and dist, dist-check hooks for put .po and
8143         .pot files in dist tar ball.
8144
8145         * src/chgpasswd.c:
8146         reverte struct group newgr declaration but use them only conditionaly (#ifndef SHADOWGRP).
8147
8148 2006-05-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8149
8150         * NEWS, configure.in: schedule release 4.0.16 to 29.05.06.
8151
8152         * po/pl.po: updated.
8153
8154         * 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:
8155         run "make update-po".
8156
8157         * NEWS, src/useradd.c:
8158         fixed userdel CERT VU#312962: fixed forgoten checking of the return
8159         value from fchown() before proceeding with the fchmod() (prepared
8160         based on OWL fix submited by Solar Designer <solar@openwall.com>),
8161         Use in userdel login.defs::MAIL_DIR instead hardcoded /var/mail on created
8162         mailbox path (based on OWL fixes submited by Solar Designer <solar@openwall.com>).
8163
8164 2006-05-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8165
8166         * man/.cvsignore: added *.[1358]
8167
8168         * NEWS, man/ru/Makefile.am, man/ru/chgpasswd.8:
8169         added chgpasswd(8) ru man page (by Yuri Kozlov <kozlov.y@gmail.com>).
8170
8171         * po/gl.po: updated (by Jacobo Tarrio <jtarrio@debian.org>).
8172
8173         * NEWS, man/ru/login.defs.5, man/ru/passwd.1, man/ru/userdel.8, man/ru/usermod.8:
8174         updated ru login.defs(5), passwd(1), userdel(8), usermod(8) man pages
8175         (by Yuri Kozlov <kozlov.y@gmail.com>).
8176
8177         * NEWS, po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
8178
8179         * NEWS, po/pt.po: updated (by Miguel Figueiredo <elmig@debianpt.org>).
8180
8181 2006-05-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8182
8183         * 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:
8184         pw_auth(3) man page removed (outdated).
8185
8186         * 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:
8187         install limits(5), login.access(5) and porttime(5) man pages only when
8188         shadow is builded with PAM support disabled.
8189
8190         * NEWS: cleanups.
8191
8192         * autogen.sh:
8193         by default in development enviroment use CFLAGS="-O2 -Wall".
8194
8195         * src/chgpasswd.c (main): remove two unused variables (newgr and now).
8196
8197         * src/userdel.c (main): removed unused arg variable.
8198
8199         * libmisc/setupenv.c (setup_env):
8200         move *cp varable to #ifndef PAM part (fixed compilation
8201         warning about unused variable).
8202
8203         * lib/getdef.c: now GETPASS_ASTERISKS is SKEY #define dependent.
8204
8205         * configure.in, NEWS, lib/Attic/getpass.c, lib/pwauth.c:
8206         by default do not use libshadow_getpass() as getpass() replacemement.
8207         Use libshadow_getpass() only when S/KEY support is enabled.
8208         Current glibc getpass() handles correctly longer than 8 characters
8209         passwords and libshadow_getpass() is used only because libc getpass()
8210         do not handles password prompting with echo enabled.
8211
8212         * src/sulogin.c: break long line.
8213
8214         * lib/pwauth.c:
8215         added #include <unistd.h> and remove localy defined getpass() prototype.
8216
8217 2006-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8218
8219         * man/Makefile.am: removed dupplicated sulogin.8.xml from EXTRA_DIST.
8220
8221         * man/Attic/pw_auth.3.xml, man/Makefile.am: remove pw_auth(3) man page.
8222
8223         * NEWS, lib/getdef.c: move login.defs::MD5_CRYPT_ENAB to non-PAM part.
8224
8225         * 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:
8226         typo (s/removel/removal/)
8227
8228 2006-05-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8229
8230         * man/userdel.8.xml:
8231         updated (after add getopt_log() support for userdel).
8232
8233         * po/pl.po: updated.
8234
8235         * 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:
8236         userdel rewrited for use getopt_log().
8237
8238         * po/pl.po: cleanups.
8239
8240         * etc/pam.d/Makefile.am, etc/pam.d/chgpasswd: new file.
8241
8242 2006-05-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
8243
8244         * NEWS, po/da.po:
8245         updated (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8246
8247 2006-05-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8248
8249         * NEWS, po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
8250
8251         * NEWS, configure.in, etc/Makefile.am, etc/pam.d/Makefile.am:
8252         install default/template configuration files:
8253         - if shadow is configured with use PAM install /etc/pam.d/* files,
8254         - if shadow do not uses PAM install /etc/{limits,login.acces} files,
8255         - install /etc/login.defs and /etc/default/useradd files.
8256
8257         COMMENT: it is possible to extend this for install above files for specified
8258         distribution. For example: if exist /etc/fedora-release install Fedora specyfic
8259         default configuration files and this files can be distributed in dist tar ball.
8260
8261         * NEWS, po/gl.po: updated (by Jacobo Tarrio <jtarrio@trasno.net>).
8262
8263 2006-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8264
8265         * NEWS, po/fr.po:
8266         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
8267
8268         * NEWS, lib/commonio.c:
8269         fixed handle relative symlinks too in lib/commonio.c (merge patch from Fedora).
8270
8271         * NEWS, lib/nscd.c: properly notify nscd to flush its cache
8272         (https://bugzilla.redhat.com/bugzilla/186803).
8273
8274         * NEWS, libmisc/copydir.c (copy_tree):
8275         fixes for verify return values mkdir() and chown()
8276         on copy files (merge 482_libmisc_copydir_check_return_values Debian patch).
8277
8278         * 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:
8279         use '%s' cytation instead `%s'.
8280
8281         * NEWS, src/su.c:
8282         reverte http://bugs.debian.org/276419 (this is Debian specyfic).
8283
8284         * 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:
8285         use '%s' cytation instead \"%s\".
8286
8287         * 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:
8288         typo.
8289
8290         * po/pl.po: updated.
8291
8292         * NEWS, libmisc/setupenv.c (setup_env):
8293         export MAIL only when MAIL_CHECK_ENAB is enabled
8294         (Mike Frysinger <vapier@gentoo.org>).
8295
8296         * po/ja.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:
8297         warn when the members of a group differ in /etc/groups and /etc/gshadow
8298         (fixed http://bugs.debian.org/75181).
8299
8300         * NEWS, src/su.c:
8301         concatenate the non-su arguments and provide them to the shell with
8302         the -c option (fixes for http://bugs.debian.org/317264 and
8303         http://bugs.debian.org/276419).
8304
8305 2006-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8306
8307         * NEWS, man/passwd.1.xml:
8308         better document how password strength is checked (fixed http://bugs.debian.org/115380).
8309
8310 2006-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8311
8312         * NEWS, man/usermod.8.xml:
8313         added missing -a option description (by Christian Perrier <bubulle@debian.org>).
8314
8315 2006-04-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8316
8317         * NEWS, man/hu/chsh.1, man/hu/login.1, man/hu/newgrp.1:
8318         fixed typos (by Koblinger Egmont <egmont@uhulinux.hu>).
8319
8320 2006-04-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8321
8322         * NEWS, po/LINGUAS, po/hu.po:
8323         new hu translation (by SZERVÁC Attila <sas@321.hu>).
8324
8325 2006-04-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8326
8327         * man/userdel.8.xml:
8328         minior fixes for the note under the -f option (Mike Frysinger <vapier@gentoo.org>).
8329
8330 2006-04-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8331
8332         * NEWS, po/id.po: updatd (by Parlin Imanuel <pimanuel@gmail.com>).
8333
8334 2006-04-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8335
8336         * src/su.c: indent code.
8337
8338         * NEWS, src/su.c:
8339         fixed exit with a status 0 when the invoked command is terminated
8340         by a signal which was not catched
8341         (fixed by Eero Häkkinen <eero17@bigfoot.com>)
8342
8343         * README:
8344         simple patch to fixup grammar and Gentoo distfile URL (by Mike Frysinger <vapier@gentoo.org>).
8345
8346 2006-03-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
8347
8348         * 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:
8349         removed <!DOCTYPE> tag (require strict DocBook XML V4.3//EN DTD isn't neccessary).
8350
8351         * NEWS, src/login.c:
8352         cancel login timeout after authentication so that patient people
8353         timing out on network directory services can log in with local
8354         accounts (http://bugs.debian.org/107148).
8355
8356         * man/fr/login.defs.5, man/ja/login.defs.5, man/pl/useradd.8, man/ru/login.defs.5:
8357         remove CREATE_HOME.
8358
8359         * NEWS, man/login.defs.5.xml:
8360         CREATE_HOME is not supported by useradd (patch by Mike Frysinger <vapier@gentoo.org>).
8361
8362 2006-03-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
8363
8364         * po/nl.po:
8365         s/wachtwoord is mes succes aangepast/wachtwoord is met succes aangepast/
8366         (typo reported by Wim De Smet <wdesmet@yucom.be>).
8367
8368 2006-03-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
8369
8370         * src/passwd.c:
8371         removed GPASSWD_PROGRAM, CHFN_PROGRAM CHFN_PROGRAM #defines (not used now).
8372
8373         * NEWS, man/Makefile.am, man/chgpasswd.8.xml:
8374         chgpasswd(8): new man page.
8375
8376 2006-03-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8377
8378         * 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:
8379         remove english roff man pages from repo.
8380
8381 2006-03-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8382
8383         * NEWS, src/chgpasswd.c:
8384         fixes for build correctly with --disable-shadowgrp
8385         (patch by Johannes Winkelmann <jw@tks6.net>)
8386
8387 2006-03-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8388
8389         * man/pl/chage.1: fixed typo.
8390
8391 2006-03-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8392
8393         * po/it.po:
8394         updated for 4.0.15 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8395
8396 2006-03-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8397
8398         * NEWS, po/nb.po:
8399         updated for 4.0.15 (by Bjørn Steensrud <bjornst@powertech.no>).
8400
8401         * po/pt.po:
8402         updated for 4.0.15 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8403
8404         * man/Makefile.am, NEWS, configure.in:
8405         do not install translated man pages if shadow is configured with --disable-nls
8406         (based patch submited by Mike Frysinger <vapier@gentoo.org>).
8407
8408         * NEWS, po/pt_BR.po:
8409         updated for 4.0.15 (by Andre Luis Lopes <andrelop@debian.org>).
8410
8411         * po/fr.po:
8412         updated for 4.0.15 (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8413
8414 2006-03-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8415
8416         * NEWS, configure.in, lib/pwauth.c:
8417         added fixes for detect BSD's S/Key with updated the skeychallenge() function
8418         for take a fourth argument in case BSD version
8419         (patch submited by Mike Frysinger <vapier@gentoo.org>)
8420
8421         * README: added paragragraph about S/Key support.
8422
8423         * po/sk.po: updated for 4.0.15 (by Peter Mann <Peter.Mann@tuke.sk>).
8424
8425         * NEWS: newgrp: do not link with libselinux.
8426
8427         * NEWS, po/zh_CN.po:
8428         updated for 4.0.15 (by Carlos Z.F. Liu <carlosliu@users.sourceforge.net>).
8429
8430         * po/ru.po: updated for 4.0.15 (by Yuri Kozlov <kozlov.y@gmail.com>).
8431
8432         * src/Makefile.am:
8433         removed $(LIBSELINUX) from newgrp_LDADD (newgrp does not need to be linked
8434         with SELinux libraries).
8435
8436         * 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:
8437         ru man pages: added new nologin(8) and updated all other man pages
8438         (by Yuri Kozlov <kozlov.y@gmail.com>).
8439
8440 2006-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
8441
8442         * NEWS, po/nl.po:
8443         updated for 4.0.15 (by cobaco (aka Bart Cornelis) <cobaco@linux.be>).
8444
8445         * po/vi.po:
8446         updated for 4.0.15 (by Clytie Siddall <clytie@riverland.net.au>).
8447
8448         * po/sv.po:
8449         updated for 4.0.15 (by Daniel Nylander <po@danielnylander.se>).
8450
8451 2006-03-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8452
8453         * po/eu.po: updated for 4.0.15 (by pi <pi@beobide.net>).
8454
8455         * po/ro.po: cleanups.
8456
8457         * NEWS, po/tl.po:
8458         updated for 4.0.15 (by Eric Pareja <xenos@upm.edu.ph>).
8459
8460         * po/ro.po: updated for 4.0.15 (by Sorin B. <sorin@bonbon.net>).
8461
8462         * NEWS, po/es.po:
8463         updated for 4.0.15 (by Ruben Porras <nahoo82@gmail.com>).
8464
8465 2006-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8466
8467         * NEWS, po/da.po:
8468         updated for 4.0.15 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8469
8470         * NEWS, man/fi/chsh.1, man/fi/su.1:
8471         update fi chsh(1), su(1) man pages generated from XML files
8472         (Tommi Vainikainen <thv+debian@iki.fi>).
8473
8474         * NEWS, po/fi.po:
8475         updated for 4.0.15 (by Tommi Vainikainen <thv+debian@iki.fi>).
8476
8477         * NEWS, po/cs.po:
8478         updated for 4.0.15 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8479
8480         * 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:
8481         added new cs man pages: expiry(1), faillog(5), faillog(8), gpasswd(1),
8482         groupadd(8), groupdel(8), logoutd(8), nologin(8), vipw(8).
8483
8484         * NEWS: typo.
8485
8486         * src/useradd.c, NEWS, lib/getdef.h, man/Attic/login.defs.5, man/login.defs.5.xml, src/login.c, src/newusers.c:
8487         default UMASK if not specified in login.defs is 022.
8488
8489 2006-03-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8490
8491         * po/pl.po: updated for 4.0.15.
8492
8493         * NEWS, po/gl.po:
8494         updated for 4.0.15 (by Jacobo Tarrio <jtarrio@trasno.net>).
8495
8496         * NEWS, configure.in: schedule release 4.0.15 to 13-03-2006.
8497
8498 2006-03-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8499
8500         * NEWS: typo (s/onas Meurer/Jonas Meurer/)
8501
8502         * src/.cvsignore: added chgpasswd.
8503
8504         * 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:
8505         chgpasswd: new tool (by Jonas Meurer <mejo@debian.org>).
8506
8507         * 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:
8508         s/Unexpected/unexpected/
8509
8510         * 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:
8511         print the usage and exit if an additional argument is profided to
8512         lastlog (merge 488_laslog_verify_arguments Debian patch).
8513
8514 2006-03-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
8515
8516         * man/Attic/chpasswd.8, man/chpasswd.8.xml:
8517         fixed CAVEATS section (by Justin Pryzby <justinpryzby@users.sourceforge.net>)
8518
8519 2006-02-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8520
8521         * man/Attic/passwd.1, man/passwd.1.xml:
8522         fixed SYNOPSIS section (http://bugs.debian.org/352136).
8523
8524 2006-02-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8525
8526         * po/ro.po: updated (by Sorin Batariuc <sorin@bonbon.net>).
8527
8528 2006-02-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
8529
8530         * NEWS, lib/Makefile.am, src/Makefile.am:
8531         login, nologin, su: do not link with libselinux
8532         (merge 490_link_selinux_only_when_needed Debian patch).
8533
8534         * NEWS, src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c:
8535         fixed confusing error message if /proc is not mounted
8536         (http://bugs.debian.org/352494
8537         patch Nicolas François <nicolas.francois@centraliens.net>)
8538
8539         * po/ro.po:
8540         updated (commited http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347755).
8541
8542         * NEWS, po/ca.po: updated (by Jordi Mallach <jordi@debian.org>).
8543
8544 2006-02-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8545
8546         * man/gpasswd.1.xml, man/passwd.1.xml, man/passwd.5.xml, man/pwck.8.xml, man/sg.1.xml, man/useradd.8.xml:
8547         cleanups.
8548
8549         * po/gl.po: updated (Jacobo Tarrio <jtarrio@trasno.net>).
8550
8551         * NEWS, po/pt.po:
8552         updated (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8553
8554 2006-02-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8555
8556         * NEWS, po/it.po:
8557         update (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8558
8559         * po/vi.po: update (by Clytie Siddall <clytie@riverland.net.au>).
8560
8561         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
8562
8563 2006-02-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
8564
8565         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
8566
8567         * 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:
8568         run "make update-po".
8569
8570         * po/pl.po: updated.
8571
8572         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
8573
8574         * po/eu.po: update (by ^pi^ <pi@beobide.net>).
8575
8576 2006-02-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8577
8578         * NEWS, src/login.c:
8579         merge 433_login_more_LOG_UNKFAIL_ENAB Debian patch:
8580         - TOO MANY LOGIN... logged if PAM_MAXTRIES or failcount >= retries
8581           (was onl test PAM_MAXTRIES),
8582         - print to stderr (in addition to syslog) in case of maximum number of
8583           tries exceeded,
8584         - always prints the number of tries in the syslog entry.
8585         - add special handling for PAM_ABORT
8586         - add an entry to failog, as when USE_PAM is not defined. (#53164)
8587         - changed pam_end to PAM_END. This is certainly was a mistake.
8588           PAM_END is pam_close_seesion + pam_end. Here, the session is still not
8589           open, we don't have to close it.
8590         - a HAVE_PAM_FAIL_DELAY is missing
8591
8592         * po/ro.po: kill one fuzzy.
8593
8594         * po/ro.po, NEWS: updated (by Sorin B. <sorin@bonbon.net>).
8595
8596         * src/gpasswd.c: s/die/catch_signals/
8597
8598         * src/expiry.c, src/sulogin.c: s/catch/catch_signals/
8599
8600         * src/su.c: /su_catch_sig/chatch_signals/
8601
8602 2006-02-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8603
8604         * src/id.c, src/groups.c, libmisc/getdate.y: lint code using CC=g++.
8605
8606         * NEWS, src/su.c:
8607         fixed pam session support (patch from Topi Miettinen; fixed #57526, #55873,
8608         #57532 Debian bugs).
8609
8610         * NEWS:
8611         fixed pam session support (patch from Topi Miettinen; fixed #57526,
8612         #55873, #57532 Debian bugs).
8613
8614         * NEWS, src/userdel.c:
8615         user's group is already removed by update_groups(). remove_group()
8616         is not needed (bug introduced in 4.0.14 on merge FC fixes). Fixed by Nicolas
8617         François <nicolas.francois@centraliens.net>
8618
8619         * NEWS, src/useradd.c: allways remove group and gshadow databases lock,
8620         Fixed by Nicolas François <nicolas.francois@centraliens.net>
8621         (http://bugs.debian.org/348250)
8622
8623         * NEWS, src/userdel.c: fixed excess audit_logger() argument.
8624
8625         * NEWS, lib/prototypes.h:
8626         corrected prototypes in lib/prototypes.h (thre is no audit_help_log(); added
8627         audit_logger() prototype).
8628
8629         * src/login.c: fixed missing ";" in declaration.
8630
8631         * man/Attic/limits.5, man/limits.5.xml:
8632         fixed example limits string (by Yuri Kozlov <kozlov.y@gmail.com>).
8633
8634 2006-02-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8635
8636         * 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:
8637         added missing \n on display password status if password must be chaged.
8638
8639 2006-02-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
8640
8641         * src/useradd.c, NEWS:
8642         fixed allow non-unique UID (http://bugs.debian.org/351281).
8643
8644 2006-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8645
8646         * po/cs.po: updated (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8647
8648 2006-01-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
8649
8650         * NEWS, po/vi.po:
8651         updated (by Clytie Siddall <clytie@riverland.net.au>).
8652
8653 2006-01-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
8654
8655         * po/fr.po:
8656         typo (fixed by Christian Perrier <bubulle@kheops.frmug.org>).
8657
8658         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
8659
8660 2006-01-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
8661
8662         * 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:
8663         fixes some issues that cause warnings when the manpages are
8664         displayed (by Nicolas François <nicolas.francois@centraliens.net>).
8665
8666 2006-01-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8667
8668         * NEWS, po/eu.po: updated (by pi <pi@beobide.net>).
8669
8670         * libmisc/addgrps.c, libmisc/xmalloc.c, src/groups.c:
8671         fixes after linting code using CC=g++: cast {m,re}alloc() return value to
8672         proper type.
8673
8674 2006-01-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8675
8676         * 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:
8677         uniformity and grammar fixes (by Christine Spang <spangarang@twcny.rr.com>).
8678
8679         * NEWS, po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
8680
8681 2006-01-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8682
8683         * po/fr.po, NEWS:
8684         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
8685
8686 2006-01-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
8687
8688         * 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:
8689         variouse code cleanups for make possible compilation of shadow with
8690         -Wall -Werror (by Alexander Gattin <xrgtn@yandex.ru>).
8691
8692         * 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:
8693         move exit() outside libmisc/shell.c::shell() for handle shell() errors
8694         on higher level (now is better visable where some programs exit with 126 and
8695         127 exit codes); added new shell() parameter (char *const envp[]) which allow
8696         fix preserving enviloment in su on using -p.
8697         (patch by Alexander Gattin <xrgtn@yandex.ru>)
8698
8699         * NEWS, po/el.po:
8700         updated (by Konstantinos Margaritis <markos@debian.org>).
8701
8702 2006-01-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
8703
8704         * lib/exitcodes.h: new #defines:
8705         #define E_CMD_NOEXEC           126     /* can't run command/shell */
8706         #define E_CMD_NOTFOUND         127     /* can't find command/shell to run */
8707
8708 2006-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8709
8710         * man/Attic/passwd.1, man/passwd.1.xml:
8711         fixes after reviewed for grammatical and other small errors that detract from the
8712         polish of the content to native English speakers.
8713         I also went ahead and changed all gender references to be a consistent
8714         "his/her" (or equivalent) - the original had a mix of just "his", just
8715         "her", and occasionally "his/her".
8716         (by Christine Spang <spangarang@twcny.rr.com>).
8717
8718         * po/it.po: updated (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8719
8720 2006-01-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
8721
8722         * NEWS: updated.
8723
8724         * libmisc/shell.c: remove DEBUG code.
8725
8726         * po/LINGUAS, po/gl.po, NEWS:
8727         added new gl translation (by Jacobo Tarrio <jtarrio@trasno.net>).
8728
8729 2006-01-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8730
8731         * po/eu.po: small update (by pi <pi@beobide.net>).
8732
8733 2006-01-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
8734
8735         * src/su.c: fixed compilation error.
8736
8737 2006-01-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8738
8739         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>)
8740         http://bugs.debian.org/346449
8741
8742 2006-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8743
8744         * NEWS, man/Attic/useradd.8, man/useradd.8.xml:
8745         better document useradd -d option: will not add the user's home directory
8746         if it does not already exist (http://bugs.debian.org/154996)
8747
8748         * 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:
8749         added handle -c,--command option for GNU su compliance (merge
8750         437_su_-c_option Debian Patch).
8751
8752         * man/Attic/login.1, man/Attic/passwd.1, man/Attic/su.1, man/login.1.xml, man/passwd.1.xml, man/su.1.xml:
8753         man pages cleanups.
8754         (http://bugs.debian.org/341489)
8755
8756         * NEWS, man/Attic/nologin.8, man/Makefile.am, man/nologin.8.xml:
8757         nologin(8) man pages added (merge 478_nologin.8.xml Debian patch).
8758
8759         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>)
8760         http://bugs.debian.org/346376
8761
8762 2006-01-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8763
8764         * po/id.po: updated (by Parlin Imanuel <parlin_i@yahoo.com>)
8765         http://bugs.debian.org/345514
8766
8767         * 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:
8768         added translate login prompt string (suggested by Evgeniy Dushistov).
8769
8770 2006-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8771
8772         * NEWS, configure.in: start work on 4.1.0.
8773
8774         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
8775         http://bugs.debian.org/346017
8776
8777 2006-01-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
8778
8779         * NEWS: correct 4.0.14 release date (03-01-2006).
8780
8781         * src/Makefile.am: reverte install nologin in sbindir and use usbindir.
8782
8783         * po/POTFILES.in: removed src/chsh_chkshell.c.
8784
8785         * lib/prototypes.h: remove grdbm.c prototypes.
8786
8787         * lib/prototypes.h, src/Attic/chsh_chkshell.c, src/Makefile.am, src/chsh.c:
8788         move check_shell() from src/chsh_chkshell.c to src/chsh.c.
8789
8790         * configure.in:
8791         s/libpam_misc is missing/libpam_misc is missing for enable PAM support/
8792
8793 2006-01-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
8794
8795         * etc/pam.d/.cvsignore: added.
8796
8797         * src/su.c: indent code.
8798
8799         * src/su.c:
8800         without it, $(su - user -c "echo \$SHELL") wont return the good value, but
8801         $(su user -c "echo \$SHELL") will.
8802         I think LOGNAME can also be set (this is done in setup_env, in the
8803         fakelogin case).
8804         (by Nicolas François <nicolas.francois@centraliens.net>)
8805
8806         * src/su.c:
8807         simplifies how -p is handled (at least for its documentation).
8808         (by Nicolas François <nicolas.francois@centraliens.net>)
8809
8810         * src/su.c: fixes "su - -- root" or "su - root -- -c" (it is needed if
8811         the second patch is applied).
8812         (by Nicolas François <nicolas.francois@centraliens.net>)
8813
8814         * src/su.c:
8815         This second patch changes the way options are handled by getopt. Once a
8816         non-su option is found, the getopt processing is stopped.
8817         Whithout this patch, "su root -c ls" won't work (getopt will complain that
8818         -c is not an su option).
8819         (by Nicolas François <nicolas.francois@centraliens.net>).
8820
8821         * 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:
8822         prepare for use on Fedora Core.
8823
8824         * po/cs.po, po/pl.po: run "make update-po".
8825
8826         * src/Makefile.am: move nologin to sbindir.
8827
8828         * man/Attic/groupadd.8, man/groupadd.8.xml: s/gid/GID/
8829
8830         * man/Attic/lastlog.8, man/Attic/useradd.8, man/lastlog.8.xml, man/useradd.8.xml:
8831         s/uid/UID/
8832
8833 2005-12-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8834
8835         * po/tl.po: updated for 4.0.14 (by Eric Pareja <xenos@upm.edu.ph>).
8836
8837 2005-12-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
8838
8839         * NEWS, po/ca.po:
8840         updated for 4.0.14 (by Guillem Jover <guillem@debian.org>).
8841
8842 2005-12-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8843
8844         * po/el.po:
8845         updated for 4.0.14 (by Konstantinos Margaritis <markos@debian.org>).
8846
8847 2005-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
8848
8849         * doc/.cvsignore, etc/.cvsignore, lib/.cvsignore, po/.cvsignore, src/.cvsignore, .cvsignore, contrib/.cvsignore:
8850         added a lot of generated files they are not listed in .cvsignore files
8851         (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8852
8853         * src/su.c:
8854         fixed some comments and replace getuid() by !amroot. This removes a system
8855         call and may be more readable (Nicolas François <nicolas.francois@centraliens.net>).
8856
8857         * man/Attic/su.1, man/su.1.xml:
8858         added forgoten the SHELL argument description (by Nicolas François <nicolas.francois@centraliens.net>).
8859
8860         * man/Attic/useradd.8, man/useradd.8.xml:
8861         s/group/user/ (cached by Nicolas François).
8862
8863 2005-12-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8864
8865         * man/ko/vigr.8: added.
8866
8867         * po/it.po:
8868         updated for 4.0.14 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8869
8870 2005-12-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8871
8872         * NEWS, po/pt.po:
8873         updated for 4.0.14 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8874
8875         * src/useradd.c:
8876         s/grp_update/grp_add/ in comment (by Nicolas François <nicolas.francois@centraliens.net>).
8877
8878         * man/Attic/login.1, man/login.1.xml:
8879         added use <envar></envar> tags instead <emphasis></emphasis>.
8880
8881         * man/Attic/su.1, man/su.1.xml: added use <envar></envar>.
8882
8883         * man/Attic/su.1, man/su.1.xml:
8884         updated man page after change su for use getopt_long()
8885         (by Nicolas François <nicolas.francois@centraliens.net>)
8886
8887 2005-12-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
8888
8889         * NEWS, po/fi.po:
8890         updated for 4.0.14 (by Tommi Vainikainen <thv+debian@iki.fi>).
8891
8892         * po/ru.po: updated for 4.0.14 (by Yuri Kozlov <kozlov.y@gmail.com>).
8893
8894         * man/ru/login.1, man/ru/passwd.1, man/ru/pwck.8, man/ru/vipw.8:
8895         updated (by Yuri Kozlov <kozlov.y@gmail.com>_.
8896
8897         * doc/Attic/README.linux, doc/Makefile.am: removed.
8898
8899         * README, doc/Attic/README.linux:
8900         move contributors list from doc/README.linux to README.
8901
8902         * doc/Attic/LSM, doc/Attic/README, doc/Makefile.am:
8903         removed (outdated content).
8904
8905         * NEWS, po/cs.po:
8906         updated cs.po for 4.0.14 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8907
8908         * po/pl.po: updated.
8909
8910         * po/fr.po:
8911         kill one fuzzy (by Christian Perrier <bubulle@kheops.frmug.org>).
8912
8913         * NEWS, po/da.po:
8914         updated da.po for 4.0.14 (by Claus Hindsgaul <claus_h@image.dk>).
8915
8916         * po/eu.po: updated for 4.0.14 (by pi <pi@beobide.net>).
8917
8918         * NEWS, po/vi.po:
8919         updated vi.po fo 4.0.14 (by Clytie Siddall <clytie@riverland.net.au>).
8920
8921 2005-12-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8922
8923         * NEWS: set release day for 4.0.14 to 19-12-2005.
8924
8925         * src/login.c:
8926         removed #include "libaudit.h" (it is conditionaly included in "defines.h").
8927
8928         * src/su.c:
8929         replaced "shell" by "shellstr". "shell" is also the name of a function.
8930         (Nicolas François <nicolas.francois@centraliens.net>).
8931
8932         * src/vipw.c: - added missing break in case 'q'.
8933
8934         * 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:
8935         added es, ko vigr(8) and vipw(8), hu lastlog(8), ko vipw(8), zh_CN su(1),
8936         zh_TW chpasswd(8) and su(1),
8937
8938 2005-12-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8939
8940         * doc/Attic/LICENSE, doc/Makefile.am, COPYING:
8941         move doc/LICENSE to COPYING.
8942
8943         * doc/WISHLIST: remove some outdated/finished things.
8944
8945         * doc/Attic/README.nls, doc/Attic/README.pam, doc/Makefile.am: removed.
8946
8947 2005-12-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
8948
8949         * 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:
8950         run "make update-po" (merge changes in su messages).
8951
8952         * NEWS, src/su.c:
8953         added handle -s/--shell, -m/-p/preserve-environment options like GNU su
8954         (based on patches from Debian submited by
8955         Nicolas François <nicolas.francois@centraliens.net>)
8956
8957         * NEWS: updated.
8958
8959         * src/su.c:
8960         added handle -s/--shell option like in GNU su (based on Debian patch sublmited
8961         by Nicolas François <nicolas.francois@centraliens.net>).
8962
8963         * src/su.c:
8964         make -, -l , --login option as no_argument (based on fix by Nicolas François).
8965
8966         * po/it.po:
8967         cosmetic fixes (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8968
8969 2005-12-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
8970
8971         * man/es/Makefile.am: s/patches/passwd/
8972
8973 2005-12-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8974
8975         * 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:
8976         added tr man pages.
8977
8978         * 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:
8979         added es, hu, pt_BR, zh_CN zh_TW translations passwd(5).
8980
8981         * man/Attic/id.1, man/Attic/pw_auth.3, man/Attic/sulogin.8:
8982         regenerated.
8983
8984         * man/ko/Makefile.am: added su.1 to man_MANS.
8985
8986         * man/Makefile.am: reverte incorrect commit.
8987
8988         * 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:
8989         added full set (up to date) fr man pages (by Nicolas François <nicolas.francois@centraliens.net>).
8990
8991 2005-12-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8992
8993         * 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:
8994         cleanups.
8995
8996         * 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:
8997         s/--force /--force/
8998
8999         * 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:
9000         s/--skel SKEL_DIR /--skel SKEL_DIR/
9001
9002         * 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:
9003         s/--delete /--delete/
9004
9005         * NEWS, po/ru.po:
9006         updated ru translatios for 4.0.14 (by Yuri Kozlov <kozlov.y@gmail.com>).
9007
9008         * po/eu.po: finish update for 4.0.14 (by pi <pi@beobide.net>).
9009
9010         * po/it.po:
9011         updated for 4.0.14 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9012
9013 2005-12-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9014
9015         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9016
9017         * NEWS, po/eu.po: Basque translation updated (by pi <pi@beobide.net>).
9018
9019         * 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:
9020         s/LOGIN/login/ in usage() output.
9021
9022 2005-12-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9023
9024         * 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:
9025         rewrited vipw for use getopt_long().
9026
9027         * man/Attic/passwd.1, man/passwd.1.xml: cleanups.
9028
9029         * man/ko/Makefile.am: commented newgrp.1 (must be updated).
9030
9031 2005-12-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9032
9033         * man/Makefile.am: update-po target added.
9034
9035         * man/Attic/pwck.8, man/pwck.8.xml: document -q option.
9036
9037         * NEWS, lib/getdef.c:
9038         $MAIL_FILE is used in userdel and usermod, $MD5_CRYPT_ENAB
9039         is used by crypt_make_salt, which is used by chpasswd, gpasswd and newusers.
9040         Both variables moved to PAM not dependent (447_missing_login.defs_variables
9041         Debian patch).
9042
9043         * NEWS, src/su.c:
9044         export $USER and $SHELL as well as $HOME (http://bugs.debian.org/11003 and
9045         http://bugs.debian.org/11189).
9046
9047         * NEWS, man/Attic/login.1, man/login.1.xml:
9048         document how to initiate a trusted path on linux
9049         (http://bugs.debian.org/305600).
9050
9051         * NEWS, src/chage.c:
9052         fix chage display when the last change field is set to 0.
9053         This is consistent with PAM (merge 427_chage_expiry_0 Debian patch).
9054
9055 2005-12-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9056
9057         * configure.in: added man/fi/Makefile to AC_CONFIG_FILES().
9058
9059         * 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:
9060         convert all translated man pages to UFT-8.
9061
9062         * NEWS, src/userdel.c:
9063         fix incorrect audit record in userdel (https://bugzilla.redhat.com/bugzilla/174392).
9064
9065         * 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:
9066         s/--all /--all/
9067
9068         * 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:
9069         update by some informations about translators (by Christian Perrier) and run "make update-po".
9070
9071 2005-11-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9072
9073         * NEWS, src/su.c:
9074         if an password is expired, su should propose to change this password
9075         (fixed http://bugs.debian.org/321384).
9076
9077         * src/Makefile.am, src/login.c, NEWS:
9078         added auditing support (based on Fedora patch for login from util-linux).
9079
9080         * src/useradd.c: remove use rflg.
9081
9082         * man/ru/Makefile.am: typo.
9083
9084         * po/pl.po: partialy updated.
9085
9086         * 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:
9087         run "make update-po".
9088
9089         * NEWS, src/useradd.c: merge PUG fixes from RedHat patch.
9090
9091 2005-11-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9092
9093         * NEWS, po/it.po:
9094         updated (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9095
9096         * 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:
9097         added full set of ru man pages (by Yuri Kozlov <kozlov.y@gmail.com>).
9098
9099 2005-11-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
9100
9101         * NEWS, src/Makefile.am, src/nologin.c: added nologin program.
9102
9103         * NEWS, src/su.c: rewrited for use getopt_long().
9104
9105 2005-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9106
9107         * po/zh_CN.po: updated (by Ming Hua <minghua@rice.edu>).
9108
9109 2005-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9110
9111         * man/Attic/usermod.8, man/usermod.8.xml:
9112         rewrited for document long options.
9113
9114         * NEWS, src/vipw.c:
9115         added a "quiet" mode (http://bugs.debian.org/190252.
9116
9117         * po/de.po:
9118         fixed wrong translation in german po file (http://bugs.debian.org/338373
9119         by Nico Golde <nico@ngolde.de>).
9120
9121         * 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:
9122         added fi chfn(1), chsh(1), passwd(1), su(1).
9123
9124         * NEWS, man/it/Makefile.am, man/it/newusers.8: added it newusers(8).
9125
9126         * NEWS, po/fr.po:
9127         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9128
9129 2005-11-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9130
9131         * NEWS, src/Makefile.am, src/newgrp.c:
9132         added auditing support for newgrp (by Steve Grubb <sgrubb@redhat.com>).
9133
9134         * NEWS, configure.in, libmisc/audit_help.c:
9135         switch over to a new logging function (by Steve Grubb <sgrubb@redhat.com>).
9136
9137         * README: typo.
9138
9139 2005-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9140
9141         * po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
9142
9143 2005-11-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9144
9145         * configure.in:
9146         s/logdir/shadow_cv_logdir/ fix wrong var name (by Mike Frysinger <vapier@gentoo.org>).
9147
9148         * 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:
9149         move information about all shadow man pages authors from man pages to README file.
9150
9151         * src/userdel.c: added two new error messages to translated phrases.
9152
9153         * NEWS, src/userdel.c:
9154         remove the user's group unless it is not really a user-private group
9155         (based on FC patch).
9156
9157 2005-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9158
9159         * src/usermod.c: fix long name options name in long_options[].
9160
9161 2005-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9162
9163         * src/userdel.c: indent source code.
9164
9165         * NEWS, src/userdel.c:
9166         make the userdel -f option force the removal of the user's group (even if it
9167         is the primary group of another user)
9168         (merge 453_userdel_-f_removes_group Debian patch),
9169
9170         * NEWS, man/Attic/login.1, man/login.1.xml:
9171         better explain the respective roles of login, init and getty with regards
9172         to the utmp file (merge 440_manpages-login.1 Debian patch).
9173
9174         * man/Attic/userdel.8, man/userdel.8.xml:
9175         aphabetic order options description.
9176
9177         * NEWS, man/Attic/userdel.8, man/userdel.8.xml:
9178         document the -f option; document the group removal behavior (merge
9179         455_userdel.8.xml Debian patch).
9180
9181         * NEWS, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
9182         document that useradd/groupadd refuse adding entries already in an
9183         external database (http://bugs.debian.org/282184).
9184
9185         * NEWS, libmisc/sulog.c:
9186         log in successful/failed su through syslog (http://bugs.debian.org/190215).
9187
9188         * 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:
9189         updated it groupdel(8), passwd(1), pwconv(8), useradd(8), userdel(8), usermod(8) man pages
9190         (merge 205_it-manpages Debian patch).
9191
9192         * man/pt_BR/gpasswd.1: merge 204_pt_BR-manpages Debian patch.
9193
9194 2005-10-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
9195
9196         * man/Attic/porttime.5, man/Attic/pwck.8, man/Attic/shadow.3, man/porttime.5.xml, man/pwck.8.xml:
9197         improvements by Yuri Kozlov <kozlov.y@gmail.com>.
9198
9199         * NEWS, po/tl.po: updated (by Eric Pareja <xenos@upm.edu.ph>).
9200
9201         * 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:
9202         remove "." from su message.
9203
9204         * 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:
9205         "make update-po".
9206
9207         * src/usermod.c: cleanups in usage() output.
9208
9209         * src/usermod.c: indent code.
9210
9211         * NEWS, src/usermod.c:
9212         rewrited for use getopt_long() (Christian Perrier <bubulle@kheops.frmug.org>).
9213
9214 2005-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9215
9216         * po/uk.po: updated (by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>).
9217
9218 2005-10-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9219
9220         * 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:
9221         bunch of cleanups (Yuri Kozlov <kozlov.y@gmail.com>).
9222
9223 2005-10-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
9224
9225         * 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:
9226         Simplifications: move all per shadow tool declared struct pam_conv conv
9227         from src/*c to lib/pam_defs.h. #include "pam_defs.h" instead <security/pam_appl.h>
9228         and <security/pam_misc.h>.
9229         Patch partialy based on openpam fixes by Rob Holland <rob@inversepath.com>.
9230
9231         * NEWS, lib/commonio.c:
9232         fixed grpck segmentation fault on using -s when /etc/gshadow is empty (fix by
9233         Tomasz Lemiech <szpajder@staszic.waw.pl>).
9234
9235 2005-10-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9236
9237         * man/Attic/faillog.5, man/faillog.5.xml:
9238         typos (by A Costa <agcosta@gis.net>).
9239
9240 2005-10-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9241
9242         * man/Attic/chage.1, man/Attic/chpasswd.8, man/chage.1.xml, man/chpasswd.8.xml:
9243         typos (by A Costa <agcosta@gis.net>).
9244
9245         * NEWS, po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9246
9247 2005-10-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9248
9249         * 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:
9250         newgrp(1): added de, es, zh_CN, zh_TW translations.
9251
9252 2005-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9253
9254         * man/Attic/gpasswd.1, man/gpasswd.1.xml:
9255         move "Notes about group passwords" section from passwd man page.
9256
9257         * src/passwd.c, NEWS, man/Attic/passwd.1, man/passwd.1.xml:
9258         remove handle -f, -g and -s options in passwd.
9259
9260         * 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:
9261         use locase in <refentrytitle>.
9262
9263         * man/Attic/pw_auth.3, man/Attic/pw_auth.3.xml, man/Attic/shadow.3, man/shadow.3.xml:
9264         added refmiscinfo class="sectdesc">Library Calls</refmiscinfo> in <refmeta>.
9265
9266         * 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:
9267         added <refmiscinfo class="sectdesc">System Management Commands</refmiscinfo>
9268         in <refmeta>.
9269
9270         * 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:
9271         added <refmiscinfo class="sectdesc">File Formats and Conversions</refmiscinfo>
9272         in <refmeta>.
9273
9274         * man/Attic/pwconv.8, man/Attic/suauth.5, man/Attic/vipw.8, man/pwconv.8.xml, man/suauth.5.xml, man/vipw.8.xml:
9275         remove <refentryinfo><date></date></refentryinfo> and <refmiscinfo class='date'> tags.
9276
9277         * man/Attic/newgrp.1, man/Attic/sg.1, man/newgrp.1.xml, man/sg.1.xml:
9278         added <refmiscinfo class="sectdesc">User Commands</refmiscinfo> tag.
9279
9280 2005-10-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9281
9282         * NEWS, configure.in: start work on 4.0.14.
9283
9284 2005-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9285
9286         * NEWS: move release 4.0.13 date to 10-10-2005.
9287
9288         * NEWS:  added infor about removed duplicated pam_start() in chage.
9289
9290         * NEWS: updated.
9291
9292         * man/Makefile.am: added sg.1.xml to man_XMANS.
9293
9294         * man/Attic/chage.1, man/chage.1.xml:
9295         cleanups (by Yuri Kozlov <kozlov.y@gmail.com>).
9296
9297         * man/Attic/newgrp.1, man/newgrp.1.xml:
9298         use <filename> in few more places.
9299
9300         * man/Attic/newgrp.1, man/newgrp.1.xml:
9301         better newgrp description (http://bugs.debian.org/325558).
9302
9303 2005-10-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9304
9305         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
9306         remove using pam_chauthtok().
9307
9308         * src/chsh.c: finish PAM support using pam_start() & co.
9309
9310         * src/chage.c: remove using pam_chauthtok() on finish chage.
9311
9312         * src/chfn.c:
9313         use E_NOPERM in more places. remove using pam_chauthtok() on finish chfn.
9314
9315         * src/chfn.c: cleanups.
9316
9317         * src/chage.c:
9318         removed duplicaded not moved PAM code) was introduced during merge
9319         shadow-4.0.4.1-owl-pam-auth.diff patch).
9320
9321         * src/chfn.c: finish PAM support.
9322
9323 2005-10-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9324
9325         * man/Attic/chfn.1, man/Attic/chsh.1, man/chfn.1.xml, man/chsh.1.xml:
9326         cleanups (by  Alexander Gattin <xrgtn@yandex.ru>).
9327
9328 2005-10-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9329
9330         * NEWS, src/userdel.c:
9331         userdel should not remove the group which is primary for someone else (fix
9332         by Nicolas François <nicolas.francois@centraliens.net> http://bugs.debian.org/295416)
9333
9334 2005-10-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9335
9336         * 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:
9337         s/<emphasis remap='B'>/<emphasis>/
9338
9339         * man/Attic/sg.1, man/sg.1.xml: use <command> instead <emphasis>.
9340
9341         * man/newgrp.1.xml, man/sg.1.xml, man/chage.1.xml, man/chsh.1.xml, man/login.defs.5.xml:
9342         s/\.  /\. /
9343
9344         * man/Attic/shadow.5, man/shadow.5.xml:
9345         better document "!" and "*" fields in /etc/shadow
9346         (based on 441_manpages-shadow.5 patch from Debian).
9347
9348         * man/Attic/newgrp.1, man/newgrp.1.xml:
9349         SHADOWPWD was removed (always enabled)
9350         (based on 446_newgrp.1_no_SHADOWPWD patch from Debian).
9351
9352         * po/ru.po: updated for 4.0.13 (by Yuri Kozlov <kozlov.y@gmail.com>).
9353
9354 2005-09-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9355
9356         * NEWS: cleanups.
9357
9358         * 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:
9359         next round of cleanups.
9360
9361         * man/Makefile.am: added rules for id.1, pw_auth.3 and sulogin.8.
9362
9363         * libmisc/setupenv.c:
9364         during the changes on libmisc/setupenv.c, a piece of code was moved
9365         without its comment (merge 449_comment_missplaced Debian patch).
9366
9367 2005-09-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9368
9369         * 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:
9370         added missing references to /etc/login.defs and login.defs(5)
9371         (Christian Perrier <bubulle@kheops.frmug.org>).
9372
9373 2005-09-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
9374
9375         * NEWS: s/XSL/XSLT/
9376
9377         * po/pl.po: few updates.
9378
9379         * man/Attic/passwd.1, man/passwd.1.xml:
9380         -i option description is back (lost on rewrite and pointed by
9381         Miroslav Kure <kurem@upcase.inf.upol.cz>).
9382
9383         * po/cs.po:
9384         updated for 4.0.13 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9385
9386 2005-09-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9387
9388         * NEWS: updated.
9389
9390         * configure.in: fixes for correct handle --with{,out}-<feature>.
9391
9392         * configure.in:
9393         use @<:@ @:>@ instead ( ) inside AC_HELP_STRING() and s/feactures/features/
9394         (based on fixes by Mike Frysinger <vapier@gentoo.org>).
9395
9396         * po/da.po: updated for 4.0.13 (by Claus Hindsgaul <claus_h@image.dk>).
9397
9398         * po/es.po: updated for 4.0.13 (by Ruben Porras <nahoo@inicia.es>).
9399
9400 2005-09-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
9401
9402         * NEWS, libmisc/failure.c:
9403         use "%c" in strftime() output (based on patch from
9404         http://bugs.debian.org/89902 by Christian Perrier <bubulle@debian.org>)
9405
9406         * man/Attic/getspnam.3, man/Attic/shadow.3, man/shadow.3.xml:
9407         added <refname>getspnam</refname> to <refnamediv>.
9408
9409         * man/Attic/sg.1, man/sg.1.xml: fixed <cmdsynopsis>.
9410
9411         * man/Attic/sg.1, man/Makefile.am, man/sg.1.xml:
9412         added separated sg(1) man page.
9413
9414 2005-09-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9415
9416         * lib/commonio.c, NEWS:
9417         don't assume selinux is enabled if is_selinux_enabled() returns -1
9418         (merge isSelinuxEnabled FC patch by Jeremy Katz <katzj@redhat.com>).
9419
9420         * po/ro.po: updated (by Sorin Batariuc <sorin@bonbon.net>).
9421
9422 2005-09-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
9423
9424         * NEWS: schedule release 4.0.13 to 03-10-2005.
9425
9426 2005-09-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9427
9428         * 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:
9429         regenerate all roff man pages using DocBook XSL Stylesheets 1.69.1.
9430
9431         * man/logoutd.8.xml: fixed id inside <refentry>.
9432
9433         * 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:
9434         added missing <para></para> inside <listitem> tags for pass correctly xmllint.
9435
9436         * man/Attic/login.access.5, man/login.access.5.xml:
9437         rewrited FILES section.
9438
9439         * man/login.access.5.xml: cleanups.
9440
9441 2005-09-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9442
9443         * NEWS, man/Attic/passwd.5, man/passwd.5.xml:
9444         rewrited based on work by Greg Wooledge <greg@wooledge.org>
9445         http://bugs.debian.org/328113
9446
9447 2005-09-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9448
9449         * po/ro.po: updates (by Sorin Batariuc <sorin@bonbon.net>).
9450
9451 2005-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9452
9453         * 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:
9454         remove empty lines after comment.
9455
9456         * src/useradd.c: group all #include.
9457
9458         * po/fr.po:
9459         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
9460
9461 2005-09-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9462
9463         * src/gpasswd.c: remove exit(1) after failure().
9464
9465         * src/usermod.c: consolidate few #ifdef WITH_AUDIT .. #endif sections.
9466
9467 2005-09-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9468
9469         * src/Makefile.am: added missing $(LDADD) in gpasswd_LDADD.
9470
9471         * NEWS, libmisc/limits.c:
9472         fixed setup max address space limits (added missing break statement in case)
9473         spoted by Lasse Collin <lasse.collin@tukaani.org>
9474         (fix for non-PAM case)
9475
9476         * configure.in: try find and use by default feactures:
9477         with_audit="yes"
9478         with_libcrack="no"
9479         with_libpam="yes"
9480         with_libskey="no"
9481         with_selinux="yes"
9482         Report on finish also S/Key and CrackLib support.
9483
9484         * configure.in: cleanups.
9485
9486         * src/Makefile.am: sort *_LDADD.
9487
9488         * src/Makefile.am: added missing gpasswd_LDADD = $(LIBAUDIT).
9489
9490         * 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:
9491         indent code.
9492
9493         * libmisc/Makefile.am: sort libmisc_a_SOURCES elements.
9494
9495         * libmisc/audit_help.c: added shadow copyright text and indent file.
9496
9497         * libmisc/audit_help.c:
9498         patr of auditing support not added on commiting audit changes.
9499
9500         * src/Makefile.am: s/AUDIT/LIBAUDIT/
9501
9502         * configure.in: added reporting on finish is auditing is enabled.
9503         Change to use shared libaudit. Aded missing AC_SUBST(LIBAUDIT).
9504         Break some to log lines.
9505
9506         * 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:
9507         auditing support added. Patch prepared by Peter Vrabec
9508         <pvrabec@redhat.com> basing on work by Steve Grubb from
9509         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159215 Now auditing
9510         support have commands: chage, gpasswd, groupadd, groupdel, groupmod,
9511         useradd, userdel, usermod.
9512
9513         * po/pt.po: finish update (by Christian Perrier <bubulle@debian.org>).
9514
9515 2005-09-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9516
9517         * po/pt.po, NEWS: updated (by Miguel Figueiredo <elmig@debianpt.org>).
9518
9519 2005-09-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9520
9521         * src/passwd.c:
9522         fix warning (initialization makes pointer from integer without a cast) in
9523         long_options[] entry.
9524
9525         * po/fr.po, NEWS:
9526         partialy updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
9527
9528 2005-09-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9529
9530         * src/chage.c: indent source sode.
9531
9532         * src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c, NEWS:
9533         change to use new selinux API for selinux_check_passwd_access()
9534         (patch from Fedora by Dan Walsh <dwalsh@redhat.com>).
9535
9536 2005-09-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9537
9538         * man/Attic/newgrp.1, man/newgrp.1.xml: finished rewrite.
9539
9540         * etc/login.defs: moved from login.defs.linux.
9541
9542         * src/login_nopam.c: use #ident.
9543
9544         * etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, etc/Makefile.am:
9545         remove login.defs.hurd and login.defs.linux.
9546
9547         * src/groupadd.c, src/useradd.c:
9548         as same as in man pages to useradd and groupadd change to 1000 default
9549         GID_MIN and UID_MIN (if not found in login.defs).
9550
9551         * etc/login.defs: s/chkpasswd/chpasswd/
9552
9553 2005-08-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
9554
9555         * man/Makefile.am, man/chsh.1.xml, man/limits.5.xml, man/login.access.5.xml, man/newgrp.1.xml, man/newusers.8.xml:
9556         fixed id= in <refentry>.
9557
9558         * man/Attic/gpasswd.1, man/gpasswd.1.xml:
9559         fixed refentry id (must be 'gpasswd.1').
9560
9561         * man/Makefile.am, man/newgrp.1.xml:
9562         raw version converted from roff using doclifter.
9563
9564         * lib/exitcodes.h: new exit codes:
9565         #define E_PASSWD_NOTFOUND       14      /* not found password file */
9566         #define E_GROUP_NOTFOUND        16      /* not found group file */
9567         #define E_GSHADOW_NOTFOUND      17      /* not found shadow group file */
9568
9569         * man/Attic/chage.1, man/chage.1.xml, lib/exitcodes.h:
9570         change to 15 (from 14) exit code in chage when shadow not found.
9571
9572         * 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:
9573         use #ident preprocesor directive istead RCID macro with content similar
9574         to example described in ident(1) man page (modern compilers like latest GCC
9575         removes not used functions by global optimization).
9576         So "ident /usr/bin/passwd" will show again some useable informations.
9577
9578         * man/Makefile.am: added support for regenerate roff files from XML.
9579         Added depeing shadow-man-pages.pot on $(man_XMANS).
9580
9581 2005-08-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9582
9583         * man/Attic/login.1, man/login.1.xml, NEWS:
9584         added securetty(5) to SEE ALSO section (fixed Debian bug http://bugs.debian.org/325773).
9585
9586         * po/pl.po: more updates.
9587
9588         * configure.in:
9589         typo in handle --with-selinux. Fixes in xsltproc detection.
9590
9591         * autogen.sh:
9592         added --enable-man and --enable-maintainer-mode to configure options.
9593
9594         * man/Attic/chage.1, man/chage.1.xml, NEWS:
9595         added EXIT VALUES section (by Nicolas François <nicolas.francois@centraliens.net>).
9596
9597         * man/Attic/passwd.1, man/passwd.1.xml:
9598         remove "Password expiry information" section (all options are described now
9599         in OPTIONS section). Describe -a and -k options.
9600
9601         * NEWS, src/su.c:
9602         fixed twice copy enviroment which causes auth problems (bug was introduced in 4.0.12;
9603         fix by Nicolas François <nicolas.francois@centraliens.net>).
9604
9605         * 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:
9606         s/Incorrect password for `%s'/Incorrect password for %s/ (one phrase for translate less).
9607
9608         * 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:
9609         s/login: failure forking: %s/%s: failure forking: %s/ (one phrase for translate less).
9610
9611         * po/pl.po: partialy updated.
9612
9613 2005-08-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9614
9615         * lib/exitcodes.h, src/chage.c:
9616         s/E_NOT_SHADOWED/E_SHADOW_NOTFOUND/ and change value of this exit code to 14.
9617
9618         * NEWS, lib/exitcodes.h, src/chage.c:
9619         differentiate the different failure causes by the exit value
9620         This will permit to adduser Debian script to detect if chage failed because the
9621         system doesn't have shadowed passwords (fix for http://bugs.debian.org/317012)
9622         Plain merge 443_chage_exit_values Debian patch.
9623
9624         * 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:
9625         use tabs in indentation (~10KB less in all xml files).
9626
9627         * 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:
9628         run "make update-po" and remove obsoleted strings.
9629
9630         * src/expiry.c, src/login.c: remove #if 0 .. #endif code.
9631
9632         * src/login.c: remove #if 1 .. #endif.
9633
9634         * 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:
9635         merge 010_more-i18ned-messages Debian patch which adds i18n support for few more messages
9636         (orginaly patch was prepared by Guillem Jover <guillem@debian.org>).
9637
9638         * man/id/chsh.1:
9639         fix .SH (fix merged from 207_id-manpages debian patch).
9640
9641 2005-08-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
9642
9643         * acinclude.m4: add aclocal macros (based on acinclude.m4 from glib):
9644         JH_PATH_XML_CATALOG: checks the location of the XML Catalog,
9645         JH_CHECK_XML_CATALOG: checks if a particular URI appears in the XML catalog.
9646
9647         * man/Attic/useradd.8, man/useradd.8.xml:
9648         cleanups in "Changing the default values" section.
9649
9650         * man/useradd.8.xml:
9651         replace <emphasis remap='I'></emphasis> by <replaceable></replaceable>.
9652         Other minor cleanups.
9653
9654         * configure.in:
9655         fixed missing )] in AC_ARG_WITH(skey, ..) (thank for fix to Yuri Kozlov <kozlov.y@gmail.com>).
9656
9657         * 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:
9658         typos, and change some arguments so they do not match the name of a
9659         command (fixes by Nicolas François <nicolas.francois@centraliens.net>).
9660
9661         * NEWS, libmisc/chkname.c, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
9662         fix regular expression describing alloved login/group names (pointed
9663         by Nicolas François <nicolas.francois@centraliens.net>)
9664         (correct is [a-z_][a-z0-9_-]*[$]).
9665
9666         * man/Attic/useradd.8, man/useradd.8.xml:
9667         remove "Creating New Users" section and merge this directly in DESCRIPTION.
9668         Add <option></option> for -o in EXIT VALUES section.
9669
9670         * po/ru.po, NEWS:
9671         update ru translations (by Yuri Kozlov <kozlov.y@gmail.com>).
9672
9673 2005-08-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9674
9675         * man/Attic/passwd.1, man/passwd.1.xml:
9676         removed "Account maintenance" section.
9677
9678         * man/Attic/passwd.1, man/passwd.1.xml: partialy done rewrite.
9679
9680         * po/ro.po:
9681         some fixes after review of the translation (by Sorin Batariuc <sorin@bonbon.net>).
9682
9683         * man/Attic/lastlog.8, man/lastlog.8.xml:
9684         s/Print help message and exit./Display help message and exit./
9685
9686         * man/Attic/chage.1, man/chage.1.xml: document -h,--help option.
9687
9688         * man/Attic/groupadd.8, man/groupadd.8.xml:
9689         document -h,--help option. added <option></option> for -o in EXIT VALUES.
9690         Cleanups in SYNOPSIS section.
9691
9692         * man/Attic/chage.1, man/Attic/faillog.8, man/chage.1.xml, man/faillog.8.xml:
9693         replace <emphasis remap='I'></emphasis> by <replaceable></replaceable>.
9694
9695         * man/Attic/lastlog.8, man/lastlog.8.xml:
9696         document new -b,--before option.
9697
9698         * 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:
9699         s/lastlog results/lastlog records/ in lastlog usage output.
9700
9701         * man/Attic/lastlog.8, man/lastlog.8.xml:
9702         add "" aroud <command></command>.
9703
9704         * 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:
9705         alphabetic order options in lastlog usage output. Run "make -C po update-po".
9706
9707         * src/lastlog.c, NEWS:
9708         added handle -b option which allow print only lastlog records older than
9709         specified DAYS (fix by <miles@lubin.us>).
9710
9711         * libmisc/salt.c, NEWS:
9712         fixed for use login.defs::MD5_CRYPT_ENAB only if PAM support
9713         is disabled (fix by John Gatewood Ham <zappaman@buraphalinux.org>).
9714
9715 2005-08-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
9716
9717         * configure.in:
9718         use AC_HELP_STRING() in AC_ARG_ENABLE() and AC_ARG_WITH().
9719         Exit with error message if configure was runed --with-selinux
9720         and libselinux not found.
9721
9722 2005-08-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9723
9724         * libmisc/chkname.c, NEWS, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
9725         documents in CAVEATS section the limitations shadow places on user and
9726         group names (fix by Mike Frysinger <vapier@gentoo.org>).
9727
9728         * 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:
9729         added missing -i, --inactive in usage() output.
9730
9731 2005-08-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
9732
9733         * 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:
9734         passwd rewrited for use getopt_long().
9735
9736         * man/Attic/chage.1, man/chage.1.xml: /warndays/--warndays/
9737
9738         * 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:
9739         remove trailing spaces.
9740
9741         * 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:
9742         reorder #includes, indentations and minor cleanups.
9743
9744         * src/newgrp.c: indent code.
9745
9746         * NEWS, src/newgrp.c:
9747         when newgrp process sits between parent and child shells, it should
9748         propagate STOPs from child to parent and CONTs from parent to child,
9749         otherwise e.g. bash's "suspend" command won't work.
9750         Fixed Debian http://bugs.debian.org/314727
9751
9752 2005-08-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
9753
9754         * configure.in: typo.
9755
9756         * configure.in:
9757         add display short summary information on finish autoconf script.
9758
9759         * NEWS, configure.in: start work on 4.0.13.
9760
9761 2005-08-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
9762
9763         * po/ru.po: updated for 4.0.12 (by Yuri Kozlov <yuray@id.ru>).
9764
9765         * NEWS, po/sk.po:
9766         updated for 4.0.12 (by Peter Mann <Peter.Mann@tuke.sk>).
9767
9768 2005-08-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9769
9770         * po/nl.po, NEWS:
9771         updated for 4.0.12 (by cobaco (aka Bart Cornelis) <cobaco@linux.be>).
9772
9773 2005-08-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
9774
9775         * NEWS, po/fi.po:
9776         updated for 4.0.12 (by Tommi Vainikainen <thv+debian@iki.fi>).
9777
9778         * NEWS, po/de.po:
9779         updated for 4.0.12 (by Frank Schmid <frank@cs-schmid.de>).
9780
9781         * po/pt.po, NEWS:
9782         updated for 4.0.12 (by Miguel Figueiredo <elmig@debianpt.org>).
9783
9784 2005-08-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9785
9786         * po/cs.po:
9787         updated for 4.0.12 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9788
9789         * src/chpasswd.c, src/groupdel.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
9790         remove duplicated #include <pwd.h>.
9791
9792         * po/pl.po: finished update for 4.0.12.
9793
9794         * 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:
9795         s/Not copying any file into it./Not copying any file from skel directory into it./
9796
9797         * 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:
9798         break warning message longer than 80 characters.
9799
9800         * po/pl.po: updated.
9801
9802         * 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:
9803         fixed missing \n in usage() output.
9804
9805         * lib/getdef.c, src/login.c, src/newgrp.c, NEWS:
9806         remove using login.defs::CLOSE_SESSIONS variable and allways close PAM session.
9807
9808 2005-08-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9809
9810         * NEWS, configure.in:
9811         realy enable shadow group support by default (pointed by
9812         Greg Schafer <gschafer@zip.com.au> and Peter Vrabec <pvrabec@redhat.com>).
9813         Indentations in --help output.
9814
9815         * man/Attic/chage.1, man/chage.1.xml:
9816         s/occurrence/occurence/ (334_chage.1-typo Debian patch).
9817
9818         * man/Attic/chfn.1, man/chfn.1.xml:
9819         s/may only change may only change/may only change/ (based on 336_chfn.1 Debian patch).
9820
9821         * man/it/Makefile.am: cleanups (443_man_it_Makefile.am Debian patch).
9822
9823         * man/Attic/userdel.8, man/userdel.8.xml: s/an NIS client/a NIS client/
9824
9825         * man/Attic/useradd.8, man/useradd.8.xml: s/an NIS group/a NIS group/
9826
9827         * man/Attic/lastlog.8, man/lastlog.8.xml:
9828         s/you have an high UID/you have a high UID/
9829
9830         * man/Attic/lastlog.8, man/lastlog.8.xml:
9831         added missing <para></para> in AUTHORS section (cached by Nicolas).
9832
9833         * 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:
9834         run "make update-po".
9835
9836         * po/POTFILES.in: added missing libmisc/pwdcheck.c. Sorted.
9837
9838 2005-08-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9839
9840         * NEWS: s/22-07-2005/22-08-2005/
9841
9842         * NEWS: schedule release 4.0.12 in 22-07-2005.
9843
9844         * libmisc/setupenv.c, man/pl/login.defs.5, NEWS, etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, lib/getdef.c:
9845         removed handle login.defs::QMAIL_DIR variable.
9846
9847         * libmisc/chowntty.c, NEWS:
9848         allow regular user to login on read-only root file system (not only for root).
9849         Patch by Nicolas François <nicolas.francois@centraliens.net>
9850         Fix for http://bugs.debian.org/52069
9851
9852         * NEWS, man/Attic/usermod.8, man/usermod.8.xml:
9853         give the correct range for system users: 0-999 instead of 0-99
9854         (http://bugs.debian.org/286258)
9855
9856         * man/Attic/chage.1, man/chage.1.xml: s/an password/a password/
9857
9858         * man/Attic/chage.1, man/chage.1.xml, src/chage.c, NEWS:
9859         another maxdays fix based on 427_chage_expiry_0 Debian patch
9860         (fix for http://bugs.debian.org/78961).
9861         Better description -1 value passed in -E, -I and -M options.
9862
9863         * src/gpasswd.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, NEWS:
9864         added flushing group nscd cache on exit.
9865
9866         * src/pwck.c, src/pwconv.c, NEWS:
9867         added flushing passwd nscd cache on exit.
9868
9869         * NEWS, src/usermod.c:
9870         fixed handle -p option (patch by Peter Vrabec <pvrabec@redhat.com>).
9871         Indented.
9872
9873         * man/Attic/chage.1, man/chage.1.xml, NEWS, src/chage.c:
9874         use -1 as value for disable password inactivity.
9875         Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
9876         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=109499
9877         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=137498
9878
9879 2005-08-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9880
9881         * 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:
9882         do not copy files from skel directory if home directory exist and write
9883         warning message about not copying skel files.
9884         Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
9885         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143150
9886         https://bugzilla.redhat.com/beta/show_bug.cgi?id=158574
9887         https://bugzilla.redhat.com/beta/show_bug.cgi?id=80242
9888
9889         * po/pl.po: updated.
9890
9891 2005-08-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9892
9893         * src/useradd.c:
9894         s/spoll/spool/ (spoted by Nicolas François <nicolas.francois@centraliens.net>).
9895
9896 2005-08-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9897
9898         * NEWS, src/su.c:
9899         ignore SIGINT while authenticating. A ^C could defeat the waiting
9900         period and permit brute-force attacks (fixed http://bugs.debian.org/288827).
9901
9902 2005-08-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9903
9904         * lib/defines.h, NEWS, configure.in:
9905         added require ngettext (added [need-ngettext] to AM_GNU_GETTEXT() parameters)
9906         and stub prototype for ngettext() in lib/prototypes.h (neccessary if shadow
9907         compiled with disabled NLS support)
9908         Based on fixes by Martin Schlemmer <azarah@nosferatu.za.org>.
9909
9910         * src/faillog.c: start using exitcodes.h.
9911
9912         * 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:
9913         regenerate all roff man pages using DocBook XSL Stylesheets 1.69.0.
9914
9915         * 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:
9916         remove flushing shadow nscd cache (nscd do not caches shadow map).
9917
9918 2005-08-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9919
9920         * 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:
9921         rewrited groupadd for use getopt_long().
9922
9923         * src/chage.c: indent.
9924
9925         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/userdel.c:
9926         do OPENLOG() before pam_start().
9927
9928         * NEWS, src/groupadd.c: fixed double OPENLOG().
9929
9930         * src/passwd.c, src/vipw.c, src/userdel.c: reorder nscd_flush_cache().
9931
9932         * 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:
9933         cleanups in printf() translated messages for make translators work easier.
9934
9935         * NEWS, src/chage.c: added flushing NSS shadow map on exit.
9936
9937         * 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:
9938         s/the the/the/
9939
9940         * po/POTFILES.in: removed lib/{grpack,gspack,pwpack,sppack}.c.
9941
9942         * NEWS, src/newusers.c:
9943         added flushing NSS passwd, shadow and group maps.
9944
9945         * NEWS, src/chpasswd.c, src/useradd.c:
9946         added flushing NSS shadow map on exit.
9947
9948         * lib/prototypes.h: removed outdated prototypes for lib/gsdbm.c.
9949
9950         * NEWS, lib/Attic/grpack.c, lib/Attic/gspack.c, lib/Attic/pwpack.c, lib/Attic/sppack.c, lib/Makefile.am, lib/prototypes.h:
9951         remove lib/{grpack,gspack,pwpack,sppack}.c and prototypes from lib/prototypes.h (outdated).
9952
9953         * lib/prototypes.h: removed outdated prototypes from lib/pwdbm.c.
9954
9955 2005-07-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
9956
9957         * NEWS, src/usermod.c: added flushing NSS shadow map.
9958
9959 2005-07-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9960
9961         * man/Attic/chage.1, man/chage.1.xml:
9962         typo (s/passwordchanges/password changes/).
9963
9964 2005-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9965
9966         * lib/getdef.c, src/su.c:
9967         ENV_SUPATH and ENV_PATH must be used independently to PAM.
9968
9969         * lib/exitcodes.h: added E_BAD_ARG.
9970
9971         * src/gpasswd.c: start use exitcodes.h.
9972
9973         * lib/getdef.c: remove ENV_ROOTPATH def_table[] (not used).
9974
9975 2005-07-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9976
9977         * src/chsh.c: start use exitcodes.h.
9978
9979 2005-07-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
9980
9981         * 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:
9982         added --no-location to po/Makevars::XGETTEXT_OPTIONS: shorter .po files.
9983
9984         * NEWS, src/grpck.c, src/pwck.c:
9985         pwck: now pwck OPENLOG with correct name ("pwck" instead "pwsk"),
9986         pwck, grpck: replace all puts() with printf() - it fixes problems with extra blank
9987         lines printed in some messages
9988         (fixes by Alexander Gattin <arg@online.com.ua>)
9989
9990 2005-07-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
9991
9992         * po/Makevars: added:
9993         MSGID_BUGS_ADDRESS = kloczek@pld.org.pl
9994
9995 2005-07-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
9996
9997         * src/chfn.c: start use #include "exitcodes.h",
9998
9999         * lib/exitcodes.h: cleanups.
10000
10001         * lib/Makefile.am, lib/exitcodes.h, src/chage.c:
10002         start separate all E_* exit codes to lib/exitcodes.h.
10003
10004         * 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:
10005         use separated message "Password set to expire." instead "Password changed."
10006         on "passwd -e" (fix by Christian Perrier <bubulle@debian.org>).
10007
10008         * NEWS, po/fr.po:
10009         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
10010
10011         * NEWS, configure.in: start work on 4.0.12.
10012
10013 2005-07-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10014
10015         * 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:
10016         4.0.11.1 will be released tmorrow (21-07-2005).
10017
10018         * configure.in, NEWS:
10019         fixed configure.in: now is possible build shadow with enabled/disabled shadow group
10020         support (thanks for report symptoms of the bug to Greg Schafer <gschafer@zip.com.au>).
10021
10022         * po/sv.po, NEWS: update finished (by Per Olofsson <pelle@dsv.su.se>)
10023
10024         * po/sv.po: partialy updated (by Per Olofsson <pelle@dsv.su.se>).
10025
10026 2005-07-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10027
10028         * NEWS, configure.in: start work on 4.0.12.
10029
10030 2005-07-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
10031
10032         * libmisc/sub.c:
10033         fixed compilation warning about incompatible implicit declaration of built-in
10034         function printf: added "#include <stdio.h>".
10035
10036         * src/groupadd.c:
10037         move #ifdef USE_PAM .. #endif #includes outside #ifdef SHADOWGRP .. #endif.
10038
10039         * libmisc/pwdcheck.c:
10040         added missing "#include <stdio.h>" (fix compilation with PAM disabled).
10041
10042         * 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:
10043         run "make update-po".
10044
10045         * src/su.c:
10046         move declaration of pamh nad caught variables to #ifdef USE_PAM .. #endif.
10047
10048         * po/pl.po, NEWS: updated pl translation.
10049
10050 2005-07-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10051
10052         * NEWS, po/sk.po:
10053         updated for 4.0.11 (by Peter Mann <Peter.Mann@tuke.sk>).
10054
10055 2005-07-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
10056
10057         * NEWS, po/cs.po:
10058         updated for 4.0.11 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10059
10060 2005-07-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10061
10062         * po/de.po, NEWS:
10063         updated for 4.0.11 (by Frank Schmid <frank@cs-schmid.de>).
10064
10065 2005-07-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
10066
10067         * NEWS, po/pt.po:
10068         updated for 4.0.11 (by Miguel Figueiredo <elmig@debianpt.org>).
10069
10070 2005-07-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10071
10072         * po/stats: reorder gsub().
10073
10074         * po/ru.po: cleanups.
10075
10076         * po/ru.po, NEWS:
10077         updated for 4.0.11 (by Yuri Kozlov <yucoz@yandex.ru>).
10078
10079 2005-07-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10080
10081         * lib/getdef.c:
10082         move MAIL_DIR variable from def_table[] to part independent to USE_PAM
10083         (still used in userdel/usermod).
10084
10085         * NEWS, man/Attic/pwck.8, man/pwck.8.xml:
10086         document -q option (based on Debian patch for fix http://bugs.debian.org/309408)
10087         Rewrited OPTIONS section and better SYNOPSIS.
10088
10089         * NEWS, po/da.po:
10090         - updated for 4.0.11 (by Claus Hindsgaul <claus_h@image.dk>).
10091
10092         * NEWS, src/su.c:
10093         ignore SIGINT while authenticating. A ^C could defeat the waiting period and
10094         permit brute-force attacks. Also ignore SIGQUIT.
10095         Fixed: http://bugs.debian.org/52372 and http://bugs.debian.org/288827
10096
10097         * po/fi.po, NEWS:
10098         - updated for 4.0.11 (by Tommi Vainikainen <thv+debian@iki.fi>).
10099
10100         * po/ro.po: - updated Project-Id-Version field.
10101
10102         * NEWS, po/ro.po:
10103         - updated for 4.0.11 (by Sorin B. <sorin@bonbon.net>).
10104
10105 2005-07-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
10106
10107         * NEWS, man/Attic/lastlog.8, man/lastlog.8.xml:
10108         document that lastlog is a sparse file, and don't need to be rotated.
10109         http://bugs.debian.org/219321
10110
10111         * src/chage.c: use E_USAGE=2 as usage() exit code.
10112
10113         * NEWS, po/es.po:
10114         updated for 4.0.11 (by Ruben Porras <nahoo82@telefonica.net>).
10115
10116         * src/useradd.c: cleanups in usage() oyput.
10117
10118         * 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:
10119         cleanups in usage() output.
10120
10121         * NEWS: release 4.0.11 is sheduled to 18-06-2005.
10122
10123 2005-07-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10124
10125         * man/Attic/login.1, man/login.1.xml, NEWS:
10126         better explain the respective roles of login, init and getty with regards
10127         to the utmp file (based on 441_manpages-shadow.5 Debian patch)
10128
10129         * man/Attic/su.1, man/groupdel.8.xml, man/su.1.xml, man/Attic/groupdel.8:
10130         s/presense/presence/; s/filesystem/file system/
10131         (sed on 440_manpages-login.1 Debian patch)
10132
10133         * 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:
10134         removed shadowconfig(8) man page (will be maintained in Debian shadow pkg repository).
10135
10136         * man/it/sg.1: added.
10137
10138         * man/it/Makefile.am: more files in man_MANS.
10139
10140         * man/it/Makefile.am: move pwunconv.8 to man_MANS.
10141
10142         * man/useradd.8.xml, man/Attic/useradd.8:
10143         updated after rewrite for for getopt_long() in useradd (-D and -k options
10144         idescription must be finished).
10145
10146         * 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:
10147         rewrited for use getopt_long().
10148
10149         * po/stats: more gsub().
10150
10151 2005-07-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
10152
10153         * src/newgrp.c:
10154         indent source code and use fix for handle splitted groups unconditionaly.
10155
10156         * lib/nscd.c: indent.
10157
10158         * NEWS, src/newgrp.c:
10159         add fix for handle splitted NIS groups: extends the functionality that,
10160         if the requested group is given, all groups of the same GID are tested for
10161         membership of the requesting user.
10162         (fix by Christian Mudra <C.Mudra@science-computing.de>
10163
10164         * lib/nscd.c, NEWS:
10165         for some reason doing the INVALIDATE call with two write()'s fails.
10166         Do one writev() call instead. http://bugs.gentoo.org/show_bug.cgi?id=80413
10167         (submited by Martin Schlemmer <azarah@gentoo.org>)
10168
10169         * NEWS, lib/nscd.c:
10170         merge nscd-socket-path patch from Fedora: newer glibc's have a different nscd socket
10171         location (/var/run/nscd/socket instead /var/run/.nscd_socket).
10172
10173 2005-07-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10174
10175         * po/stats: improved.
10176
10177         * man/Attic/groupadd.8, man/groupadd.8.xml, NEWS:
10178         document -o option in groupadd(8).
10179
10180         * configure.in: s/'"$<foo>" != "no"'/'"$<foo>" = "yes"'/
10181
10182         * NEWS, configure.in, lib/Makefile.am, lib/pwauth.c:
10183         S/Key support is back.
10184
10185         * 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:
10186         run "make update-po".
10187
10188         * po/pl.po: updated.
10189
10190         * src/useradd.c: s,key=value,KEY=VALUE,
10191
10192         * src/groupadd.c, NEWS, man/Attic/groupadd.8, man/groupadd.8.xml:
10193         change -O option to -K and document it in man page.
10194
10195         * man/Attic/useradd.8, man/useradd.8.xml, src/useradd.c:
10196         s/NAME=VALUE/KEY=VALUE/; s/key=value/KEY=VALUE/
10197
10198         * src/chfn.c, src/groupadd.c, src/groupmems.c, src/login.c, src/passwd.c, src/vipw.c:
10199         sort cases in switch (flag) {}.
10200
10201         * src/gpasswd.c, src/groupadd.c, src/groupmems.c, src/groupmod.c, src/passwd.c, src/useradd.c, src/usermod.c:
10202         sort getopt() optstring.
10203
10204         * src/useradd.c:
10205         remove A: from getopt() optstring (the same bug as in usermod).
10206
10207         * src/usermod.c:
10208         remove A: from getopt() optstring (it was for handle AUTH_METHODS code but now
10209         it is not used option). Catched by Thorsten Kukuk <kukuk@suse.de>.
10210
10211         * 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:
10212         indent source code. Added usermod error message about -a option usage to translated messages.
10213
10214         * po/POTFILES.in: mistake s,chage_chkshell.c,chsh_chkshell.c,
10215
10216         * po/POTFILES.in: s,libmisc/chkshell.c,src/chage_chkshell.c,
10217
10218         * man/Attic/usermod.8, man/usermod.8.xml, src/usermod.c, NEWS:
10219         added -a option. This flag can only be used in conjunction with the -G
10220         option. It cause usermod to append user to the current supplementary group list.
10221         (patch by Peter Vrabec <pvrabec@redhat.com>)
10222
10223         * libmisc/Attic/chkshell.c, libmisc/Makefile.am, src/Attic/chsh_chkshell.c, src/Makefile.am:
10224         move libmisc/chkshell.c to src/chsh_chkshell.c. check_shell() is used only by chsh.
10225
10226 2005-07-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10227
10228         * Attic/acconfig.h, NEWS, configure.in:
10229         finish move all autoheader templates from acconfig.h to configure.in.
10230
10231         * 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:
10232         added missing \n in chage error messages.
10233
10234         * 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:
10235         run "make update-po".
10236
10237         * src/usermod.c: move all #include in one place.
10238
10239         * src/useradd.c: s/-O/-K/
10240
10241         * man/Attic/useradd.8, man/useradd.8.xml:
10242         cleanups in Note: in -K description.
10243
10244         * NEWS, man/Attic/useradd.8, man/useradd.8.xml, src/useradd.c:
10245         change -O option to -K and document it in man page.
10246
10247         * man/Attic/useradd.8, man/useradd.8.xml:
10248         added separated <cmdsynopsis></cmdsynopsis> for -D description and remove using </srb> tags from
10249         <refsynopsisdiv id='synopsis'>.
10250
10251         * src/login.c:
10252         replace #ifdef USE_PAM .. #endif #ifndef USE_PAN .. #endif by
10253         #ifdef USE_PAM .. #else .. #endif.
10254
10255         * src/su.c: conditiona code reorganization.
10256
10257         * src/login.c: remove one #ifndef USE_PAM .. #endif.
10258
10259         * libmisc/setupenv.c: move setup $MAIL to !USE_PAM.
10260
10261         * libmisc/setupenv.c, src/su.c:
10262         consolidate two sections of code #ifndef USE_PAM to one.
10263
10264         * src/su.c, src/sulogin.c, libmisc/setupenv.c, libmisc/tz.c, src/login.c, NEWS:
10265         fixed erroneous warning messages about some login.defs variables when used with PAM
10266         (fix by DJ Lucas <dj@linuxfromscratch.org>)
10267
10268 2005-07-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
10269
10270         * configure.in, libmisc/getdate.y, libmisc/utmp.c, src/logoutd.c:
10271         remove non-USG code.
10272
10273         * Attic/acconfig.h, configure.in:
10274         start moving all autoheader templates from acconfig.h to configure.in.
10275
10276         * configure.in: remove not used AC_DEFINE(HAVE_LIBCRYPT).
10277
10278         * Attic/acconfig.h, NEWS, configure.in:
10279         stop with error message if crypt() not found. Remove --with{,out}-libcrypt switch.
10280
10281         * src/login.c: fixed use SYSLOG macro.
10282
10283 2005-07-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10284
10285         * src/login_nopam.c: fixed use SYSLOG macro.
10286
10287 2005-07-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
10288
10289         * NEWS, src/login.c:
10290         setup limits and umask (using login.defs ULIMITS and UMASK variables) only when
10291         PAM support is disabled (it is task for pam_limits and pam_umask modules).
10292
10293 2005-06-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
10294
10295         * src/sulogin.c, src/login.c, src/login_nopam.c, NEWS:
10296         use SYSLOG macro instead syslog() which saves the locale, sets the locale to C,
10297         sends the message and restores the locale (fix by Nicolas François <nicolas.francois@centraliens.net>).
10298
10299         * 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:
10300         in SEE ALLSO section added refer to gpasswd(8)
10301         (suggested by Mike Frysinger <vapier@gentoo.org>)
10302
10303         * NEWS, configure.in: start work on 4.0.11.
10304
10305 2005-06-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
10306
10307         * NEWS: +1 day release 4.0.10 date.
10308
10309         * po/pl.po: kill fuzzy.
10310
10311         * po/de.po: partial update by Frank Schmid <frank@cs-schmid.de>.
10312
10313 2005-06-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10314
10315         * po/ca.po: run "make update-po".
10316
10317         * po/sk.po: updated sk translation by Peter Mann <Peter.Mann@tuke.sk>.
10318
10319 2005-06-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10320
10321         * NEWS: typo.
10322
10323 2005-06-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10324
10325         * po/pl.po: typo.
10326
10327         * po/pl.po: updated for 4.0.10.
10328
10329         * po/ru.po, NEWS: updated ru translation by maintainer.
10330
10331         * NEWS: added past releases dates. Cleanups.
10332
10333         * man/Attic/shadowconfig.8: merge version generated from XML file.
10334
10335         * po/ca.po, po/cs.po, po/da.po, po/fi.po, NEWS:
10336         translations updated by maintainers.
10337
10338 2005-06-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10339
10340         * 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):
10341         s/EXPIRE/EXPIRE_DATE/.
10342
10343         * po/pl.po: start update for 4.0.10.
10344
10345         * 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:
10346         s/uid/UID/ in all commnets and messages.
10347
10348         * libmisc/failure.c, libmisc/limits.c, lib/pwio.c:
10349         s/uid/UID/ in comments.
10350
10351         * 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:
10352         s/gid/GID/ in all comments and messages.
10353
10354         * 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:
10355         one message in i18n messages less: use in all places "Permission denied" instead
10356         "permission denied".
10357
10358         * libmisc/getdate.y:
10359         remove extern for gmtime(), localtime() and mktime() and instead add #include <time.h>.
10360
10361         * libmisc/entry.c: removed extern for fgetpwent().
10362
10363         * 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:
10364         now most of the man pages now are generated from XML files so in case any submiting
10365         any chages to this resources please make diff fies to XML files.
10366
10367         * man/Attic/pw_auth.3.xml: cleanups.
10368
10369         * man/grpck.8.xml, man/passwd.1.xml:
10370         correctly code EXIT VALUES section using <variablelist>. Cleanups.
10371
10372         * man/shadow.3.xml: cleanups.
10373
10374 2005-06-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10375
10376         * man/ja/Attic/mkpasswd.8, man/ja/Makefile.am, man/pl/Attic/mkpasswd.8, man/pl/Makefile.am:
10377         remove ja and pl mkpasswd.8 man pages.
10378
10379 2005-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
10380
10381         * man/pwck.8.xml, man/useradd.8.xml, man/userdel.8.xml:
10382         correctly code EXIT VALUES section.
10383
10384         * Attic/acconfig.h: removed DES_RPC and OPIE templates.
10385
10386         * 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:
10387         removed mkpasswd.
10388
10389         * man/Makefile.am: do not install mkpasswd(8) man page.
10390
10391         * src/Makefile.am: move mkpasswd.c to EXTRA_DIST.
10392
10393         * man/passwd.5.xml:
10394         use <itemizedlist mark='bullet'> for describe passwd fields. Remove outdated
10395         information about additional fields in comment field. Cleanups.
10396
10397         * man/newusers.8.xml: cleanups.
10398
10399         * man/gshadow.5.xml:
10400         use <itemizedlist mark='bullet'> for gshadow fields desscription.
10401
10402         * man/shadow.5.xml: cleanups.
10403
10404         * man/shadow.5.xml:
10405         use <itemizedlist mark='bullet'> for describe shadow fields.
10406
10407         * man/Attic/pw_auth.3.xml: cleanups.
10408
10409         * man/Attic/pw_auth.3.xml: use correct <refname>.
10410
10411         * man/Attic/pw_auth.3.xml: cleanups.
10412
10413         * man/groupdel.8.xml, man/groupmod.8.xml:
10414         correctly code EXIT VALUES section.
10415
10416         * man/groupadd.8.xml: cleanups.
10417
10418         * man/Attic/mkpasswd.8.xml: added missing <variablelist> tag.
10419
10420         * man/usermod.8.xml: cleanups.
10421
10422         * man/usermod.8.xml: remove <sbr/> tags from SYNOPSIS section.
10423
10424         * man/faillog.8.xml: cleanups.
10425
10426         * man/faillog.5.xml:
10427         put struct faillog definition in <programlisting></programlisting>.
10428
10429         * man/chsh.1.xml, man/chpasswd.8.xml: cleanups.
10430
10431         * man/groupadd.8.xml:
10432         seems I found good way for code EXIT VALUES section.
10433
10434         * man/shadow.3.xml:
10435         put meanings of each field spwd struct in <itemizedlist mark='bullet'>.
10436
10437         * man/shadow.3.xml:
10438         place definition of struct spwd in <programlisting></programlisting>.
10439
10440         * NEWS, src/userdel.c:
10441         userdel now deletes user groups from /etc/gshdow as well as /etc/group.
10442         Fix by Nicolas François <nicolas.francois@centraliens.net>.
10443         http://bugs.debian.org/99442
10444
10445         * 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:
10446         fixed bug in usermod ad run "make -C po update-po".
10447         When relocating a user's home directory, don't fail and remove the new
10448         home directory if we can't remove the old home directory for some
10449         reason; the results can be spectularly poort if, for instance, only
10450         the rmdir() fails. Patch prepared by Timo Lindfors <lindi-spamtrap@newmail.com>.
10451         http://bugs.debian.org/166369
10452
10453 2005-06-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10454
10455         * src/login.c: indent.
10456
10457         * 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:
10458         cleanups.
10459
10460 2005-06-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
10461
10462         * 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:
10463         cleanups.
10464
10465         * man/login.1.xml: rewrited FILES section.
10466
10467         * man/id.1.xml, man/lastlog.8.xml, man/gshadow.5.xml: cleanups.
10468
10469         * man/groups.1.xml: typos.
10470
10471         * man/chfn.1.xml, man/expiry.1.xml, man/gpasswd.1.xml: cleanups.
10472
10473 2005-06-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10474
10475         * NEWS:
10476         last patch for UTMPX was submited by by Nicolas François <nicolas.francois@centraliens.net>
10477
10478         * libmisc/failure.c, libmisc/failure.h, NEWS:
10479         use also UTMPX API instead UTMP on failure (login was by affected this when shadow
10480         was builded without PAM support).
10481
10482         * NEWS, src/login.c:
10483         the PAM session needs to be closed as root, thus before change_uid()
10484         http://bugs.debian.org/53570 http://bugs.debian.org/195048 http://bugs.debian.org/211884
10485
10486         * man/Attic/passwd.1, man/passwd.1.xml:
10487         s/compatiblity/compatibility/ (fix by Christian Perrier <bubulle@kheops.frmug.org>).
10488
10489 2005-06-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
10490
10491         * NEWS, man/Attic/chfn.1, man/chfn.1.xml:
10492         give more details about the influence of login.defs on what's allowed to
10493         users (based on Debian patches).
10494
10495         * NEWS, src/su.c:
10496         fix syslogs to be less ambiguous. Use old:new format instead of old-new
10497         because '-' can appear in usernames.
10498         http://bugs.debian.org/213592
10499
10500         * NEWS, src/login.c:
10501         made login's -f option also able to use the username after -- if none
10502         was passed as it's optarg
10503         http://bugs.debian.org/53702
10504
10505         * po/POTFILES.in, NEWS, libmisc/Attic/setup.c, libmisc/Makefile.am:
10506         not used now (removed).
10507
10508         * man/Attic/usermod.8, man/usermod.8.xml:
10509         s/inactive_time/inactive_days/ in -f parameter in SYNOPSIS (fix by Christian
10510         Perrier <bubulle@debian.org>).
10511
10512 2005-06-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
10513
10514         * man/Attic/grpck.8, man/grpck.8.xml:
10515         typo: s/incorrectable/uncorrectable/ (by A Costa <agcosta@gis.net>).
10516
10517         * man/Attic/gshadow.5, man/gshadow.5.xml:
10518         typos: s/folowing/following/; s/encryped/encrypted/; s/supercedes/supersedes/
10519         (by A Costa <agcosta@gis.net>).
10520
10521         * man/Attic/shadow.5, man/shadow.5.xml:
10522         typos: s/encryped/encrypted/; s/supercedes/supersedes/
10523         (by A Costa <agcosta@gis.net>)
10524
10525 2005-06-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10526
10527         * src/login.c, NEWS:
10528         check for hushed login and pass PAM_SILENT if true.
10529         http://bugs.debian.org/48002
10530
10531         * src/login.c, NEWS:
10532         fixed loggin of username on succesful login (was using the normal username,
10533         when it should have used pam_user) http://bugs.debian.org/47819
10534
10535 2005-06-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10536
10537         * NEWS, po/zh_TW.po: updated (by Tetralet <tetralet@pchome.com.tw>).
10538
10539         * NEWS, po/ca.po: updated (by Guillem Jover <guillem@debian.org>).
10540
10541         * man/de/passwd.1:
10542         added small comment with marker usefull for translators.
10543
10544 2005-05-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10545
10546         * 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:
10547         indent all.
10548
10549         * 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:
10550         remove using SHADOWPWD #define so now shadow is allways builded with shadow
10551         password support.
10552
10553 2005-05-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10554
10555         * 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:
10556         rewrite for use getopt_long().
10557
10558 2005-05-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
10559
10560         * NEWS, configure.in: start working on 4.0.10.
10561
10562         * man/Makefile.am: remove shadow-man-pages.pot target from all.
10563
10564 2005-05-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10565
10566         * lib/encrypt.c, NEWS:
10567         fixed passwd segfault in non-PAM connfiguration (submited by Greg Schafer <gschafer@zip.com.au>).
10568
10569         * po/sv.po: upsdate (by Christian Perrier <bubulle@debian.org>).
10570
10571         * NEWS, src/newgrp.c:
10572         fixed NULL pointer dereference - getlogin() and ttyname() can
10573         return NULL which is not checked (http://bugs.debian.org/162303).
10574
10575         * man/Attic/su.1, man/pwconv.8.xml, man/su.1.xml, man/Attic/pwconv.8:
10576         fixed typo (s,similiar,similar,).
10577
10578 2005-05-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
10579
10580         * NEWS, po/ro.po: updated by Sorin B. <sorin@bonbon.net>.
10581
10582         * po/ru.po, NEWS: updated by yu-koz <yu-koz@yandex.ru>.
10583
10584 2005-05-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10585
10586         * po/ro.po: few updates by Sorin Batariuc <sorin@bonbon.net>.
10587
10588 2005-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10589
10590         * po/ru.po: updated (by Yuri Kozlov <yuray@id.ru>).
10591
10592 2005-05-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10593
10594         * po/vi.po:
10595         completed translations for HEAD (by Clytie Siddall <clytie@riverland.net.au>).
10596
10597 2005-05-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
10598
10599         * NEWS, po/LINGUAS, po/vi.po: added new vi translation.
10600
10601         * NEWS, lib/getdef.c:
10602         leaves the table as it is, and changes from the binary search to
10603         a sequential one (fix by Lucas Correia Villa Real <lucasvr@gobolinux.org>).
10604
10605         * man/Attic/passwd.1, man/passwd.1.xml:
10606         make bold passwd and chfn commands.
10607
10608 2005-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
10609
10610         * man/usermod.8.xml, man/vipw.8.xml: cleanups.
10611
10612 2005-04-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10613
10614         * 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:
10615         replace <emphasis remap='B'></emphasis> by <command></command>.
10616
10617         * 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:
10618         fixed lastlog --help message (s,--login,--user,) http://bugs.debian.org/249611
10619
10620         * 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:
10621         use <varlistentry></varlistentry> in FILES section. Cleanups.
10622
10623         * 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:
10624         cleanups.
10625
10626         * man/Attic/vipw.8, man/vipw.8.xml:
10627         small fix: s,vi,vi(1), (reported by Helge Kreutzmann <kreutzm@itp.uni-hannover.de> in
10628         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=260636).
10629         s,VISUAL,$VISUAL; s,EDITOR,$EDITOR,
10630
10631 2005-04-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
10632
10633         * man/login.1.xml: fixed bold (use <command></command>). Cleanups.
10634
10635         * man/Attic/login.1: fixed typo in bold.
10636
10637         * man/chage.1.xml: fixed italic. Cleanups.
10638
10639         * man/Attic/chage.1: fixed typo in italic.
10640
10641         * man/login.defs.5.xml:
10642         fixed italic (use <filename></filename> istead italic). Cleanups.
10643
10644         * man/Attic/login.defs.5: fixed typo in italic.
10645
10646         * man/vipw.8.xml: fixed italic (use <filename></filename>).
10647
10648         * man/Attic/vipw.8: typo in italic.
10649
10650         * man/Makefile.am:
10651         added target for generate shadow-man-pages.pot. List all now useable xml files
10652         in man_XMANS variable.
10653
10654         * man/pwconv.8.xml:
10655         fixed bold. Use in more places <command></command> istead bold.
10656
10657         * man/Attic/login.defs.5: typo in bold.
10658
10659         * man/su.1.xml:
10660         removed comment. Use <variablelist></variablelist> in Files secstion.
10661         Fixed bold.
10662
10663         * man/Attic/pwconv.8, man/Attic/su.1: typo in bold.
10664
10665 2005-04-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10666
10667         * NEWS, configure.in: start work on 4.0.9.
10668
10669         * po/nl.po: kill fuzzy.
10670
10671         * man/Attic/chage.1:
10672         reverte last commit (by mistake commited experimental version generated from XML file).
10673
10674         * NEWS, po/nl.po:
10675         updated for 4.0.8 (by "cobaco (aka Bart Cornelis)" <cobaco@linux.be>).
10676
10677         * 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:
10678         two typos (s,specyfied,specified,; s,maiximum,maximum,).
10679
10680         * NEWS, po/sk.po:
10681         updated for 4.0.8 (by Peter Mann <Peter.Mann@tuke.sk>).
10682
10683         * src/lastlog.c: typo (s,specyfied,specified,)
10684
10685         * src/faillog.c: typo (s,maiximum,maximum,).
10686
10687 2005-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10688
10689         * 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:
10690         added <refmiscinfo class="sectdesc">User Commands</refmiscinfo> in <refmeta></refmeta>.
10691
10692         * 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:
10693         Use encoding="UTF-8" and DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN".
10694
10695         * 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:
10696         better formation using "xmlindent -l 80 -d 2".
10697
10698 2005-04-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10699
10700         * 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:
10701         updated it man pages: chfn.1, chsh.1, groups.1, grpck.8, grpconv.8, grpunconv.8,
10702         id.1, lastlog.8, login.1, newgrp.1, pwunconv.8, shadow.5, vigr.8, vipw.8.
10703         new it man pages: chage.1, chpasswd.8, expiry.1, faillog.5, faillog.8,
10704         getspnam.3, logoutd.8, porttime.5, pwck.8, shadow.3, shadowconfig.8, su.1.
10705         (by Danilo Piazzalunga <danilopiazza@libero.it>)
10706
10707         * po/uk.po:
10708         cleanups in plural forms (by Roman Festchook <roma@polesye.net>).
10709
10710         * 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:
10711         reformated using xemacs.
10712
10713 2005-04-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10714
10715         * po/fr.po, NEWS:
10716         updated for 4.0.8 (by Christian Perrier <bubulle@kheops.frmug.org>).
10717
10718         * NEWS, po/eu.po: updated for 4.0.8 (by ^pi^ <piarres@gmail.com>).
10719
10720         * NEWS, po/uk.po:
10721         updated for 4.0.8 (by Roman Festchook <roma@polesye.net>).
10722
10723         * po/cs.po:
10724         updated for 4.0.8 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10725
10726         * po/da.po, NEWS:
10727         updated for 4.0.8 (by Claus Hindsgaul <claus_h@image.dk>).
10728
10729         * po/ko.po, NEWS:
10730         updated for 4.0.8 (by Changwoo Ryu <cwryu@debian.org>).
10731
10732         * po/fi.po: kill one fuzzy (by Tommi Vainikainen <thv+debian@iki.fi>).
10733
10734 2005-04-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10735
10736         * man/chpasswd.8.xml: Rewrited by hand & xemacs.
10737
10738         * man/chfn.1.xml: cleanups in <refentry> tag.
10739
10740         * man/chfn.1.xml: Rewrited by hand & xemacs.
10741
10742         * NEWS, po/pt.po:
10743         updated for 4.0.8 (by Miguel Figueiredo <elmig@debianpt.org>).
10744
10745         * po/es.po, NEWS: updated (by Ruben Porras <nahoo@inicia.es>).
10746
10747 2005-04-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
10748
10749         * man/Attic/useradd.8:
10750         fixed typos in useadd syntax (in SYNOPSIS section) catched using doclifter.
10751
10752         * 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:
10753         raw version converted using doclifter.
10754
10755         * configure.in: remove handle --with-lib{opie,skey}.
10756
10757         * man/de/chsh.1:
10758         synced with english version (by Simon Brandmair <sbrandmair@gmx.net>).
10759
10760         * man/Attic/usermod.8: improved -o description.
10761
10762         * man/de/passwd.1:
10763         added translation EXIT VALUES section (by Simon Brandmair <sbrandmair@gmx.net>).
10764
10765         * NEWS, po/it.po:
10766         updated it translation (by Danilo Piazzalunga <danilopiazza@libero.it>).
10767
10768 2005-04-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10769
10770         * 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:
10771         cleanups.
10772
10773         * po/pl.po: updated.
10774
10775         * src/usermod.c:
10776         use the same error message ("%s: PAM authentication failed\n") on fail
10777         authentication as in other tools.
10778
10779         * 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:
10780         run "make update-po".
10781
10782         * src/login.c, src/login_nopam.c:
10783         fixed build with disabled PAM support: move bad_time_notify() and check_nologin()
10784         back to src/login.c but use this functions #ifndef USE_PAM.
10785
10786         * NEWS, lib/Makefile.am, lib/pwauth.c:
10787         remove not working OPIE and SKEY support.
10788
10789         * configure.in: typo (s,SELinuux,SELinux,).
10790
10791         * NEWS: typos.
10792
10793         * NEWS: chage, useradd, usermod: reduce multiple OPENLOG() calls.
10794
10795         * src/useradd.c, src/usermod.c: fix multiple OPENLOG() calls.
10796
10797         * src/chage.c: cleanups.
10798
10799         * src/chage.c: fix multiple OPENLOG() calls.
10800
10801         * src/chage.c:
10802         use E_SUCCESS/E_NOPERM #defines instead 0/1 in exit() arguments.
10803
10804 2005-04-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10805
10806         * src/passwd.c:
10807         adjust also syslog message on usage -S option without permission.
10808         Consolidate SELinix and non-SELinux code.
10809
10810         * 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:
10811         fix #61313 Debian bug: "passwd -S root" (as a normal user) should not
10812         display "You may not change the password for root.
10813
10814         * NEWS, man/Attic/passwd.1:
10815         fix #160477 Debian bug: improve -S output description.
10816
10817         * man/de/passwd.1:
10818         new translation by Simon Brandmair <sbrandmair@gmx.net> with merged all
10819         changes between revision 1.2 a 1.5.
10820
10821 2005-04-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
10822
10823         * man/Attic/passwd.1, man/pl/passwd.1: bold passwd and chage commands.
10824
10825         * NEWS, src/vipw.c:
10826         fixed race condition in vipw (Debian #242407 bug; fix by Alexander Gattin
10827         <arg@online.com.ua>).
10828
10829         * man/pl/Attic/chage.1.xml, man/pl/chage.1:
10830         synced with english version.
10831
10832         * man/Attic/chage.1, man/chage.1.xml:
10833         add info about what mean -1 passed n expiredate parameter (based on #304542
10834         Debian bug; submited by Federico Grau <grauf@rfa.org>).
10835
10836 2005-04-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10837
10838         * po/fi.po, NEWS:
10839         updated translation (by Tommi Vainikainen <tvainikan@cc.hut.fi>).
10840
10841         * 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:
10842         cleanups and unifications in SEE ALSO section.
10843
10844 2005-04-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10845
10846         * configure.in:
10847         Info documentation says about AC_GNU_SOURCE: "should be called before any
10848         macros that run the C compiler". So move this macro on top configure.in for
10849         avoid autoconf warnings.
10850
10851         * configure.in:
10852         AC_SYS_LARGEFILE() performs checking is fseeko() is avalaible so "fseeko" can
10853         be removed from AC_CHECK_FUNCS() parameters.
10854
10855         * NEWS, configure.in: Remove using AC_PROG_GCC_TRADITIONAL macro.
10856         Add using AC_GNU_SOURCE macro for kill compilation warnings about implicit
10857         declaration of function `fseeko'.
10858
10859         * po/cs.po: killed fuzzy (by Miroslav Kure <kurem@debian.cz>).
10860
10861         * man/ja/newgrp.1, man/pl/newgrp.1, NEWS, man/Attic/newgrp.1, man/hu/newgrp.1:
10862         newgrp uses /bin/sh (not bash).
10863
10864         * 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:
10865         describe /etc/group in FILES section as "group account information".
10866
10867         * man/Attic/grpck.8:
10868         describe /etc/passwd in FILES section as "user account information".
10869
10870         * po/stats: small script for generate translations statistics.
10871
10872         * NEWS, po/cs.po: Updated by Miroslav Kure <kurem@debian.cz>.
10873
10874         * 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:
10875         describe /etc/shadow in FILES section as "secure user account information".
10876
10877         * man/Attic/newgrp.1:
10878         Reformated paragraph. s,Bourne shell,\fBbash\fR shell,
10879
10880         * NEWS, man/Attic/newgrp.1:
10881         fix #251926, #166173, #113191 Debian bugs: explain why editing /etc/group
10882         (without gshadow) doesn't permit to use newgrp.
10883
10884         * 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:
10885         added/fixed Plural-Forms: header entries. Run "make update-po".
10886
10887         * po/pl.po:
10888         added Plural-Forms: header entry and updated for last change in
10889         libmisc/failure.c.
10890
10891         * libmisc/failure.c:
10892         break message text with failure login since last login.
10893
10894         * libmisc/failure.c:
10895         Use ngettext instead of string concatenation and static number of cases.
10896         Patch by Tommi Vainikainen <tvainika@cc.hut.fi>.
10897
10898 2005-04-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
10899
10900         * po/cs.po:
10901         new translation maintainer: Miroslav Kure <kurem@debian.cz>.
10902
10903 2005-04-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10904
10905         * po/pl.po: updated for 4.0.8.
10906
10907 2005-04-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
10908
10909         * 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:
10910         changed faillog records display format for allow fit in 80 columns all
10911         faillog atributies.
10912
10913         * 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:
10914         run "make update-po". Updated pl.po.
10915
10916         * src/faillog.c (usage): typo (s,IDAYS,DAYS,).
10917
10918         * man/Attic/faillog.8, NEWS:
10919         updated after rewrite faillog command for use getopt_long().
10920
10921         * src/faillog.c:
10922         Add handle -h,--help option. Show in usage output information about
10923         -t,--time option. Remove handle -p option.
10924
10925         * 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:
10926         run "make update-po".
10927
10928         * po/POTFILES.in: updated.
10929
10930         * man/Attic/gpasswd.1: typo (s,fB,\fB,).
10931
10932 2005-04-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10933
10934         * NEWS, man/ja/login.1:
10935         updated ja man page for Debian #95213 bug (by Kenshi Muto <kmuto@debian.org>).
10936
10937         * 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:
10938         next round of cleanups: removed NDBM code (unused).
10939
10940         * src/login.c: consilidate some !USE_PAM lines.
10941
10942         * src/login.c, src/login_nopam.c:
10943         move bad_time_notify() and check_nologin() to src/login_nopam.c.
10944
10945         * lib/prototypes.h: remove not used login_desrpc() prototype.
10946
10947         * lib/Attic/rad64.c, lib/encrypt.c, lib/prototypes.h, lib/Makefile.am:
10948         remove lib/rad64 with not used c64i() and i64c() functions.
10949
10950         * lib/encrypt.c:
10951         remove "#ifdef SW_CRYPT .. #endif" and "#ifdef DOUBLESIZE .. #endif" unused code.
10952
10953         * lib/encrypt.c: remove "#ifdef MD5_CRYPT .. #endif" unused code.
10954
10955         * libmisc/salt.c:
10956         remove prototypes for *l64a() and add #include <stdlib.h>. Remove unused
10957         now code (old style random salt generator).
10958
10959         * src/chage.c: cleanups.
10960
10961         * src/chpasswd.c:
10962         remove prototypes for *l64a() and add #include <stdlib.h>.
10963
10964         * src/login.c: remove login_fbtab() prototype.
10965
10966         * src/chage.c:
10967         remove prototypes for a64l() and *l64a() and add #include <stdlib.h>.
10968
10969 2005-04-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
10970
10971         * 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:
10972         more replaces "-" by "\-" (s,\\-,-,g; s,-,\\-,g).
10973
10974         * man/pl/usermod.8: finish sync with english version.
10975
10976         * man/hu/login.1, man/pl/login.1, NEWS, man/Attic/login.1, man/de/login.1:
10977         removed fragment about abilities pass enviroment variables in login prompt.
10978
10979         * man/Attic/gpasswd.1, man/Attic/newgrp.1:
10980         fixes by Nicolas Nicolas François <nicolas.francois@centraliens.net> (not all
10981         commited).
10982
10983 2005-04-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10984
10985         * 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:
10986         replace all "-" by "\-" (s,\\-,-,; s,-,\\-,).
10987
10988         * man/cs/groups.1: cleanups.
10989
10990         * NEWS, src/su.c:
10991         fixed use of SU_WHEEL_ONLY in su. Now su realy is avalaible for wheel group
10992         members. Thanks to Mike Frysinger <vapier@gentoo.org> for report:
10993         http://bugs.gentoo.org/show_bug.cgi?id=80345
10994
10995         * man/pl/Attic/chage.1.xml:
10996         converted from roff using doclifter. Rewrited by hand. Probably will be
10997         removed after prepare infrastructure for translate man pages using gettext
10998         but temporary I need this for some experiments.
10999
11000         * src/login.c: remove unused #ifded LOGIN_FBTAB .. #endif code.
11001
11002         * configure.in, libmisc/Attic/login_access.c, libmisc/Makefile.am, src/Makefile.am, src/login.c, src/login_nopam.c:
11003         move libmisc/login_access.c to src/login_mopam.c.
11004         Remove using LOGIN_ACCESS #define. Now LOGIN_ACCESS is equal to !USE_PAM.
11005         In src/login_nopam.c will be cumulated non-PAM specyfic login code.
11006
11007         * src/lastlog.c, src/login.c, src/useradd.c, src/usermod.c, libmisc/log.c:
11008         cleanups: remove using #include "lastlog_.h".
11009
11010         * src/login.c: fixed build with PAM support disabled.
11011
11012         * src/login.c: remove "#ifdef HUP_MESG_FILE .. #endif" code.
11013
11014         * src/login.c: reindent using -l80.
11015
11016         * man/Attic/chage.1, man/chage.1.xml:
11017         s/chage/chage command/ in DESCRIPTION.
11018
11019         * man/chage.1.xml:
11020         converted from roff using doclifter. Rewrited by hand.
11021
11022         * 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:
11023         cleanups.
11024
11025         * man/Attic/pwconv.8: fixed typo: s,fI,\fI,
11026
11027         * po/POTFILES.in: remove libmisc/login_{desrpc,krb}.c.
11028
11029         * lib/getdef.c, libmisc/Attic/login_desrpc.c, libmisc/Attic/login_krb.c, libmisc/Makefile.am, src/login.c, NEWS, autogen.sh, configure.in:
11030         drop never finished kerberos and des_rpc support.
11031
11032         * man/it/chfn.1: cleanups.
11033
11034 2005-04-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
11035
11036         * NEWS, configure.in:
11037         fixed UTMP path detection (by Kelledin <kelledin@users.sf.net>).
11038
11039         * man/fr/chsh.1: typo.
11040
11041         * man/de/Makefile.am, man/de/passwd.5:
11042         imported from Deutscher manpages.
11043
11044         * man/cs/Makefile.am, man/cs/groups.1, man/cs/lastlog.8, man/cs/su.1:
11045         new files imported from Czech man-pages.
11046
11047         * 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:
11048         cleanups: aded missing \fR.
11049
11050         * man/Attic/gpasswd.1, man/Attic/gshadow.5, man/Makefile.am, NEWS:
11051         added new file (by Nicolas Nicolas François <nicolas.francois@centraliens.net>).
11052
11053 2005-03-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
11054
11055         * man/pl/chage.1, man/pl/chfn.1, man/pl/chsh.1, man/pl/gpasswd.1:
11056         added missing \fR.
11057
11058         * man/pl/groupmod.8: typo: s,\fI,\fR,
11059
11060         * man/pl/login.1, man/pl/passwd.1: cleanups: aded missing \fR.
11061
11062         * man/pl/sulogin.8: cleanups.
11063
11064         * man/pl/useradd.8: cleanups: aded missing \fR.
11065
11066         * man/pl/usermod.8: partialy synced with english version.
11067
11068         * man/Attic/usermod.8: typo.
11069
11070         * NEWS, man/Attic/usermod.8:
11071         fixed #302388 Debian bug: added separated -o option description.
11072
11073         * lib/getdef.c:
11074         FAILLOG_ENAB, LOGIN_STRING moved to code "#ifndef USE_PAM" dependent.
11075
11076         * lib/pwauth.c, lib/pwauth.h: enable pw_auth() only #ifndef USE_PAM.
11077
11078         * 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:
11079         reindent all source code using -l80.
11080
11081         * libmisc/.indent.pro, src/.indent.pro, lib/.indent.pro: -l80 added.
11082
11083         * lib/gshadow.c, NEWS:
11084         rewrited group count to dynamic (by John Newbigin <jnewbigin@ict.swin.edu.au >).
11085
11086         * 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:
11087         run "make update-po".
11088
11089         * src/login.c: use allways "\n%s login: " login prompt.
11090
11091         * src/login.c: removed radius support (even not compiles).
11092
11093         * doc/Attic/README.mirrors, doc/Makefile.am: removed.
11094
11095         * src/userdel.c (update_user): removed next redundant closing }.
11096
11097         * src/userdel.c: remove using unused NO_REMOVE_MAILBOX #define.
11098
11099         * src/userdel.c (update_user): removed redundant closing }.
11100
11101 2005-03-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
11102
11103         * lib/getdef.c:
11104         move PASS_MAX_DAYS, PASS_MIN_DAYS and PASS_WARN_AGE to part PAM not dependent
11105         (used in useradd, pwconv).
11106
11107         * configure.in, src/Makefile.am:
11108         move define LOCALEDIR using AC_DEFINE_UNQUOTED() to src/Makefile.am::AM_CPPFLAGS.
11109
11110         * man/Attic/pwconv.8: typo in bold.
11111
11112         * doc/Attic/INSTALL: removed.
11113
11114         * doc/Attic/README.sun4, doc/Makefile.am: removed outdated README.sun4.
11115
11116 2005-03-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11117
11118         * po/pl.po: put mine data in Last-Translator: field.
11119
11120         * src/newusers.c:
11121         use the same as in useradd default UMASK (022 instead 077) if diffrent not
11122         defined in login.defs.
11123
11124         * NEWS, libmisc/copydir.c:
11125         added SELinux changes (based on Fedora patch).
11126
11127         * NEWS: typo.
11128
11129         * man/Attic/login.defs.5: typo in bold.
11130
11131         * src/chfn.c, src/chsh.c, lib/getdef.c:
11132         move CHFN_AUTH, CHSH_AUTH variables from login.defs to part !USE_PAM dependent.
11133         Use "auth required pam_unix.so" in /etc/pam.d/{chfn,chsh} for force enter password
11134         on use chfn/chsh.
11135
11136         * lib/getdef.c: added CHSH_AUTH variable in def_table[] table.
11137
11138         * src/chsh.c: s/CHFN_AUTH/CHSH_AUTH/
11139
11140         * man/Attic/shadow.5, man/Attic/passwd.5:
11141         add more accurate information about what contains field with encrypted password in
11142         each passwd/shadow line (reported by Mike Brodbelt).
11143
11144         * autogen.sh: reorder.
11145
11146         * lib/getdef.c:
11147         CRACKLIB_DICTPATH, ENV_HZ, ENV_PATH, ENV_ROOTPATH, ENV_SUPATH, ENV_TZ,
11148         ENVIRON_FILE, FTMP_FILE, ISSUE_FILE, LASTLOG_ENAB, MAIL_CHECK_ENAB, MAIL_DIR,
11149         MAIL_FILE, MD5_CRYPT_ENAB, MOTD_FILE, NOLOGINS_FILE, OBSCURE_CHECKS_ENAB,
11150         PASS_ALWAYS_WARN, PASS_CHANGE_TRIES, PASS_MAX_DAYS, PASS_MAX_LEN, PASS_MIN_DAYS,
11151         PASS_MIN_LEN, PASS_WARN_AGE, PORTTIME_CHECKS_ENAB, SU_WHEEL_ONLY, QMAIL_DIR,
11152         QUOTAS_ENAB, ULIMIT variables moved to code "#ifndef USE_PAM" dependent.
11153
11154         * configure.in:
11155         fix importand typo: added missing ",". Now LOGIN_ACCESS realy is defined only
11156         when PAM is not enabled.
11157
11158         * libmisc/obscure.c, libmisc/limits.c:
11159         all functions from this file are "#ifndef USE_PAM" dependent.
11160
11161         * libmisc/setugid.c (change_uid):
11162         removed dead code depndent on "#ifdef BSD".
11163
11164         * libmisc/ttytype.c (ttytype):
11165         removed dead code depend on "defined(SUN) || defined(BSD) || defined(SUN4)".
11166
11167         * src/login.c (setup_tty): remove dead code.
11168
11169         * libmisc/rlogin.c:
11170         fix compilation warning: replace #include <unistd.h> by #include <netdb.h>
11171         where ruserok() is declared.
11172
11173 2005-03-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11174
11175         * po/pl.po: kill one fuzzy entry.
11176
11177 2005-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11178
11179         * NEWS, libmisc/log.c:
11180         fixed create lastlog entry fo users never loged in on non-PAM
11181         variant of login (fix by <oracular@ziplip.com>).
11182
11183 2005-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11184
11185         * NEWS, etc/Attic/login.defs.linux, etc/login.defs, lib/getdef.c, man/pl/login.defs.5:
11186         remove handle login.defs::NOLOGIN_STR (never used).
11187
11188 2005-02-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11189
11190         * man/Attic/shadow.5:
11191         added missing '\&' in line starting with '\.', which causes groff to skip
11192         it entirely (fix submited by Danilo Piazzalunga <danilopiazza@libero.it>).
11193
11194         * TODO: cleanups.
11195
11196 2005-02-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11197
11198         * src/useradd.c, NEWS:
11199         useradd: fixes a potential security problem when mailbox is created in
11200         useradd.
11201         Patch and comment by Koblinger Egmont <egmont@uhulinux.hu>:
11202         Only two arguments are passed to the open() call though it expects three
11203         because O_CREAT is present. Hence the permission of the file first becomes
11204         some random garbage found on the stack, and an attacker can perhaps open
11205         this file and hold it open for reading or writing before the proper
11206         fchmod() is executed. (Actually, we could also pass the final "mode" to
11207         the open() call and then save the consequent fchmod().)
11208
11209 2005-02-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11210
11211         * NEWS, po/LINGUAS, po/tl.po:
11212         added tl translation (fron Debian resources).
11213
11214 2005-02-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11215
11216         * NEWS, src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c:
11217         SELinux changes: added changes in chage, chfn, chsh, passwd for allow
11218         construct more grained user password/accuunt properties on SELinux
11219         policies level. Patch originally based on RH changes (submited by Chris
11220         PeBenito <pebenito@gentoo.org>)
11221
11222 2005-02-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11223
11224         * po/fr.po, NEWS:
11225         updated translation (by Jean-Luc Coulon <jean-luc.coulon@wanadoo.fr>) from
11226         Debian resources.
11227
11228 2005-01-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11229
11230         * NEWS, configure.in: open work on 4.0.8.
11231
11232 2005-01-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11233
11234         * 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:
11235         "make update-po".
11236
11237 2005-01-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11238
11239         * NEWS, po/it.po:
11240         updated it translations (by Danilo Piazzalunga <danilopiazza@libero.it>).
11241
11242 2005-01-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11243
11244         * libmisc/rlogin.c: remove ruserok() prototyle and #include <unistd.h>.
11245
11246         * lib/getdef.c: remove strtol() prototype (it comes with <stdlib.h>).
11247
11248         * po/da.po, po/es.po, po/nl.po, po/pl.po, po/pt.po:
11249         "Project-Id-Version: shadow 4.0.7".
11250
11251         * NEWS, po/fi.po:
11252         updated fi translation (by Tommi Vainikainen <thv+debian@iki.fi>).
11253
11254 2005-01-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11255
11256         * po/da.po, po/es.po, po/pl.po, po/pt.po: kill fuzzy entries.
11257
11258         * po/nl.po, NEWS:
11259         updated nl translations (by cobaco (aka Bart Cornelis)" <cobaco@linux.be>).
11260
11261         * lib/Makefile.am (libshadow_la_LIBADD): removed snprintf.h.
11262
11263         * NEWS, po/LINGUAS, po/zh_TW.po:
11264         added zh_TW translation (from Debian resources).
11265
11266         * 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:
11267         "make update-po".
11268
11269         * 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:
11270         "less means better" added fixes which makes english texts more consistent
11271         especially with capitalization issues. Based on fixes by Tommi Vainikainen
11272         <thv+debian@iki.fi> (make all text begining from lower case .. not upper).
11273         This patch cuts i18n entries in each po/*po file from 420 to 402.
11274
11275 2005-01-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11276
11277         * NEWS: added pt to updated translations.
11278
11279         * lib/defines.h: reverte last change (mistake).
11280
11281         * po/pt.po:
11282         updated translation by Miguel Figueiredo <elmig@debianpt.org>.
11283
11284 2005-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
11285
11286         * NEWS: typo.
11287
11288         * NEWS: update da, es and pl (100%) translations.
11289
11290         * po/pl.po: finish translations.
11291
11292         * po/da.po: updated translations by Claus Hindsgaul <claus_h@image.dk>.
11293
11294         * NEWS, TODO: Typos found by Claus Hindsgaul <claus_h@image.dk>.
11295
11296         * po/es.po: Updates from Ruben Porras <nahoo@inicia.es>.
11297
11298         * lib/defines.h: - remove usong shadow_.h.
11299
11300         * po/pl.po: kill fuzzy.
11301
11302         * 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:
11303         remove unused now files in lib/ directory.
11304
11305         * 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:
11306         Now correctly shadow passes "make distcheck".
11307
11308         * NEWS: typo.
11309
11310 2005-01-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11311
11312         * 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:
11313         switch faillog ro use getopt_long().
11314
11315         * etc/pam.d/su: aded line with "session required pam_env.so".
11316
11317 2004-12-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
11318
11319         * man/de/Makefile.am, man/de/vigr.8, man/de/vipw.8, NEWS:
11320         added de vigr(8), vipw(8) man pages (from Debian resources).
11321
11322 2004-12-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
11323
11324         * po/LINGUAS, po/ro.po, po/sq.po, NEWS:
11325         added ro, sq translations (from Debian resources).
11326
11327 2004-12-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11328
11329         * configure.in:
11330         added checing is fseeko() function is avalaibabe in system: added fseeko to
11331         AC_CHECK_FUNCS parameters.
11332
11333         * lib/Makefile.am:
11334         fixed warning message about incorrect try linking non-PIC code with shared
11335         library: removed $(top_builddir)/libmisc/libmisc.a from libshadow_la_LIBADD.
11336
11337         * NEWS:
11338         - final entry about fixed large file support in lastlog and faillog.
11339
11340         * src/vipw.c, lib/Attic/pwent.c, lib/Attic/grent.c:
11341         use fseeko() instead fseek(). This not realuy neccessary because in this
11342         cases fseek() was used for move to begin of file. This only for minimize
11343         external functions count.
11344
11345         * src/faillog.c:
11346         fixes for allow operate on large files by faillog: use fseeko() instead
11347         fseek().
11348
11349         * src/lastlog.c:
11350         fixes for allow operate lastlog on large files: use fseeko() instead fseek()
11351         and do not casrt file offsets to unsigned long (based on large-file patch
11352         from FC).
11353
11354         * src/faillog.c: fixed typo in usage().
11355
11356 2004-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11357
11358         * man/pl/newgrp.1: fixed typo in bold macro.
11359
11360 2004-12-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11361
11362         * man/pl/chpasswd.8: remove bold from NAZWA section.
11363
11364 2004-12-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11365
11366         * src/faillog.c: remove using Prog variable.
11367
11368         * configure.in, NEWS:
11369         fixed large file support: added AC_SYS_LARGEFILE macro to autoconf.
11370
11371         * man/Attic/groupmod.8, man/pl/groupmod.8: separate OPTIONS section.
11372
11373         * man/pl/chpasswd.8: sync with english version.
11374
11375         * man/Attic/chpasswd.8:
11376         bold "chpasswd" command name in CAVEATS section.
11377
11378         * man/Attic/chpasswd.8: s/protect/protected/
11379
11380         * man/pl/lastlog.8: cleanups.
11381
11382         * man/Attic/chpasswd.8, man/Attic/lastlog.8, man/Attic/newusers.8:
11383         remove bold from NAME section.
11384
11385         * man/it/groupadd.8, man/it/useradd.8: separate OPZIONI section.
11386
11387         * man/pl/groupmems.8: fixes in OPCJE section.
11388
11389         * man/Attic/chpasswd.8: more cleanups.
11390
11391 2004-12-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
11392
11393         * 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:
11394         Fixed varoiuse typos and misspeling based partialy on patch from Bug#141322
11395         from Debian (submited by Christian Perrier <bubulle@debian.org>).
11396
11397         * man/Attic/chpasswd.8: more cleanups.
11398
11399         * man/pl/faillog.8, man/Attic/faillog.8, man/ja/faillog.8:
11400         remove from OPTIONS section information about avalaibability on some systems
11401         faillog database in other location thad listed in FILES section.
11402
11403         * man/Attic/chpasswd.8: updated.
11404
11405         * man/fr/faillog.5:
11406         fixed FICHIERS secttion: corrected change to italic on /var/log/faillog.
11407
11408         * src/faillog.c:
11409         move main() to the end of file and reorder rest functions. Now declararion
11410         finction prototypes can be removed.
11411
11412 2004-12-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11413
11414         * NEWS: updated.
11415
11416         * man/pl/lastlog.8: synced with current english version.
11417
11418         * man/Attic/lastlog.8: use the same style as in chpasswd(8).
11419
11420         * 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:
11421         "make update-po" after rewrite lastlog.
11422
11423         * src/lastlog.c: Rewrite for use the same style as in chpasswd.c.
11424         Move open lastlog file after commadline option parsing so now --help option
11425         can be used by user without read access to lastlog file.
11426
11427         * src/chpasswd.c:
11428         s/display this help and exit/display this help message and exit/ in ussage()
11429         output.
11430
11431         * 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:
11432         "make update-po".
11433
11434         * src/chpasswd.c:
11435         Added handle -h|--help option. Improved and updated ussage() output.
11436
11437 2004-12-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11438
11439         * 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:
11440         "make update-po" and resolve fuzzy with last change in src/chpasswd.c.
11441
11442         * src/chpasswd.c, NEWS:
11443         switch chpasswd to use getopt_long() and adds a --md5 option
11444         (by Ian Gulliver <ian@penguinhosting.net>).
11445
11446         * NEWS, configure.in: start work on 4.0.7.
11447
11448 2004-11-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11449
11450         * NEWS: cleanups.
11451
11452         * 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:
11453         removed not used translations.
11454
11455         * NEWS, src/su.c:
11456         fix adding of pam_env env variables to enviroment (Martin Schlemmer <azarah@nosferatu.za.org>).
11457
11458         * NEWS, configure.in:
11459         fixed filling MAIL_SPOOL_DIR and MAIL_SPOOL_FILE variables which was allways
11460         empty (Gregorio Guidi <g.guidi@sns.it>)
11461
11462         * NEWS: updated.
11463
11464         * 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:
11465         do not translate variable names from /etc/default/useradd during "useradd -D".
11466
11467 2004-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
11468
11469         * 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:
11470         correction: groups/users with gid/uid 0 and 999 are reserved for system accounts.
11471
11472         * 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:
11473         zgroups/users with gid/uid 0 and 499 are typically reserved for system accounts.
11474
11475 2004-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11476
11477         * 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:
11478         separated OPTIONS section.
11479
11480         * lib/commonio.c: reverte last change.
11481
11482         * libmisc/pwdcheck.c:
11483         one word fix .. ommited "else" was removed. Now security bug which allow
11484         unauthorized account properties modification is realy closed.
11485
11486 2004-10-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
11487
11488         * lib/commonio.c:
11489         add matchpathcon to create the files correctly when they do not exist (based
11490         on patch from FC).
11491
11492         * man/Attic/passwd.1: fixed two typos ("/" in incorrect place).
11493
11494 2004-10-27  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
11495
11496         * etc/pam.d/useradd: - added header
11497
11498         * etc/pam.d/chfn, etc/pam.d/chsh, etc/pam.d/userdel: - fixed header
11499
11500 2004-10-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
11501
11502         * etc/pam.d/chfn, etc/pam.d/chsh, etc/pam.d/userdel:
11503         added missing template/example PAM service config files for chfn, chsh, userdel.
11504
11505         * NEWS, configure.in: start 4.0.6.
11506
11507 2004-10-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11508
11509         * 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:
11510         remove adduser(8) roff include man page to useradd(8).
11511
11512         * lib/Makefile.am: more fixes for non-inst libmisc.
11513
11514         * libmisc/Makefile.am, src/Makefile.am, NEWS:
11515         change libmisc to private static library.
11516
11517         * etc/pam.d/Makefile.am: typo.
11518
11519 2004-10-24  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
11520
11521         * po/pl.po: - more translation/formatting fixes
11522
11523         * po/pl.po: - updated translation
11524
11525         * 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:
11526         - make update-po, updated usage() translation
11527
11528         * src/useradd.c: - syntax fix for useradd in usage()
11529
11530         * 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:
11531         - usage() formatting and other fixes
11532
11533         * po/fi.po: - proper UTF
11534
11535         * po/pl.po: - pl translation fixes/updates by Jakub Bogusz
11536
11537 2004-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11538
11539         * 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:
11540         use default path to PAM modules.
11541
11542         * 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:
11543         Remove shadow PAM config file. Added PAM config files for: chage, chpasswd,
11544         groupadd, groupdel, groupmod, login, newusers.
11545
11546         * 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:
11547         "make update-po".
11548
11549         * configure.in: reverte previous incorrect commit.
11550
11551         * NEWS, src/su.c:
11552         add pam_open_session() support. If builded without PAM support
11553         propagate $DISPLAY and $XAUTHORITY enviroment variables.
11554         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
11555
11556 2004-10-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11557
11558         * configure.in: cleanups.
11559
11560         * lib/defines.h:
11561         define syslog() depending on ENABLE_NLS (not on HAVE_SETLOCALE).
11562
11563 2004-10-23  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
11564
11565         * man/fr/Makefile.am: - killed non-existent manpage
11566
11567 2004-10-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11568
11569         * libmisc/copydir.c, NEWS:
11570         when placing symlinks into /etc/skel copy_tree of libmisc/copydir.c will
11571         properly create the symlink in the destination directory but not change the
11572         ownership to the target user/group. This makes httpd Option
11573         SymlinkIfOwnerMatch break for default weg pages including symlinks placed
11574         into /etc/skel/public_html for example.
11575         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=66819
11576
11577 2004-10-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
11578
11579         * src/Makefile.am:
11580         seems I foud CorrectWay(tm) for add some symlinks on install target.
11581
11582         * po/pl.po: more fixes.
11583
11584         * po/pl.po: added missing \n.
11585
11586         * 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:
11587         more verbose/human readable -l output. This output is much more beter for
11588         send directly via email for each users as message with account status (for
11589         example as message with warning about account/password expiration).
11590
11591         * configure.in: start prepare for 4.0.5.
11592
11593         * src/Makefile.am, libmisc/Makefile.am, lib/Makefile.am, configure.in:
11594         move LOCALEDIR to autoheader variables. Remove redefining DEFS in
11595         Makefile.am (not neccessary now).
11596
11597         * 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:
11598         applied OWL shadow-4.0.4.1-owl-pam-auth.diff patch by Solar Designer
11599         <solar@openwall.com>:
11600           Moved the PAM authentication in user management commands after
11601           command-line parsing, made it use separate service names for each command.
11602           Use constant strings rather than argv[0] for syslog ident in the user
11603           management commands.
11604
11605         * man/Attic/useradd.8:
11606         reword the useradd manpage a little to make it more clear. Fix from:
11607         http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-apps/shadow/files/shadow-4.0.4.1-useradd-manpage-update.patch?rev=1.1
11608
11609         * configure.in: added libselinux detection.
11610
11611         * lib/Makefile.am, lib/commonio.c, lib/commonio.h, NEWS, autogen.sh, configure.in:
11612         added SELinux support (basing on patch from Gentoo).
11613
11614         * man/fr/Makefile.am (man_MANS): added getspnam.3.
11615
11616 2004-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11617
11618         * 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:
11619         English grammar fix: s/is a not a valid group name/is not a valid group name/
11620         (pointed by Mike Frysinger <vapier@gentoo.org>).
11621
11622 2004-10-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
11623
11624         * NEWS, src/userdel.c:
11625         When removing a user with userdel, userdel always exits 1 (fixed).
11626         Based on http://bugs.gentoo.org/show_bug.cgi?id=66687.
11627
11628 2004-08-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11629
11630         * configure.in:
11631         Use AC_SEARCH_LIBS() for inet_ntoa(), socket(), gethostbyname() probing (instead AC_CHECK_FUNC()).
11632
11633 2004-08-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11634
11635         * man/Makefile.am: shadow(3) man page moved to man_MANS.
11636
11637         * libmisc/ttytype.c: Removed getenv() prototype (it is in <stdlib.h>).
11638
11639         * src/Attic/mkpasswd.c:
11640         Removed fgetsx() prototype (it is in lib/prototypes.h).
11641
11642         * man/it/vigr.8: Fixed typo (s/wipw/vipw/).
11643
11644 2004-08-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11645
11646         * NEWS: Typo.
11647
11648         * 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:
11649         Run "make update-po".
11650
11651         * po/ca.po, po/da.po, po/nl.po, po/pt_BR.po: Converted to UTF-8.
11652
11653         * po/LINGUAS: Typo.
11654
11655         * 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:
11656         New translations: bs, ca, da, eu, he, id, nb, nl, nn, pt, pt_BR, tr,
11657         zh_CN (stolen froM Debian)
11658
11659         * 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:
11660         Corrected section number.
11661
11662 2004-08-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
11663
11664         * 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:
11665         Options description in alphabetical order.
11666
11667         * NEWS, src/login.c:
11668         Applied 036_pam_access_with_preauth.patch Debian patch submited by Bjorn
11669         Torkelsson <Bjorn.Torkelsson@hpc2n.umu.se>: add support for PAM account
11670         management to restrict access using pam_access when login is invoked with -f.
11671
11672 2004-06-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11673
11674         * man/Attic/getspnam.3: added roff link to shadow(3).
11675
11676         * man/Makefile.am (man_MANS): added getspnam.3.
11677
11678 2004-06-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
11679
11680         * NEWS, lib/commonio.c, lib/getdef.c, src/vipw.c:
11681         Applied OWL shadow-4.0.4.1-owl-check-reads.diff patch by Solar Designer.
11682         Add checking for read errors in commonio and vipw/vigr (not doing so could
11683         result in data loss when the records are written back).
11684
11685         * NEWS: Add note about apply shadow-4.0.4.1-owl-tmp.diff OWL patch.
11686
11687         * src/useradd.c, configure.in:
11688         Remove looking for mkstemp() prototype and allways use mkstemp() (removed
11689         using mktemp if mkstemp() not found).
11690         Partialy based on tmp OWL patch by Solar Designer <solar@openwall.com>.
11691
11692         * NEWS, libmisc/pwdcheck.c:
11693         Fixed securirty bug which allow unauthorized account properties modification.
11694         Affected tools: chfn and chsh.
11695         Bug was discovered by Martin Schulze <joey@infodrom.org>.
11696
11697 2004-05-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
11698
11699         * NEWS: typo.
11700
11701         * NEWS, po/LINGUAS, po/it.po:
11702         added it translation (by Danilo Piazzalunga <danilopiazza@libero.it>).
11703
11704 2004-05-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11705
11706         * NEWS: typos.
11707
11708         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
11709
11710 2004-05-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11711
11712         * po/sk.po: run "make update-po".
11713
11714         * NEWS, po/LINGUAS, po/sk.po:
11715         added sk translation (by Mann <Peter.Mann@tuke.sk>, submited by Christian
11716         Perrier <bubulle@kheops.frmug.org>).
11717
11718 2004-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11719
11720         * configure.in:
11721         Use autoconf cache variables for file and directory location tests (by
11722         Maciej W. Rozycki  <macro@ds2.pg.gda.pl>).
11723
11724 2004-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
11725
11726         * man/Attic/passwd.5:
11727         Correct path directory delimiters (by Maciej W. Rozycki <macro@ds2.pg.gda.pl>).
11728
11729         * libmisc/xmalloc.c (malloc):
11730         Remove the declaration (by Maciej W. Rozycki <macro@ds2.pg.gda.pl>).
11731
11732 2004-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
11733
11734         * src/login.c, NEWS:
11735         Fixed handle -f option: now it works correctly without specify "-h
11736         <host>" if open login session localy is required (thanks for help
11737         investigate bug for Krzysztof Kotlenga).
11738
11739         * po/es.po: Updated (by Ruben Porras <nahoo82@telefonica.net>).
11740
11741 2004-04-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11742
11743         * 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:
11744         Run "update-po".
11745
11746 2004-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
11747
11748         * po/es.po: Updated to current (by run "update-po").
11749
11750         * po/es.po: Converted to utf-8.
11751
11752         * po/LINGUAS: Added es.
11753
11754         * po/es.po, NEWS:
11755         Added es translation (by Ruben Porras <nahoo82@telefonica.net>).
11756
11757 2004-04-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11758
11759         * po/ko.po, NEWS:
11760         Updated ko translations (by Changwoo Ryu <cwryu@debian.org>).
11761
11762 2004-04-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11763
11764         * po/fi.po: iconv -f iso8859-9 -t utf8
11765
11766 2004-03-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
11767
11768         * libmisc/age.c:
11769         Use endsgent() conditionaly depending on SHADOWGRP (fix submited by Gabor Z.
11770         Papp <gzp@papp.hu>).
11771
11772         * po/LINGUAS, po/fi.po, NEWS:
11773         Added fi translation (by Tommi Vainikainen <thv@iki.fi>).
11774
11775         * README: Fixed shadow and shadow-commit lists on-line archives URLs.
11776
11777 2004-01-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11778
11779         * NEWS, configure.in, man/fr/Makefile.am, man/hu/Makefile.am, man/it/Makefile.am:
11780         New version 4.0.4.1
11781         bug fixes in automake files for generate correct tar ball on "make dist":
11782         added midsiing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
11783
11784         * man/ko/Makefile.am: New version 4.0.4.1
11785         bug fixes in automake files for generate correct tar ball on "make dist":
11786         added missing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
11787
11788         * man/de/Makefile.am, man/es/Makefile.am: New version 4.0.4.1
11789         bug fixes in automake files for generate correct tar ball on "make dist":
11790         added midsiing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
11791
11792         * configure.in: Fixed checking is avalaible st_rdev in struct stat.
11793
11794 2004-01-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11795
11796         * po/pl.po: Typo.
11797
11798         * man/pl/useradd.8: Cleanups in SYNOPSIS.
11799
11800 2004-01-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11801
11802         * po/pl.po: Cleanups.
11803
11804 2004-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11805
11806         * configure.in: Cleanups after autoupdate.
11807
11808 2004-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11809
11810         * 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:
11811         Added missing information about -f options in groupadd usage mesage (document
11812         this also in man page).
11813
11814 2003-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11815
11816         * lib/Attic/lastlog_.h, libmisc/log.c, libmisc/utmp.c, src/lastlog.c, src/login.c:
11817         More time() or gettimeofday() prevention overwrite memory on 64bit arch
11818         (partialy based on patch from MDK).
11819
11820         * 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:
11821         Post remove TCFS support "make update-po".
11822
11823         * man/Makefile.am: Removed getspnam.3 from EXTRA_DIST.
11824
11825         * po/POTFILES.in: Removed lib/tcfsio.c.
11826
11827         * lib/Attic/tcfsio.c, lib/Attic/tcfsio.h, lib/Makefile.am, src/passwd.c, src/userdel.c, NEWS, configure.in, doc/Attic/README.pam:
11828         Removed TCFS support (tcfs is dead).
11829
11830         * configure.in:
11831         Added using AM_MAINTAINER_MODE. AC_INIT without parameters.
11832
11833         * Attic/acconfig.h, configure.in:
11834         Cleanups on autoheadres level: use AC_DEFINE(VAR, VAL, [Comment]) for
11835         USE_PAM, HAVE_TCFS and TCFS_GDBM_SUPPORT.
11836
11837         * src/newusers.c, src/useradd.c, Attic/acconfig.h, autogen.sh, lib/Attic/pwpack.c, NEWS:
11838         Remove all old BSD_QUOTA dependent code.
11839
11840 2003-12-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
11841
11842         * lib/Makefile.am, libmisc/Makefile.am, src/Makefile.am:
11843         Removed -I$(top_srcdir) from INCLUDES (isn't neccessary becaus this is in
11844         DEFAULT_INCLUDES) - slightly shorter compile output.
11845
11846         * Makefile.am, configure.in:
11847         Added using AM_GNU_GETTEXT([external]) - removed intl SUBDIRS.
11848         Added locale.h to AC_CHECK_HEADERS() - lib/defines.h have part which depends
11849         on HAVE_LOCALE_H.
11850
11851         * lib/nscd.h: Added missing newline at end of file.
11852
11853         * Attic/acconfig.h: Remove unused (#un)defines.
11854
11855         * autogen.sh: Typo.
11856
11857         * autogen.sh: Much more simpler script - use autoreconf.
11858
11859         * 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:
11860         "make update-po".
11861
11862 2003-12-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11863
11864         * po/LINGUAS: Languages list for gettext 1.12.x.
11865
11866 2003-10-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11867
11868         * po/pl.po: Kill fuzzy entries.
11869
11870 2003-10-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11871
11872         * man/Attic/usermod.8:
11873         Typo: missing "." on end of sentence (submited by Stepan Kasal <kasal@ucw.cz>).
11874
11875 2003-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11876
11877         * 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:
11878         convert all po/*.po files to utf-8.
11879
11880 2003-09-05  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
11881
11882         * po/ru.po: - fixed header
11883
11884 2003-07-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
11885
11886         * 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:
11887         Otput "passwd: password updated successfully\n" message on successfull
11888         password change (based on Debian changes).
11889
11890         * src/newgrp.c: Remove work around for unsecure gettext.
11891
11892 2003-06-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
11893
11894         * src/useradd.c, src/usermod.c:
11895         Added initializing memory in variables when get_groups() function is not called,
11896         and memory allocated for user_groups is not initialized (in both useradd and
11897         usermod when -G options is used and in usermod when -l option is used).
11898         That causing segfaults sometimes.
11899         This fix is importand but not critical because usermod and usermod aren't suid
11900         root.
11901         Problem reported and fixed by Alexey Voinov <voins@altlinux.ru>.
11902
11903 2003-06-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
11904
11905         * man/Attic/login.1: Fixed FILES section.
11906
11907         * 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:
11908         Indented.
11909
11910         * src/chage.c: Move *flg variables to global.
11911
11912         * Attic/acconfig.h: Comment for USG.
11913
11914 2003-05-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11915
11916         * man/de/chfn.1, man/de/login.1:
11917         Fixed section name (s/NAME/BEZEICHNUNG/).
11918
11919         * man/de/chfn.1, man/de/chsh.1: Sync FILES section with en version.
11920
11921         * man/Attic/login.1: Typo (s/avr/var/).
11922
11923         * man/de/login.1: Sync FILES section with en man version.
11924
11925         * man/de/chfn.1, man/de/chsh.1, man/de/login.1: Remove ^M from EOL.
11926
11927         * man/de/login.1, man/de/Makefile.am, man/de/chfn.1, man/de/chsh.1, NEWS:
11928         Next round updates from Josef Spillner <josef@ggzgamingzone.org>: update
11929         chsh(1), login(1) and added new chfn(1) german man pages.
11930
11931         * NEWS: Added info about remove d_passwd(5), dialups(5) man pags.
11932
11933 2003-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11934
11935         * 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:
11936         One TODO entry gone: fix nscd flushing databases on change (use
11937         per service flushing method instead HUPing nscd process).
11938
11939         * lib/Makefile.am, lib/commonio.c, lib/nscd.c, lib/nscd.h, libmisc/Attic/nscd.c, libmisc/Attic/nscd.h, libmisc/Makefile.am:
11940         Move nscd.{c,h} from libmisc/ to lib/.
11941         Fix warning about implicit declaration of function `nscd_flush_cache' in lib/commonio.c.
11942
11943         * lib/pwauth.h: Fix pw_auth() prototype.
11944
11945         * libmisc/Attic/nscd.c, libmisc/Attic/nscd.h, libmisc/Makefile.am:
11946         Added header file for nscd communication functions.
11947
11948         * libmisc/chkname.c (good_name):
11949         fixed warning about comparison between pointer and integer.
11950
11951         * 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:
11952         "make update-po".
11953
11954         * src/useradd.c (main):
11955         chain create_mail() and small fix in usage message.
11956
11957         * src/userdel.c: Removed AUTH_METHODS code.
11958
11959         * lib/pwauth.c: Fixed pw_auth() prototype.
11960
11961         * src/sulogin.c, src/usermod.c: Removed AUTH_METHODS code.
11962
11963         * 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:
11964         "make update-po".
11965
11966         * src/useradd.c: Indent.
11967
11968         * 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:
11969         Cleanups continuations: removed old AUTH_METHODS dependent code,
11970         removed also pwauth(8) man page.
11971
11972         * man/pl/Makefile.am (man_MANS): remove d_passwd.5 man page.
11973
11974         * 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:
11975         Cleanups in usage messages.
11976
11977         * src/newgrp.c: Cleanups in comments.
11978
11979         * 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:
11980         "make update-po".
11981
11982         * lib/getdef.c (main): remove gettextize error messages from test code.
11983
11984         * NEWS: Cleanups.
11985
11986 2003-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11987
11988         * 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:
11989         Added handle by useradd /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes|no}.
11990         Now on adding user account can be added also created empty user mail
11991         spool. Curent code handle only mailbox.
11992         TODO: add handle create user mail spool in maildir format.
11993
11994         * TODO: Typo.
11995
11996         * src/chage.c (usage): fix missing ")".
11997         (main): updated commented description.
11998
11999         * src/useradd.c: Indent.
12000
12001         * man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8:
12002         Minor cleanups.
12003
12004         * man/Attic/chage.1, man/pl/chage.1:
12005         Rewrite for use claissic list form options descriptions.
12006
12007         * man/pl/groupadd.8:
12008         s/Polecenie groupadd posiada opcje:/Polecenie groupadd posiada następujące opcje:/
12009
12010         * TODO: ALL:
12011         move base passwd/shadow/group/gshadow operation to module for allow write
12012         diffrent backend modules for db, NIS, LDAP and others. Default backend it
12013         will be choose depending on /etc/nsswitch.conf and allow overrride this by
12014         -r <repository> options (where the <repository> can be file, db, nis
12015         nisplus, ldap .. like on /etc/nsswitch.conf in service column).
12016         passwd have old piece of code with handling -r option and it will be good
12017         finish this and propagate on other shadow tools for allow operate on other
12018         user databases by well known tools.
12019
12020         useradd:
12021         add handle /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes,no} for allow
12022         create empty mail spool for added user.
12023
12024         * man/pl/Attic/d_passwd.5, man/pl/Attic/dialups.5: Removed.
12025
12026         * man/Attic/groupmems.8: Close few \fB by add \fR.
12027
12028         * man/Attic/groupadd.8, man/Attic/groupmems.8: Minor cleanups.
12029
12030 2003-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12031
12032         * src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c:
12033         Move non-SHADOWPWD stub code to end of file (like in chage.c) and do not use
12034         gettextized message.
12035
12036         * 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:
12037         "make update-po".
12038
12039         * src/chage.c, NEWS:
12040         Now all code depend on SHADOWPWD. If shadow will not be configured on
12041         autoconf level for using shadow possword chage is olny stub which informs
12042         "chage not configured for shadow password support."
12043
12044         * man/it/Makefile.am: Removed EXTRA_DIST (not neccessary).
12045
12046         * man/es/Makefile.am: Removed groups.1 (doen't exist es groups(1)).
12047
12048         * man/de/Makefile.am (man_MANS): added login.1.
12049
12050         * man/de/Makefile.am: Removed EXTRA_DIST (isn't neccessary now).
12051
12052         * 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:
12053         Install groups(1) man page (moved from EXTRA_DIST to man_MANS).
12054
12055         * po/.cvsignore:
12056         Added files generated by gettextize from gettext 0.11.5.
12057
12058         * 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:
12059         Updated after removing dialup tools.
12060
12061         * po/POTFILES.in: Removed lib/{dialchk,dialup}.c and src/dpasswd.c.
12062
12063 2003-05-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12064
12065         * libmisc/shell.c (shell): do not gettexitize DEBUG message.
12066
12067         * 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:
12068         Removed "#if 0 .. #endif" dead code.
12069
12070         * libmisc/utmp.c: Fixed unterminated #if.
12071
12072         * libmisc/Attic/login_access.c (resolve_hostname):
12073         cleanup: removed #if 1 .. #endif.
12074
12075         * libmisc/.cvsignore: Added getdate.c.
12076
12077         * libmisc/Attic/getdate.c:
12078         Removed - this file is generated by bison/yacc.
12079
12080         * configure.in:
12081         Change file name passwd in AC_INIT argument from lib/dialchk.c to src/passwd.c.
12082
12083         * src/su.c:
12084         Removed dead code (#if 0 .. #endif) with call motd() and mailcheck()
12085         (was commnted because GNU su doesn't do this).
12086
12087 2003-05-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12088
12089         * 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:
12090         Removed old dpasswd and DIALUPS_CHECK_ENAB login.defs handling code from login.
12091
12092         * doc/Attic/ANNOUNCE, doc/Makefile.am, NEWS: Removed old doc/ANNOUNCE.
12093
12094         * src/login.c, lib/getdef.c, etc/Attic/login.defs.linux, NEWS:
12095         Remove NO_PASSWORD_CONSOLE code.
12096
12097 2003-05-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
12098
12099         * 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:
12100         Remove old SVR4, ATT_AGE, ATT_COMMENT dependent code.
12101
12102         * src/chage.c:
12103         Remove some ageing code which was not used if SHADOWPWD isn't defined.
12104         Now handling mindays, maxdays and lastday also depends on SHADOWPWD.
12105
12106 2003-05-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
12107
12108         * 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:
12109         Reformated.
12110
12111         * etc/login.defs:
12112         Use FHS 2.x compliant paths to lastlog, sulog, mail spool and also change
12113         ENV_SUPATH to PATH=/sbin:/bin:/usr/sbin:/usr/bin and
12114         ENV_PATH to PATH=/bin:/usr/bin
12115
12116         * 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:
12117         Removed old stuff.
12118
12119 2003-04-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12120
12121         * 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:
12122         make update-po
12123
12124         * src/su.c: Remove not mached #endif after removing ATT_AGE code.
12125
12126         * man/ko/passwd.5: Remove ^M from end of line.
12127
12128         * 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:
12129         Removed old ATT_AGE (account ageing in passwd file) dependent code.
12130
12131         * po/pl.po: Fix chage and lastlog messages.
12132
12133 2003-04-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12134
12135         * libmisc/limits.c, src/logoutd.c:
12136         More utmp/utmpx fixes: use endutend() or endutxend() depending on HAVE_UTMPX_H.
12137
12138         * 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:
12139         Run "make update-po" after remove SVR4 code and fix duplicated entries in sv.po.
12140
12141         * NEWS, src/login.c, src/logoutd.c, src/useradd.c:
12142         Remove old SVR4 and SVR4_SI86_EUA dependent code from login, useradd and
12143         logoutd.
12144
12145 2003-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12146
12147         * man/pl/usermod.8: Remove "OD TŁUMACZA" section.
12148
12149         * 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:
12150         Added EXIT VALUES section with full description exit codes.
12151
12152         * src/groupadd.c: Typo (s/nut/not/).
12153
12154         * man/Attic/shadowconfig.8: Merge changes from Debian.
12155
12156         * NEWS, man/Attic/passwd.5:
12157         Remove text about password aging from passwd(5) (based on Debian changes).
12158
12159         * 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:
12160         More unification in lastlog command syntax.
12161
12162         * man/Attic/lastlog.8, man/it/lastlog.8, man/ja/lastlog.8, man/pl/lastlog.8:
12163         Unifications in SYNOPSIS.
12164
12165         * 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:
12166         Remove ^M from end of line.
12167
12168         * man/Attic/gpasswd.1, man/Attic/groupadd.8:
12169         Indentation in FILES section.
12170
12171         * src/pwconv.c, src/useradd.c, src/userdel.c:
12172         s/bad command syntax/invalid command syntax/
12173
12174         * src/userdel.c:
12175         Indent by hand (seems indent have problems with complex conditions).
12176
12177         * man/ru/Makefile.am: man_MANS: s#passwd.1#passwd.5#
12178
12179         * po/pl.po: s/nie mogę/nie można/
12180
12181         * po/fr.po: Emoticon removed.
12182
12183         * NEWS, configure.in, man/Makefile.am, man/ru/.cvsignore, man/ru/Makefile.am, man/ru/passwd.5:
12184         Added ru passwd(1) man page from KSI resources.
12185
12186         * 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:
12187         Added chch(1), chfn(1) man pages from chinese man pages translation
12188         project.
12189         Added id(1) man page czech man pages translation project.
12190         Updated ja man pages and added expiry(1).
12191
12192         * man/hu/groups.1, man/hu/login.1:
12193         Remove info about $HOME/.profile from FILES section (this does not depends
12194         stricte on shadow).
12195
12196         * configure.in, man/Makefile.am, man/es/Makefile.am:
12197         Added es man pages to ac/am suit.
12198
12199         * man/es/.cvsignore, man/hu/.cvsignore, man/pt_BR/.cvsignore, man/zh_CN/.cvsignore, man/zh_TW/.cvsignore:
12200         Added .cvsignore files.
12201
12202         * man/hu/Makefile.am, man/hu/su.1:
12203         Added su(1) man page from hungarian man pages translation project.
12204
12205 2003-04-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12206
12207         * NEWS: Ready for gettext 0.11.5, automake 1.7.4, autoconf 2.57.
12208         Many cleanups and unifications in man pages.
12209
12210         * 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:
12211         Fixes: correct utmp/wtmp paths.
12212         Unifications: bold commnanda and italify other file names.
12213         Other minor changes and cleanups and unifications.
12214
12215         * libmisc/limits.c: More utmpx/utmp fixes.
12216
12217         * 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:
12218         Usage help message unification (s/usage:/Usage:/).
12219
12220         * TODO: Missing "are".
12221
12222         * src/logoutd.c, src/userdel.c, NEWS:
12223         Handle also utmpx if avalaile in userdel and logoutd.
12224
12225 2003-04-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
12226
12227         * src/sulogin.c: Remove unused utent declaration.
12228
12229         * src/sulogin.c, src/login.c:
12230         Remove #include <utmp.h> and <utmpx.h>. This comes with #include "prototypes.h".
12231
12232         * lib/prototypes.h:
12233         "#include <utmp.h>" or "#include <utmpx.h>" depending on HAVE_UTMPX_H.
12234
12235         * libmisc/failure.c:
12236         Remove "#include <utmp.h>" (this is included in failure.h).
12237
12238         * configure.in:
12239         On detect mail spool directory location try first /var/mail.
12240
12241 2003-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
12242
12243         * 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:
12244         Indent all using current .indent.pro settings.
12245
12246         * po/Makevars: New file neccessary for gettext >=0.11.5.
12247
12248         * man/Makefile.am: Removed getspnam.3 from man_MANS (dos not exist).
12249
12250         * po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po:
12251         Fixes after filtering gettext 0.11.5 (missing headers elements, inforrect
12252         format strings).
12253
12254 2003-04-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12255
12256         * NEWS, man/de/passwd.1:
12257         updated german passwd(1) man page (by Josef Spillner <josef@ggzgamingzone.org>)
12258
12259 2003-03-12  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12260
12261         * po/pl.po: - updated; terminology unification
12262
12263 2003-02-28  Paweł Gołaszewski  <blues@pld.org.pl>
12264
12265         * etc/login.defs: - missing "MD5_CRYPT_ENAB  yes" added
12266
12267 2003-01-20  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12268
12269         * configure.in: - added Makefiles for man/zh_{CN,TW}
12270
12271         * 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:
12272         - added zh man pages from MDK (2 x 6) and from cman (1)
12273
12274 2003-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12275
12276         * man/ja/shadow.3, man/pl/shadow.3, man/Attic/shadow.3:
12277         sync spwd structure declaration with current glibc declaration (tahnks for
12278         point this bug to Michael Kerrisk <michael.kerrisk@gmx.net>).
12279
12280         * man/pl/faillog.5: s/konsolę/terminal/
12281
12282 2002-12-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12283
12284         * src/Makefile.am: typo (s/EXTRA_DOST/EXTRA_DIST/).
12285
12286 2002-10-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12287
12288         * src/Makefile.am:
12289         fixed making vigr symlink to vipw (not vipw to vigr) in install-exec-hook (fix submited by
12290         Dimitar Zhekov <jimmy@is-vn.bg>).
12291
12292         * 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:
12293         removed debian directory.
12294
12295 2002-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12296
12297         * NEWS, src/newgrp.c:
12298         Use CLOSE_SESSIONS depending code only when USE_PAM.
12299         The problem was reported by Mattias Webjorn Eriksson using Slackware
12300         8.1 and reproduced it using slackware-current (9.0beta) (fix submited by
12301         Simon Williams <simon@no-dns-yet.org.uk>).
12302
12303 2002-10-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12304
12305         * 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:
12306         changed utmp and wtmp files paths (s#/etc/utmp/#/var/run/utmp#; s#/etc/wtmp#/var/log/wtmp#)
12307
12308         * po/ru.po, configure.in: added ru translation (from KSI resources).
12309
12310 2002-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12311
12312         * NEWS, libmisc/failure.c:
12313         libbmisc/failure.c (too_many_failures): incorrect if() condition in non-PAM
12314         dependent code in fail login handling (fixed by Krzysztof Oledzki <ole@ans.pl>).
12315
12316 2002-08-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12317
12318         * man/pl/useradd.8, man/Attic/useradd.8, NEWS:
12319         document useradd and groupadd -M option in en and pl man pages
12320         (by Jakub Mikusek <mick3y@o.k.pl>).
12321
12322         * configure.in: start prepare 4.0.4.
12323
12324 2002-03-18  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12325
12326         * 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:
12327         - updated to man-pages-ja-20020315 (except cvs tags)
12328
12329 2002-03-15  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12330
12331         * TODO: - remove already done pl man updates from the list
12332
12333 2002-03-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
12334
12335         * 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:
12336         added ko man pages.
12337
12338         * man/de/.cvsignore, man/de/Makefile.am:
12339         automake files for de man pages.
12340
12341         * TODO: updated.
12342
12343         * 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:
12344         added cs, de, fr, id, it, ko man pages to ac/am.
12345
12346 2002-03-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12347
12348         * 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:
12349         "make update-po"
12350
12351         * po/de.po, NEWS, configure.in:
12352         added de translation (by Frank Schmid <frank@cs-schmid.de>).
12353
12354         * NEWS: added info about Solar patch for man pages.
12355
12356 2002-03-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12357
12358         * 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:
12359         added some raw cs, de, es, fr, id, it man pages from national
12360         man pages translation projects (all man pages not yet added to Makefile.am
12361         files because all need some work).
12362
12363         * man/hu/chfn.1, man/hu/id.1:
12364         added id(1) chfn(1) from hu man pages translation project (it need some work
12365         because this documents describes GNU version id and chfn from util-linux).
12366
12367         * man/hu/Makefile.am, man/hu/login.1:
12368         added login(1) man page from hu man pages translation project.
12369
12370         * po/POTFILES.in: updated (suath.c moved to src/).
12371
12372         * src/Makefile.am: added su_SOURCES with "su.c suauth.c".
12373
12374         * libmisc/Makefile.am:
12375         remove suauth.c from libmisc_la_SOURCES (varialbles and functions from
12376         this file are usesd only in su).
12377
12378         * libmisc/Attic/suauth.c, src/suauth.c: move suauth.c o src/.
12379
12380         * libmisc/Attic/suauth.c:
12381         move "struct passwd pwent" outside #ifdef SU_ACCESS.
12382
12383 2002-03-09  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12384
12385         * 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:
12386         - sync with en versions
12387
12388         * 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:
12389         - update to chage.1; formatting/typo fixes
12390
12391 2002-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12392
12393         * po/uk.po, po/ko.po, po/pl.po, po/sv.po, po/ja.po, po/cs.po, po/el.po, po/fr.po:
12394         "make update-po"
12395
12396 2002-03-09  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12397
12398         * 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:
12399         - further "SEE ALSO" references sorting
12400
12401 2002-03-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
12402
12403         * 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:
12404         merged shadow-4.0.0-owl-man.patch by Solar Designer <solar@openwall.com>.
12405
12406         * NEWS: updated for 4.0.3.
12407
12408         * libmisc/Attic/suauth.c, libmisc/utmp.c, src/login.c, src/su.c:
12409         swapped utent dnd pwent efinition/extern and now shadow source can be configured
12410         --with-shared (fix by Dimitar Zhekov <jimmy@is-vn.bg>).
12411
12412 2002-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12413
12414         * configure.in: start prepare 4.0.3.
12415
12416         * src/Makefile.am:
12417         use ln -sf instead ln -s in install-exec-hok (fix pointed by Dimitar Zhekov
12418         <jimmy@is-vn.bg>).
12419
12420 2002-03-02  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12421
12422         * man/pl/passwd.1: sync with en version
12423
12424         * man/Attic/passwd.1: - they -> his/her, user's
12425         - typos
12426         - fix sentence about "writing down"
12427
12428         * man/Attic/passwd.1: relocation by NAKANO Takeo
12429
12430 2002-02-28  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12431
12432         * man/hu/passwd.1: missing "-"
12433
12434         * man/ja/Attic/shadowconfig.8, man/ja/passwd.5, man/ja/shadow.5:
12435         - updated to man-pages-ja-20020215
12436
12437 2002-02-23  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12438
12439         * po/cs.po, po/fr.po, po/pl.po, po/sv.po, po/uk.po, man/pl/useradd.8:
12440         - typos in pl/useradd.8; commented out unsupported -r option description
12441         - useradd "usage" formatting fixes
12442         - fix translation in uk.po
12443
12444 2002-02-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12445
12446         * configure.in: release 4.0.2.
12447
12448 2002-02-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12449
12450         * Attic/shadow-utils.spec.in, Makefile.am, configure.in, shadow.spec.in:
12451         rename spec file s/shadow-utils.spec/shadow.spec/
12452
12453         * po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/sv.po, po/uk.po:
12454         update-po before release.
12455
12456         * po/ko.po, po/pl.po: cleanups.
12457
12458 2002-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
12459
12460         * 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:
12461         placa ".so man<level>/<man_page>.<level>" in roff .so includes (seems some
12462         man page viewers do not handles correctly man documents without subdirectory
12463         name in roff .so incude).
12464
12465 2002-01-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
12466
12467         * 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:
12468         resolve many fuzzy translations also all this which may cause problems on
12469         displaing long uid/gid.
12470
12471         * 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:
12472         drop translate some messages in id output (about {,e}{u,g}id).
12473
12474 2002-01-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
12475
12476         * README: s#password: cvs#password: [empty password]#
12477
12478 2002-01-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12479
12480         * NEWS: two new entries.
12481
12482         * libmisc/chkname.c (good_name):
12483         allow usernames ending with "$" for allow create machine
12484         acounts for samba (thanks for point this problem in 4.0.1 by
12485         Jerome Borsboom <borsboom@tch.fgg.eur.nl>).
12486
12487         * 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:
12488         s/invalid user name `%s'/invalid user name '%s'/
12489
12490 2002-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12491
12492         * configure.in:
12493         fix in libpam_misc detection (removed one "," AC_CHECK_LIB()).
12494         Thanks to Silvan Minghetti for report this.
12495
12496 2002-01-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12497
12498         * NEWS: start prepare to 4.0.2.
12499
12500         * po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po, po/cs.po:
12501         updated.
12502
12503         * configure.in: It is good time to release 4.0.1.
12504
12505         * libmisc/.indent.pro, lib/.indent.pro: added -pcs option.
12506
12507         * TODO: some things goes out other in.
12508
12509         * src/newgrp.c, NEWS:
12510         added ability to log session closes in newgrp (look at long nice comments
12511         inside source code :_) by Joseph Parmelee <jparmele@wildbear.com>.
12512
12513         * src/groupadd.c, src/useradd.c:
12514         next part fixes for handle long UID/GID (by Thorsten Kukuk <kukuk@suse.de>).
12515
12516         * lib/getdef.c, lib/getdef.h:
12517         adeded getdef_unum(): get unsigned numerical value from table of
12518         definitions (Thorsten Kukuk <kukuk@suse.de>).
12519
12520         * NEWS: updated.
12521
12522         * libmisc/isexpired.c:
12523         remove "#if defined(SHADOWPWD)" (not removed during remove AGING).
12524
12525         * etc/Makefile.am: useradd config file added to EXTRA_DIST.
12526
12527 2002-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12528
12529         * po/sv.po, po/uk.po, po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po:
12530         update.
12531
12532         * 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:
12533         Add -pcs to .indent.pro file and reindent all code.
12534         Remove "\n" from all SYSLOG() messages.
12535
12536         * NEWS: s/SuSe/SuSE/
12537
12538 2001-12-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
12539
12540         * man/pl/useradd.8, man/Attic/useradd.8: documment -o option.
12541
12542         * 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:
12543         correct package name (s/shadow-password/shadow/).
12544
12545         * src/chage.c, src/expiry.c, src/login.c, src/passwd.c, src/su.c, libmisc/age.c, libmisc/isexpired.c, NEWS, configure.in:
12546         Finish integrate AGING code into SHADOWPW.
12547         Remove handle old HAVE_USERSEC_H code.
12548
12549         * po/uk.po: typo.
12550
12551         * 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:
12552         cleanups.
12553
12554         * 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:
12555         standarize usage messages syntax.
12556
12557         * man/pl/useradd.8, man/pl/usermod.8, man/pl/vipw.8, man/pl/userdel.8:
12558         removed duplicated man page text.
12559
12560         * 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:
12561         standarize usage meissages syntax.
12562
12563         * src/chage.c, NEWS (main):
12564         merge part Solar shadow-4.0.0-owl-pam-auth.diff patch with reorder
12565         nitialize PAM and checkin is chage is runed by root or not - now chage can be
12566         runed from non-root account for checking by user own accout information.
12567
12568         * src/pwck.c: indent source.
12569
12570         * src/pwck.c (main): remove old work around for Slackware bug.
12571
12572 2001-12-20  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12573
12574         * man/ja/Attic/adduser.8, man/ja/Makefile.am, man/ja/limits.5, man/ja/pwconv.8:
12575         - updated to man-pages-ja-20011215
12576
12577 2001-11-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
12578
12579         * src/grpck.c:
12580         remove check for a Slackware bug (make sure GID is not -1; it was special
12581         meaning for some syscalls).
12582
12583         * 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:
12584         fixes for handle/print correctly 32bit uid/gid (Thorsten Kukuk <kukuk@suse.de>).
12585
12586         * src/chage.c: - break usage vomment line.
12587
12588         * lib/defines.h:
12589         removed bunch spaces on end line in conditionale #include <errno.h>
12590         which in some cases dissallow compile correctly shadow (thanks for
12591         Silvan Minghetti <bullet@users.sourceforge.net>).
12592
12593 2001-11-17  Michał Moskal  <malekith@pld.org.pl>
12594
12595         * NEWS:
12596         - mention fix for SEGV when using pwck -s on /etc/passwd file with
12597           empty lines in it
12598
12599         * lib/commonio.c:
12600         - installed fix for SEGV when using pwck -s on /etc/passwd file with
12601           empty lines in it
12602
12603 2001-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12604
12605         * libmisc/chkname.c, NEWS:
12606         next merge from Solar patches (shadow-4.0.0-owl-check_names.diff) but only
12607         part this patch with checking login name matching; checking is login
12608         string isn't longer than possible probably it will be good prepare using
12609         _POSIX_LOGIN_NAME_MAX from <bits/posix1_lim.h>
12610
12611 2001-11-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
12612
12613         * NEWS: typos.
12614
12615         * NEWS: added info about new hu man pages.
12616
12617         * NEWS: updated.
12618
12619 2001-11-16  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12620
12621         * 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:
12622         - updated to man-pages-ja-20011115.tar.gz
12623
12624         * man/ja/groups.1: 3c26de91cfd359c0b7c36ca3cd3e170d  groups.1
12625
12626         * man/ja/grpconv.8: 402190c04b8df45e20afd01e3acd0da4  grpconv.8
12627
12628         * man/ja/grpunconv.8: 402190c04b8df45e20afd01e3acd0da4  grpunconv.8
12629
12630         * man/ja/id.1: 3edc687b1c09bbdd170553f326a71711  id.1
12631
12632         * man/ja/newusers.8: c2ecaa6ddffe07de2c39be3aefb5bcae  newusers.8
12633
12634         * man/ja/pwunconv.8: 402190c04b8df45e20afd01e3acd0da4  pwunconv.8
12635
12636         * man/ja/Attic/shadowconfig.8:
12637         f79300c0db64fd961443177c88605087  shadowconfig.8
12638
12639         * man/ja/useradd.8: 3333b9a2e5a388a472fb05106d65a596  useradd.8
12640
12641         * man/ja/vigr.8: 42825938683e54e391897ea100001af1  vigr.8
12642
12643         * man/ja/vipw.8: 0cb8db0f1f19de7690f0ef9baeceb919  vipw.8
12644
12645 2001-11-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
12646
12647         * lib/Attic/getpass.c:
12648         one fix warning from Solar shadow-4.0.0-owl-warnings.diff.
12649
12650         * src/chage.c, lib/defines.h:
12651         move "#include <errno.h>" to /lib/defines.h.
12652
12653         * configure.in: added AC_CHECK_HEADERS(errno.h)
12654
12655         * src/chage.c: apply shadow-4.0.0-owl-chage-drop-priv.diff and
12656         shadow-4.0.0-owl-chage-ro-no-lock.diff by Solar Designer <solar@openwall.com>.
12657         Added locks which are needed when doing r/w accesses, not when running as root.
12658         If root does read-only, there's no lock needed. Added missing
12659         "#include <errno.h>" for above.
12660
12661 2001-11-14  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12662
12663         * configure.in: - added hu directory antry
12664
12665         * man/Makefile.am: - groups.1 moved to EXTRA_DIST
12666         - added hu directory entry
12667
12668         * man/ja/Makefile.am: - sorted
12669         - shadow.3 moved to EXTRA_DIST
12670
12671         * man/pl/Makefile.am: - sorted
12672         - added entries for new pages
12673         - EXTRA_DIST synced with man/Makefile.am
12674
12675         * 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:
12676         - man pages from Debian
12677
12678         * man/Attic/groupmems.8: - typo
12679
12680         * man/pl/expiry.1, man/pl/groupmems.8: - translated pages
12681
12682 2001-11-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12683
12684         * libmisc/Makefile.am:
12685         fix building with cracklib enabled: $(LIBCRACK) added to libmisc_la_LIBADD.
12686
12687         * src/useradd.c: typo.
12688
12689 2001-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12690
12691         * 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:
12692         removed prototypes which are defined in libc header files
12693         (Thorsten Kukuk <kukuk@suse.de>).
12694
12695         * libmisc/Attic/nscd.c, libmisc/Makefile.am, lib/commonio.c:
12696         implemetn better reloading the nscd cache (per NSS map)
12697         by Thorsten Kukuk <kukuk@suse.de>
12698
12699         * src/login.c, libmisc/setupenv.c:
12700         fixed warnings "not used but defined" on compile using gcc 3.0.x
12701         by bulletpr00ph <bullet@users.sourceforge.net>.
12702
12703 2001-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
12704
12705         * NEWS: New entries for 4.0.1.
12706
12707         * po/pl.po: few more pl translations.
12708
12709         * po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po:
12710         "make update-po".
12711
12712         * po/ja.po, po/ko.po, configure.in:
12713         added ja, ko translations found in SuSe.
12714
12715 2001-10-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12716
12717         * src/useradd.c: sort alphabetically *flg variables.
12718
12719         * debian/Attic/Makefile.am, debian/Attic/tar.c: removed.
12720
12721 2001-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12722
12723         * 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:
12724         added vigr(1) man page as roff .so link to vipw(1),                                                                             - added sg(1) man page as roff .so link to newgrp(1).
12725
12726         * src/Makefile.am:
12727         added install symlinks newgrp -> sg, vipw -> vigr in install-exec-hook target.
12728
12729 2001-10-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12730
12731         * lib/Makefile.am (libshadow_la_SOURCES):
12732         reverte last change and added rcsid.h,
12733         (EXTRA_DIST): added missing "\".
12734
12735         * src/Makefile.am: (DEFS):
12736         - fix -DLOCALEDIR in DEFS,
12737         - added -DHAVE_CONFIG_H,
12738         - removed @DEFS@.
12739
12740         * lib/Makefile.am:
12741         added missing shadow_.h file to libshadow_la_SOURCES.
12742
12743 2001-09-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
12744
12745         * Makefile.am (AUTOMAKE_OPTIONS):
12746         version changed to 1.5 and added dist-bzip2.
12747
12748         * lib/Makefile.am, libmisc/Makefile.am, src/Makefile.am:
12749         add .indent.pro to EXTRA_DIST.
12750
12751         * etc/Makefile.am, etc/useradd: add example /etc/defaults/useradd.
12752
12753 2001-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12754
12755         * TODO: last touch.
12756
12757         * TODO: more TODO.
12758
12759         * lib/commonio.c, NEWS:
12760         Fix bug discovered and fixed by Marcel Ritter <Marcel.Ritter@rrze.uni-erlangen.de>
12761         Due to a big buffer size in lib/commonio.c this error does only appear
12762         if a line gets longer than 4096 bytes (there are probably very few people
12763         stumbling across this).
12764         Ths bug can be exposed by trashing /etc/groups file using useradd with script:
12765                 #!/bin/sh
12766                 typeset -i NUM
12767                 NUM=0
12768                 groupadd demogroup
12769                 while [ $NUM -le 1000 ]; do
12770                    useradd -g demogroup -G demogroup -p "NONE" user$NUM
12771                    NUM=$NUM+1
12772                 done
12773
12774 2001-09-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
12775
12776         * src/groups.c, src/id.c, src/newgrp.c, src/useradd.c, src/usermod.c, libmisc/addgrps.c, NEWS:
12777         remove limit 32 to groups per user (the same user can belong to
12778         more than 32 groups) by use sysconf(_SC_NGROUPS_MAX) instead constant
12779         NGROUPS_MAX (patch by Radu Constantin Rendec <radu.rendec@ines.ro>)
12780         NOTE: it probably need testing on other system for add some conditionals
12781         for using sysconf(_SC_NGROUPS_MAX) or NGROUPS_MAX constant.
12782
12783 2001-08-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
12784
12785         * etc/pam.d/Makefile.am, etc/pam.d/useradd: added file for useradd.
12786
12787 2001-08-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
12788
12789         * src/useradd.c (set_defaults):
12790         handle correctly error open/create useradd default config
12791         filei (based on orginal post to bugtraq).
12792
12793         * TODO: documment in pt_BR, ja man pages -s {pw,grp}ck option.
12794
12795         * libmisc/sulog.c, NEWS:
12796         remove limit to 6 chars logged tty name (apply 012_libmisc_sulog.c.diff Debian
12797         patch).
12798
12799         * man/pl/Attic/shadowconfig.8, man/Attic/shadowconfig.8:
12800         - aply 021_man_shadowconfig_usr_doc.diff debian patch.
12801
12802         * src/Makefile.am, lib/Makefile.am:
12803         use $(top_builddir) in .la files paths (for allow correct compile if
12804         $(top_builddir) isn't the same as $(top_srcdir)).
12805
12806         * po/.cvsignore, po/Attic/ChangeLog: removed ChangeLog.
12807
12808 2001-08-18  Michał Moskal  <malekith@pld.org.pl>
12809
12810         * src/grpck.c: - fixed getopt() call, thnx to arekm
12811
12812 2001-08-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
12813
12814         * NEWS: - include last changes to list changes in version 4.0.0.
12815
12816 2001-08-14  Michał Moskal  <malekith@pld.org.pl>
12817
12818         * NEWS: - mention new -s options
12819
12820         * man/pl/grpck.8, man/pl/pwck.8, man/Attic/grpck.8, man/Attic/pwck.8:
12821         - documented new -s options
12822
12823         * src/grpck.c, src/pwck.c: - added -s option to sort output files
12824
12825         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
12826         - added pw_sort, gr_sort, sgr_sort and spw_sort functions
12827
12828         * lib/commonio.c, lib/commonio.h:
12829         - added commonio_sort{,_wrt} functions
12830
12831 2001-08-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12832
12833         * po/Attic/ChangeLog, po/uk.po, configure.in:
12834         added uk translation (Roman Festchook <roma@polesye.net>).
12835
12836         * src/logoutd.c (mani):
12837         s/ut->ut_libe/ut->ut_user/ on prepare strin with user name for syslog
12838         line (reported by Roman Festchook <roma@polesye.net>).
12839
12840 2001-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
12841
12842         * Attic/acconfig.h: - added missing USG.
12843
12844 2001-07-04  Marek Michałkiewicz  <marekm@pld.org.pl>
12845
12846         * lib/commonio.c:
12847         fix buffer overflow (not a security hole) in commonio_setname
12848
12849 2001-06-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12850
12851         * NEWS: entry about dropping support one argument pam_strerror().
12852
12853         * libmisc/pam_pass.c, src/login.c, src/su.c, Attic/acconfig.h, configure.in, lib/defines.h, lib/pam_defs.h:
12854         drop detecting is pam_strerror() need one or two arguments. Instead using
12855         PAM_STRERROR() macro use directly pam_strerror() function with two arguments.
12856         pam_strerror() with one argument is obsoleted.
12857
12858         * configure.in:
12859         pass display error message if libpam_misc not found in correct argument
12860         AC_CHECK_LIB().
12861
12862         * configure.in:
12863         added checking for libpam_misc if libpam found and if libpam_misc is avalaible
12864         add them to $LIBPAM. Othervise exit fron autoconf script with error message.
12865         Now shadow compiles if pam support is enabled.
12866
12867 2001-06-28  Marek Michałkiewicz  <marekm@pld.org.pl>
12868
12869         * libmisc/copydir.c: fix overwriting existing file (add O_TRUNC)
12870
12871 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12872
12873         * configure.in: remove intl/po2tbl.sed from AC_OUTPUT().
12874
12875         * configure.in:
12876         removed add md5.o md5crypt.o conditionaly to $LIBOBJS (this is obsoleted).
12877         In current version ndling md5 functionality is included conditionaly
12878         inside md5.c and md5crypt.c source files.
12879
12880         * lib/Attic/md5.c: added comments for #endif.
12881
12882         * configure.in: also do not use SU_ACCESS when PAM is used.
12883
12884         * configure.in:
12885         - check pam directly by AC_CHECK_LIB() (PAM from PLD is now fixed an also other
12886           PAM implementation must be fixed for this method checkin is libpam is avalaible;
12887           sorry .. no way this is plain linking procedure bug),
12888         - use AC_DEFINE(LOGIN_ACCES) only when PAM isn't used.
12889
12890 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
12891
12892         * src/Makefile.am:
12893         add LDADD for groupmod and usermod, as they use PAM too
12894
12895         * src/login.c, src/su.c: fix uninitialized variable failcount
12896         skip '*' in pw_shell for subsystem root
12897
12898 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12899
12900         * src/login.c: use "extern int login_access()" only if !USE_PAM.
12901
12902         * src/Makefile.am:
12903         added LDADD rules for programs which uses PAM and cracklib.
12904
12905 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
12906
12907         * libmisc/chowntty.c:
12908         allow root login even on read-only root filesystem
12909
12910         * libmisc/Makefile.am: add -DHAVE_CONFIG_H to DEFS
12911
12912 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12913
12914         * autogen.sh: run configure by default with --disable-desrpc,
12915         fix: --with-libpam (not --with-pam).
12916
12917 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
12918
12919         * libmisc/chowntty.c:
12920         libmisc/chowntty.c (chown_tty): move perror() before syslog() call
12921         which might change errno.
12922
12923         * man/pl/login.defs.5, man/Attic/login.defs.5:
12924         (UMASK): Default value is 077, not 0 - see NEWS for shadow-3.3.2-951106.
12925
12926 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12927
12928         * NEWS, configure.in: prepare for release 4.0.0 version.
12929
12930         * configure.in: remove commented line.
12931
12932 2001-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
12933
12934         * po/pl.po: fixed charset (must be iso-8859-2).
12935
12936         * 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:
12937         added ja man pages.
12938
12939 2001-05-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12940
12941         * src/Attic/shadowconfig.sh, src/Makefile.am, debian/Attic/Makefile.am, debian/Attic/shadowconfig.sh:
12942         move shadowconfig.sh to debian/
12943
12944         * src/Makefile.am: added missing -I${top_srcdir} to INCLUDES.
12945
12946         * lib/Makefile.am: empty DEFS and INCLUDES="-I$(top_srcdir)".
12947
12948         * libmisc/Makefile.am:
12949         empty DEFS and INCLUDES="-I$(top_srcdir) -I$(top_srcdir)/lib".
12950
12951 2001-03-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12952
12953         * src/.indent.pro, lib/.indent.pro, libmisc/.indent.pro:
12954         directory indent config file is -kr -i8 -bad (indent open this file and
12955         read options if options not specyfied in commnad line).
12956
12957         * autogen.sh (conf_flags): added --with-pam.
12958
12959         * NEWS: start complette next release information.
12960
12961 2001-02-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12962
12963         * shlib/Attic/Makefile.am, shlib/Attic/Makefile.in.saved: - removed.
12964
12965         * src/Makefile.am, libmisc/Makefile.am, lib/Makefile.am:
12966         Rewrited automake suit for building lib, libmisc and src (now this look much
12967         better). Also for all is now used libtool in proper way.
12968
12969         * configure.in:
12970         - added useing AM_DISABLE_SHARED, AM_ENABLE_STATIC for disable compile shared
12971           libraries and enable static,
12972         - some cosmetics.
12973
12974         * Makefile.am (SUBDIRS): reorder libmisc must be before lib.
12975
12976 2001-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
12977
12978         * man/pt_BR/Makefile.am: - added man_MANS to EXTRA_DIST.
12979
12980 2001-01-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
12981
12982         * 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:
12983         include pt_BR man pages for gpasswd(1), groupadd(1), groupdel(8),
12984         groupmod(8), shadow(5).
12985
12986 2001-01-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
12987
12988         * TODO: - updated.
12989
12990         * 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:
12991         many small cleanups, fixes also removed commented obsoleted texts.
12992
12993 2001-01-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
12994
12995         * autogen.sh: add to conf_flags --disable-shared.
12996
12997         * 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:
12998         put or move to top cemmented Id cvs keyword,
12999         (passwd.1): documment -e option (patch from Debian),
13000         (userdel.1): remove commented obsoleted options.
13001
13002         * man/Makefile.am:
13003         put all files in man_MANS and EXTRA_DIST in alphabethic order.
13004
13005         * src/chpasswd.c, src/pwunconv.c:
13006         remove from comments program description and history logs.
13007
13008         * src/Makefile.am: move groups to bin_PROGRAMS.
13009
13010 2000-12-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13011
13012         * src/su.c: Based on Debian modyfications:
13013         (main): #endif /* USE_PAM */ #ifdef USE_PAM replaced by #else,
13014         (main): removed some dead code (scoped by #if 0 .. #endif).
13015         (main): call to re-establish SIGINT to right place.
13016
13017         * man/pl/passwd.1: Removed SEE ALSO to shadow(3) and passwd(3).
13018
13019         * man/pl/shadow.5, man/Attic/shadow.5: Removed SEE ALSO to shadow(3).
13020
13021         * man/Attic/passwd.1:
13022         Removed SEE ALSO to passwd(3) and commented shadow(3).
13023
13024 2000-12-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13025
13026         * src/useradd.c (main):
13027         use "useradd" instead "shadow in pam_start() parameters - this
13028         allow use separated pam config file for useradd (for example for allow
13029         specified non-root user for add user).
13030
13031 2000-11-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
13032
13033         * TODO: remove write expiry(1) man page.
13034
13035         * man/Attic/expiry.1, man/Makefile.am:
13036         added expiry(1) man page from Debian.
13037
13038         * man/pl/lastlog.8, man/Attic/lastlog.8:
13039         updated man pages for whole dispaly syntax.
13040
13041         * src/lastlog.c (main): fixed command line syntax description.
13042
13043         * src/lastlog.c (main):
13044         display correctly and full current commnad line lastlog syntax
13045         and also output this string using gettext.
13046
13047         * src/lastlog.c (main):
13048         merge src_lastlogin.c patch from debian with use getopt_long()
13049         instead getopt() for add handling --help, --user, --time switches and
13050         dipslay useage message on -h, --help and as default action.
13051
13052 2000-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13053
13054         * src/groupmems.c, po/el.po, po/fr.po, po/pl.po, po/sv.po, po/POTFILES.in, po/cs.po:
13055         added i18n support for src/groupmems.c.
13056
13057         * src/useradd.c:
13058         * (set_defaults): use mkstemp() if avalaible. Othereise use mktemp().
13059
13060         * configure.in: * added checking for mkstemp().
13061
13062         * src/useradd.c: * (set_defaults): use mkstemp() instead mktemp(),
13063         * (mani): fix compilation error in previouse RH patch (removed using nflg).
13064
13065 2000-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13066
13067         * TODO: - groupmems need some work on add PAM and i18n support.
13068
13069         * src/groupmems.c, man/Attic/groupmems.8:
13070         Added raw version groupmems program for administer members of a user's
13071         primary group. groupmems was written by George Kraft IV <gk4@us.ibm.com>
13072         and this tool have BSD license.
13073
13074         * src/Attic/patchlevel.h, src/Makefile.am:
13075         patchlevel.h, Makefile.am: removed patchlevel.h file,
13076         Makefile.am: removed bindir, sbindir (this comes with autoconf).
13077
13078 2000-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13079
13080         * TODO: - write expire man page.
13081
13082 2000-10-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13083
13084         * 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:
13085         Julianne F. Haugh new contact adress.
13086
13087         * NEWS: - summary chanfes for 20001016.
13088
13089         * doc/Attic/README.shadow-paper, doc/Makefile.am:
13090         - removed outdated README.shadow-paper.
13091
13092         * configure.in: - release 20001016.
13093
13094 2000-10-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13095
13096         * man/pl/Makefile.am, man/Makefile.am: fixes in man/{,po}/Makefile.am:
13097         - $(man_MANS) added to EXTRA_DISTS,
13098         - do not install by default groups.1, id.1, pw_auth.3, shadow.3, pwauth.8,
13099           sulogin.8, dpasswd.8 (moved to EXTRA_DISTS),
13100
13101 2000-10-15  Marek Michałkiewicz  <marekm@pld.org.pl>
13102
13103         * lib/commonio.c (reload_nscd): Disable for now because not every
13104         version of nscd can handle it, unless ENABLE_NSCD_SIGHUP defined.
13105
13106 2000-10-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13107
13108         * libmisc/pwdcheck.c, libmisc/Makefile.am: - added missing pwdcheck.c.
13109
13110         * configure.in: - removed old/Makefile from AC_OUTPUT list.
13111
13112 2000-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13113
13114         * README: - fixed information about RO cvs access.
13115
13116         * NEWS: - summary changes description for shadow-20001012.
13117
13118         * configure.in: - release changed to 20001012.
13119
13120         * etc/Makefile.am: - removed shells and suauth from EXTRA_DIST.
13121
13122         * doc/Makefile.am: - removed README.debian from EXTRA_DIST.
13123
13124         * libmisc/Makefile.am: - removed pwdcheck.c from libmisc_a_SOURCES.
13125
13126         * debian/Attic/Makefile.am: - removed FILES from EXTRA_DIST.
13127
13128         * contrib/Makefile.am: - s/udbachk.v012.tgz/udbachk.tgz/
13129
13130         * doc/Makefile.am: - removed CHANGES (this file was moved to ../NEWS).
13131
13132 2000-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13133
13134         * po/Attic/ChangeLog: - add empty file (gettext requires this).
13135
13136 2000-10-10  Arkadiusz Miśkiewicz  <misiek@pld.org.pl>
13137
13138         * README: typos fixed
13139
13140 2000-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13141
13142         * Makefile.am: - added shadow-utils.spec.in to EXTR_DIST.
13143
13144         * redhat/Attic/shadow-utils.spec.in: - obsoleted.
13145
13146         * Attic/stamp-h.in: - removed (this file is autogenerated by autoconf).
13147
13148         * po/pl.po, po/sv.po, po/cs.po, po/el.po, po/fr.po:
13149         - update before release.
13150
13151         * doc/Attic/LSM: - new maintainer and new primary site.
13152
13153         * Makefile.am: - README added to EXTRA_DIST.
13154
13155         * README: - added README with all shadow sites and resources details.
13156
13157         * Attic/shadow-utils.spec.in: - partialy rewrited.
13158
13159         * configure.in: - change version to 20001010.
13160
13161         * Makefile.am: - added NEWS to EXTRA_DIST.
13162
13163         * Makefile.am, TODO: - added TODO.
13164
13165         * doc/Attic/CHANGES, NEWS: - rename doc/CHANGES -> NEWS.
13166
13167 2000-10-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
13168
13169         * 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:
13170         - remove redhat/ directory with obsoleted files.
13171
13172         * po/.cvsignore, src/.cvsignore, man/.cvsignore, man/pl/.cvsignore, .cvsignore, libmisc/.cvsignore:
13173         - shut up cvs.
13174
13175         * man/Makefile.am: - removed redundant ${man_MANS} from EXTRA_DIST.
13176
13177         * src/useradd.c:
13178         - fix a security bug (adduser could overwrite previously existing
13179           groups (shadow-19990827-group.patch from RH),
13180
13181         * po/cs.po, po/el.po, po/fr.po, po/pl.po, po/sv.po:
13182         - "make updated-po".
13183
13184         * 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:
13185         - added man pages for grpconv(8), grpunconv(8), pwunconv(8) (.so link to
13186           pwconv(8))
13187
13188         * man/pl/Attic/adduser.8, man/pl/Makefile.am, man/Attic/adduser.8, man/Makefile.am:
13189         - added man page for adduser(8) (.so link to useradd(8)).
13190
13191         * po/Attic/doit:
13192         - removed (in po/Makefile.in.in exist special update-po target).
13193
13194         * etc/pam.d/passwd, etc/pam.d/su: - cosmetics.
13195
13196         * etc/pam.d/Attic/shadow: - sample PAM config file for shadow utils.
13197
13198         * etc/pam.d/Makefile.am: - added shadow to EXTRA_DIST
13199
13200         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
13201         - bind to shadow PAM file instead userdb (mainly PAMimication all shadow
13202           utils is used for proper updating db files but in real this can be used
13203           for perform many other tasks).
13204
13205         * src/Makefile.am: - added linking with @LIBPAM@ all PAMified tools.
13206
13207         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
13208         - added PAM support (bind to common "userdb" PAM authentication description
13209           file).
13210
13211         * src/chage.c: - added PAM support.
13212
13213 2000-10-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13214
13215         * autogen.sh:
13216         - added autogen.sh script which prepare raw source code from cvs to use.
13217
13218 2000-10-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
13219
13220         * man/pl/useradd.8, man/pl/userdel.8, man/pl/usermod.8, man/pl/vipw.8:
13221         - merged changes from PTM.
13222
13223         * man/pl/Makefile.am:
13224         - simplified: use only man_MANS and remaped $(mandir) variable.
13225
13226 2000-09-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13227
13228         * po/cs.po, configure.in:
13229         - added cs translation (Jiri Pavlovsky <Jiri.Pavlovsky@ff.cuni.cz>).
13230
13231 2000-09-05  Marek Michałkiewicz  <marekm@pld.org.pl>
13232
13233         * 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:
13234         *** empty log message ***
13235
13236 2000-09-02  Marek Michałkiewicz  <marekm@pld.org.pl>
13237
13238         * 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:
13239         *** empty log message ***
13240
13241 2000-08-26  Marek Michałkiewicz  <marekm@pld.org.pl>
13242
13243         * 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:
13244         *** empty log message ***
13245
13246 1999-08-27  Marek Michałkiewicz  <marekm@pld.org.pl>
13247
13248         * 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:
13249         *** empty log message ***
13250
13251 1999-07-09  Marek Michałkiewicz  <marekm@pld.org.pl>
13252
13253         * 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:
13254         *** empty log message ***
13255
13256 1999-06-07  Marek Michałkiewicz  <marekm@pld.org.pl>
13257
13258         * 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:
13259         *** empty log message ***
13260
13261 1999-03-07  Marek Michałkiewicz  <marekm@pld.org.pl>
13262
13263         * 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:
13264         *** empty log message ***
13265
13266 1998-12-28  Marek Michałkiewicz  <marekm@pld.org.pl>
13267
13268         * 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:
13269         *** empty log message ***
13270
13271 1998-07-24  Marek Michałkiewicz  <marekm@pld.org.pl>
13272
13273         * 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:
13274         *** empty log message ***
13275
13276 1998-06-26  Marek Michałkiewicz  <marekm@pld.org.pl>
13277
13278         * 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:
13279         *** empty log message ***
13280
13281 1998-05-29  Marek Michałkiewicz  <marekm@pld.org.pl>
13282
13283         * 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:
13284         *** empty log message ***
13285
13286 1998-04-16  Marek Michałkiewicz  <marekm@pld.org.pl>
13287
13288         * 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:
13289         *** empty log message ***
13290
13291 1998-04-02  Marek Michałkiewicz  <marekm@pld.org.pl>
13292
13293         * 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:
13294         *** empty log message ***
13295
13296 1998-01-30  Marek Michałkiewicz  <marekm@pld.org.pl>
13297
13298         * 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:
13299         *** empty log message ***
13300
13301 1998-01-25  Marek Michałkiewicz  <marekm@pld.org.pl>
13302
13303         * Attic/acconfig.h: *** empty log message ***
13304
13305 1997-12-14  Marek Michałkiewicz  <marekm@pld.org.pl>
13306
13307         * 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:
13308         *** empty log message ***
13309
13310 1997-12-08  Marek Michałkiewicz  <marekm@pld.org.pl>
13311
13312         * 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:
13313         *** empty log message ***
13314
13315 1997-10-01  Marek Michałkiewicz  <marekm@pld.org.pl>
13316
13317         * 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:
13318         *** empty log message ***
13319
13320 1997-09-30  Marek Michałkiewicz  <marekm@pld.org.pl>
13321
13322         * 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:
13323         *** empty log message ***
13324
13325 1997-09-29  Marek Michałkiewicz  <marekm@pld.org.pl>
13326
13327         * man/Attic/chpasswd.8, man/Attic/pwconv.8, man/Attic/pwunconv.8, man/Attic/su.1, man/Makefile.am:
13328         *** empty log message ***
13329
13330 1997-06-16  Marek Michałkiewicz  <marekm@pld.org.pl>
13331
13332         * 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:
13333         *** empty log message ***
13334
13335 1997-06-01  Marek Michałkiewicz  <marekm@pld.org.pl>
13336
13337         * 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:
13338         *** empty log message ***
13339
13340 1997-05-02  Marek Michałkiewicz  <marekm@pld.org.pl>
13341
13342         * 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:
13343         *** empty log message ***
13344
13345 1997-02-11  Marek Michałkiewicz  <marekm@pld.org.pl>
13346
13347         * 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:
13348         *** empty log message ***
13349
13350 1997-01-08  Marek Michałkiewicz  <marekm@pld.org.pl>
13351
13352         * 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:
13353         *** empty log message ***
13354
13355 1996-10-27  Marek Michałkiewicz  <marekm@pld.org.pl>
13356
13357         * 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:
13358         *** empty log message ***
13359
13360 1996-09-25  Marek Michałkiewicz  <marekm@pld.org.pl>
13361
13362         * 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:
13363         *** empty log message ***
13364
13365 1996-09-20  Marek Michałkiewicz  <marekm@pld.org.pl>
13366
13367         * 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:
13368         *** empty log message ***
13369
13370 1996-09-10  Marek Michałkiewicz  <marekm@pld.org.pl>
13371
13372         * 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:
13373         *** empty log message ***
13374
13375 1996-08-10  Marek Michałkiewicz  <marekm@pld.org.pl>
13376
13377         * 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:
13378         New file.
13379
13380         * contrib/adduser-old.c, contrib/adduser.sh, contrib/adduser2.sh, contrib/atudel:
13381         960810 - first version under cvs
13382
13383         * 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:
13384         New file.
13385