]> granicus.if.org Git - shadow/blob - ChangeLog
* NEWS, src/chfn.c, src/chsh.c: Fix CVE-2011-0721: forbid \n in
[shadow] / ChangeLog
1 2010-02-13  Nicolas François  <nicolas.francois@centraliens.net>
2
3         * NEWS, src/chfn.c, src/chsh.c: Fix CVE-2011-0721: forbid \n in
4         gecos or shell.
5
6 2011-02-12  Nicolas François  <nicolas.francois@centraliens.net>
7
8         * autogen.sh: Restore original autoreconf (see 2010-08-29's change
9         for autogen.sh)
10         * configure.in, man/po/Makefile.in.in, man/po/Makefile.in:
11         Makefile.in.in replaced by Makefile.in to avoid config.status
12         issues when there are multiple po directories.
13         * man/po/LINGUAS: Adapted to above change.
14         * man/po/POTFILES.in, man/po/XMLFILES: POTFILES.in replaced by
15         XMLFILES.
16         * man/Makefile.am: generate_mans.deps shall be included by make,
17         not automake.
18
19 2010-11-19  Nicolas François  <nicolas.francois@centraliens.net>
20
21         * NEWS, libmisc/console.c: Fix CONSOLE parser. This caused login
22         to hang when CONSOLE was configured with a colon separated list of
23         TTYs.  See http://bugs.gentoo.org/show_bug.cgi?id=324419
24
25 2010-09-05  Nicolas François  <nicolas.francois@centraliens.net>
26
27         Integrate review comments from Julien Cristau
28         * libmisc/copydir.c: Missing parenthesis in comment.
29         * libmisc/chowndir.c: Fixed memory leak on failed realloc().
30         * libmisc/chowndir.c: Make sure the buffer for the path is large
31         enough.
32         * libmisc/remove_tree.c: Remove check for NULL before free().
33
34 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
35
36         * man/po/fr.po: Fix 2 fuzzy strings.
37
38 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
39
40         * NEWS, src/usermod.c: Accept options in any order (username not
41         necessarily at the end)
42
43 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
44
45         * autogen.sh: Expand autoreconf to avoid running autopoint.
46
47 2010-08-29  Nicolas François  <nicolas.francois@centraliens.net>
48
49         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
50         * po/*.po, man/po/*.po: Updated PO files.
51
52 2010-08-28  Brian M. Carlson  <sandals@crustytoothpaste.ath.cx>
53
54         * man/chsh.1.xml: Fix comma splice.
55
56 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
57
58         * lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
59         selinux_file_context renamed set_selinux_file_context.
60         * lib/protoypes.h, libmisc/copydir.c, src/useradd.c:
61         Added reset_selinux_file_context.
62         * src/useradd.c: Check the return value of
63         set_selinux_file_context and reset_selinux_file_context.
64         * libmisc/copydir.c: Check the return value of
65         reset_selinux_file_context.
66
67 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
68
69         * src/su.c: Fix handling of environment variables when
70         the environment is not changed. In particular, this makes su
71         behave as documented regarding PATH and IFS (i.e. they are reset)
72         when -p is provided.
73
74 2010-08-28  Nicolas François  <nicolas.francois@centraliens.net>
75
76         * man/su.1.xml: Fix typo.
77
78 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
79
80         * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
81         src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
82         src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
83         src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
84         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/chage.c,
85         src/groupadd.c, src/login.c, src/grpconv.c, src/groups.c,
86         src/grpunconv.c, src/chsh.c: Prog changed to a constant string.
87
88 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
89
90         * libmisc/limits.c: Avoid implicit conversion of integer to
91         boolean.
92         * libmisc/basename.c: Avoid implicit conversion of pointer to
93         boolean.
94         * libmisc/basename.c, lib/prototypes.h (Basename): Return a
95         constant string.
96         * libmisc/basename.c, libmisc/obscure.c, lib/prototypes.h,
97         libmisc/xmalloc.c, libmisc/getdate.h, libmisc/system.c,
98         libmisc/getgr_nam_gid.c, libmisc/failure.c, libmisc/valid.c: Add
99         splint annotations.
100         * libmisc/chowndir.c: Avoid memory leak.
101         * libmisc/chowndir.c: Do not check *printf/*puts return value.
102         * libmisc/chowntty.c: Avoid implicit conversion between integer
103         types.
104         * libmisc/obscure.c: Return a bool when possible instead of int.
105         * libmisc/shell.c: Do not check *printf/*puts return value.
106         * libmisc/shell.c: Do not check execle return value.
107         * libmisc/setupenv.c: Avoid implicit conversion between integer
108         types.
109         * libmisc/xmalloc.c: size should not be zero to avoid returning
110         NULL pointers.
111         * libmisc/hushed.c: Do not check *printf/*puts return value.
112         * libmisc/system.c: Avoid implicit conversion of integer to
113         boolean. safe_system last argument is a boolean.
114         * libmisc/system.c: Check return value of dup2.
115         * libmisc/system.c: Do not check *printf/*puts return value.
116         * libmisc/system.c: Do not check execve return value. 
117         * libmisc/salt.c: Do not check *printf/*puts return value.
118         * libmisc/loginprompt.c: Do not check gethostname return value.
119         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not check
120         gr_rewind/pw_rewind return value.
121         * libmisc/ttytype.c: Limit the number of parsed characters in the
122         sscanf format.
123         * libmisc/ttytype.c: Test if a type was really read.
124         * libmisc/sub.c: Do not check *printf/*puts return value.
125         * libmisc/sub.c: Avoid implicit conversion of integer to boolean.
126         * src/userdel.c: Fix typo in comment.
127         * src/userdel.c: Avoid implicit conversion of boolean to integer.
128         * src/userdel.c: safe_system last argument is a boolean.
129         * src/newusers.c: Avoid implicit conversion of boolean to integer.
130         * src/newusers.c: Avoid implicit conversion of integer to boolean.
131         * src/usermod.c: Add brackets.
132         * src/usermod.c: Avoid implicit conversion of characters or
133         integers to booleans.
134         * src/vipw.c: Avoid implicit conversion of integer to boolean.
135         * src/su.c: Avoid implicit conversion of integer to boolean.
136         * src/su.c: Add brackets.
137         * src/useradd.c: Avoid implicit conversion of characters or
138         integers to booleans.
139
140 2010-08-22  Nicolas François  <nicolas.francois@centraliens.net>
141
142         * libmisc/obscure.c, lib/prototypes.h (obscure): Return a bool
143         instead of an int.
144         * libmisc/obscure.c, libmisc/tz.c, src/passwd.c, lib/encrypt.c,
145         libmisc/copydir.c, lib/prototypes.h: Add splint annotations.
146         * libmisc/tz.c: Fix some const issues.
147         * libmisc/tz.c: Avoid multi-statements lines.
148         * libmisc/tz.c: Add brackets.
149         * libmisc/copydir.c: Do not check *printf/*puts return value.
150         * libmisc/copydir.c: Fail if we cannot set or reset the SELinux
151         fscreate context.
152         * libmisc/copydir.c: Use xmalloc instead of malloc.
153         * libmisc/copydir.c: Do not check lutimes return value
154         * src/vipw.c: Avoid implicit conversion of integer to boolean.
155         * src/su.c (iswheel): Return a bool instead of an int.
156         * src/passwd.c: Remove insert_crypt_passwd(). Use xstrdup instead.
157         * src/passwd.c: Return constant strings when sufficient.
158         * src/passwd.c: Do not check *printf/*puts return value.
159         * src/passwd.c: Avoid implicit conversion of character to boolean.
160         * src/passwd.c: Do not check sleep return value.
161         * src/sulogin.c: Do not check *printf/*puts return value.
162         * lib/encrypt.c: Do not check fprintf return value.
163
164 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
165
166         * src/passwd.c: Fix a const issue.
167         * src/passwd.c: Avoid multi-statements lines.
168         * src/sulogin.c: Fix a const issue.
169
170 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
171
172         * libmisc/copydir.c, lib/prototypes.h: Caller can choose not to
173         copy the extended attributes (the SELinux context is hence reset)
174         * src/usermod.c: Copy the extended attributes.
175         * src/useradd.c: Only reset the SELinux context.
176
177 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
178
179         * configure.in: Fixed typo.
180
181 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
182
183         * libmisc/console.c, libmisc/motd.c, libmisc/setupenv.c,
184         libmisc/sulog.c, libmisc/hushed.c, libmisc/failure.c,
185         libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/obscure.c,
186         libmisc/pam_pass_non_interractive.c, src/userdel.c, src/login.c,
187         lib/commonio.c, lib/commonio.h, libmisc/setugid.c,
188         libmisc/setupenv.c: Fix some const issues.
189         * libmisc/motd.c: Avoid multi-statements lines.
190         * libmisc/motd.c: Support long MOTD_FILE.
191         * libmisc/list.c, lib/prototypes.h: Revert previous change.
192         dup_list and is_on_list are used with members as defined for the
193         group structure, and thus even if the list is not modified, the
194         list elements cannot be constant strings.
195         * libmisc/system.c: Avoid C++ comments.
196         * src/vipw.c: WITH_TCB cannot be tested inside a gettextized
197         string. Split the Usage string.
198         * lib/commonio.h: Re-indent.
199
200 2010-08-21  Nicolas François  <nicolas.francois@centraliens.net>
201
202         * libmisc/audit_help.c (audit_logger):pgname is not used. We let
203         audit find out the name of the program.
204         * libmisc/audit_help.c: Re-indent.
205
206 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
207
208         * lib/groupio.c: Avoid implicit conversion from signed to unsigned.
209
210 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
211
212         * lib/commonio.c: Make sure there are no NULL pointer dereference.
213
214 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
215
216         * libmisc/remove_tree.c: Ignore snprintf return value.
217
218 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
219
220         * lib/prototypes.h, libmisc/list.c: dup_list() and is_on_list() do
221         not change the members of the list they receive. Added const
222         qualifiers.
223
224 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
225
226         * src/usermod.c: Re-indent.
227
228 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
229
230         * lib/commonio.c: Avoid multi-statements lines.
231
232 2010-08-20  Nicolas François  <nicolas.francois@centraliens.net>
233
234         * man/po/fr.po: Fix a typo.
235
236 2010-06-24  Baurzhan Muftakhidinov  <baurthefirst@gmail.com>
237
238         * NEWS, po/kk.po: Updated Kazakh translation.
239
240 2010-04-12  Nicolas François  <nicolas.francois@centraliens.net>
241
242         * man/po/fr.po: Fix some typos. Minor updates: 886t70f187u.
243
244 2010-04-12  Nicolas François  <nicolas.francois@centraliens.net>
245
246         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
247         * po/*.po, man/po/*.po: Updated PO files.
248
249 2010-04-05  Nicolas François  <nicolas.francois@centraliens.net>
250
251         * man/newusers.8.xml, man/useradd.8.xml, man/groupadd.8.xml,
252         man/login.defs.d/UMASK.xml, man/login.defs.d/CREATE_HOME.xml,
253         man/login.defs.d/LOGIN_RETRIES.xml: Fix typos: choosen, overriden,
254         bahavior.
255
256 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
257
258         * man/usermod.8.xml: Document changes of ownerships.
259
260 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
261
262         * man/vipw.8.xml: Fix formatting typo.
263         * man/vipw.8.xml: Document the login.defs parameters only when tcb
264         is enabled.
265
266 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
267
268         * src/useradd.c: spool is a constant string.
269         * src/useradd.c: Set the new copy_tree's paramater 'copy_root' to false 
270
271 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
272
273         * src/usermod.c: move_home() is only called if mflg is set.
274         * src/usermod.c: Fail is -m is provided but the old home directory
275         is not a directory.
276         * src/usermod.c: Use the previous improvement of copy_tree to
277         provide better error diagnosis.
278         * src/usermod.c: When rename() is used, also change the ownership.
279         * src/usermod.c: Do not change the ownership of the root directory
280         twice.
281         * src/usermod.c: When -u is provided, only change the ownership of
282         the home directory if it is a directory.
283         * src/usermod.c: Also change ownerships when -g is used.
284
285 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
286
287         * lib/prototypes.h, libmisc/copydir.c: Add the old UID and GID to
288         copy_tree to detect when ownership shall be changed.
289         * libmisc/copydir.c: Document the behavior when the IDs are set to
290         -1.
291         * lib/prototypes.h, libmisc/copydir.c (copy_tree): Add parameter
292         copy_root.
293         * libmisc/copydir.c: error() and ctx can be static.
294         * libmisc/copydir.c (copy_hardlink): Remove parameter src.
295
296 2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>
297
298         * libmisc/chowndir.c: Dynamically allocate memory to support
299         path longer than 1024 characters.
300         * libmisc/chowndir.c: Fix typos in documentation.
301         * libmisc/chowndir.c: Support and document the behavior when a old
302         or new ID is set to -1.
303         * libmisc/chowndir.c: Improved error detection when chown fails.
304         * libmisc/chowndir.c: Harmonize error handling strategy when an
305         error occurs: stop changing ownership as soon as an error was
306         detected.
307
308 2010-04-03  Nicolas François  <nicolas.francois@centraliens.net>
309
310         * man/hu/passwd.5: Fix formatting typo.
311         * man/id/login.1: Likewise.
312
313 2010-03-31  Nicolas François  <nicolas.francois@centraliens.net>
314
315         * man/vipw.8.xml: When TCB is enabled, vipw uses login.defs.
316
317 2010-03-31  Nicolas François  <nicolas.francois@centraliens.net>
318
319         * NEWS, libmisc/copydir.c: When a hardlink is detected, the
320         original hardlink should not be removed.
321
322 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
323
324         * po/POTFILES.in, libmisc/Makefile.am, lib/prototypes.h,
325         libmisc/remove_tree.c, libmisc/copydir.c: Split remove_tree()
326         outside of copydir.c to avoid linking against libacl or libattr.
327
328 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
329
330         * src/su.c: shell's name must be -su when a su fakes a login.
331
332 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
333
334         * NEWS, configure.in, libmisc/copydir.c, man/useradd.8.xml,
335         man/usermod.8.xml, src/Makefile.am: Added support for ACLs and
336         Extended Attributes.
337
338 2010-03-30  Nicolas François  <nicolas.francois@centraliens.net>
339
340         * libmisc/copydir.c: Document the sections closed by #endif
341
342 2010-03-27  Nicolas François  <nicolas.francois@centraliens.net>
343
344         * man/vipw.8.xml: Add section ENVIRONMENT.
345
346 2010-03-26  Nicolas François  <nicolas.francois@centraliens.net>
347
348         * etc/login.defs: Updated description of UMASK to indicate its
349         usage by pam_umask.
350         * man/login.defs.d/UMASK.xml: Likewise.
351
352 2010-03-25  Nicolas François  <nicolas.francois@centraliens.net>
353
354         * man/login.1.xml: login does not check for new mails in PAM
355         enabled versions. This is done by pam_mail.
356
357 2010-03-25  Nicolas François  <nicolas.francois@centraliens.net>
358
359         * NEWS, src/chpasswd.c, man/chpasswd.8.xml, man/login.defs.5.xml:
360         PAM enabled versions: restore the -e option to allow restoring
361         passwords without knowing those passwords. Restore together the -m
362         and -c options.
363
364 2010-03-23  Nicolas François  <nicolas.francois@centraliens.net>
365
366         * src/su.c, src/vipw.c, src/newgrp.c: When the child is
367         interrupted, stop ourself with a SIGSTOP signal.
368
369 2010-03-23  Nicolas François  <nicolas.francois@centraliens.net>
370
371         * src/newgrp.c: Limit the scope of variable pid.
372         * src/login_nopam.c: Limit the scope of variables end, lineno, i,
373         str_len.
374         * src/logoutd.c: Limit the scope of variable c.
375         * src/vipw.c: Re-indent.
376         * src/vipw.c: Close the file after the creation of the backup.
377         * src/useradd.c (set_default): Close input file on failure.
378         * src/useradd.c: Limit the scope of variables spool, file, fd, gr,
379         gid, mode.
380         * src/passwd.c: Limit the scope of variables last and ok.
381         * src/chage.c: Fix typo (non breaking space).
382         * src/login.c: Limit the scope of variables erasechar killchar, c,
383         failed.
384         * src/groups.c: Limit the scope of variable ngroups, pri_grp, i.
385         * src/id.c: Limit the scope of variable i.
386
387 2010-03-22  Nicolas François  <nicolas.francois@centraliens.net>
388
389         * lib/utent.c (getutline): Remove getutline(). This function is
390         no more used.
391         * lib/groupmem.c: Limit the scope of variable i.
392         * lib/shadow.c: Avoid implicit conversion of pointers and integers
393         to booleans.
394         * lib/shadow.c: Added brackets.
395         * libmisc/limits.c: Limit the scope of variable tmpmask.
396         * libmisc/copydir.c: Close opened file on failure.
397         * libmisc/loginprompt.c: Limit the scope of variable envc.
398         * libmisc/find_new_uid.c, libmisc/find_new_gid.c: Limit the scope
399         of variable id.
400
401 2010-03-21  Nicolas François  <nicolas.francois@centraliens.net>
402
403         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Detect some
404         misconfigurations of UID_MIN, UID_MAX, SYS_UID_MIN, SYS_UID_MAX (and
405         the GID equivalents)
406
407 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
408
409         * NEWS, configure.in: Next version will be 4.1.5.
410         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
411         * po/*.po, man/po/*.po: Updated PO files.
412
413 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
414
415         * libmisc/limits.c: Re-indent to make pmccabe happy.
416
417 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
418
419         * man/generate_translations.mak, man/generate_mans.mak: Fix
420         distcheck. All manpages generation code shall be enclosed in
421         ENABLE_REGENERATE_MAN conditions.
422
423 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
424
425         * man/useradd.8.xml: Do not document the features which are not
426         working.
427         * man/useradd.8.xml: Fix typo: -u was meant instead of -o.
428         * man/useradd.8.xml: Document that the default behavior depends on
429         CREATE_HOME.
430
431 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
432
433         * lib/groupio.c: Fix memory management insplit_groups().
434
435 2010-03-20  Nicolas François  <nicolas.francois@centraliens.net>
436
437         * libmisc/strtoday.c: Empty dates indicate a disabled date, this is
438         not an error.
439
440 2010-03-19  Nicolas François  <nicolas.francois@centraliens.net>
441
442         * src/useradd.c, lib/commonio.c, po/POTFILES.in: Fix typos.
443         * libmisc/limits.c: Removed unused variable.
444
445 2010-03-19  Nicolas François  <nicolas.francois@centraliens.net>
446
447         * lib/commonio.c: Stop sorting entries when we reach the first
448         NIS line.
449
450 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
451
452         * src/chsh.c: Even for root, warn if an invalid shell is
453         specified. Alioth#311305
454
455 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
456
457         * man/limits.5.xml: Document the selection of the limits when
458         multiple lines match the user.
459
460 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
461
462         * libmisc/limits.c: Re-indent.
463         * libmisc/limits.c: Reformat the documentation. Avoid personal
464         comments.
465         * man/limits.5.xml: Document the new features.
466
467 2010-03-18  Thomas Orgis  <thomas@orgis.org>
468
469         * NEWS, libmisc/limits.c: Fix parsing of limits.
470         * NEWS, libmisc/limits.c: Add support for infinite limits.
471         * NEWS, libmisc/limits.c: Add support for @group syntax.
472
473 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
474
475         * lib/tcbfuncs.h: Re-indent.
476         * lib/tcbfuncs.h: Explicitly indicate function taking a void
477         parameter.
478
479 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
480
481         * src/useradd.c: When exiting because of a failure, warn if an
482         home directory created, but cannot be removed.
483
484 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
485
486         * libmisc/chowndir.c: Re-indent.
487         * libmisc/chowndir.c: Avoid assignment in comparisons.
488         * libmisc/chowndir.c: Added brackets and parenthesis.
489
490 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
491
492         * libmisc/strtoday.c: Add support for numerical dates, assuming
493         they are already specified in number of days since Epoch. Return
494         -2 in case of errors to support the specification of -1.
495         * src/usermod.c, src/useradd.c: Adapt to the new error value of
496         strtoday().
497         * src/chage.c:  Remove isnum(). Adapt to the new error value of
498         strtoday(). Support for numerical dates is moved to strtoday().
499
500 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
501
502         * man/po/fr.po: Harmonize name of parameters.
503
504 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
505
506         * NEWS: Indicate which tools support TCB.
507
508 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
509
510         * src/pwck.c: Unlock the password and shadow files when there is a
511         failure to prepare the update in memory.
512
513 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
514
515         * src/pwck.c: Only log to SYSLOG when acting on system files.
516
517 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
518
519         * src/pwck.c: Document the sections closed by #endif
520         * src/pwck.c, man/pwck.8.xml: No alternative shadow file can be
521         given when USE_TCB is enabled.
522         * src/pwck.c: Remove the -s option from the usage when USE_TCB is
523         enabled. The option is still supported, but has no effect, as
524         documented in the manpage.
525
526 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
527
528         * src/pwck.c: Do not use pwd_file and spw_file. Always use the
529         dbname() functions.
530
531 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
532
533         * src/pwck.c: Re-indent.
534
535 2010-03-18  Nicolas François  <nicolas.francois@centraliens.net>
536
537         * src/userdel.c, src/usermod.c, src/vipw.c, src/useradd.c,
538         src/pwck.c, src/chage.c, lib/shadowio.c: Explicitly use the
539         SHADOWTCB_FAILURE return code instead of 0 or implicit conversion
540         to booleans.
541
542 2010-03-18  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
543
544         * src/pwck.c: Add support for TCB.
545         * src/pwck.c: Use spw_dbname() instead of spw_file since TCB
546         changes from a file to another depending on the user. Also use
547         pw_dbname() for consistency.
548
549 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
550
551         * src/faillog.c: Re-indent.
552
553 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
554
555         * lib/tcbfuncs.h: Added type shadowtcb_status.
556         * lib/tcbfuncs.h, lib/tcbfuncs.c: Return a shadowtcb_status
557         instead of an int.
558         * lib/tcbfuncs.c: Do not return in OUT_OF_MEMORY.
559         * lib/tcbfuncs.c: Only FreeBSD specify that the returned buffer is
560         NULL in case of failure. The return value of asprintf shall be
561         checked.
562         * lib/tcbfuncs.c: Avoid implicit conversion of pointers or
563         integers to booleans.
564         * lib/tcbfuncs.c: Avoid assignments in comparisons.
565         * lib/tcbfuncs.c: Do not free path before its last use.
566         * lib/tcbfuncs.c: Include shadowio.h, needed for the
567         spw_setdbname's prototype.
568         * lib/tcbfuncs.c: Ignore fflush() return value.
569         * lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.
570         * lib/tcbfuncs.c: Avoid integer to char conversions.
571         * lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.
572         * lib/tcbfuncs.c: Removed dead return.
573         * lib/tcbfuncs.c: move_dir() and shadowtcb_move() need a non NULL
574         stored_tcb_user.
575         * lib/tcbfuncs.c: Avoid implicit int to mode_t conversion.
576         * lib/tcbfuncs.c: Added brackets and parenthesis.
577         * lib/tcbfuncs.c: Re-indent.
578
579 2010-03-17  Nicolas François  <nicolas.francois@centraliens.net>
580
581         * lib/commonio.c: Avoid implicit conversion of pointers to
582         booleans.
583         * lib/commonio.c: Ignore the return value of close when a
584         failure is reported.
585
586 2010-03-16  Nicolas François  <nicolas.francois@centraliens.net>
587
588         * man/faillog.8.xml: Document the behavior in display mode of the
589         -a option.
590         * NEWS, man/faillog.8.xml, src/faillog.c: Extend the -a option to
591         the non-display mode. This changes the default behavior of the -l,
592         -m, -r, -t options when -a is not specified (restrict to existing
593         users).
594
595 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
596
597         * man/chage.1.xml, man/login.defs.5.xml, man/pwck.8.xml,
598         man/pwconv.8.xml, man/useradd.8.xml, man/userdel.8.xml,
599         man/usermod.8.xml, man/vipw.8.xml: Document the usage of the
600         TCB_AUTH_GROUP, TCB_SYMLINKS, and USE_TCB configuration
601         parameters.
602         * man/pwconv.8.xml, man/pwck.8.xml: Document the behavior when
603         USE_TCB is enabled.
604
605 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
606
607         * po/POTFILES.in, lib/tcbfuncs.c: Add more strings for
608         translation.
609         * lib/tcbfuncs.c: Indicate the name of the program in error
610         messages. Avoid perror.
611         * src/useradd.c: Re-indent.
612         * src/useradd.c: Add more strings for translation. Indicate the
613         name of the program in error messages.
614         * src/userdel.c: Re-indent.
615         * src/userdel.c: Add more strings for translation. Indicate the
616         name of the program in error messages.
617
618 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
619
620         * src/usermod.c: user_newname and user_newid cannot be used to
621         test if the username or ID is changed. lflg and uflg should be
622         used instead.
623
624 2010-03-15  Nicolas François  <nicolas.francois@centraliens.net>
625
626         * src/userdel.c: Avoid perror. Give more verbose warnings.
627
628 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
629
630         * man/Makefile.am: Indicate that man/generate_mans.deps is
631         generated.
632
633 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
634
635         * lib/commonio.c: Re-indent.
636         * lib/commonio.c: Document the sections closed by #endif
637         * lib/commonio.c: Added brackets.
638         * lib/commonio.c: Avoid implicit conversion of integer to
639         booleans.
640
641 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
642
643         * src/userdel.c: Re-indent.
644         * src/userdel.c: Added brackets.
645         * src/userdel.c: Avoid implicit conversion of pointers to
646         booleans.
647
648 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
649
650         * lib/shadowio.c: Re-indent.
651         * lib/shadowio.c: Added brackets and parenthesis.
652         * lib/shadowio.c: Document the sections closed by #endif
653         * lib/shadowio.c: Avoid negation of comparisons.
654         * lib/shadowio.c: Avoid implicit conversion of integer to booleans
655         and booleans to integers.
656
657 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
658
659         * src/useradd.c: Re-indent.
660         * src/useradd.c: Added brackets.
661         * src/useradd.c: Avoid implicit conversion of integers to
662         booleans.
663         * src/useradd.c: Harmonize error messages.
664
665 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
666
667         * src/vipw.c: Document the sections closed by #endif
668         * src/vipw.c: Avoid implicit conversion of pointers or integers to
669         booleans.
670         * src/vipw.c: Added brackets and parenthesis.
671         * src/vipw.c: Limit the definition of some variables and macros to
672         the WITH_TCB scope.
673         * src/vipw.c: Avoid assignment in comparisons.
674         * src/vipw.c: Replace PASSWD_FILE (resp. GROUP_FILE and
675         SGROUP_FILE) by pw_dbname () (resp. gr_dbname () and sgr_dbname ()).
676         This is more consistent with the shadow file handling and may be
677         useful to allow edition of another partition's files.
678
679
680 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
681
682         * src/usermod.c: Re-indent.
683         * src/usermod.c: Avoid implicit conversion of pointers to
684         booleans.
685         * src/usermod.c: Added parenthesis.
686
687 2010-03-11  Nicolas François  <nicolas.francois@centraliens.net>
688
689         * src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.
690
691 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
692
693         * src/userdel.c: Re-indent.
694         * src/userdel.c: Avoid implicit conversion of pointers to
695         booleans.
696         * src/userdel.c: Document the sections closed by #endif
697
698 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
699
700         * src/pwconv.c: Only check USE_TCB if configured WITH_TCB.
701
702 2010-03-10  Nicolas François  <nicolas.francois@centraliens.net>
703
704         * libmisc/copydir.c: Added parenthesis.
705
706 2010-02-14  Michael Bunk  <mb@computer-leipzig.com>
707
708         * NEWS, lib/gshadow.c: Fix parsing of gshadow entries.
709
710 2010-01-30  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
711
712         * NEWS: Add support for TCB.
713         * lib/tcbfuncs.h, lib/tcbfuncs.c, lib/Makefile.am: New library to
714         support TCB.
715         * lib/prototypes, libmisc/copydir.c (remove_tree): Add boolean
716         parameter remove_root.
717         * configure.in: Add conditional WITH_TCB.
718         * src/userdel.c, src/usermod.c: Add support for TCB. Update call to
719         remove_tree().
720         * src/pwconv.c, src/pwunconv.c: Should not be used with TCB enabled.
721         * src/vipw.c: Add support for TCB. Update call to remove_tree().
722         * src/useradd.c: Add support for TCB. Open the shadow file outside
723         of open_files().
724         * src/chage.c: Add support for TCB.
725         * src/Makefile.am: Install passwd sgid shadow when TCB is enabled.
726         * lib/getdefs.c, man/vipw.8.xml, man/login.defs.5.xml,
727         man/login.defs/TCB_AUTH_GROUP.xml, man/login.defs/USE_TCB.xml,
728         man/login.defs/TCB_SYMLINKS.xml, man/generate_mans.mak,
729         man/generate_mans.deps, man/Makefile.am: New configuration
730         parameters: TCB_AUTH_GROUP, TCB_SYMLINKS, USE_TCB.
731         * lib/shadowio.c, lib/commonio.c: Add support for TCB.
732
733 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
734
735         * libmisc/env.c: Fix sanitize_env() noslash support. This fixes
736         Alioth#311740.
737
738 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
739
740         * src/su.c: Do not sanitize the environment. This breaks
741         --preserve-environment. This sanitation was disabled on Debian
742         since quite some time with no reported issues, and sanitize_env()
743         documentation agrees that it should be useless as all modern
744         Unixes will handle setuid executables properly. This fixes
745         Alioth#312287.
746
747 2010-01-24  Nicolas François  <nicolas.francois@centraliens.net>
748
749         * libmisc/setupenv.c: Fix typo from 2009-11-01.
750
751 2010-01-24  Paweł Hajdan, Jr.  <phajdan.jr@gentoo.org>
752
753         * configure.in: Add support for TCB in configure.in. Actual TCB
754         support will follow.
755
756 2009-11-05  Nicolas François  <nicolas.francois@centraliens.net>
757
758         * NEWS, src/groupmod.c: Fixed groupmod when configured with
759         --enable-account-tools-setuid.
760
761 2009-11-01  Nicolas François  <nicolas.francois@centraliens.net>
762
763         * NEWS, man/login.defs.d/ENV_SUPATH.xml, libmisc/setupenv.c:
764         Harmonize other paths and documentation with previous
765         change.
766
767 2009-11-01  Michel Hermier  <michel.hermier@gmail.com>
768
769         * src/su.c: Set the default ENV_SUPATH to
770         /sbin:/bin:/usr/sbin:/usr/bin (i.e. PATH when no ENV_SUPATH is
771         specified).
772
773 2009-10-15  Thorsten Kukuk  <kukuk@suse.de>
774
775         * src/faillog.c, man/faillog.8.xml: Harmonize long option in code
776         and documentation. Use --lock-secs instead of --lock-time.
777
778 2009-10-05  Miroslav Kure  <kurem@upcase.inf.upol.cz>
779
780         * po/cs.po: updated to 412t
781
782 2009-09-29  Clytie Siddall  <clytie@riverland.net.au>
783
784         * po/vi.po: updated to 412t
785
786 2009-09-27  Miroslav Kure  <kurem@upcase.inf.upol.cz>
787
788         * po/cs.po: updated to 411t1f
789
790 2009-09-24  Christian Perrier  <bubulle@debian.org>
791
792         * man/po/fr.po: Updated French translation to 835t99f165
793
794 2009-09-24  Clytie Siddall  <clytie@riverland.net.au>
795
796         * po/vi.po: updated to 348t30f34u
797
798 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
799
800         * lib/commonio.c: Avoid pre-decrement operator (--n). Add some
801         comments.
802         * libmisc/cleanup.c: Fix off by one in an assertion.
803
804 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
805
806         * src/su.c: Fix indentation.
807         * src/su.c: Add more messages for translation.
808         * src/su.c: Ignore kill() return value when sending the TERM
809         signal. If it fails, a KILL should be sent anyway.
810
811 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
812
813         * NEWS, src/su.c: When su receives a signal, wait for the child to
814         terminate (after sending a SIGTERM), and kill it only if it did
815         not terminate by itself. No delay will be enforced if the child
816         cooperates. See http://bugs.gentoo.org/282094
817         * NEWS, man/su.1.xml: Document su's exit values.
818
819 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
820
821         * src/useradd.c: The default value for the CREATE_MAIL_SPOOL
822         variable (i.e. if CREATE_MAIL_SPOOL= is specified without any
823         values) is "no", not DCREATE_MAIL_SPOOL ("CREATE_MAIL_SPOOL=").
824
825 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
826
827         * src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead.
828         For consistency, change HOME, INACT, EXPIRE, SKEL, and
829         CREATE_MAIL_SPOOL to DHOME, DINACT, DEXPIRE, DSKEL, and
830         DCREATE_MAIL_SPOOL.
831
832 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
833
834         * src/newusers.c: Prefer #ifdef over #if.
835
836 2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
837
838         * configure.in: We do not use SETPGRP_VOID, and already assume
839         that setpgrp has a void argument. Remove AC_FUNC_SETPGRP to ease
840         cross compiling.
841
842 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
843
844         * man/generate_translations.mak, man/generate_mans.mak,
845         po/Makefile.in.in: Removing and restoring the config.xml file
846         broke parallel builds. Build the manpages based on *.xml-config
847         files instead of *.xml files.  The *.xml do not include config.xml
848         anymore, which permits to run xml2po without needing to remove
849         config.xml. The config.xml is restored in the *.xml-config files.
850         * man/groupadd.8.xml: Implementation of the above.
851         * man/generate_mans.deps: Updated dependencies
852
853 2009-09-07  Steve Grubb  <sgrubb@redhat.com>
854
855         * libmisc/limits.c: Fix the format to match the unsigned long
856         variable in argument.
857         * libmisc/utmp.c: Fix tests. tmptty is a variable stack. ut_host
858         is an array of the ut structure. None of them can be NULL.
859
860 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
861
862         * lib/shadowmem.c: Only copy the required fields of the struct
863         spwd. (start with the primitive types)
864         * lib/shadowmem.c: Avoid memzero() on a possibly NULL pointer.
865         * lib/groupmem.c: Only copy the required fields of the struct
866         group. (start with the primitive types)
867         * lib/groupmem.c: Avoid memzero() on a possibly NULL pointer.
868         * lib/groupmem.c: Free gr_mem in addition to its elements.
869         * lib/sgroupio.c: The struct sgrp has no primitive types to be
870         copied initially.
871         * lib/sgroupio.c: Avoid memzero() on a possibly NULL pointer.
872         * lib/sgroupio.c: Free sg_mem and sg_add in addition to their
873         elements.
874         * lib/pwmem.c: Only copy the required fields of the struct
875         passwd. (start with the primitive types)
876
877 2009-09-07  Nicolas François  <nicolas.francois@centraliens.net>
878
879         * lib/sgroupio.h: Harmonize splint annotations of sgr_locate()
880         prototype with the one used in its definition.
881
882 2009-09-07  Steve Grubb  <sgrubb@redhat.com>
883
884         * libmisc/copydir.c, lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
885         Fix some memory leaks.
886
887 2009-09-06  Nicolas François  <nicolas.francois@centraliens.net>
888
889         * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c,
890         src/chpasswd.c, src/groupmems.c, src/usermod.c, src/chgpasswd.c,
891         src/vipw.c, src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c,
892         src/groupadd.c, src/chage.c, src/faillog.c, src/chsh.c: Use
893         booleans for tests.
894         * src/userdel.c, src/gpasswd.c, src/groupmems.c, src/usermod.c,
895         src/groupmod.c, src/passwd.c: Use a break even after usage().
896
897 2009-09-05  Nicolas François  <nicolas.francois@centraliens.net>
898
899         * src/gpasswd.c, src/groupmems.c: Split the groupmems and gpasswd
900         Usage string. It was changed anyway to add the --help option.
901
902 2009-09-05  Mike Frysinger  <vapier@gentoo.org>
903
904         * NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c,
905         src/newusers.c, src/chpasswd.c, src/groupmems.c, src/usermod.c,
906         src/chgpasswd.c, src/vipw.c, src/su.c, src/useradd.c,
907         src/groupmod.c, src/passwd.c, src/groupadd.c, src/chage.c,
908         src/faillog.c, src/chsh.c: If someone uses the -h/--help options,
909         the usage should not go to stderr nor should the utility exit with
910         non-zero status. All of the shadow utils do just this
911         unfortunately, so convert them over to sanity.
912         * man/groupmems.8.xml, man/gpasswd.1.xml: Added option -h/--help.
913
914 2009-09-05  Nicolas François  <nicolas.francois@centraliens.net>
915
916         * src/useradd.c: Fixed wrong format string.
917         * lib/gshadow.c: Removed declaration of unused variable.
918
919 2009-08-30  Mike Frysinger  <vapier@gentoo.org>
920
921         * man/generate_mans.mak, man/generate_translations.mak: Provide an
922         useful error message when --enable-man is not enabled and the
923         translated manpages are not generated.
924
925 2009-08-21  Nicolas François  <nicolas.francois@centraliens.net>
926
927         * man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They
928         break the groff formatting.
929
930 2009-07-24  Nicolas François  <nicolas.francois@centraliens.net>
931
932         * po/fr.po: Fix typos, based on reviews by the Debian French
933         translation team.
934
935 2009-07-24  Nicolas François  <nicolas.francois@centraliens.net>
936
937         * NEWS, configure.in: Prepare for the next release 4.1.4.2.
938         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
939         * po/*.po, man/po/*.po: Updated PO files.
940
941 2009-07-23  Nicolas François  <nicolas.francois@centraliens.net>
942
943         * configure.in: Fixed definition of the SHELL configuration.
944
945 2009-07-23  Nicolas François  <nicolas.francois@centraliens.net>
946
947         * etc/login.defs: SYS_GID_MIN /SYS_UID_MIN changed from 100 to
948         101. GID 100 seems to be used statically.
949
950 2009-07-22  Nicolas François  <nicolas.francois@centraliens.net>
951
952         * libmisc/shell.c, src/su.c: Execute the scripts with "sh -"
953         rather than "sh".
954
955 2009-07-22  Nicolas François  <nicolas.francois@centraliens.net>
956
957         * configure.in, libmisc/shell.c, libmisc/setupenv.c, src/newgrp.c,
958         src/su.c: Let the system shell be configurable.
959
960 2009-07-20  Nicolas François  <nicolas.francois@centraliens.net>
961
962         * NEWS, src/su.c, libmisc/shell.c: Added support for shells being a
963         shell script without a shebang.
964
965 2009-07-19  Jean-Louis Dupond  <info@dupondje.be>
966
967         * po/nl.po: Fix obvious mistake in Dutch translation.
968
969 2009-07-18  Peter Vrabec  <pvrabec@redhat.com>
970
971         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not use
972         getpwent / getgrent for system accounts. Trying the low-IDs with
973         getpwuid / getgrgid should be more efficient on LDAP configured
974         systems with many accounts.
975         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Since
976         system accounts are allocated from SYS_?ID_MIN to SYS_?ID_MAX in
977         reverse order, accounts are packed close to SYS_?ID_MAX if
978         SYS_?ID_MIN is already used but there are still dome gaps.
979
980 2009-07-05  Piarres Beobide  <pi+debian@beobide.net>
981
982         * po/eu.po: Updated Basque translation.
983
984 2009-06-20  Nicolas François  <nicolas.francois@centraliens.net>
985
986         * man/fi/Makefile.am: Stop distributing the Finnish translation of
987         passwd.1 (outdated).
988
989 2009-06-20  Nicolas François  <nicolas.francois@centraliens.net>
990
991         * man/pwck.8.xml: The shadow file is optional.
992         * man/pwck.8.xml: Updated description of the checks. Added
993         description of the shadow checks.
994         * man/pwck.8.xml: Updated description of the checks.
995
996 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
997
998         * man/po/fr.po: Fixed typo (forunis)
999
1000 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1001
1002         * lib/fputsx.c: Compare the result of fgets() with the provided
1003         buffer instead of NULL.
1004
1005 2009-06-12  Nicolas François  <nicolas.francois@centraliens.net>
1006
1007         * lib/gshadow.c: Removed limitation on the length of the gshadow
1008         lines.
1009         * lib/gshadow.c: Compare the result of fgetsx() with the provided
1010         buffer instead of NULL.
1011
1012 2009-06-11  Nicolas François  <nicolas.francois@centraliens.net>
1013
1014         * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetgrnam.c,
1015         libmisc/xgetpwuid.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c: Do
1016         not limit the size of the buffer to hold the group or user
1017         structure. It used to be limited to 16k, which caused issues with
1018         groups having many users.
1019
1020 2009-06-11  Nicolas François  <nicolas.francois@centraliens.net>
1021
1022         * src/su.c, man/su.1.xml: The default behavior (without -p or
1023         --login) is to copy most of the environment variables. Revert a
1024         previous change and update the documentation.
1025
1026 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1027
1028         * man/passwd.5.xml, man/shadow.5.xml: Document the passwd- and
1029         shadow- files.
1030
1031 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1032
1033         * NEWS, src/su.c: Preserve the DISPLAY and XAUTHORITY environment
1034         variables, even with --login. This was not the case before in the
1035         PAM version.
1036
1037 2009-06-06  Nicolas François  <nicolas.francois@centraliens.net>
1038
1039         * src/useradd.c, src/groupmod.c, src/groupadd.c, src/faillog.c:
1040         Fix typos. Take this opportunity to split the usage messages into
1041         smaller messages (one per option).
1042         * src/pwck.c: Fix typo.
1043
1044 2009-06-05  Petri Koistinen  <petri.koistinen@iki.fi>
1045
1046         * man/passwd.1.xml: The short option for --mindays is -n, not -m.
1047
1048 2009-06-04  Mike Frysinger  <vapier@gentoo.org>
1049
1050         * .gitignore, man/.gitignore, src/.gitignore: Added .gitignore
1051         files.
1052
1053 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1054
1055         * man/su.1.xml: Use <option> for the login.defs options.
1056         * man/su.1.xml: Improve the documentation of the su behavior
1057         regarding environment variables.
1058         * man/su.1.xml: Document that the login.defs file is used.
1059
1060 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1061
1062         * man/login.1.xml: Document that the login.defs file is used.
1063
1064 2009-06-04  Nicolas François  <nicolas.francois@centraliens.net>
1065
1066         * man/login.defs.d/ENVIRON_FILE.xml: Document the format for
1067         comments.
1068
1069 2009-05-26  Nicolas François  <nicolas.francois@centraliens.net>
1070
1071         * man/gpasswd.1.xml: Ease the translation of the refpurpose.
1072         * man/gpasswd.1.xml: Fix typo, shorten sentences.
1073
1074 2009-05-26  Nicolas François  <nicolas.francois@centraliens.net>
1075
1076         * man/pwck.8.xml, man/grpck.8.xml: Move the SEE ALSO section at
1077         the end.
1078
1079 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1080
1081         * src/vipw.c: Make sure opened files are closed.
1082
1083 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1084
1085         * man/chpasswd.8.xml, man/grpck.8.xml, man/newgrp.1.xml,
1086         man/passwd.1.xml, man/sg.1.xml: Avoid a spurious comma.
1087
1088 2009-05-25  Nicolas François  <nicolas.francois@centraliens.net>
1089
1090         * NEWS: New placeholder for the next release.
1091
1092 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1093
1094         * po/fr.po: Updated French translation.
1095
1096 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1097
1098         * NEWS: Prepare the next release.
1099         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1100         * po/*.po, man/po/*.po: Updated PO files.
1101
1102 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1103
1104         * man/passwd.1.xml: passwd -u does not reset the expiry field.
1105
1106 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1107
1108         * man/po/fr.po: Updated some strings.
1109
1110 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1111
1112         * NEWS, src/newgrp.c: Return the exit status of the child. Thanks
1113         to Lionel Elie Mamane.
1114
1115 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1116
1117         * src/usermod.c: Added warnings for absolute symlinks which could
1118         be broken by rename().
1119
1120 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1121
1122         * NEWS, src/userdel.c: Report errors to remove the user's mailbox.
1123         * NEWS, src/userdel.c: When USERGROUPS_ENAB is enabled, remove the
1124         user's group when the user was the only member. This is still not
1125         complete, as the user could have been specified twice in the
1126         members.
1127         * NEWS, src/userdel.c: Do not fail when -r is used and the home
1128         directory does not exist.
1129
1130 2009-05-22  Nicolas François  <nicolas.francois@centraliens.net>
1131
1132         * libmisc/copydir.c: Added warning for relative symlinks.
1133         * libmisc/copydir.c (remove_tree): There is no need to check if
1134         the root argument exist. opendir() will report this.
1135
1136 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1137
1138         * man/faillog.8.xml: Minor updates.
1139
1140 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1141
1142         * man/faillog.5.xml: Split a long paragraph. Typo fixes.
1143
1144 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1145
1146         * man/gpasswd.1.xml: Minor updates.
1147
1148 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1149
1150         * man/gshadow.5.xml: Updated documentation.
1151
1152 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1153
1154         * man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
1155         Harmonize formatting of login.defs and default/useradd variables.
1156         Use an <option> tag.
1157         * man/usermod.8.xml: Added reference to gshadow(5).
1158         * man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the
1159         USERDEL_CMD example.
1160
1161 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
1162
1163         * src/su.c: Use a boolean instead of 0.
1164
1165 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
1166
1167         * man/usermod.8.xml: Fixed typos.
1168
1169 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
1170
1171         * configure.in: Next version will be 4.1.4.1.
1172
1173 2009-05-20  Nicolas François  <nicolas.francois@centraliens.net>
1174
1175         * man/newusers.8.xml: Added notes regarding the ownership of
1176         files.
1177
1178 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1179
1180         * man/groupmod.8.xml: Split the -g option description into smaller
1181         paragraphs.
1182
1183 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1184
1185         * man/usermod.8.xml: Ownership of the mailbox is also changed with
1186         the -u option.
1187
1188 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1189
1190         * man/useradd.8.xml: When no passwords are provided, the password
1191         is disabled, not the account.
1192
1193 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1194
1195         * man/newusers.8.xml, man/chpasswd.8.xml, man/useradd.8.xml,
1196         man/groupadd.8.xml, man/usermod.8.xml, man/chgpasswd.8.xml,
1197         man/groupmod.8.xml: Added warning: passwords set with these tools
1198         may not respect the password policy.
1199
1200 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1201
1202         * man/groupadd.8.xml: Fixed formatting issue.
1203
1204 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1205
1206         * man/userdel.8.xml: Added warning for files that could remain
1207         owner by the removed user.
1208
1209 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1210
1211         * man/useradd.8.xml: Fix formatting typo.
1212
1213 2009-05-19  Nicolas François  <nicolas.francois@centraliens.net>
1214
1215         * man/groupdel.8.xml: Move the warning on filesystems checks to
1216         the CAVEAT section.
1217
1218 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1219
1220         * man/login.defs.d/GID_MAX.xml: Fixed typo. useradd was specified
1221         twice.
1222
1223 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1224
1225         * man/groupadd.8.xml, man/useradd.8.xml: names may also contain
1226         digits.
1227
1228 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1229
1230         * man/shadow.5.xml: What is important in shadow is not the
1231         encryption, but that the file is not world readable.
1232
1233 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1234
1235         * man/po/fr.po: Updated French translation. Thanks to ABBAS
1236         Belkacem for the login.defs update.
1237
1238 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1239
1240         * man/usermod.8.xml: Split the CAVEAT section in paragraphs.
1241         Updated information on the user_busy check.
1242
1243 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1244
1245         * man/userdel.8.xml: Document tat -f may force teh deletion of a
1246         busy user.
1247
1248 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1249
1250         * NEWS, src/usermod.c: Check if the user is busy when the user's
1251         UID, name or home directory is changed.
1252
1253 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1254
1255         * src/userdel.c, libmisc/user_busy.c, libmisc/Makefile.am,
1256         lib/prototypes.h: Move user_busy() to libmisc/user_busy.c.
1257         * NEWS, libmisc/user_busy.c: On Linux, do not check if an user is
1258         logged in with utmp, but check if the user is running some
1259         processes. If not on Linux, continue to search for an utmp record,
1260         but make sure the process recorded in the utmp entry is still
1261         running.
1262
1263 2009-05-18  Nicolas François  <nicolas.francois@centraliens.net>
1264
1265         * man/usermod.8.xml: Document the -m/--move-home option.
1266
1267 2009-05-17  Nicolas François  <nicolas.francois@centraliens.net>
1268
1269         * src/userdel.c (user_busy): Check if the process registered in
1270         utmp is still running. This avoids rejecting the removal of an
1271         user when UTMP was not updated and indicate that the user is still
1272         logged in.
1273
1274 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1275
1276         * NEWS, libmisc/console.c (console): Remove the leading /dev/ from
1277         the tty before comparing with the lines specified by CONSOLE.
1278         * src/su.c: Do not remove the /dev/ prefix since it is done by
1279         console().
1280
1281 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1282
1283         * man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE
1284         file.
1285
1286 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1287
1288         * NEWS, src/login.c: Fix failure of non PAM enabled versions when
1289         an empty username is entered after a first prompt.
1290
1291 2009-05-16  Nicolas François  <nicolas.francois@centraliens.net>
1292
1293         * src/passwd.c: Added missing end of line at the end of success
1294         messages.
1295
1296 2009-05-16  sacha  <sachall@infonie.fr>
1297
1298         * po/fr.po: Fixed typo in the vipw usage string.
1299
1300 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
1301
1302         * libmisc/shell.c: Removed invalid code that executed the user's
1303         shell as a shell script when the direct execution of the user's
1304         shell failed with ENOEXEC and the user's shell has a shebang. The
1305         interpreter might not be the right one.  Executing the user's
1306         shell with sh -c might be better, but I'm not sure we should try
1307         harder when there is a failure. Note: the removed code was only
1308         included #ifndef __linux__.
1309
1310 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
1311
1312         * man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed
1313         when the group is used by other users, not the user.
1314
1315 2009-05-12  Nicolas François  <nicolas.francois@centraliens.net>
1316
1317         * src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the
1318         USERDEL_CMD script example from the source code to the
1319         documentation.
1320
1321 2009-05-11  Nicolas François  <nicolas.francois@centraliens.net>
1322
1323         * man/newusers.8.xml: PAM enabled version: describe how passwords
1324         are updated and how newusers behave in case of error.
1325
1326 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1327
1328         * NEWS, configure.in: New release will be 4.1.4.
1329         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
1330         * po/*.po, man/po/*.po: Updated PO files.
1331
1332 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1333
1334         * libmisc/copydir.c: Added prototype of readlink_malloc(), and
1335         readlink_malloc() changed to static.
1336
1337 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1338
1339         * src/su.c: Avoid redeclaration of root_pw.
1340
1341 2009-05-10  NAKANO Takeo  <nakano@webmasters.gr.jp>
1342
1343         * po/ja.po: Updated Japanese translation.
1344
1345 2009-05-10  Jean-Luc Coulon (f5ibh)  <jean-luc.coulon@wanadoo.fr>
1346
1347         * po/fr.po: Updated French translation.
1348
1349 2009-05-10  Nicolas François  <nicolas.francois@centraliens.net>
1350
1351         * lib/commonio.c: Avoid PATH_MAX. On glibc, we can use realpath
1352         with a NULL argument.
1353         * src/useradd.c: Replace PATH_MAX by a fixed constant. The buffer
1354         was not meant as a storage for a path.
1355         * src/useradd.c, src/newusers.c, src/chpasswd.c: Better detection
1356         of fgets errors. Lines shall end with a \n, unless we reached the
1357         end of file.
1358         * libmisc/copydir.c: Avoid PATH_MAX. Support file paths with any
1359         length. Added readlink_malloc().
1360
1361 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1362
1363         * src/pwck.c: Warn if an user has an entry in passwd and shadow,
1364         and the password field in passwd is not 'x'.
1365         * src/grpck.c: Warn if a group has an entry in group and gshadow,
1366         and the password field in group is not 'x'.
1367
1368 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1369
1370         * man/login.defs.d/ENCRYPT_METHOD.xml,
1371         man/login.defs.d/MD5_CRYPT_ENAB.xml,
1372         man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Updated note for PAM
1373         enabled versions. These variables are only used for group
1374         passwords in this case.
1375
1376 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1377
1378         * man/chpasswd.8.xml: Sorted options alphabetically.
1379
1380 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1381
1382         * NEWS, src/newusers.c, src/Makefile.am: Added support for
1383         changing the passwords with PAM.
1384         * src/newusers.c: Split the usage string in smaller parts to
1385         allow enabling single parts.
1386         * man/newusers.8.xml: Indicate the options and configuration
1387         variables valid for PAM and non-PAM versions.
1388         * man/newusers.8.xml: Added pointer to /etc/pam.d/chpasswd.
1389
1390 2009-05-09  Nicolas François  <nicolas.francois@centraliens.net>
1391
1392         * src/userdel.c: Remove duplicate definitions of exit codes.
1393
1394 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1395
1396         * libmisc/non_interactive_pam_conv.c,
1397         libmisc/pam_pass_non_interractive.c, libmisc/Makefile.am: Renamed.
1398         * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
1399         non_interactive_password and non_interactive_pam_conv do not need
1400         to be externally visible.
1401         * libmisc/pam_pass_non_interractive.c: Added declaration of
1402         ni_conv.
1403         * libmisc/pam_pass_non_interractive.c: Only compile ifdef USE_PAM.
1404         * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
1405         Added do_pam_passwd_non_interractive().
1406         * src/chpasswd.c: Use do_pam_passwd_non_interractive().
1407
1408 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1409
1410         * libmisc/pam_pass.c: Removed comment regarding pam_misc. This is
1411         checked by configure.in.
1412
1413 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1414
1415         * man/login.defs.5.xml: PAM enabled chpasswd do not use any
1416         configuration variable from login.defs.
1417
1418 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1419
1420         * man/passwd.1.xml: Differentiate the files used for PAM and
1421         non-PAM versions.
1422
1423 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1424
1425         * man/chpasswd.8.xml: Describe how chpasswd behaves in case of error.
1426         * man/chpasswd.8.xml: Describe the PAM enabled chpasswd behavior.
1427         * man/chpasswd.8.xml: Differentiate the files and configurations
1428         used for PAM and non-PAM versions.
1429
1430 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1431
1432         * src/login.c: failcount does not need to be signed.
1433
1434 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1435
1436         * src/Makefile.am: PAM enabled chpasswd now needs to be linked to
1437         the PAM library, even if --enable-account-tools-setuid is not
1438         used.
1439
1440 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1441
1442         * src/chpasswd.c: Added the line number when an error is reported
1443         instead of only the username.
1444         * src/chpasswd.c: PAM enabled chpasswd may change the password
1445         database (for the user where the password update succeeded) even
1446         if there were a failure for one user. Do not indicate that changes
1447         were ignored.
1448
1449 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1450
1451         * src/passwd.c: Exit immediately when unlocking a password would
1452         result in a passwordless account. This avoid printing a success
1453         message after the warning.
1454
1455 2009-05-07  Nicolas François  <nicolas.francois@centraliens.net>
1456
1457         * src/nologin.c: Include <stdlib.h> to get EXIT_FAILURE.
1458
1459 2009-05-04  Nicolas François  <nicolas.francois@centraliens.net>
1460
1461         * NEWS, configure.in: Fix build failure on non-PAM enabled system
1462         when --without-pam is not specified.
1463
1464 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1465
1466         * lib/commonio.c: Ignore the return values of fclose() and
1467         unlink() in case of failure of fopen_set_perms() or
1468         create_backup().
1469         * lib/commonio.c: Should the backup file be unlink'ed in case of
1470         failure of create_backup()?
1471
1472 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1473
1474         * lib/getulong.c: Added splint annotations.
1475
1476 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1477
1478         * src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c,
1479         src/userdel.c, src/chpasswd.c, src/grpck.c, src/gpasswd.c,
1480         src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
1481         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
1482         src/groupadd.c, src/chage.c, src/login.c, src/faillog.c,
1483         src/sulogin.c, src/chsh.c, src/pwconv.c: Added splint annotations.
1484         * src/userdel.c, src/pwconv.c, src/lastlog.c, src/grpck.c,
1485         src/vipw.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/login.c,
1486         src/sulogin.c, src/usermod.c: Use return instead of exit at the
1487         end of main().
1488         * src/gpasswd.c, src/passwd.c, src/faillog.c: Use the exitcodes.h
1489         exit codes.
1490         * src/chpasswd.c: Added missing ||.
1491         * src/nologin.c: Do not include exitcodes.h.
1492         * src/nologin.c: Added brackets.
1493         * src/nologin.c: Avoid assignments in comparisons.
1494
1495 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1496
1497         * libmisc/getgr_nam_gid.c, lib/get_gid.c, lib/get_pid.c,
1498         lib/get_uid.c: Added splint annotations.
1499
1500 2009-04-30  Nicolas François  <nicolas.francois@centraliens.net>
1501
1502         * lib/exitcodes.h: Define E_SUCCESS as EXIT_SUCCESS. Added FIXMEs.
1503         * libmisc/chowntty.c, libmisc/rlogin.c, libmisc/sub.c,
1504         src/newusers.c, libmisc/sulog.c, libmisc/system.c, src/logoutd.c,
1505         src/groups.c, src/id.c, lib/encrypt.c, libmisc/audit_help.c,
1506         libmisc/limits.c: Return EXIT_FAILURE instead of 1, and
1507         EXIT_SUCCESS instead of 0.
1508         * libmisc/audit_help.c: Replace an fprintf() by fputs().
1509         * libmisc/audit_help.c: Remove documentation of the audit_logger
1510         returned values. The function returns void.
1511         * libmisc/system.c: Only return status if waitpid succeeded.
1512         Return -1 otherwise.
1513
1514 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1515
1516         * NEWS, src/chpasswd.c: Added support for changing the passwords
1517         with PAM.
1518         * src/chpasswd.c: Split the usage string in smaller parts to
1519         allow enabling single parts.
1520         * src/chpasswd.c: Do not set a global lock on the password files.
1521         This is done by PAM each time a password is updated.
1522
1523 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1524
1525         * lib/defines.h: Include <utmpx.h> and <utmp.h> to define
1526         USER_NAME_MAX_LENGTH.
1527
1528 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1529
1530         * src/login.c: Change a snprintf() to strncpy(). There are no
1531         format.
1532
1533 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1534
1535         * src/passwd.c: Harmonize status report at the end of passwd.
1536         Prefix the messages with "passwd: ", only indicate a password
1537         change if the password was actually changed, and password
1538         properties changed otherwise.
1539
1540 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1541
1542         * src/chgpasswd.c, src/newusers.c: There is no need to test for 0
1543         after getopt_long. No options have flag != NULL.
1544
1545 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1546
1547         * lib/prototypes.h: Replace #if by #ifdef
1548         * libmisc/Makefile.am, lib/prototypes.h,
1549         libmisc/non_interactive_pam_conv.c: Added
1550         non_interactive_pam_conv() and non_interactive_password.
1551
1552 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1553
1554         * libmisc/utmp.c, src/userdel.c, src/logoutd.c: Replace #if by #ifdef
1555
1556 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1557
1558         * src/vipw.c: Harmonize messages.
1559
1560 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1561
1562         * src/lastlog.c: Replace atoi() by getulong().
1563
1564 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1565
1566         * libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
1567
1568 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1569
1570         * libmisc/rlogin.c: Replace atoi() by getulong().
1571
1572 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1573
1574         * libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
1575
1576 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1577
1578         * libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
1579         are no more needed.
1580
1581 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
1582
1583         * libmisc/limits.c: Replace strtol() by getlong().
1584         * libmisc/limits.c: Replace HAVE_UTMPX_H by USE_UTMPX.
1585
1586 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1587
1588         * man/groupmod.8.xml, man/usermod.8.xml, man/groupadd.8.xml,
1589         man/useradd.8.xml: Added note to warn about insecurity in using
1590         --password.
1591         * man/groupmod.8.xml: Removed not regarding default if --password
1592         is not used. This was a cut&paste from groupadd.8.xml.
1593         * man/passwd.1.xml: Split some paragraphs.
1594         * man/passwd.1.xml: Recommend other encryption methods than DES.
1595
1596 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1597
1598         * src/login.c: Move update_utmp() after the PID or session ID
1599         changed in order to get more accurate data in UTMP. This also
1600         fixes "exec login" when login in installed setuid.
1601
1602 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1603
1604         * src/login.c: Reuse a string and avoid an untranslated message
1605         "Login incorrect".
1606
1607 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1608
1609         * src/login.c: Replace HAVE_UTMPX_H by USE_UTMPX.
1610         * src/login.c: Avoid name clash between global variables and the
1611         update_utmp() arguments.
1612
1613 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1614
1615         * src/groupadd.c, lib/commonio.c, lib/groupio.c: Added missing
1616         include of <assert.h>
1617
1618 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1619
1620         * lib/prototypes.h: Replace HAVE_UTMPX_H by USE_UTMPX.
1621         * lib/prototypes.h, libmisc/log.c: Added splint annotations.
1622         * libmisc/log.c: Added SYSLOG warning when lseek fails (should not
1623         happen).
1624
1625 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1626
1627         * libmisc/mail.c, libmisc/copydir.c: Added missing include of
1628         <assert.h>
1629
1630 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1631
1632         * libmisc/env.c: Added assertions on the snprintf results.
1633
1634 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1635
1636         * NEWS, configure.in: Added configure option --enable-utmpx,
1637         disabled by default. This defines USE_UTMPX, which should be used
1638         instead of HAVE_UTMPX_H.
1639         * libmisc/utmp.c: Replace HAVE_UTMPX_H by USE_UTMPX.
1640         * libmisc/utmp.c: Removed old comment on HAVE_STRUCT_UTMP_UT_ID
1641         and UTMPX support.
1642
1643 2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
1644
1645         * man/po/fr.po: Fix typo.
1646
1647 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
1648
1649         * src/newgrp.c: Close the databases before changing the UDI and
1650         GID.
1651
1652 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
1653
1654         * libmisc/myname.c: Updated splint annotations.
1655
1656 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
1657
1658         * lib/commonio.c: Added splint annotations.
1659         * lib/commonio.c: old_context should be local to commonio_close(),
1660         not global.
1661
1662 2009-04-26  Nicolas François  <nicolas.francois@centraliens.net>
1663
1664         * src/passwd.c: Do not freecon strings duplicated with strdup.
1665         Also avoid allocation of memory.
1666         * src/passwd.c: Use SYSLOG instead of syslog.
1667
1668 2009-04-25  Miroslav Kure  <kurem@upcase.inf.upol.cz>
1669
1670         * po/cs.po: Updated to 352T7f8u
1671
1672 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1673
1674         * lib/commonio.h, lib/commonio.c: Added splint annotations.
1675         * lib/commonio.c: Do not assumes eptr is always notnull.
1676
1677 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1678
1679         * NEWS, po/pt.po: Updated Portuguese translation.
1680
1681 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1682
1683         * libmisc/copydir.c: Added splint annotations.
1684         * libmisc/copydir.c: Added assert to help splint.
1685         * libmisc/copydir.c: Free allocated structures in cas of failure.
1686         * libmisc/copydir.c: Avoid implicit conversion of pointers to
1687         booleans.
1688         * libmisc/copydir.c: Use buffers of size PATH_MAX instead of 1024
1689         for filenames.
1690         * libmisc/copydir.c: Use fchmod and fchown to change the mode of
1691         the opened file.
1692         * libmisc/copydir.c: Indicate the mode to open(), even if we chmod
1693         later.
1694
1695 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1696
1697         * lib/prototypes.h: Added prototypes of getulong() and get_pid().
1698         * lib/prototypes.h: Added splint annotations.
1699
1700 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1701
1702         * lib/commonio.c: Use get_pid() instead of strtol.
1703         * lib/commonio.c: Replace an int by a size_t.
1704
1705 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1706
1707         * lib/commonio.h: Added splint annotations.
1708
1709 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1710
1711         * lib/sgroupio.c: Free allocated structures on failure.
1712         * lib/sgroupio.c: Added splint annotations.
1713
1714 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1715
1716         * lib/Makefile.am, lib/get_pid.c, lib/getulong.c: Added get_pid()
1717         and getulong().
1718
1719 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1720
1721         * lib/getlong.c: Do not check for NULL string but empty string.
1722
1723 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1724
1725         * lib/groupio.c: Updated splint annotations.
1726         * lib/groupio.c: Added assert to help splint.
1727
1728 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1729
1730         * src/useradd.c: Check assumptions on snprintf().
1731         * src/useradd.c: Replace peror by an strerror and avoid an
1732         intermediate buffer.
1733         * src/useradd.c: Save errno between the failure and the report by
1734         perror/strerror.
1735         * src/useradd.c: Prefer xmalloc to malloc.
1736
1737 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1738
1739         * src/lastlog.c: Remove function calls from within assert().
1740
1741 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1742
1743         * libmisc/obscure.c: Change some int to size_t.
1744
1745 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1746
1747         * libmisc/console.c: Use a less disturbing construct for splint.
1748
1749 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1750
1751         * libmisc/limits.c: Parse the limits, umask, nice, maxlogin, file
1752         limit with getlog() / getulong(). This also means, in case of
1753         non-PAM enabled systems, that the umask specified on the GECOS
1754         fields should start with a 0 if specified in octal. (it used to be
1755         force to octal). Do the appropriate cast and range checking.
1756
1757 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1758
1759         * libmisc/salt.c: In case gettimeofday() fails, get some entropy
1760         from the PID.
1761
1762 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1763
1764         * libmisc/setupenv.c: Prefer snprintf to sprintf, even if a small
1765         context indicates no issues.
1766         * libmisc/setupenv.c: Avoid implicit conversion of pointers to
1767         booleans.
1768
1769 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1770
1771         * libmisc/loginprompt.c: Prefer snprintf to sprintf, even if a
1772         small context indicates no issues.
1773
1774 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1775
1776         * src/faillog.c: Remove function calls from within assert().
1777
1778 2009-04-25  Nicolas François  <nicolas.francois@centraliens.net>
1779
1780         * libmisc/mail.c: Ignore the return value of puts().
1781         * libmisc/mail.c: Prefer snprintf to sprintf, even if a small
1782         context indicates no issues.
1783
1784 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1785
1786         * lib/commonio.c, lib/commonio.h, lib/groupio.c, lib/groupio.h,
1787         lib/pwio.c, lib/pwio.h, lib/shadowio.c, lib/shadowio.h: Added
1788         splint annotations. The *_locate() and *_next() functions
1789         currently return an observer. As the structure are often modified
1790         by the caller, it could maybe be changed to exposed later. (and
1791         non-const)
1792
1793 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1794
1795         * lib/pwauth.c: Use a boolean for wipe_clear_pass and use_skey.
1796         * lib/pwauth.c: Added splint annotations.
1797         * lib/pwauth.c: Added brackets and parenthesis.
1798         * lib/pwauth.c: Avoid assignments in comparisons.
1799         * lib/pwauth.c: Avoid implicit conversion of pointers or
1800         characters to booleans.
1801
1802 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1803
1804         * src/groupmod.c: Cast ID to ulongs and use ulong formats for IDs.
1805
1806 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1807
1808         * src/newgrp.c: Added splint annotations.
1809         * src/newgrp.c: audit_buf is only used in newgrp. Make it static.
1810         * src/newgrp.c: Ignore the return value of fputs().
1811         * src/newgrp.c: Use exit(EXIT_FAILURE) instead of exit(1).
1812
1813 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1814
1815         * libmisc/pwdcheck.c (passwd_check): The progname is not used.
1816         * libmisc/pwdcheck.c: Ignore the return value of sleep().
1817         * libmisc/pwdcheck.c: Use exit(EXIT_FAILURE) instead of exit(1).
1818
1819 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1820
1821         * libmisc/setupenv.c: Avoid assignments in comparisons.
1822         * libmisc/setupenv.c: Added brackets and parenthesis.
1823         * libmisc/setupenv.c: Ignore the return value of fclose (file
1824         opened read-only)
1825         * libmisc/setupenv.c: Ignore the return value of puts().
1826         * libmisc/setupenv.c: Avoid implicit conversion of pointers to
1827         booleans.
1828
1829 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1830
1831         * libmisc/find_new_gid.c, libmisc/find_new_uid.c,
1832         libmisc/isexpired.c, src/groupadd.c, lib/pwauth.h, lib/groupmem.c,
1833         lib/shadowmem.c, lib/pwmem.c, lib/prototypes.h: Added splint
1834         annotations.
1835
1836 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1837
1838         * libmisc/loginprompt.c: Use exit(EXIT_FAILURE) instead of
1839         exit(1).
1840         * libmisc/loginprompt.c: Avoid implicit conversion of pointers to
1841         booleans.
1842         * libmisc/loginprompt.c: Ignore return value of putc().
1843
1844 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1845
1846         * libmisc/env.c, libmisc/age.c: Added splint annotations.
1847         * libmisc/age.c: Added brackets and parenthesis.
1848         * libmisc/age.c: Ignore the return value of fclose (file opened
1849         read-only)
1850         * libmisc/age.c: Ignore puts() return value.
1851         * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
1852         * libmisc/age.c: Avoid assignments in comparisons.
1853
1854 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1855
1856         * lib/fputsx.c, lib/gshadow.c, lib/commonio.h: Added splint
1857         annotations.
1858
1859 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1860
1861         * lib/get_gid.c: gidstr should not be NULL, but the check was
1862         meant to make sure it is not empty.
1863         * lib/get_uid.c: Likewise.
1864
1865 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1866
1867         * lib/getdef.c: Added splint annotations.
1868         * lib/getdef.c: Ignore fputs() return value.
1869         * lib/getdef.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
1870
1871 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1872
1873         * src/faillog.c: Added splint annotations.
1874         * src/faillog.c: Cast ID to ulongs and use ulong formats for IDs.
1875         * src/faillog.c: Ignore fflush() return value.
1876         * src/faillog.c: Added parenthesis.
1877
1878 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1879
1880         * src/grpck.c: Ignore puts return value.
1881         * src/grpck.c: Avoid variable format string.
1882
1883 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1884
1885         * src/lastlog.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
1886         * src/lastlog.c: Added splint annotations.
1887         * src/lastlog.c: Avoid global pwent.
1888         * src/lastlog.c: Cast ID to ulongs and use ulong formats for IDs.
1889         * src/lastlog.c: Avoid assignment in comparisons.
1890         * src/lastlog.c: Ignore fclose() return value since the file is
1891         only opened for reading.
1892
1893 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1894
1895         * src/newgrp.c: Added assertion to guide splint (and me).
1896
1897 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1898
1899         * libmisc/find_new_gid.c: Use booleans instead of char fo
1900         used_gids.
1901         * libmisc/find_new_gid.c: Use getdef_ulong and cast to git_t to
1902         get GID values.
1903         * libmisc/find_new_gid.c: Use UL as a prefix for ulong values.
1904         * libmisc/find_new_uid.c: Likewise.
1905
1906 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1907
1908         * libmisc/yesno.c: Ignore the return value of puts.
1909
1910 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1911
1912         * libmisc/age.c: Use exit(EXIT_FAILURE) instead of exit(1).
1913         * libmisc/age.c: The return value of execl() is not used.
1914
1915 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1916
1917         * libmisc/xgetXXbyYY.c, libmisc/myname.c, libmisc/getgr_nam_gid.c,
1918         libmisc/salt.c, libmisc/list.c, libmisc/cleanup.c, src/login.c,
1919         lib/getdef.h, lib/groupio.c, lib/getlong.c, lib/gshadow_.h,
1920         lib/sgroupio.c, lib/shadowio.c, lib/pwio.c, lib/commonio.h,
1921         lib/fputsx.c, lib/prototypes.h: Added splint annotations.
1922         * lib/groupio.c: Avoid implicit conversion of pointers to
1923         booleans.
1924         * lib/groupio.c: Free allocated buffers in case of failure.
1925
1926 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1927
1928         * lib/defines.h: Added splint definitions to replace <locale.h>
1929
1930 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1931
1932         * libmisc/utmp.c, libmisc/age.c, libmisc/shell.c, lib/groupio.c,
1933         lib/groupio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c,
1934         lib/pwio.c, lib/commonio.c, lib/shadowio.h, lib/pwio.h,
1935         lib/commonio.h, lib/prototypes.h: Added splint annotations.
1936
1937 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1938
1939         * libmisc/utmp.c: Only set ut_time and ut_tv if gettimeofday()
1940         succeeds.
1941
1942 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1943
1944         * libmisc/utmp.c: Fix the check for empty host in prepare_utmp()
1945         and prepare_utmpx().
1946
1947 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1948
1949         * libmisc/utmp.c: The ut argument of prepare_utmp() and
1950         prepare_utmpx () might be NULL. ut_id needs to be forged in that
1951         case.
1952
1953 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1954
1955         * libmisc/utmp.c: Removed old documentation of setutmp().
1956
1957 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1958
1959         * libmisc/utmp.c: Use xmalloc() rather than malloc().
1960
1961 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1962
1963         * libmisc/utmp.c: The name returned by ttyame() needs to be copied
1964         locally.
1965
1966 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1967
1968         * src/login.c: Added assert()s for NULL (or ! NULL) username, and
1969         pwd. This helps splint.
1970         * src/login.c: Added splint annotations.
1971
1972 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1973
1974         * src/login.c: After login_prompt(), do not check for unset
1975         username, but for empty username.
1976
1977 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1978
1979         * lib/defines.h: Define USER_NAME_MAX_LENGTH, based on utmp and
1980         default to 32.
1981         * libmisc/chkname.c: Use USER_NAME_MAX_LENGTH.
1982         * src/login.c: Use USER_NAME_MAX_LENGTH instead of the default 32.
1983         username also needs to be bigger than USER_NAME_MAX_LENGTH because
1984         it has to be nul-terminated.
1985
1986 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1987
1988         * src/login.c: Use xmalloc() instead of malloc().
1989
1990 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1991
1992         * src/login.c: Ignore the return value of puts(), fputs(),
1993         strftime().
1994
1995 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
1996
1997         * src/login.c: timeout, delay, and retries should be unsigned.
1998         * src/login.c: Ignore the return value of alarm() and sleep().
1999
2000 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2001
2002         * src/login.c: If we cannot get the terminal configuration, do not
2003         change the terminal configuration. setup_tty() is just a best
2004         effort configuration of the terminal.
2005         * src/login.c: Ignore failures when setting the terminal
2006         configuration.
2007         * src/login.c: Fail if the ERASECHAR or KILLCHAR configurations
2008         are not compatible with a cc_t type.
2009
2010 2009-04-22  Paul Szabo  <psz@maths.usyd.edu.au>
2011
2012         * src/login.c: utent might be NULL after get_current_utmp().
2013
2014 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2015
2016         * src/login.c: Removed temp_shell. No more used.
2017         * src/login.c: lastlog is only used #ifndef USE_PAM
2018         * src/login.c: Rename lastlog to ll to avoid name clash with the
2019         lastlog type.
2020
2021 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2022
2023         * src/login.c: Added update_utmp() to group the prepare_utmp and
2024         setutmp (and the utmpx versions).
2025
2026 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2027
2028         * src/login.c: Do not include netdb.h. gethostbyname() is no more
2029         called from within login.c. Also UT_ADDR does not exist anymore.
2030
2031 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2032
2033         * src/login.c: Check if login is run with effective root
2034         privileges. This should be more helpful to users than a failure to
2035         find an utmp entry or failure to access a file.
2036
2037 2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
2038
2039         * libmisc/utmp.c: Reworked. Get rid of Linux specific stuff. Get rid
2040         of global utent/utxent variables. Only reuse the ut_id and maybe
2041         the ut_host fields from utmp.
2042         * lib/prototypes.h, libmisc/utmp.c: Removed checkutmp(),
2043         setutmp(), setutmpx().
2044         * lib/prototypes.h, libmisc/utmp.c: Added get_current_utmp(),
2045         prepare_utmp(), prepare_utmpx(), setutmp(), setutmpx().
2046         * libmisc/utmp.c (is_my_tty): Only compare the name of the utmp
2047         line with ttyname(). (No stat of the two terminals to compare the
2048         devices).
2049         * libmisc/utmp.c: Use getaddrinfo() to get the address of the
2050         host.
2051         * configure.in: Check for getaddrinfo().
2052         * configure.in: Use AC_CHECK_MEMBERS to check for the existence of
2053         fields in the utmp/utmpx structures.
2054         * configure.in: Reject systems with utmpx support but no ut_id
2055         field in utmp. This could be fixed later if needed.
2056         * src/login.c: Use the new utmp functions. This also simplifies
2057         the failtmp() handling.
2058         * src/login.c: passwd_free() renamed to pw_free() and
2059         shadow_free() renamed to spw_free()
2060
2061 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2062
2063         * NEWS, configure.in: Enable --enable-account-tools-setuid by
2064         default for PAM builds, as it used to be before the introduction
2065         of this option.
2066
2067 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2068
2069         * etc/pam.d/Makefile.am: Distribute all pam.d files, even if
2070         ACCT_TOOLS_SETUID is not enabled.
2071
2072 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2073
2074         * lib/shadowmem.c: Added spw_free().
2075         * lib/shadowio.c: Use spw_free() for shadow_free().
2076         * lib/groupmem.c: Added gr_free().
2077         * lib/groupio.c: Use gr_free() for group_free().
2078         * lib/pwmem.c: Include define.h before prototypes.h
2079         * lib/pwmem.c: Added pw_free().
2080         * lib/pwio.c: Use pw_free() for passwd_free().
2081         * lib/sgroupio.c: Added sgr_free().
2082         * lib/sgroupio.c: Use sgr_free() for gshadow_free().
2083         * lib/prototypes.h: Added gr_free(), pw_free(), sgr_free(),
2084         spw_free().
2085
2086 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2087
2088         * libmisc/shell.c: Add brackets and parenthesis.
2089         * libmisc/shell.c: Avoid assignments in comparisons.
2090         * libmisc/shell.c: Re-indent.
2091
2092 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
2093
2094         * lib/defines.h: Added MIN and MAX macros.
2095         * libmisc/salt.c: Removed MIN and MAX macros.
2096
2097 2009-04-20  Sven Joachim  <svenjoac@gmx.de>
2098
2099         * NEWS, src/lastlog.c: Fix regression causing empty reports.
2100         Get the size of the file before printing the entries.
2101
2102 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2103
2104         * src/login.c: Get rid of pwent. pwd is sufficient as long as it
2105         is always coming from xgetpwnam. There is no need to copy pwd to
2106         pwent, this was not a good idea anyway as the strings from pwd
2107         were not duplicated.
2108         * src/login.c: Always free the pwd and spwd structure when we
2109         retrieve a new one. This will clear the password of the previous
2110         user from the memory.
2111         * src/login.c: user_passwd is used to keep point to the password
2112         of the user being authenticated.
2113         * src/login.c: (non PAM) Fail if the user's entry cannot be found
2114         after the user updated her password (if expire() requested an
2115         update).
2116         * src/login.c: If the user does not exist on the system, there is
2117         no need to build a pwd structure (with shell).
2118
2119 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2120
2121         * src/login.c: ttytype already checks for TTYTYPE_FILE and TERM.
2122         Just call ttytype.
2123
2124 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2125
2126         * src/login.c: Open the PAM session before pam_setcred and before
2127         initgroups. This is more consistent with rfc86.0.
2128
2129 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2130
2131         * src/login.c: Added helper functions get_pam_user() and
2132         get_failent_user().
2133
2134 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2135
2136         * src/login.c: Added parameter to check_nologin. This will help
2137         getting rid of the global pwent variable.
2138
2139 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2140
2141         * src/login.c: Added comments.
2142         * src/login.c: Close the user and group files before dropping root
2143         privileges.
2144
2145 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2146
2147         * src/login.c: We do not need to keep the old umask. Discard the
2148         umask() return value.
2149
2150 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2151
2152         * libmisc/hushed.c, lib/prototypes.h, src/login.c: Change the
2153         hushed() prototype to take a username instead of a passwd
2154         structure in argument. The passwd entry is retrieved withing
2155         hushed().
2156
2157 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2158
2159         * libmisc/setugid.c: Updated comments.
2160
2161 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2162
2163         * libmisc/failure.h, libmisc/failure.c, src/login.c: Added
2164         username as first parameter of failtmp to avoid issues with
2165         non-null terminated ut_user, unavailability of ut_user, incomplete
2166         username (that should not happen currently).
2167
2168 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2169
2170         * libmisc/ttytype.c: Add brackets and parenthesis.
2171         * libmisc/ttytype.c: Avoid assignments in comparisons.
2172
2173 2009-04-20  Nicolas François  <nicolas.francois@centraliens.net>
2174
2175         * lib/pwio.c, lib/shadowio.c, lib/groupio.c, lib/sgroupio.c: Fill
2176         the password fields with zeros before they are freed.
2177
2178 2009-04-19  Changwoo Ryu  <cwryu@debian.org>
2179
2180         * po/ko.po: Updated Korean translation.
2181
2182 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
2183
2184         * NEWS, src/login.c: Also check if the authentication token of the
2185         user has to be updated in case the user was already authenticated.
2186
2187 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
2188
2189         * src/login.c: fflg is already restricted to root. Move
2190         pam_acct_mgmt(), in case of fflg, earlier. This is equivalent and
2191         simplifies the code.
2192
2193 2009-04-19  Paul Szabo  <psz@maths.usyd.edu.au>
2194
2195         * libmisc/utmp.c: Always call endutent or endutxent when setutent
2196         or setutxent were used.
2197
2198 2009-04-19  Nicolas François  <nicolas.francois@centraliens.net>
2199
2200         * src/login.c: Added comment to make sure PAM_RHOST or PAM_TTY do
2201         not get set to unsanitized values.
2202
2203 2009-04-17  Paul Szabo  <psz@maths.usyd.edu.au>
2204
2205         * NEWS, src/login.c: Do not trust the current utmp entry's ut_line
2206         to set PAM_TTY.
2207         * libmisc/utmp.c: Do not trust the current utmp entry's ut_line.
2208         Always set ut_line based on ttyname(0).
2209
2210 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2211
2212         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
2213         * po/*.po, man/po/*.po: Updated PO files.
2214         * configure.in: Updated version number.
2215
2216 2009-04-15  Peter Vrabec  <pvrabec@redhat.com>
2217
2218         * NEWS, src/userdel.c: Fixed SE Linux support. semanage should be
2219         called at the end.
2220         * src/useradd.c: Always call selinux_update_mapping() (i.e.
2221         semanage), not only when -Z is used.
2222
2223 2009-04-15  Peter Vrabec  <pvrabec@redhat.com>
2224
2225         * NEWS, srclib/getlong.c: Fix parsing of octal numbers.
2226
2227 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2228
2229         * NEWS, src/login.c: Fix segfault when no user is provided on the
2230         command line.
2231
2232 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2233
2234         * README, libmisc/system.c: Was contributed by Dan Walsh.
2235
2236 2009-04-15  Nicolas François  <nicolas.francois@centraliens.net>
2237
2238         * NEW, src/vipw.c: SE Linux: Set the default context to the
2239         context of the file being edited. This ensures that the backup
2240         file inherit from the file's context.
2241
2242 2009-04-14  Nicolas François  <nicolas.francois@centraliens.net>
2243
2244         * man/usermod.8.xml: There are no default values for --inactive
2245         and --gid. If the options are no provided, the original values are
2246         not changed.
2247
2248 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2249
2250         * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
2251         * po/*.po, man/po/*.po: Updated PO files.
2252
2253 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2254
2255         * src/su.c: If there are no root account, or if the root account
2256         has an UID != 0, default to the first UID 0 account.
2257
2258 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2259
2260         * src/login.c: Restore the echoctl, echoke, onclr flags to the
2261         terminal termio flags. Reset echoprt, noflsh, tostop. This
2262         behavior seems to have change by mistake in earlier releases
2263         (4.0.8, for no obvious reason).
2264
2265 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2266
2267         * src/login.c: Fix the count of failures before login exits in
2268         case of PAM enabled configurations.
2269
2270 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2271
2272         * man/passwd.1.xml: Document that passwd uses PAM to authenticate
2273         and change passwords on PAM-enabled builds.
2274
2275 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2276
2277         * src/newusers.c: Add more information to the mkdir and chown
2278         failure messages.
2279
2280 2009-04-12  Nicolas François  <nicolas.francois@centraliens.net>
2281
2282         * man/po/fr.po: Updated some login.defs entries. Thanks to
2283         Belkacem Abbas.
2284
2285 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2286
2287         * man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml,
2288         man/login.defs.d/CONSOLE_GROUPS.xml: Fix typos.
2289
2290 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2291
2292         * man/es/Makefile.am: Disable the distribution of Spanish
2293         manpages. They are outdated. Please contact
2294         pkg-shadow-devel@lists.alioth.debian.org if you wish to provide
2295         updates.
2296
2297 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2298
2299         * src/usermod.c, src/useraddd.c: Fix the usage string so that it
2300         does not change depending on the configure option. Use a format.
2301
2302 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2303
2304         * src/gpasswd.c: Fix the usage of the unused macro.
2305
2306 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2307
2308         * lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A
2309         shadow entry is now sufficient for agecheck. Remove the first
2310         passwd entry parameter.
2311
2312 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2313
2314         * src/useradd.c, src/usermod.c: Only call selinux_update_mapping()
2315         if Zflg is set.
2316         * src/userdel.c: Rename argv to args to avoid nameclash with the
2317         main() parameters.
2318
2319 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2320
2321         * libmisc/getgr_nam_gid.c: Added support for NULL argument.
2322         * libmisc/chowntty.c: Reuse getgr_nam_gid(), and get rid of atol().
2323
2324 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
2325
2326         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: For system
2327         accounts, return the first unused ID, starting from the max value.
2328         This could be useful later to increase the static IDs range.
2329
2330 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
2331
2332         * NEWS, src/useradd.c, man/useradd.8.xml: add -Z option to map
2333         SELinux user for user's login.
2334         * NEWS, src/usermod.c, man/usermod.8.xml: Likewise.
2335         * libmisc/system.c, libmisc/Makefile.am, lib/prototypes.h: Added
2336         safe_system(). Used to run semanage.
2337         * lib/prototypes.h, libmisc/copydir.c: Make a
2338         selinux_file_context() an extern function.
2339         * libmisc/copydir.c: Reset SELinux to create files with default
2340         contexts at the end of copy_tree().
2341         * NEWS, src/userdel.c: Delete the SELinux user mapping for user's
2342         login.
2343
2344 2009-04-11  Peter Vrabec  <pvrabec@redhat.com>
2345
2346         * src/useradd.c (get_defaults): Close the default file after the
2347         default values were read.
2348
2349 2009-04-11  Christian Perrier  <bubulle@debian.org>
2350
2351         * po/sk.po: Slovak translation updated. Thanks to Ivan Masár
2352
2353 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2354
2355         * lib/Makefile.am, lib/prototypes.h: Added sgetspent.c.
2356
2357 2009-04-11  Nicolas François  <nicolas.francois@centraliens.net>
2358
2359         * po/POTFILES.in: Added missing files. Sorted.
2360
2361 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2362
2363         * lib/getdef.c: Use getlong instead of strtol/strtoul.
2364         * libmisc/getlong, lib/getlong.c, libmisc/Makefile.am,
2365         lib/Makefile.am: getlong.c moved from libmisc/ to lib/.
2366
2367 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2368
2369         * lib/shadow.c: Replace strtol() by getlong(). Also detect more
2370         issues in a numerical shadow entry field.
2371
2372 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2373
2374         * lib/sgetspent.c: Only compile ifndef HAVE_SGETSPENT
2375
2376 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2377
2378         * lib/sgetspent.c: Replace strtol() by getlong(). Also detect more
2379         issues in a numerical shadow entry field.
2380
2381 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2382
2383         * src/chage.c: More strtol() replaced by getlong().
2384         * src/chage.c: expdays renamed to expdate. It is a date, even if
2385         expressed in a number of days since Jan 1, 1970.
2386         * src/chage.c: Likewise: lastday renamed to lstchgdate. Also fix
2387         the --lastday documentation.
2388
2389 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2390
2391         * lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
2392         NOT defined.
2393
2394 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2395
2396         * src/passwd.c: Replace getnumber() by getlong(). This permits to
2397         get rid of another strtol().
2398
2399 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2400
2401         * libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed
2402         for strtol and errno, and do not include "defines.h" (not needed).
2403
2404 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2405
2406         * src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c,
2407         libmisc/Makefile.am, lib/prototypes.h: Moved getgr_nam_gid() from
2408         src/useradd.c and src/usermod.c to libmisc/getgr_nam_gid.c.
2409
2410 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2411
2412         * src/useradd.c: Re-indent.
2413         * src/useradd.c: Use getlong instead of get_number.
2414         * src/useradd.c: Get rid of strtol.
2415         * src/useradd.c: Provide better warning in case a default GROUP or
2416         INACTIVE value is not valid in /etc/default/useradd.
2417
2418 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2419
2420         * src/usermod.c: Re-indent.
2421         * src/usermod.c: Specifying a inactivity value < -1 is not valid.
2422
2423 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2424
2425         * configure.in: Prepare the next 4.1.3 release.
2426         * po/*.po, man/po/*.po: Updated PO files.
2427
2428 2009-04-06  Nicolas François  <nicolas.francois@centraliens.net>
2429
2430         * lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to
2431         ifndef USE_PAM.
2432         * lib/prototypes.h: Remove the declaration of add_cons_grps(). The
2433         function does not exist.
2434         * libmisc/setugid.c libmisc/age.c (setup_uid_gid): is_console is
2435         never set ifndef USE_PAM. Change the prototype of setup_uid_gid()
2436         when USE_PAM is not defined. This permits to remove add_groups
2437         from PAM builds.  setup_uid_gid is already subject to
2438         HAVE_INITGROUPS.
2439         * libmisc/pwd2spwd.c (pwd_to_spwd): pwd_to_spwd() is not used in
2440         PAM builds.
2441
2442 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2443
2444         * src/passwd.c: do_update_age is only used ifndef USE_PAM. Make it
2445         more explicit.
2446
2447 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2448
2449         * src/useradd.c: Set errno to 0 before calling strtol.
2450
2451 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2452
2453         * libmisc/isexpired.c: If there are no shadow entry, there is no
2454         need to convert the password entry to a shadow entry. The password
2455         is valid.
2456
2457 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2458
2459         * man/usermod.8.xml: Split some paragraphs into smaller units.
2460
2461 2009-04-05  Nicolas François  <nicolas.francois@centraliens.net>
2462
2463         * man/shadow.5.xml: Rewrote to mention the meaning of special
2464         values.
2465
2466 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
2467
2468         * libmisc/pwd2spwd.c, src/chpasswd.c, src/newusers.c,
2469         src/passwd.c, src/pwck.c, src/pwconv.c, src/useradd.c,
2470         src/usermod.c: On Jan 01, 1970, do not set the sp_lstchg field to
2471         0 (which means that the password shall be changed during the next
2472         login), but use -1 (password aging disabled).
2473         * src/passwd.c: Do not check sp_min if sp_lstchg is null or -1.
2474
2475 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
2476
2477         * src/chage.c: When no shadow entry exist, the default sp_lstchg
2478         value should be -1 (no aging) rather than 0 (password must be
2479         changed).
2480         * src/chage.c: For password expiration and inactivity, indicate
2481         that the password must be changed when sp_lstchg is null rather
2482         than indicating that expiration and inactivity are not enabled.
2483
2484 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
2485
2486         * libmisc/isexpired.c: Document the isexpired return value.
2487
2488 2009-04-04  Nicolas François  <nicolas.francois@centraliens.net>
2489
2490         * libmisc/age.c: Return a specific message when sp_lstchg is null.
2491
2492 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
2493
2494         * lib/sgetpwent.c, lib/sgetgrent.c: Use get_uid and get_gid to
2495         validate the UIDs or GIDs instead of atoi/strtol.
2496
2497 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
2498
2499         * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
2500         lib/get_gid.c, lib/get_uid.c, lib/Makefile.am: get_uid.c and
2501         get_gid.c moved from libmisc/ to lib/.
2502
2503 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
2504
2505         * src/grpck.c (check_members): When a member is removed, do not
2506         increase the index.
2507         * src/grpck.c: Fix typo in messages and comments.
2508
2509 2009-03-21  Nicolas François  <nicolas.francois@centraliens.net>
2510
2511         * lib/commonio.c: Call fsync before closing the backup file. This
2512         ensures that the backup file is flushed to the storage medium.
2513         * src/useradd.c: Likewise for the default file, faillog, lastlog,
2514         and mail spool.
2515         * src/usermod.c: Likewise for the faillog and lastlog file.
2516         * src/vipw.c: Likewise for the backup file.
2517         * libmisc/sulog.c: Likewise for the su log.
2518
2519 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2520
2521         * src/groupmod.c: Embed gshadow related cleanup in #ifdef
2522         SHADOWGRP.
2523
2524 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2525
2526         * src/usermod.c: get_number() replaced by getlong().
2527         * src/usermod.c: When the user is renamed, make sure we do not
2528         override an user with the same name (in passwd or shadow).
2529
2530 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2531
2532         * src/gpasswd.c: log_gpasswd_success_gshadow is in the cleanup
2533         stack only when the shadow group file is present.
2534
2535 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2536
2537         * NEWS, src/userdel.c: Make sure the user exists in the shadow
2538         database before calling spw_remove().
2539         * NEWS, src/userdel.c: When the user's group is removed, make sure
2540         the group is in the gshadow database before calling sgr_remove().
2541         * src/userdel.c: Improve warning's wording.
2542
2543 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2544
2545         * libmisc/cleanup.c: Fix del_cleanup. The arguments were not
2546         desynchronized with the cleanup functions.
2547         * libmisc/cleanup.c: cleanup_function_args is an array of void
2548         pointer, not strings.
2549
2550 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2551
2552         * libmisc/find_new_gid.c: Fix find_new_gid() the current group
2553         database was not taken into account.
2554
2555 2009-03-15  Nicolas François  <nicolas.francois@centraliens.net>
2556
2557         * libmisc/addgrps.c: Fix compilation warnings.
2558
2559 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2560
2561         * man/po/Makefile.in.in: xml2po cannot exclude one entity for
2562         expansion. Make sure config.xml does not exist when the POT file
2563         is created in order to keep the configurations in the POT file
2564         * man/generate_translations.mak: make sure config.xml does not
2565         exist neither when the translated XML is generated. Add the
2566         missing %config; (strip out by xml2po). and make sure config.xml
2567         is present when the translated manpage is generated.
2568         * man/generate_mans.mak: config.xml is needed for the generation
2569         of manpages (already in the .deps for the English manpages, but
2570         needed for the translations).
2571         * man/Makefile.am: Added missing CREATE_HOME.xml.
2572
2573 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2574
2575         * etc/login.defs: Added note for PAM enabled configurations.
2576
2577 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2578
2579         * man/Makefile.am: Compute the dependencies for building the
2580         manpages.
2581         * man/generate_mans.deps: Added Makefile dependency rules.
2582
2583 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2584
2585         * libmisc/addgrps.c: Fix warnings.
2586
2587 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2588
2589         * man/po/fr.po: Added missing space.
2590
2591 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2592
2593         * man/lastlog.8.xml: Document that there might be entries, for
2594         deleted users, that are not displayed.
2595
2596 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2597
2598         * man/chgpasswd.8.xml, man/chpasswd.8.xml: Fix the man page in
2599         case SHA crypt is not supported.
2600
2601 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2602
2603         * man/vipw.8.xml: MAX_MEMBERS_PER_GROUP is not used by vipw and
2604         vigr.
2605
2606 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2607
2608         * man/login.defs.5.xml: Indicate that sg uses the same variables
2609         as newgrp.
2610         * man/login.defs.5.xml: vipw does not use any variable.
2611         * man/login.defs.5.xml: In PAM enabled configurations, login still
2612         uses some login.defs variables.
2613
2614 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2615
2616         * man/usermod.8.xml: use a <replaceable> instead of a
2617         <emphasis remap='I'>.
2618
2619 2009-03-14  Nicolas François  <nicolas.francois@centraliens.net>
2620
2621         * man/newusers.8.xml: Document the behavior of newusers for each
2622         field.
2623         * man/newusers.8.xml: Do not add the note on PAM on non-PAM
2624         enabled configurations.
2625
2626 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
2627
2628         * src/newusers.c: Make sure the SHA related variables are not
2629         compiled when disabled at configuration time.
2630         * src/newusers.c: Added FIXME
2631         * src/chpasswd.c: Make sure the SHA related variables is not
2632         compiled when disabled at configuration time.
2633         * src/chgpasswd.c: Make sure the SHA related variables is not
2634         compiled when disabled at configuration time.
2635         * src/chgpasswd.c: Fix the test for getlong() failure.
2636         * src/useradd.c, man/useradd.8.xml: Added long name for the -l
2637         option: --no-log-init.
2638         * src/faillog.c: Added support for the specification of a range of
2639         users with -u.
2640         * src/faillog.c: Do not call print_one() for users which do not
2641         exist.
2642         * src/faillog.c: Make sure the user's entry is not outside the
2643         faillog file and initialize the faillog structure in that case.
2644         * src/faillog.c: Move print_one() closer to print().
2645         * src/faillog.c: reset(), setmax(), set_locktime() can also change
2646         entries of user which do not exist.
2647         * src/faillog.c: reset(), setmax() and set_locktime() shall not
2648         create entries for users which have no entries if the value has to
2649         be set to 0.
2650         * src/faillog.c: reset(), setmax() and set_locktime(): better
2651         handling of users whose entry is outside the faillog file.
2652         * src/faillog.c: Improved option handling. Options can now be
2653         specified in any order.
2654         * src/faillog.c: Improved warnings when options are not
2655         compatible or when the faillog cannot be open with the right mode.
2656         * src/faillog.c: Only fstat the faillog file once.
2657         * man/faillog.8.xml: Improved documentation.
2658
2659 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
2660
2661         * src/gpasswd.c: Remove the documentation of options from the
2662         main() documentation. It will always be outdated here.
2663
2664 2009-03-13  Nicolas François  <nicolas.francois@centraliens.net>
2665
2666         * src/lastlog.c: lastlog variable renamed to ll to avoid name
2667         clash with the structure.
2668         * src/lastlog.c: check the offset in print_one() so that it is
2669         used for the display of one entry or a set of entries.
2670         * src/lastlog.c: Do not loop over the whole user database when -u
2671         is used with a single user.
2672         * src/lastlog.c: Check the size of the lastlog file so that we
2673         can identify failures to read.
2674
2675 2009-03-13  Mike Frysinger  <vapier@gentoo.org>
2676
2677         * libmisc/salt.c: Removed l64a prototype. The libc declaration is
2678         non static, but the internal definition is static.
2679
2680 2009-03-09  Nicolas François  <nicolas.francois@centraliens.net>
2681
2682         * src/gpasswd.c: log_gpasswd_success_gshadow only exists ifdef
2683         SHADOWGRP.
2684
2685 2009-03-08  Nicolas François  <nicolas.francois@centraliens.net>
2686
2687         * libmisc/getlong.c: Make sure the getlong argument is not empty.
2688         * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,
2689         lib/prototypes.h: Added get_uid() and get_gid() to parse user and
2690         group IDs.
2691         * NEWS, src/grpck.c, src/pwck.c: Issue a warning if an ID is set
2692         to -1.
2693         * NEWS, src/newusers.c, src/usermod.c, src/useradd.c,
2694         src/groupmod.c, src/groupadd.c: Make sure no user or group are
2695         created with an ID set to -1.
2696
2697 2009-03-07  Nicolas François  <nicolas.francois@centraliens.net>
2698
2699         * contrib/adduser-old.c, contrib/adduser.c: Do not use the target
2700         of snprintf in one of the format's parameters.
2701
2702 2009-03-07  Nicolas François  <nicolas.francois@centraliens.net>
2703
2704         * man/groupmems.8.xml: groupmems does not create new user.
2705
2706 2009-03-03  Nicolas François  <nicolas.francois@centraliens.net>
2707
2708         * NEWS, po/LINGUAS, po/kk.po: Added Kazakh translation. Thanks to
2709         Timur Birsh <taem@linukz.org>.
2710
2711 2009-02-22  Nicolas François  <nicolas.francois@centraliens.net>
2712
2713         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Avoid calling
2714         getgrent()/getpwent() after they return NULL. This caused LDAP to
2715         return at the beginning of the group/user entries.
2716
2717 2009-01-27  Nicolas François  <nicolas.francois@centraliens.net>
2718
2719         * man/nologin.8.xml: Fix typo (HYSTORY -> HISTORY).
2720
2721 2009-01-26  Nicolas François  <nicolas.francois@centraliens.net>
2722
2723         * NEWS, src/gpasswd.c: Only report success to audit and syslog
2724         when the changes are committed to the system. Do not log failure
2725         for on-memory changes to audit or syslog. Make sure failures and
2726         inconsistencies will be reported in case of unexpected failures
2727         (e.g. malloc failures). Only specify an audit message if it is not
2728         implicitly implied by the type argument. Removed fail_exit
2729         (replaced by atexit(do_cleanups)). Log failures in case of
2730         permission denied.
2731
2732 2009-01-19  Nicolas François  <nicolas.francois@centraliens.net>
2733
2734         * man/login.defs.d/UMASK.xml: Indicate how UMASK is used and
2735         limitations.
2736         * man/limits.5.xml: Remove space before an end of tag.
2737         * man/useradd.8.xml, man/login.defs.d/CREATE_HOME.xml,
2738         man/login.defs.5.xml: Document the CREATE_HOME variable.
2739         * etc/login.defs: Improve the documentation of UMASK.
2740
2741 2009-01-06  Sebastian Rick Rijkers  <srrijkers@gmail.com>
2742
2743         * NEWS, src/su.c: Preserve COLORTERM in addition to TERM when su
2744         is called with the -l option.
2745
2746 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
2747
2748         * libmisc/chkname.c: Use a bool when possible instead of integers.
2749         * libmisc/chkname.c: Add brackets and parenthesis.
2750
2751 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
2752
2753         * man/groupadd.8.xml, configure.in, man/config.xml.in: Use the
2754         real group name length limit in the documentation.
2755
2756 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
2757
2758         * src/Makefile.am: Only link with the needed library. When
2759         compiled with PAM support, chfn, chsh, login, newgrp, passwd, and
2760         su do not need the libcrypt library.
2761
2762 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
2763
2764         * libmisc/cleanup_group.c: Fix compilation when compiled without
2765         shadow group support.
2766
2767 2008-12-23  Nicolas François  <nicolas.francois@centraliens.net>
2768
2769         * src/groupdel.c: Remove the fail_exit () declaration.
2770
2771 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
2772
2773         * src/gpasswd.c: Fix the support for usernames with arbitrary
2774         length.
2775
2776 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
2777
2778         * src/groupadd.c, src/groupdel.c, src/groupmod.c: Re-indent.
2779         * src/groupmod.c: Do not add the command synopsis to the main ()
2780         documentation. This avoids outdated information.
2781         * libmisc/chkname.c: Remove outdated comments.
2782
2783 2008-12-22  Nicolas François  <nicolas.francois@centraliens.net>
2784
2785         * libmisc/audit_help.c: Added audit_logger_message() to log
2786         messages not related to an account.
2787         * lib/prototypes.h, libmisc/cleanup.c, libmisc/cleanup_group.c,
2788         libmisc/cleanup_user.c, libmisc/Makefile.am: Added stack of
2789         cleanup functions to be executed on exit.
2790         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c: Only
2791         report success to audit and syslog when the changes are committed
2792         to the system. Do not log failure for on-memory changes to audit
2793         or syslog. Make sure failures and inconsistencies will be reported
2794         in case of unexpected failures (e.g. malloc failures). Only
2795         specify an audit message if it is not implicitly implied by the
2796         type argument. Removed fail_exit (replaced by atexit(do_cleanups)).
2797
2798 2008-12-15  Nicolas François  <nicolas.francois@centraliens.net>
2799
2800         * NEWS, src/gpasswd.c: Added support usernames with arbitrary
2801         length.
2802
2803 2008-11-27  Mike Frysinger  <vapier@gentoo.org>
2804
2805         * configure.in: Fix the "$enable_acct_tools_setuid" = "yes" test.
2806
2807 2008-11-27  Mike Frysinger  <vapier@gentoo.org>
2808
2809         * NEWS, configure.in, libmisc/chkname.c: make group max length a
2810         configure option.  The configure behavior encoded is:
2811         <no option> -> default of 16 (like today);
2812         --with-group-name-max-length -> default of 16;
2813         --without-group-name-max-length -> no max length;
2814         --with-group-name-max-length=n > max is set to n.
2815
2816 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
2817
2818         * src/su.c: (!USE_PAM) Provide visible information indicating that
2819         su was denied.
2820
2821 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
2822
2823         * man/su.1.xml: Fix the su synopsis. username is referenced in the
2824         manpage, not LOGIN.
2825         * man/ja/login.1: Fix the path of the utmp and wtmp files.
2826
2827 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
2828
2829         * libmisc/chowntty.c: Improve the logs for fchown and fchmod
2830         failures.
2831         * libmisc/chowntty.c: Only closelog() when failure cause an exit.
2832
2833 2008-11-23  Nicolas François  <nicolas.francois@centraliens.net>
2834
2835         * NEWS, libmisc/chowntty.c: Fix a race condition that could lead to
2836         gaining ownership or changing mode of arbitrary files.
2837         * NEWS, libmisc/chowntty.c, libmisc/utmp.c: is_my_tty() moved from
2838         utmp.c to chowntty.c. checkutmp() now only uses an existing utmp
2839         entry if the pid matches and ut_line matches with the current tty.
2840         This fixes a possible DOS when entries can be forged in the utmp
2841         file.
2842         * libmisc/chowntty.c, src/login.c, lib/prototypes.h: Remove the
2843         tty argument from chown_tty. chown_tty always changes stdin and
2844         does not need this argument anymore.
2845
2846 2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>
2847
2848         * man/gshadow.5.xml, man/shadow.5.xml, man/passwd.5.xml,
2849         man/grpck.8.xml: Sorted SEE ALSO references.
2850         * man/gshadow.5.xml: Added reference to grpck(8) and grpconv(8).
2851         * man/pwck.8.xml: Added reference to grpck(8).
2852         * man/shadow.5.xml: Added reference to pwck(8).
2853         * man/passwd.5.xml: Added reference to pwck(8).
2854         * man/grpck.8.xml: Added reference to pwck(8).
2855
2856 2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>
2857
2858         * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence
2859         header.
2860
2861 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2862
2863         * src/login.c: Always check the return value of the pam_* APIs.
2864
2865 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2866
2867         * src/login.c: Use a dynamic buffer for usernames.
2868         * src/login.c: Copy the name of the user authenticated by PAM to
2869         username. This simplify later logging (avoid USE_PAM
2870         conditional).
2871         * src/login.c: Check that no username is specified with -r.
2872         * src/login.c: Make sure a username is specified with -f.
2873         * src/login.c: Explicitly tag the end of the #ifdef RLOGIN
2874         sections.
2875         * src/login.c: Erase the username later since it it used for the
2876         fake password check (in case of empty password).
2877         * src/login.c, man/login.1.xml: the username is not an optional
2878         parameter of -f. Fix the getopt optstring, remove the parsing of
2879         username in the -f processing block, and remove unnecessary checks
2880         (username cannot be parsed twice anymore), better documentation of
2881         the synopsis.
2882
2883 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2884
2885         * src/login.c: Existence of pam_user was already checked. pwd was
2886         already copied to pwent. Remove duplicated code.
2887
2888 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2889
2890         * src/login.c: check_flags() renamed process_flags(). All flag
2891         processing blocs moved to process_flags().
2892
2893 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2894
2895         * src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.
2896
2897 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2898
2899         * src/login.c: Add missing closing }. This was probably never
2900         noticed because UT_ADDR is never defined.
2901         * src/login.c: Re-indent.
2902
2903 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2904
2905         * src/login.c: Do not mix USE_PAM and !USE_PAM code.
2906
2907 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2908
2909         * src/login.c: Use failent_user to log to audit. username is the
2910         caller, not the user login tries to authenticate.
2911         * src/login.c: Use pwd->pw_name instead of pwd->pw_uid. This might
2912         be more precise (name must be unique, uid might not be).
2913
2914 2008-09-20  Nicolas François  <nicolas.francois@centraliens.net>
2915
2916         * man/passwd.1.xml: passwd cannot change the full name of the
2917         user, the user's login shell; but it can change the account or
2918         password validity period. Thanks to Reuben Thomas.
2919
2920 2008-09-14  Nicolas François  <nicolas.francois@centraliens.net>
2921
2922         * src/useradd.c: Added missing declaration of Mflg.
2923         * src/pwck.c: Only unlock files if they were locked before (e.g.
2924         not in read-only mode).
2925         * src/pwck.c: Quote the username in error messages (harmonization
2926         with other messages).
2927         * libmisc/find_new_gid.c: Fixed typo (s/grp->gr_gid/group_id/).
2928         * libmisc/find_new_gid.c: Likewise.
2929
2930 2008-09-13  Nicolas François  <nicolas.francois@centraliens.net>
2931
2932         * libmisc/setugid.c, src/login_nopam.c, src/suauth.c,
2933         lib/getdef.c: Replace the %m format string by strerror(). This
2934         avoids errno to be reset between the system call error and the
2935         report function.
2936
2937 2008-09-13  Nicolas François  <nicolas.francois@centraliens.net>
2938
2939         * lib/commonio.c: Ignore the return value of umask() when the mask
2940         is set to the old value.
2941
2942 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
2943
2944         * NEWS, etc/login.defs: New CREATE_HOME variable to tell useradd
2945         to create a home directory for new users.
2946         * src/useradd.c, man/useradd.8.xml: New -M/--no-create-home option
2947         and CREATE_HOME usage. System accounts are not impacted by
2948         CREATE_HOME.
2949         * man/useradd.8.xml: Indicate that a new group is created by
2950         default.
2951         * src/useradd.c: Removed TODO item (moved to the TODO file).
2952
2953 2008-09-11  Miroslav Kuře  <kurem@debian.cz>
2954
2955         * po/cs.po: Updated Czech translation.
2956
2957 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
2958
2959         * man/login.defs.d/USERGROUPS_ENAB.xml: Fix typo: new <para> tag
2960         before the previous one is closed. This caused a missng
2961         explanation for USERGROUPS_ENAB.
2962
2963 2008-09-11  Nicolas François  <nicolas.francois@centraliens.net>
2964
2965         * man/groupadd.8.xml: Remove the list of (short) options from the
2966         SYNOPSIS. Replaced with [options] for consistency with other tools
2967         and maintainability.
2968
2969 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
2970
2971         From RedHat's patch shadow-4.1.2-sysAccountDownhill.patch
2972         Thanks to Peter Vrabec.
2973         * NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Build an
2974         index of used IDs to avoid a database request for each id in the
2975         allowed range (when the highest allowed ID is already used).
2976         This speedups the addition of users or groups when the highest
2977         allowed ID is already used. The additional memory usage of the
2978         tools should be acceptable when UID_MAX/SYS_UID_MAX are set to a
2979         reasonable number.
2980
2981 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
2982
2983         * configure.in: Fix the dependency of ACCT_TOOLS_SETUID on
2984         USE_PAM. Build failed with --without-libpam.
2985
2986 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
2987
2988         * libmisc/copydir.c, configure.in: Check for the presence of
2989         st_mtim and st_mtimensec, as for st_atim and st_atimensec.
2990         * libmisc/copydir.c: Call utimes() after closing the file.
2991
2992 2008-09-07  Nicolas François  <nicolas.francois@centraliens.net>
2993
2994         * src/gpasswd.c: Document the long options in the usage.
2995
2996 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
2997
2998         * NEWS: Added configure --enable-account-tools-setuid (default) /
2999         --disable-account-tools-setuid options. This permits to disable
3000         the PAM authentication of the caller for chage, chgpasswd,
3001         chpasswd, groupadd, groupdel, groupmod, newusers, useradd,
3002         userdel, and usermod.  This authentication is not necessary when
3003         these tools are not installed setuid root.
3004         * configure.in: Added option --enable-account-tools-setuid to
3005         enable/disable the usage of PAM to authenticate the callers of
3006         account management tools: chage, chgpasswd, chpasswd, groupadd,
3007         groupdel, groupmod, useradd, userdel, usermod.
3008         * src/Makefile.am: Do not link the above tools with libpam if
3009         account-tools-setuid is disabled.
3010         * src/userdel.c, src/newusers.c, src/chpasswd.c, src/usermod.c,
3011         src/groupdel.c, src/chgpasswd.c, src/useradd.c, src/groupmod.c,
3012         src/groupadd.c, src/chage.c: Implement ACCT_TOOLS_SETUID
3013         (--enable-account-tools-setuid).
3014         * etc/pam.d/Makefile.am: Install the pam service file for the
3015         above tools only when needed.
3016
3017 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3018
3019         * libmisc/tz.c: tz() is only used when USE_PAM is not defined.
3020         * lib/prototypes.h: Indicate functions whose presence depends on
3021         the USE_PAM flag.
3022
3023 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3024
3025         * src/groupmems.c: Call open_files() and close_files().
3026         * src/groupmems.c: Always call check_perms(), which takes care of
3027         checking if --list is used.
3028
3029 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3030
3031         * libmisc/obscure.c: Compare characters to '\0', not NULL.
3032
3033 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3034
3035         * lib/defines.h: Do not include <config.h>. This complicate
3036         undefining some configuration macros when the file is included
3037         multiple times.
3038         * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
3039         libmisc/xgetgrgid.c, libmisc/xgetgrnam.c, libmisc/xgetspnam.c:
3040         Include <config.h> from teh compiled C file, not the included
3041         getXXbyYY.c.
3042
3043 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3044
3045         * src/userdel.c, src/newusers.c, src/chpasswd.c, src/chfn.c,
3046         src/groupmems.c, src/usermod.c, src/groupdel.c, src/chgpasswd.c,
3047         src/useradd.c, src/groupmod.c, src/groupadd.c, src/chage.c,
3048         src/chsh.c: Simplify the PAM error handling. Do not keep the pamh
3049         handle, but terminate the PAM transaction as soon as possible if
3050         there are no PAM session opened. If the username cannot be
3051         determined, report it as such (not a PAM authentication failure).
3052         * src/useradd.c, src/userdel.c, src/usermod.c: It is no more
3053         needed to initialize retval to PAM_SUCCESS.
3054
3055 2008-09-06  Nicolas François  <nicolas.francois@centraliens.net>
3056
3057         * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
3058         src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
3059         src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
3060         src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
3061         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
3062         src/groupadd.c, src/chage.c, src/login.c, src/grpconv.c,
3063         src/groups.c, src/grpunconv.c, src/chsh.c: Prog is now global (not
3064         static to the file) so that it can be used by the helper functions
3065         of libmisc.
3066         * lib/prototypes.h: Added extern char *Prog.
3067         * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Indicate the
3068         program name with the warning.
3069
3070 2008-09-05  Nicolas François  <nicolas.francois@centraliens.net>
3071
3072         * configure.in: Check if AUDIT_ADD_USER, AUDIT_DEL_USER,
3073         AUDIT_ADD_GROUP, and AUDIT_DEL_GROUP are defined in <libaudit.h>.
3074
3075 2008-09-04  Nicolas François  <nicolas.francois@centraliens.net>
3076
3077         * src/useradd.c: Fix comment of lflg: it is also used for faillog.
3078
3079 2008-09-04  Nicolas François  <nicolas.francois@centraliens.net>
3080
3081         * NEWS, src/groupmems.c, man/groupmems.8.xml: Document the long
3082         options.
3083
3084 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3085
3086         * lib/prototypes.h, libmisc/audit_help.c: Define new type
3087         shadow_audit_result for the result argument of audit_logger().
3088         This permits stronger type checking and a better readability of
3089         the results (SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS constants).
3090         * src/groupadd.c, src/groupdel.c, src/useradd.c, src/userdel.c:
3091         Use the SHADOW_AUDIT_FAILURE/SHADOW_AUDIT_SUCCESS results instead
3092         of 0 or 1 in audit_logger().
3093
3094 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3095
3096         * src/userdel.c: Log failures to remove the mailbox to syslog and
3097         audit.
3098         * src/userdel.c: Log successful removal of home directory to audit
3099         only in case of success.
3100         * src/userdel.c: Move the audit log of failure to remove the home
3101         directory before the call to function that may exit.
3102         * src/userdel.c: Document that errors is only used to count errors
3103         during the removal of the home directory.
3104
3105 2008-09-03  Nicolas François  <nicolas.francois@centraliens.net>
3106
3107         * src/useradd.c: Log errors to syslog in grp_update() since
3108         changes have started to be reported to syslog.
3109         * src/userdel.c: Fix some result parameters sent to
3110         audit_logger().
3111
3112 2008-09-02  Nicolas François  <nicolas.francois@centraliens.net>
3113
3114         * NEWS: Following changes from a patch contributed by Steve Grubb
3115         <sgrubb@redhat.com>
3116         * src/groupadd.c: Log to audit with type AUDIT_ADD_GROUP instead
3117         of AUDIT_USER_CHAUTHTOK.
3118         * src/groupdel.c: Log to audit with type AUDIT_DEL_GROUP instead 
3119         of AUDIT_USER_CHAUTHTOK.
3120         * src/useradd.c: Log to audit with type AUDIT_ADD_USER /
3121         AUDIT_ADD_GROUP / AUDIT_USYS_CONFIG instead of
3122         AUDIT_USER_CHAUTHTOK.
3123         * src/useradd.c: Add missing logs to audit.
3124         * src/userdel.c: Log to audit with type AUDIT_DEL_USER /
3125         AUDIT_DEL_GROUP instead of AUDIT_USER_CHAUTHTOK.
3126         * src/userdel.c: Add missing logs to audit.
3127
3128 2008-08-31  Nicolas François  <nicolas.francois@centraliens.net>
3129
3130         * src/groupmems.c: Remove duplicated gr_open().
3131
3132 2008-08-30  Nicolas François  <nicolas.francois@centraliens.net>
3133
3134         * man/useradd.8.xml: Document the /etc/default/useradd variables.
3135         * man/useradd.8.xml: Fix the documentation of the GROUP variable
3136         (and -g/--gid option).
3137         * man/useradd.8.xml: Document that -o is only valid with -u
3138
3139 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3140
3141         * shadow.spec.in: Fix the source (new FTP).
3142
3143 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3144
3145         * src/su.c: Add brackets and parenthesis.
3146         * src/su.c: Avoid implicit conversion of pointers to booleans.
3147
3148 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3149
3150         * libmisc/list.c: Remove historical comment.
3151         * libmisc/list.c: Added assertions for non NULL parameters.
3152
3153 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3154
3155         * src/pwconv.c, src/pwunconv.c: Fail if unexpected parameters are
3156         provided.
3157
3158 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3159
3160         * src/passwd.c: Add brackets and parenthesis.
3161         * src/passwd.c: Avoid implicit conversion of pointers to booleans.
3162         * src/passwd.c: Avoid assignments in comparisons.
3163
3164 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3165
3166         * NEWS, src/groupmems.c, man/groupmems.8.xml: Added support for
3167         shadow groups.
3168         * src/groupmems.c: Use fail_exit() instead of exit().
3169
3170 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3171
3172         * src/groupmems.c: The grp structure returned by gr_locate is a
3173         const. Duplicate this structure before working on it.
3174         * src/groupmems.c: Do not fail and do not display warnings if a
3175         close failure happens with the --list option. (Files are opened
3176         read-only).
3177         * src/groupmems.c: Avoid mixed declarations and code.
3178
3179 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3180
3181         * src/gpasswd.c: Replace the 'valid' variable by is_valid to avoid
3182         clashes with the valid() function.
3183
3184 2008-08-29  Nicolas François  <nicolas.francois@centraliens.net>
3185
3186         * libmisc/obscure.c: Add brackets and parenthesis.
3187         * libmisc/obscure.c: Avoid implicit conversion of pointers / chars to
3188         booleans.
3189         * libmisc/obscure.c: Simplify the list of if.
3190
3191 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3192
3193         * src/passwd.c: Fix a typo in the Usage string.
3194
3195 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3196
3197         * src/grpconv.c, src/groups.c: Name the parameters in the
3198         prototypes of the static functions.
3199         * src/grpconv.c, src/grpunconv.c, src/logoutd.c: Fail if
3200         unexpected parameters are provided.
3201         * src/grpconv.c, src/grpunconv.c: Indicate that argc is not used
3202         in the no SHADOWGRP version.
3203
3204 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3205
3206         * src/chgpasswd.c, src/chpasswd.c: Removed variable ok, which is
3207         no more used.
3208
3209 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3210
3211         * src/chage.c: Fix the format for long integers (from %ul to %lu).
3212
3213 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3214
3215         * libmisc/utmp.c: Mark the line and host arguments of setutmp() as
3216         not used in the __linux__ version.
3217
3218 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3219
3220         * lib/nscd.c: Avoid redefinition of _GNU_SOURCE.
3221
3222 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
3223
3224         * configure.in: Indentation fix.
3225         * configure.in, src/login.c: Do not use HAVE_PAM_FAIL_DELAY, but
3226         HAS_PAM_FAIL_DELAY, to avoid a redefinition with Linux PAM.
3227
3228 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3229
3230         * src/groupmems.c: Added functions add_user(), remove_user(), and
3231         purge_members() to ease the support of gshadow.
3232
3233 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3234
3235         * src/expiry.c: Use Basename for Prog.
3236         * src/expiry.c: Added missing OPENLOG.
3237
3238 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3239
3240         * lib/nscd.c: Make sure the file is not empty when configured
3241         without nscd support.
3242
3243 2008-08-27  Nicolas François  <nicolas.francois@centraliens.net>
3244
3245         * configure.in: Remove the USE_NSCD AM_CONDITIONAL (USE_NSCD is
3246         not used in any Makefile.am).
3247         * configure.in: Make sure posix_spawn is present when configured
3248         with nscd support.
3249
3250 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3251
3252         * lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Added brackets and
3253         parenthesis.
3254         * lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Avoid assignments
3255         in comparisons.
3256
3257 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3258
3259         * libmisc/mail.c: Added brackets and parenthesis.
3260         * libmisc/mail.c: Avoid assignments in comparisons.
3261
3262 2008-08-26  Tobias Poschwatta  <tp@fonz.de>
3263
3264         * NEWS: Added support for uclibc.
3265         * configure.in, libmisc/copydir.c: futimes() and lutimes() are not
3266         standard. Check if they are implemented before using them. Do not
3267         set the time of links if lutimes() does not exist, and use
3268         utimes() as a replacement for futimes().
3269         * configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd and
3270         --without-nscd flags to support systems without nscd.
3271         * lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c:
3272         Include <sys/types.h> before <pwd.h> and <grp.h>. It is necessary
3273         for the definition of uid_t and gid_t.
3274         * lib/pwmem.c: do not include <pwd.h>, "pwio.h" is sufficient
3275         here.
3276         * configure.in: Check if the stat structure has a st_atim or
3277         st_atimensec field.
3278         * libmisc/copydir.c: Conditionally use the stat's st_atim and
3279         st_atimensec fields.
3280
3281 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3282
3283         * src/groupmems.c: Handle the options alphabetically.
3284
3285 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3286
3287         * src/groupmems.c: When removing an user, check if deluser is on
3288         the list, not adduser. This fixes a segmentation fault for every
3289         call of groupmems -d.
3290         * libmisc/list.c: Add assertions to help identifying these issues.
3291         * libmisc/list.c: Avoid implicit conversion of pointers to
3292         booleans.
3293
3294 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3295
3296         * NEWS, src/groupmems.c: Use the "groupmems" PAM service name
3297         instead of "groupmod".
3298
3299 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3300
3301         * src/chfn.c: Merge some translated messages.
3302         * src/groupmems.c, src/groupadd.c, src/gpasswd.c, src/chsh.c,
3303         src/chfn.c: Harmonize *_update() failure messages.
3304         * src/groupmems.c: Harmonize gr_close() failure messages.
3305         * src/newgrp.c: Harmonize "unknown GID" messages.
3306         * src/newusers.c: Move the pwd declaration to a inner block scope.
3307
3308 2008-08-26  Nicolas François  <nicolas.francois@centraliens.net>
3309
3310         * src/useradd.c: Harmonize some error messages.
3311         * src/userdel.c: Add log to syslog when the mail file could not be
3312         removed.
3313         * src/userdel.c: Give more context an error message (merge with
3314         perror()).
3315         * src/usermod.c: Harmonize some error messages.
3316
3317 2008-08-25  Nicolas François  <nicolas.francois@centraliens.net>
3318
3319         * src/groupmems.c: Check the return value of gr_update().
3320         * src/chage.c, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
3321         src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupmems.c,
3322         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
3323         src/passwd.c, src/pwck.c, src/pwconv.c, src/pwunconv.c,
3324         src/useradd.c, src/userdel.c, src/usermod.c: Harmonize the error
3325         message sent to stderr in case of *_update () failure.
3326         * src/chage.c, src/chsh.c, src/groupadd.c, src/passwd.c: Do not
3327         log to syslog when pw_update() or spw_update() fail.
3328         * src/newusers.c: Do not log specific error message to stderr when
3329         sgr_update() fails.
3330         * src/pwconv.c: Remove duplicated definition of Prog.
3331
3332 2008-08-25  Nicolas François  <nicolas.francois@centraliens.net>
3333
3334         * src/chfn.c, src/chsh.c, src/expiry.c, src/gpasswd.c,
3335         src/newgrp.c, src/passwd.c, src/su.c: Use the same stderr and
3336         syslog warnings when the username cannot be determined.
3337         * src/newgrp.c: Reuse the same stderr message for groups which do
3338         not exist in the system.
3339
3340 2008-08-21  Nicolas François  <nicolas.francois@centraliens.net>
3341
3342         * src/usermod.c: Log errors while *_close to syslog.
3343
3344 2008-08-21  Nicolas François  <nicolas.francois@centraliens.net>
3345
3346         * src/grpconv.c: Use Basename for the definition of Prog. Prog
3347         needs a file visibility.
3348         * src/grpunconv.c: Likewise.
3349
3350 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
3351
3352         * src/chfn.c: Do not exit on pw_unlock failures.
3353         * src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c,
3354         src/vipw.c: Open syslog with the right identification name.
3355         * src/vipw.c: Log unlock errors to syslog.
3356         * src/vipw.c: Log edits to syslog.
3357         * src/chage.c, src/chfn.c, src/chsh.c, src/gpasswd.c,
3358         src/groupadd.c, src/groupdel.c, src/groupmod.c, src/grpconv.c,
3359         src/grpunconv.c, src/passwd.c, src/pwck.c, src/pwunconv.c,
3360         src/useradd.c, src/usermod.c: Harmonize the syslog levels. Failure
3361         to close or unlock are errors. Failure to open files are warnings.
3362
3363 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
3364
3365         * src/newusers.c: Open syslog with the right identification name.
3366         * src/newusers.c: Mark the files as locked only if they are really
3367         locked (i.e. if shadow is not enabled, the files are not locked).
3368
3369 2008-08-20  Nicolas François  <nicolas.francois@centraliens.net>
3370
3371         * NEWS, src/gpasswd.c: Use getopt_long instead of getopt. Added
3372         support for long options --add (-a), --delete (-d),
3373         --remove-password (-r), --restrict (-R), --administrators (-A),
3374         and --members (-M) 
3375         * man/gpasswd.1.xml: Document the new long options.
3376         * src/gpasswd.c: The sgrp structure is only used if SHADOWGRP is
3377         defined.
3378
3379 2008-08-18  Nicolas François  <nicolas.francois@centraliens.net>
3380
3381         * src/grpck.c: Added function fail_exit(). Check failure to unlock
3382         files. Report errors to stderr and syslog, but continue.
3383         * src/grpconv.c: Check failure to unlock files. Report errors to
3384         stderr and syslog, but continue.
3385
3386 2008-08-18  Nicolas François  <nicolas.francois@centraliens.net>
3387
3388         * src/passwd.c: Check failure to unlock files. Report errors to
3389         stderr and syslog, but continue.
3390
3391 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
3392
3393         * src/chfn.c, src/chgpasswd.c, src/chpasswd.c, src/gpasswd.c,
3394         src/groupadd.c, src/groupdel.c, src/groupmems.c, src/groupmod.c,
3395         src/grpconv.c, src/grpunconv.c, src/newusers.c, src/pwconv.c,
3396         src/pwunconv.c, src/useradd.c, src/userdel.c: Harmonize the name
3397         of the variables keeping the lock status, to match the shadow
3398         library prefixes.
3399
3400 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
3401
3402         * src/chage.c, src/chgpasswd.c, src/chpasswd.c, src/chsh.c,
3403         src/gpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmems.c,
3404         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
3405         src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
3406         src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c: In
3407         case of a lock failure, indicate to the user that she can try
3408         again later. Do not log to syslog.
3409
3410 2008-08-17  Nicolas François  <nicolas.francois@centraliens.net>
3411
3412         * NEWS, src/passwd.c: For compatibility with other passwd version,
3413         the --lock an --unlock options do not lock or unlock the user
3414         account anymore.  They only lock or unlock the user's password.
3415         * man/passwd.1.xml: Document above change. Document how an account
3416         can be locked and what a password lock means.
3417
3418 2008-08-15  Nicolas François  <nicolas.francois@centraliens.net>
3419
3420         * man/groupadd.8.xml: Fix the regular expression for group policy.
3421         The final $ character is optional.
3422         * man/groupadd.8.xml: Likewise.
3423         * man/groupadd.8.xml: Indicate the maximum size of usernames.
3424
3425 2008-08-15  Nicolas François  <nicolas.francois@centraliens.net>
3426
3427         * man/po/pl.po: Fix typo in the Polish translation (see
3428         http://bugs.debian.org/491460)
3429
3430 2008-08-13  Nicolas François  <nicolas.francois@centraliens.net>
3431
3432         * man/pl/Makefile.am: Do not build the Polish translation of
3433         login.1 and su.1 (not enough translated). See
3434         http://bugs.debian.org/491460
3435
3436 2008-08-13  Nicolas François  <nicolas.francois@centraliens.net>
3437
3438         * man/shadow.5.xml: Fix typo. The password must be changed before
3439         the maximum number of days, not after.
3440
3441 2008-08-09  Nicolas François  <nicolas.francois@centraliens.net>
3442
3443         * src/groupmems.c: Harmonize the unlock failure messages.
3444
3445 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3446
3447         * src/pwck.c: Added fail_exit().
3448         * src/pwck.c: Report failure to unlock files to stderr and
3449         syslog.
3450         * src/pwck.c: Report failure to sort to stderr, and exit with
3451         E_CANTSORT.
3452         * man/pwck.8.xml: Document return code 6 (E_CANTSORT).
3453
3454 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3455
3456         * src/vipw.c: Report failures to remove files to stderr.
3457         * src/vipw.c: Report failures to unlock files to stderr.
3458
3459 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3460
3461         * NEWS, src/groupmems.c: Added syslog support.
3462         * src/groupmems.c: members() renamed display_members() to
3463         avoid name clash with its members argument.
3464         * src/groupmems.c: Report failure to unlock to syslog.
3465         * src/groupmems.c: Harmonize error messages.
3466         * src/groupmems.c: Report failures to write the new group file to
3467         syslog (gr_close() failure).
3468         * src/groupmems.c: Don't use fail_exit for non-failure exit.
3469
3470 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3471
3472         * src/chsh.c: Added fail_exit().
3473         * src/chsh.c: Use fail_exit() instead of exit(), this avoid
3474         calling closelog() every times.
3475         * src/chsh.c: Ignore the return value or pam_end().
3476         * src/chsh.c: Simplify the PAM error handling.
3477         * src/chsh.c: Report failure to unlock files to stderr and
3478         syslog.
3479
3480 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3481
3482         * src/chpasswd.c: Added fail_exit().
3483         * src/chpasswd.c: Added support for syslog.
3484         * src/chpasswd.c: Report failure to unlock files to stderr and
3485         syslog.
3486         * src/chpasswd.c: Simplify the PAM error handling.
3487         * src/chpasswd.c: Report failure during *_close() to syslog.
3488         * src/chpasswd.c: Ignore the return value or pam_end().
3489
3490 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3491
3492         * src/chgpasswd.c: Added fail_exit().
3493         * src/chgpasswd.c: Added support for syslog.
3494         * src/chgpasswd.c: Report failure to unlock files to stderr and
3495         syslog.
3496         * src/chgpasswd.c: Simplify the PAM error handling.
3497         * src/chgpasswd.c: Report failure during *_close() to syslog.
3498         * src/chgpasswd.c: Ignore the return value or pam_end().
3499
3500 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3501
3502         * src/userdel.c: Report failure to remove entries from group or
3503         gshadow to stderr.
3504         * src/userdel.c: Fail in case of failure during the write of a
3505         user or group database. Report errors to syslog.
3506         * src/userdel.c: Do not unlock non locked files.
3507         * src/userdel.c: Report failure to unlock the passwd or shadow
3508         file to stderr and syslog.
3509
3510 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3511
3512         * src/pwunconv.c: Report failure to unlock the passwd or shadow
3513         file to stderr and syslog.
3514
3515 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3516
3517         * src/usermod.c: Report failure to unlock files to stderr and
3518         syslog.
3519
3520 2008-08-07  Nicolas François  <nicolas.francois@centraliens.net>
3521
3522         * src/newusers.c: Report failure to unlock files to stderr and
3523         syslog.
3524         * src/newusers.c: In case of error when files are open or closed,
3525         indicate the failing file.
3526         * src/newusers.c: Do not try to unlock the files manually since
3527         this is done in fail_exit.
3528
3529 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3530
3531         * src/chage.c: Report failure to unlock the passwd or shadow file
3532         to stderr and syslog.
3533
3534 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3535
3536         * src/pwconv.c: Report failure to unlock the passwd or shadow file
3537         to stderr and syslog.
3538         * src/pwconv.c: Report failure to chmod the backup file.
3539
3540 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3541
3542         * src/grpunconv.c: Report failure to unlock the group or gshadow
3543         files to stderr and syslog.
3544
3545 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3546
3547         * src/chfn.c: Added fail_exit(). Check if the passwd file is
3548         locked. Report failures to unlock to stderr and syslog.
3549         * src/chfn.c: Is case of failure, use fail_exit() rather than
3550         exit().
3551         * src/chfn.c: Ignore the return value of pam_end().
3552
3553 2008-08-06  Nicolas François  <nicolas.francois@centraliens.net>
3554
3555         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h,
3556         lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
3557         Added *_dbname() functions to retrieve the name of the databases.
3558         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h,
3559         lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
3560         *_name() functions renamed *setname().
3561         * src/grpck.c, src/pwck.c: Likewise.
3562         * lib/groupio.h, lib/pwio.h, lib/sgroupio.h, lib/shadowio.h: Added
3563         the name of the arguments to the prototypes.
3564         * src/chage, src/chfn.c, src/chgpasswd.c, src/chpasswd.c,
3565         src/chsh.c, src/gpasswd.c, src/groupadd.c, src/groupdel.c,
3566         src/groupmod.c, src/grpck.c, src/grpconv.c, src/grpunconv.c,
3567         src/newusers.c, src/passwd.c, src/pwck.c, src/pwconv.c,
3568         src/pwunconv.c, src/useradd.c, src/userdel.c, src/usermod.c:
3569         Harmonize the erro & syslog messages in case of failure of the
3570         *_lock(), *_open(), *_close(), *_unlock(), *_remove() functions.
3571         * src/chgpasswd.c, src/chpasswd.c, src/usermod.c: Avoid
3572         capitalized messages.
3573         * src/chpasswd.c, src/useradd.c, src/usermod.c: Harmonize messages
3574         in case of inexistent entries.
3575         * src/usermod.c:  Harmonize messages in case of already existing
3576         entries.
3577         * src/newusers.c, src/useradd.c: Simplify PAM error handling.
3578         * src/useradd.c: Report failures to unlock files (stderr, syslog,
3579         and audit). But do not fail (continue).
3580         * src/useradd.c (open_files): Do not report to syslog & audit
3581         failures to lock or open the databases. This might be harmless,
3582         and the logs were not already informed that a change was
3583         requested.
3584         * src/usermod.c: It's not the account which is unlocked, but its
3585         password.
3586
3587 2008-08-02  Nicolas François  <nicolas.francois@centraliens.net>
3588
3589         * src/groupadd.c: Harmonize error & syslog messages.
3590         * src/groupadd.c: Add logging to syslog & audit on lock/unlock
3591         failures.
3592         * src/groupadd.c: Only call gr_unlock() and sgr_unlock() in the
3593         group or gshadow files were previously locked.
3594         * src/groupadd.c: Make sure failures are reported to syslog/audit
3595         after the change is mentioned.
3596         * src/groupmod.c: Harmonize error & syslog messages.
3597         * src/groupmod.c: Add logging to syslog & audit on lock/unlock
3598         failures.
3599         * src/groupmod.c: Make sure issues are reported to syslog or audit
3600         after the change is mentioned.
3601         * src/groupdel.c: Harmonize error & syslog messages.
3602         * src/groupdel.c: Add logging to syslog & audit on lock/unlock
3603         failures.
3604         * src/groupdel.c: Only call gr_unlock() and sgr_unlock() in the
3605         group or gshadow files were previously locked.
3606         * src/groupdel.c: Simplify the handling of PAM errors.
3607
3608 2008-08-01  Nicolas François  <nicolas.francois@centraliens.net>
3609
3610         * src/gpasswd.c: Harmonize error & syslog messages.
3611         * src/gpasswd.c: Warn and log to syslog and audit when group or
3612         gshadow cannot be unlocked, but do not fail.
3613
3614 2008-08-01  Nicolas François  <nicolas.francois@centraliens.net>
3615
3616         * src/chfn.c, src/chsh.c, src/groupdel.c, src/groupmems.c,
3617         src/groupmod.c, src/grpck.c, src/login.c, src/logoutd.c,
3618         src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c,
3619         src/suauth.c, src/useradd.c, src/userdel.c, src/usermod.c,
3620         src/vipw.c: Complete the switch from the `' quotation style to ''.
3621         Do it also in SYSLOG messages. Quote some parameters. All this
3622         permits to merge some messages.
3623
3624 2008-07-30  Lukáš Kuklínek  <lkukline@redhat.com>
3625
3626         * src/groupmems.c: Only check if the adduser user exists when an
3627         user is specified with -a.
3628
3629 2008-07-30  Nicolas François  <nicolas.francois@centraliens.net>
3630
3631         * src/groupmems.c: Fix the groupmems' usage message. The -D option
3632         is in fact -p.
3633
3634 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3635
3636         * src/groupmems.c: Replace an if test by an else.
3637
3638 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3639
3640         * src/groupmems.c: Ignore the return value of fputs().
3641
3642 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3643
3644         * src/groupmems.c (whoami): Make sure usr and grp are not NULL
3645         before dereferencing them.
3646
3647 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3648
3649         * src/groupmems.c: Use xstrdup() rather than strdup().
3650
3651 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3652
3653         * src/groupmems.c: Add parenthesis.
3654         * src/groupmems.c: Avoid implicit conversion of pointers / chars to
3655         booleans.
3656
3657 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3658
3659         * NEWS, src/groupmems.c: Allow everybody to list the users of a group.
3660         This information is publicly available in /etc/group.
3661         * NEWS, src/groupmems.c: Open /etc/group read only for the -l option.
3662
3663 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3664
3665         * man/groupmems.8.xml: Sort options alphabetically.
3666
3667 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3668
3669         * src/groupmems.c (check_perms): Simplify. Always call pam_end()
3670         at the end of the authentication.
3671
3672 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3673
3674         * src/groupmems.c: Add fail_exit() to remove the group lock file
3675         in case of failure. Replace the calls to exit() by fail_exit().
3676
3677 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3678
3679         * src/groupmems.c: Reduce the number of checks. Isolate the
3680         parameters setting and permissions checking.
3681
3682 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3683
3684         * src/groupmems.c: Add functions process_flags() and check_perms()
3685         from code of main().
3686         * src/groupmems.c: Harmonize the failure message in case of PAM
3687         failure with the other programs.
3688
3689 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3690
3691         * src/groupmems.c: Remove isgroup(), which always returns TRUE.
3692
3693 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3694
3695         * src/groupmems.c: Reuse the functions from libmisc/list.c to deal
3696         with user lists. addtogroup() was broken when realloc() move the
3697         memory area.
3698         * src/groupmems.c: Report failures with the name of the program.
3699
3700 2008-07-27  Nicolas François  <nicolas.francois@centraliens.net>
3701
3702         * src/groupmems.c: EXIT_READ_GROUP changed to EXIT_INVALID_GROUP.
3703         * src/groupmems.c: EXIT_INVALID_USERNAME changed to EXIT_INVALID_USER.
3704
3705 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
3706
3707         * src/groupmems.c: Really use booleans.
3708         * src/groupmems.c: Change isroot() to a macro that returns a
3709         boolean.
3710
3711 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
3712
3713         * lib/defines.h: Make sure the booleans are defined before using
3714         them.
3715
3716 2008-07-26  Nicolas François  <nicolas.francois@centraliens.net>
3717
3718         * src/groupmems.c: Added Prog global variable to indicate the name
3719         of the program in error messages.
3720
3721 2008-07-22  Lukáš Kuklínek  <lkukline@redhat.com>
3722
3723         * NEWS, src/groupmems.c: Check if the user added to group actually
3724         exist. RedHat bug #455603
3725         * NEWS, src/groupmems.c: Check if the group exists in the group
3726         local database (/etc/group). RedHat bug #456088
3727
3728 2008-07-22  Nicolas François  <nicolas.francois@centraliens.net>
3729
3730         * lib/prototypes.h: Fix getrange prototype.
3731
3732 2008-07-21  Seraphim Mellos  <mellos@ceid.upatras.gr>
3733
3734         * README, NEWS, configure.in, lib/pam_defs.h, src/login.c: Add
3735         support for OpenPAM.
3736
3737 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
3738
3739         * src/chage.c: Ignore the return value of pam_end() before exiting.
3740         * src/chage.c: Ignore return values of strftime(), snprintf(),
3741         puts(), printf(), and fputs().
3742         * src/chage.c: Check the return value of asctime().
3743
3744 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
3745
3746         * lib/gshadow.c: Avoid assignments in comparison.
3747
3748 2008-07-12  Nicolas François  <nicolas.francois@centraliens.net>
3749
3750         * ChangeLog, NEWS, src/login.c: Re-inject the changes from 4.1.2.1.
3751
3752 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
3753
3754         * src/usermod.c: Do not call usr_update() if it will have no
3755         effects. This avoid checking if the user exists in the local passwd
3756         file if not necessary, and thus allow to add LDAP users to local
3757         groups. (The user is already checked against the system
3758         configuration with getpwnam()). Thanks to Dan Kopecek.
3759
3760 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
3761
3762         * src/usermod.c: Split update_files() into update_lastlog() and
3763         update_faillog(). Report errors (but don't fail) if the file
3764         exist, but open(), lseek(), read(), write(), or close() fails.
3765         * src/usermod.c: Add brackets and parenthesis.
3766         * src/usermod.c: Ignore the return value of pam_end() before
3767         exiting.
3768         * src/usermod.c: Ignore the return value of strftime(),
3769         snprintf(), and puts().
3770         * src/usermod.c: Check the return value of gmtime() and asctime(),
3771         and output the raw time_t on failures.
3772
3773 2008-07-11  Nicolas François  <nicolas.francois@centraliens.net>
3774
3775         * libmisc/setugid.c: Add brackets.
3776
3777 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
3778
3779         * libmisc/env.c: Avoid implicit conversion of pointers / chars to
3780         booleans.
3781         * libmisc/env.c: Add brackets and parenthesis.
3782         * libmisc/env.c: Ignore the return value of puts() and fputs().
3783         * libmisc/env.c: Avoid multi-statements lines.
3784
3785 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
3786
3787         * libmisc/utmp.c: Avoid implicit conversion of pointers / chars to
3788         booleans.
3789         * libmisc/utmp.c: Add brackets and parenthesis.
3790         * libmisc/utmp.c: Exit with the EXIT_FAILURE status code in case
3791         of failure.
3792         * libmisc/utmp.c: Avoid assignments in comparisons.
3793         * lib/prototypes.h, libmisc/utmp.c: Change setutmp()'s prototype
3794         to return an int because pututline() and pututxline() may fail.
3795
3796 2008-06-17  Nicolas François  <nicolas.francois@centraliens.net>
3797
3798         * libmisc/audit_help.c: Added one string for translation.
3799         * po/POTFILES.in: Added libmisc/audit_help.c,
3800         libmisc/find_new_gid.c, libmisc/find_new_uid.c, libmisc/getlong.c,
3801         libmisc/getrange.c, libmisc/xgetXXbyYY.c, and libmisc/yesno.c.
3802         Removed libmisc/find_new_ids.c
3803
3804 2008-06-16  Nicolas François  <nicolas.francois@centraliens.net>
3805
3806         * src/useradd.c: If the faillog file exist, warn in case of
3807         failure when open(), lssek(), write() or close() fails when the
3808         new user's faillog entry is reset.
3809         * src/useradd.c: Ditto for the lastlog entry.
3810
3811 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3812
3813         * libmisc/limits.c: Add brackets and parenthesis.
3814         * libmisc/limits.c: Avoid implicit conversion of pointers /
3815         integers to booleans.
3816         * libmisc/limits.c: Ignore the return value of umask(). We will
3817         never return to the original umask.
3818         * libmisc/limits.c: Avoid multi-statements lines.
3819         * libmisc/limits.c: Added default to a switch(). Report invalid
3820         limit strings to syslog.
3821         * libmisc/limits.c: Ignore the return value of fclose().
3822         /etc/limits is open read-only.
3823         * libmisc/limits.c: Ignore the return value of fputs() and
3824         sleep().
3825         * libmisc/limits.c: Check the return value of nice() and
3826         set_filesize_limit(), and report errors to syslog.
3827
3828 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3829
3830         * libmisc/ulimit.c, lib/prototypes.h: Return failures of
3831         set_filesize_limit(). Change the prototype to return an int
3832         instead of void.
3833
3834 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3835
3836         * libmisc/failure.c: Try to close the open file if a failure
3837         occured during lseek(), read() or write().
3838
3839 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3840
3841         * libmisc/log.c: Check return values. If lseek() failed, avoid
3842         reading or writing at an unspecified location. Log to syslog in
3843         case of failure.
3844         * libmisc/log.c: Use the right casts.
3845
3846 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3847
3848         * libmisc/find_new_ids.c, libmisc/find_new_gid.c,
3849         libmisc/find_new_uid.c, libmisc/Makefile.am, lib/prototypes.h:
3850         Split find_new_ids.c into find_new_gid.c and find_new_uid.c to
3851         ease the description of login.defs variables in the different
3852         tools.
3853
3854 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3855
3856         * libmisc/failure.c: Ignore the return value of strftime() and
3857         printf().
3858         * libmisc/failure.c: Fix syslog call. The UID is not available.
3859         User the username specified in the utmp/utmpx entry.
3860
3861 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3862
3863         * lib/defines.h: Avoid implicit conversion of pointers to
3864         booleans.
3865         * lib/defines.h: Ignore return values of setlocale() except the
3866         first call.
3867         * lib/defines.h: Fix a splint observer warning by using an
3868         intermediate variable (old_locale).
3869
3870 2008-06-15  Nicolas François  <nicolas.francois@centraliens.net>
3871
3872         * libmisc/failure.c: Check return values. If lseek() failed, avoid
3873         reading or writing at an unspecified location. Log to syslog in
3874         case of failure when reading a faillog entry or writing in
3875         faillog or btmp.
3876         * libmisc/failure.c: Check if the file exist before opening it.
3877         * libmisc/failure.c: Log failures of open() and close() when
3878         necessary.
3879
3880 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
3881
3882         * lib/prototypes.h: Add the getrange() prototype.
3883         * lib/prototypes.h: Fix the valid_field() prototype (does not
3884         return an bool).
3885         * lib/prototypes.h: Fix the valid() prototype (it does return a
3886         bool).
3887
3888 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
3889
3890         * lib/getdef.c: Fix the getdef_ulong() prototype.
3891         * lib/getdef.h: Fix the getdef_ulong() prototype.
3892
3893 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
3894
3895         * src/lastlog.c: Use getrange to parse the range of users.
3896         * src/lastlog.c: umin and umax do not need to be signed long. Use
3897         an unsigned long which might be needed to parse a GID or UID. Add
3898         the has_umin and has_umax to replace the -1 values.
3899         * src/lastlog.c: Cast dates to time_t.
3900         * src/lastlog.c: Prefix lastlog errors with "lastlog: ".
3901
3902 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
3903
3904         * libmisc/getlong.c: Reset errno before calling strtol().
3905         Otherwise, errno could be already set to ERANGE.
3906
3907 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
3908
3909         * libmisc/Makefile.am, libmisc/getrange.c: Added function to parse
3910         a range (useful for lastlog).
3911
3912 2008-06-14  Nicolas François  <nicolas.francois@centraliens.net>
3913
3914         * src/chsh.c: <signal.h> is not needed.
3915
3916 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3917
3918         * lib/prototypes.h: Define AUDIT_NO_ID to (unsigned int) -1. This
3919         value should be used when the ID should not be considered.
3920         * lib/prototypes.h: Fix the prototype of do_rlogin() according to
3921         earlier changes.
3922
3923 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3924
3925         * lib/shadow.c: Use SHADOW_SP_FLAG_UNSET for the initial
3926         value of spwd.sp_flag.
3927         * lib/shadow.c: Add brackets.
3928         * lib/shadow.c: Avoid implicit conversion of pointers to
3929         booleans.
3930         * lib/shadow.c: The size argument of fgets is an int, not a
3931         size_t.
3932
3933 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3934
3935         * lib/commonio.c: len should be typed ssize_t as it is the return
3936         of read(), and is compared to 0. Cast to size_t when necessary.
3937
3938 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3939
3940         * libmisc/find_new_ids.c: Use getdef_ulong to retrieve UIDs/GIDs
3941         from login.defs. Type constants to long integers.
3942
3943 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3944
3945         * lib/gshadow.c: Use a bool when possible instead of int integers.
3946         * lib/gshadow.c: Remove __setsgNIS() -never used).
3947         * lib/gshadow.c: Avoid multi-statements lines.
3948         * lib/gshadow.c: Avoid assignments in comparisons.
3949         * lib/gshadow.c: ptr[nelem] is a string. Initialize it to NULL
3950         instead of '\0'.
3951         * lib/gshadow.c: Add brackets and parenthesis.
3952         * lib/gshadow.c: The size argument of strncpy is a size_t and the
3953         size argument of fgets is an int.
3954
3955 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3956
3957         * lib/groupio.c: Add brackets.
3958         * lib/groupio.c: Make sure malloc receives a size_t.
3959         * lib/groupio.c: Avoid multi-statements lines.
3960
3961 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3962
3963         * lib/sgetspent.c: Use SHADOW_SP_FLAG_UNSET for the initial
3964         value of spwd.sp_flag.
3965
3966 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3967
3968         * lib/getdef.h, lib/getdef.c: Add getdef_ulong().
3969         * lib/getdef.c: Added TODOs because of lack of error checking.
3970         * lib/getdef.c: The size argument of fgets is an int, not a
3971         size_t.
3972         * lib/getdef.c: Avoid multi-statements lines.
3973
3974 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3975
3976         * src/id.c: Make sure malloc receives a size_t.
3977         * src/id.c: Use a %lu format and cast group and user IDs to
3978         unsigned long integers.
3979
3980 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3981
3982         * src/sulogin.c: Ignore the return value of signal().
3983
3984 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3985
3986         * src/groups.c: sys_ngroups is only used when HAVE_GETGROUPS is
3987         defined.
3988
3989 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3990
3991         * src/faillog.c: Ignore return value of time() when use with a
3992         non NULL argument.
3993         * src/faillog.c: Use a %lu format and cast number of days to
3994         unsigned long integers.
3995         * src/faillog.c: Cast dates to time_t.
3996
3997 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
3998
3999         * src/login.c: Ignore the return value of signal().
4000         * src/login.c: Use a %lu format and cast group and user IDs to
4001         unsigned long integers.
4002         * src/login.c: Ignore return value of setlocale(),
4003         bindtextdomain(), and textdomain().
4004
4005 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4006
4007         * src/chage.c: Add the arguments' names in the functions
4008         prototypes.
4009         * src/chage.c: The ID argument of audit_logger is an unsigned
4010         int. Use AUDIT_NO_ID instead of -1.
4011         * src/chage.c: print_date() received a time_t.
4012         * src/chage.c: Use SHADOW_SP_FLAG_UNSET for the initial
4013         value of spwent.sp_flag.
4014
4015 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4016
4017         * src/groupadd.c: The ID argument of audit_logger is an unsigned
4018         int. Use AUDIT_NO_ID instead of -1.
4019         * src/groupadd.c: Cast the parsed GID/UID to a gid_t/uid_t.
4020
4021 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4022
4023         * src/pwck.c: Use a %lu format and cast group and user IDs to
4024         unsigned long integers.
4025         * src/pwck.c: Cast number of days to a long integer.
4026         * src/pwck.c: Use the SCALE macro instead of (24L * 3600L)
4027         for the values to be set in /etc/shadow.
4028         * src/pwck.c: Use SHADOW_SP_FLAG_UNSET for the initial
4029         value of spent.sp_flag.
4030
4031 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4032
4033         * src/passwd.c: Ignore return value of time() when use with a
4034         non NULL argument.
4035         * src/passwd.c: Cast number of days to a long integer.
4036
4037 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4038
4039         * src/groupmod.c: The ID argument of audit_logger is an unsigned
4040         int. Use AUDIT_NO_ID instead of -1.
4041         * src/groupmod.c:  Use a %lu format and cast group and user IDs to
4042         unsigned long integers.
4043         * src/groupmod.c: Cast the parsed GID/UID to a gid_t/uid_t.
4044
4045 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4046
4047         * src/useradd.c: The ID argument of audit_logger is an unsigned
4048         int. Use AUDIT_NO_ID instead of -1.
4049         * src/useradd.c: Cast the parsed GID/UID to a gid_t/uid_t.
4050         * src/useradd.c: The size argument of fgets is an int, not a
4051         size_t.
4052         * src/useradd.c: Cast number of days to a long integer.
4053         * src/useradd.c: Use SHADOW_SP_FLAG_UNSET for the initial
4054         value of spent.sp_flag.
4055         * src/useradd.c: Use a %lu format and cast group and user IDs to
4056         unsigned long integers.
4057
4058 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4059
4060         * src/su.c: fork() and waitpid() return a pid_t, not an int.
4061         * src/su.c: Add brackets and parenthesis.
4062         * src/su.c: Ignore the return value of signal().
4063
4064 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4065
4066         * src/groupdel.c: The ID argument of audit_logger is an unsigned
4067         int. Use AUDIT_NO_ID instead of -1.
4068
4069 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4070
4071         * src/expiry.c: Ignore the return value of signal().
4072
4073 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4074
4075         * src/newusers.c: Fix the check for GID/UID validity.
4076         * src/newusers.c: Comment why we use both getgrgid() and
4077         gr_locate_gid().
4078         * src/newusers.c: Cast the parsed GID/UID to a gid_t/uid_t.
4079         * src/newusers.c: Cast the number of days to a long integer.
4080         * src/newusers.c: Use SHADOW_SP_FLAG_UNSET for the initial
4081         value of spent.sp_flag.
4082         * src/newusers.c: The size argument of fgets is an int, not a
4083         size_t.
4084
4085 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4086
4087         * src/usermod.c: Cast dates to time_t, and number of days to a
4088         long integer.
4089         * src/usermod.c: Cast UIDs and GIDs to uid_t and gid_t after
4090         checking the ranges.
4091         * src/usermod.c: The ID argument of audit_logger is an unsigned
4092         int.
4093         * src/usermod.c: read() returns a ssize_t.
4094         * src/usermod.c: Cast the return value of malloc and make sure it
4095         receives a size_t.
4096
4097 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4098
4099         * src/logoutd.c: Ignore return value of time() when use with a
4100         non NULL argument.
4101
4102 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4103
4104         * src/pwconv.c: Use SHADOW_SP_FLAG_UNSET for the initial
4105         value of sp.sp_flag.
4106         * src/pwconv.c: Cast number of days to a long integer.
4107
4108 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4109
4110         * src/gpasswd.c: The ID argument of audit_logger is an unsigned
4111         int.
4112         * src/gpasswd.c: Ignore the return value of signal(). The signal
4113         handlers are only changed for the last steps of gpasswd, and there
4114         is no need to restore them.
4115
4116 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4117
4118         * src/userdel.c: The ID argument of audit_logger is an unsigned
4119         int.
4120         * src/userdel.c: fork() and wait() return a pid_t, not an int.
4121
4122 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4123
4124         * src/newgrp.c: Use a %lu format and cast group and user IDs to
4125         unsigned long integers.
4126         * src/newgrp.c: The ID argument of audit_logger is an unsigned
4127         int.
4128         * src/newgrp.c: Ignore the return value of signal() (the signal
4129         handlers are assumed to be the default one and are restored
4130         later).
4131         * src/newgrp.c: Do not checl if a pid_t is < 0, check if equal
4132         to (pid_t)-1.
4133
4134 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4135
4136         * libmisc/isexpired.c: Cast number of days to a long integer.
4137         * libmisc/isexpired.c: Add brackets and parenthesis.
4138
4139 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4140
4141         * libmisc/copydir.c: Do not specify a size of arrays in the
4142         prototypes.
4143         * libmisc/copydir.c: Use a size_t for the length of strings.
4144         * libmisc/copydir.c: Cast the return value of malloc().
4145         * libmisc/copydir.c: The size argument of write() is a size_t.
4146
4147 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4148
4149         * libmisc/pwd2spwd.c: Cast number of days to a long integer.
4150         * libmisc/pwd2spwd.c: Use SHADOW_SP_FLAG_UNSET for the initial
4151         value of sp.sp_flag.
4152
4153 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4154
4155         * lib/defines.h: Include <config.h> since it uses the macro that
4156         might be defined in this header file.
4157         * lib/defines.h: Prefer checking if HAVE_LOCALE_H or ENABLE_NLS
4158         are defined (rather than set to non 0).
4159         * lib/defines.h: The dummy implementations of bindtextdomain() and
4160         textdomain() should return a pointer. Return NULL instead of
4161         /* empty */
4162         * lib/defines.h: Define SHADOW_SP_FLAG_UNSET, to be used for the
4163         initialization of sp_flag field of the shadow structures.
4164         * lib/defines.h: Define LC_ALL, needed even if HAVE_LOCALE_H is
4165         not defined.
4166
4167 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4168
4169         * libmisc/sulog.c: Ignore the return value of umask() when the
4170         mask is restored.
4171         * libmisc/sulog.c: Add brackets.
4172         * libmisc/sulog.c: Ignore return value of time() when use with a
4173         non NULL argument.
4174
4175 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4176
4177         * libmisc/log.c: Avoid assignments in comparisons.
4178         * libmisc/log.c: Add brackets and parenthesis.
4179         * libmisc/log.c: read() returns a ssize_t (note size_t).
4180         * libmisc/log.c: Avoid implicit conversion of pointers to
4181         booleans.
4182         * libmisc/log.c: Ignore return value of time() when use with a
4183         non NULL argument.
4184
4185 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4186
4187         * libmisc/strtoday.c: Avoid implicit conversion of pointers to
4188         booleans.
4189         * libmisc/strtoday.c: Add brackets and parenthesis.
4190
4191 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4192
4193         * libmisc/salt.c: Use a size_t for the size of strings instead of
4194         unsigned int.
4195         * libmisc/salt.c: Add brackets and parenthesis.
4196         * libmisc/salt.c: Avoid assignments in comparisons.
4197
4198 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4199
4200         * libmisc/age.c: fork() and wait() return a pid_t, not an int.
4201         * libmisc/age.c: Avoid implicit conversion of pointers to
4202         booleans.
4203         * libmisc/age.c: Avoid assignments in comparisons.
4204         * libmisc/age.c: Ignore the return value of printf(), puts(),
4205         fputs() and fflush().
4206         * libmisc/age.c: Add brackets and parenthesis.
4207         * libmisc/age.c: Cast the return value of time() to long and
4208         converted to a date.
4209
4210 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4211
4212         * libmisc/rlogin.c: The size argument of read() is a size_t.
4213         Propagate this time to the callers (the get_remote_string() and
4214         do_rlogin() functions).
4215         * libmisc/rlogin.c: Add brackets and parenthesis.
4216         * libmisc/rlogin.c: Avoid multi-statements lines.
4217         * libmisc/rlogin.c: Avoid assignments in comparisons.
4218         * libmisc/rlogin.c: Avoid implicit conversion of pointers to
4219         booleans.
4220
4221 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4222
4223         * libmisc/failure.c: Avoid assignments in comparisons.
4224         * libmisc/failure.c: read() returns a ssize_t.
4225         * libmisc/failure.c: Add brackets and parenthesis.
4226         * libmisc/failure.c: Ignore return value of time() when use with a
4227         non NULL argument.
4228
4229 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4230
4231         * libmisc/chowntty.c: Avoid assignments in comparisons.
4232         * libmisc/chowntty.c: Avoid implicit conversion of pointers to
4233         booleans.
4234         * libmisc/chowntty.c: Add brackets and parenthesis.
4235
4236 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4237
4238         * libmisc/audit_help.c: Add brackets.
4239
4240 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4241
4242         * libmisc/addgrps.c: Avoid implicit conversion of pointers to
4243         booleans.
4244         * libmisc/addgrps.c: Add brackets.
4245
4246 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4247
4248         * libmisc/utmp.c: Avoid implicit conversion of pointers to
4249         booleans.
4250
4251 2008-06-13  Nicolas François  <nicolas.francois@centraliens.net>
4252
4253         * libmisc/console.c, libmisc/hushed.c, libmisc/yesno.c,
4254         libmisc/loginprompt.c, libmisc/ttytype.c, libmisc/tz.c,
4255         src/login_nopam.c, src/chpasswd.c, src/chgpasswd.c, lib/port.c:
4256         The size argument of fgets is an int, not a size_t.
4257         * libmisc/loginprompt.c: Ignore the return value from signal()
4258         when the signal handlers are restored.
4259         * src/chpasswd.c: Cast the return value of time() to a long
4260         integer.
4261         * src/chpasswd.c: Use the SCALE macro instead of (24L * 3600L)
4262         for the values to be set in /etc/shadow.
4263
4264 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4265
4266         * src/pwck.c: Use a bool when possible instead of int integers.
4267         * src/pwck.c: Avoid implicit conversion of integers to booleans.
4268
4269 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4270
4271         * src/su.c: Use a bool when possible instead of int integers.
4272         * src/su.c: Add brackets and parenthesis.
4273         * src/su.c: Avoid implicit conversion of pointers / integers
4274         / chars to booleans.
4275         * src/su.c: Ignore the return value of pam_end() before
4276         exiting.
4277         * src/su.c: Avoid assignments in comparisons.
4278         * src/su.c: Avoid multi-statements lines.
4279
4280 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4281
4282         * lib/prototypes.h, libmisc/valid.c: Change the prototype of
4283         valid() to return a bool.
4284         * libmisc/valid.c: Add parenthesis.
4285
4286 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4287
4288         * lib/commonio.c: Add brackets and parenthesis.
4289         * lib/commonio.c: Check the result of fgets().
4290         * lib/commonio.c: Avoid implicit conversion of pointers to
4291         booleans.
4292
4293 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4294
4295         * lib/prototypes.h: Fix the prototypes to match earlier changes.
4296
4297 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4298
4299         * lib/nscd.c: Include defines.h.
4300         * lib/nscd.c: Always warn when the nscd cache cannot be flushed.
4301         * lib/nscd.c: Avoid assignments in comparisons.
4302         * lib/nscd.c: Ignore the return value of fputs() when printing
4303         errors.
4304
4305 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4306
4307         * lib/port.c: Add brackets and parenthesis.
4308         * lib/port.c: Change isttytime() prototype to return a bool.
4309         * lib/port.c: Ignore the return value of fclose () (file open
4310         read-only).
4311         * lib/port.c: Avoid multi-statements lines.
4312
4313 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4314
4315         * src/id.c: Ignore the return value of fputs(), puts(), putchar(),
4316         and printf().
4317         * src/id.c: Ignore return value of setlocale(),
4318         bindtextdomain(), and textdomain().
4319         * src/id.c: Add brackets and parenthesis.
4320         * src/id.c: Avoid implicit conversion of pointers / integers
4321         to booleans.
4322
4323 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4324
4325         * src/chsh.c: Use a bool when possible instead of int integers.
4326         * src/chsh.c: restricted_shell() renamed is_restricted_shell().
4327         check_shell() renamed shell_is_listed().
4328         * src/chsh.c: Ignore return value of setlocale(),
4329         bindtextdomain(), and textdomain().
4330         * src/chsh.c: Avoid implicit conversion of pointers / integers
4331         to booleans.
4332         * src/chsh.c: Ignore the return value of pam_end() before
4333         exiting.
4334
4335 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4336
4337         * src/grpunconv.c: Use a bool when possible instead of int
4338         integers.
4339         * src/grpunconv.c: Add brackets and parenthesis.
4340         * src/grpunconv.c: Ignore return value of setlocale(),
4341         bindtextdomain(), and textdomain().
4342         * src/grpunconv.c: Avoid implicit conversion of pointers / integers
4343         to booleans.
4344
4345 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4346
4347         * src/sulogin.c: Ignore return value of setlocale(),
4348         bindtextdomain(), and textdomain().
4349         * src/sulogin.c: Avoid implicit conversion of pointers / integers
4350         / chars to booleans.
4351         * src/sulogin.c: Avoid assignments in comparisons.
4352         * src/sulogin.c: Ignore the return value of alarm().
4353
4354 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4355
4356         * src/groups.c: Use a bool when possible instead of int integers.
4357         * src/groups.c: Add brackets and parenthesis.
4358         * src/groups.c: Avoid implicit conversion of pointers / integers
4359         to booleans.
4360         * src/groups.c: Avoid assignments in comparisons.
4361         * src/groups.c: Ignore the return value of putchar(), printf()
4362         * src/groups.c: Ignore return value of setlocale(),
4363         bindtextdomain(), and textdomain().
4364
4365 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4366
4367         * src/grpconv.c: Use a bool when possible instead of int integers.
4368         * src/grpconv.c: Add brackets and parenthesis.
4369         * src/grpconv.c: Ignore return value of setlocale(),
4370         bindtextdomain(), and textdomain().
4371         * src/grpconv.c: Avoid implicit conversion of pointers / integers
4372         to booleans.
4373
4374 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4375
4376         * src/faillog.c: Use a bool when possible instead of int integers.
4377         * src/faillog.c: Avoid implicit conversion of pointers / integers
4378         / chars to booleans.
4379         * src/faillog.c: Ignore return value of setlocale(),
4380         bindtextdomain(), and textdomain().
4381         * src/faillog.c: Add brackets and parenthesis.
4382
4383 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4384
4385         * src/login.c: Avoid multi-statements lines.
4386         * src/login.c: Ignore the return value of pam_end() before
4387         exiting.
4388         * src/login.c: Use a bool when possible instead of int integers.
4389         * src/login.c: Add brackets and parenthesis.
4390         * src/login.c: Ignore the return values of fflush(), putchar(), puts().
4391         * src/login.c: Ignore the return value of fclose() for read-only
4392         files.
4393         * src/login.c: Avoid assignments in comparisons.
4394         * src/login.c: Ignore return value of setlocale(),
4395         bindtextdomain(), and textdomain().
4396         * src/login.c: Avoid implicit conversion of pointers / integers
4397         / chars to booleans.
4398
4399 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4400
4401         * src/chage.c: Use a bool when possible instead of int integers.
4402         * src/chage.c: Ignore return value of setlocale(),
4403         bindtextdomain(), and textdomain().
4404
4405 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4406
4407         * src/groupadd.c: Use a bool when possible instead of int
4408         integers.
4409         * src/groupadd.c: Add brackets and parenthesis.
4410         * src/groupadd.c: Avoid implicit conversion of pointers / integers
4411         / chars to booleans.
4412         * src/groupadd.c: Ignore return value of setlocale(),
4413         bindtextdomain(), and textdomain().
4414         * src/groupadd.c: Ignore the return value of pam_end() before
4415         exiting.
4416
4417 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4418
4419         * src/pwck.c: Use a bool when possible instead of int integers.
4420         * src/pwck.c: Ignore return value of setlocale(),
4421         bindtextdomain(), and textdomain().
4422
4423 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4424
4425         * src/passwd.c: Use a bool when possible instead of int integers.
4426         * src/passwd.c: Avoid assignments in comparisons.
4427         * src/passwd.c: Add brackets and parenthesis.
4428         * src/passwd.c: Avoid implicit conversion of pointers / integers /
4429         chars to booleans.
4430         * src/passwd.c: Move the "context_t c" declaration at the
4431         beginning check_selinux_access.
4432         * src/passwd.c: Ignore return value of setlocale(),
4433         bindtextdomain(), and textdomain().
4434
4435 2008-06-10  Nicolas François  <nicolas.francois@centraliens.net>
4436
4437         * src/groupmod.c: Use a bool when possible instead of int
4438         integers.
4439         * src/groupmod.c: Avoid assignments in comparisons.
4440         * src/groupmod.c: Add brackets and parenthesis.
4441         * src/groupmod.c: Avoid implicit conversion of pointers / integers
4442         / chars to booleans.
4443         * src/groupmod.c: Use a %lu format to print GIDs, and cast the GID
4444         to (unsigned long int).
4445         * src/groupmod.c: Ignore return value of setlocale(),
4446         bindtextdomain(), and textdomain().
4447         * src/groupmod.c: Ignore the return value of pam_end() before
4448         exiting.
4449
4450 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4451
4452         * src/su.c: Ignore return value of setlocale(),
4453         bindtextdomain(), and textdomain().
4454
4455 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4456
4457         * src/useradd.c: Use a bool when possible instead of int integers.
4458         * src/useradd.c: Avoid implicit conversion of pointers / integers
4459         / chars to booleans.
4460         * src/useradd.c: Add brackets and parenthesis.
4461         * src/useradd.c: Avoid assignments in comparisons.
4462         * src/useradd.c: Ignore the return value of fclose() for read-only
4463         files.
4464         * src/useradd.c: Ignore the return value of fflush() before
4465         closing the files.
4466         * src/useradd.c: Avoid multi-statements lines.
4467         * src/useradd.c: Ignore return value of setlocale(),
4468         bindtextdomain(), and textdomain().
4469         * src/useradd.c: Ignore the return value of pam_end() before
4470         exiting.
4471
4472 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4473
4474         * src/vipw.c: Use a bool when possible instead of int integers.
4475         * src/vipw.c: Ignore the return value of umask(), when the mask is
4476         set again to the old value.
4477         * src/vipw.c: Avoid implicit conversion of pointers / integers to
4478         booleans.
4479         * src/vipw.c: Add brackets and parenthesis.
4480         * src/vipw.c: Avoid assignments in comparisons.
4481         * src/vipw.c: Ignore return value of setlocale(),
4482         bindtextdomain(), and textdomain().
4483         * src/vipw.c: Add missing termination of the longopts parameter
4484         for getopt_long().
4485
4486 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4487
4488         * src/chgpasswd.c: Use a bool when possible instead of int
4489         integers.
4490         * src/chgpasswd.c: Ignore return value of setlocale(),
4491         bindtextdomain(), and textdomain().
4492         * src/chgpasswd.c: Avoid implicit conversion of integers to
4493         booleans.
4494
4495 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4496
4497         * src/groupdel.c: Use a bool when possible instead of int
4498         integers.
4499         * src/groupdel.c: Avoid implicit conversion of pointers / integers to
4500         booleans.
4501         * src/groupdel.c: Avoid assignments in comparisons.
4502         * src/groupdel.c: Ignore the return value of pam_end() before
4503         exiting.
4504         * src/groupdel.c: Ignore return value of setlocale(),
4505         bindtextdomain(), and textdomain().
4506
4507 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4508
4509         * src/expiry.c: Ignore return value of setlocale(),
4510         bindtextdomain(), and textdomain().
4511         * src/expiry.c: Add brackets and parenthesis.
4512         * src/expiry.c: Avoid assignments in comparisons.
4513         * src/expiry.c: Avoid implicit conversion of pointers to booleans.
4514
4515 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4516
4517         * src/pwunconv.c: Use a bool when possible instead of int
4518         integers.
4519         * src/pwunconv.c: Add brackets and parenthesis.
4520         * src/pwunconv.c: Ignore return value of setlocale(),
4521         bindtextdomain(), and textdomain().
4522         * src/pwunconv.c: Avoid implicit conversion of pointers / integers
4523         / chars to booleans.
4524         * src/pwunconv.c: Avoid assignments in comparisons.
4525
4526 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4527
4528         * src/usermod.c: Use a bool when possible instead of int integers.
4529         * src/usermod.c: Add brackets and parenthesis.
4530         * src/usermod.c: Avoid implicit conversion of pointers / integers
4531         / chars to booleans.
4532         * src/usermod.c: Avoid assignments in comparisons.
4533         * src/usermod.c: Ignore return value of setlocale(),
4534         bindtextdomain(), and textdomain().
4535         * src/usermod.c: Ignore the return value of pam_end() before
4536         exiting.
4537
4538 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4539
4540         * src/groupmems.c: Move the declaration of option_index and
4541         long_options before the blocks of code.
4542         * src/groupmems.c: Ignore return value of setlocale(),
4543         bindtextdomain(), and textdomain().
4544         * src/groupmems.c: Ignore the return value of pam_end() before
4545         exiting.
4546
4547 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4548
4549         * src/chfn.c: Use a bool when possible instead of int integers.
4550         * src/chfn.c: Avoid implicit conversion of integers / chars to
4551         booleans.
4552         * src/chfn.c: Ignore return value of setlocale(),
4553         bindtextdomain(), and textdomain().
4554
4555 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4556
4557         * src/logoutd.c: Use a bool when possible instead of int integers.
4558         * src/logoutd.c: Avoid implicit conversion of pointers / integers
4559         / chars to booleans.
4560         * src/logoutd.c: Ignore return value of setlocale(),
4561         bindtextdomain(), and textdomain().
4562         * src/logoutd.c: Add brackets and parenthesis.
4563
4564 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4565
4566         * src/chpasswd.c: Use a bool when possible instead of int
4567         integers.
4568         * src/chpasswd.c: Avoid implicit conversion of pointers / integers
4569         / chars to booleans.
4570         * src/chpasswd.c: Ignore return value of setlocale(),
4571         bindtextdomain(), and textdomain().
4572
4573 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4574
4575         * src/pwconv.c: Use a bool when possible instead of int integers.
4576         * src/pwconv.c: Add brackets and parenthesis.
4577         * src/pwconv.c: Ignore return value of setlocale(),
4578         bindtextdomain(), and textdomain().
4579         * src/pwconv.c: Avoid implicit conversion of pointers / integers /
4580         chars to booleans.
4581
4582 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4583
4584         * NEWS, src/newusers.c: Implement the -r, --system option.
4585         * src/newusers.c: Use a bool when possible instead of int
4586         integers.
4587         * src/newusers.c: Avoid implicit conversion of pointers / integers
4588         / chars to booleans.
4589         * src/newusers.c: Ignore the return value of pam_end() before
4590         exiting.
4591         * src/newusers.c: Ignore return value of setlocale(),
4592         bindtextdomain(), and textdomain().
4593         * src/newusers.c: Avoid multi-statements lines.
4594         * src/newusers.c: Add brackets and parenthesis.
4595
4596 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4597
4598         * src/gpasswd.c: Use a bool when possible instead of int integers.
4599         * src/gpasswd.c: Avoid implicit conversion of pointers / integers
4600         / chars to booleans.
4601         * src/gpasswd.c: Ignore the return value of putchar() and fflush()
4602         before exiting.
4603         * src/gpasswd.c: check_list() renamed is_valid_user_list(), and
4604         return a bool.
4605         * src/gpasswd.c: Ignore return value of setlocale(),
4606         bindtextdomain(), and textdomain().
4607
4608 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4609
4610         * src/grpck.c: Use a bool when possible instead of int integers.
4611         * src/grpck.c: Ignore return value of setlocale(),
4612         bindtextdomain(), and textdomain().
4613
4614 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4615
4616         * src/lastlog.c: Use a bool when possible instead of int integers.
4617         * src/lastlog.c: Avoid implicit conversion of pointers / integers
4618         / chars to booleans.
4619         * src/lastlog.c: Add brackets and parenthesis.
4620         * src/lastlog.c: Ignore return value of setlocale(),
4621         bindtextdomain(), and textdomain().
4622
4623 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4624
4625         * src/userdel.c: Use a bool for the is_shadow_pwd, is_shadow_grp,
4626         deleted_user_group, was_member, was_admin, and the
4627         options' flags.
4628         * src/userdel.c: Change path_prefix() prototype to return a bool.
4629         * src/userdel.c: Ignore return value of setlocale(),
4630         bindtextdomain(), and textdomain().
4631         * src/userdel.c: Ignore the return value from pam_end() since we
4632         are exiting anyway just afterwards.
4633         * src/userdel.c: Avoid implicit conversion of pointers /
4634         integers / chars to booleans.
4635         * src/userdel.c: Add brackets and parenthesis.
4636         * src/userdel.c: Avoid assignments in comparisons.
4637         * src/userdel.c: Do not ignore the return value of the *_unlock()
4638         functions.
4639
4640 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4641
4642         * src/login_nopam.c: Do not use the YES and NO macros. Use the
4643         booleans true and false instead. Change the prototypes of
4644         list_match(), user_match(), from_match(), and string_match()
4645         accordingly. Also use booleans internally.
4646         * src/login_nopam.c: Add brackets and parenthesis.
4647         * src/login_nopam.c: Avoid implicit conversion of pointers /
4648         integers / chars to booleans.
4649         * src/login_nopam.c: Avoid assignments in comparisons.
4650
4651 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4652
4653         * src/newgrp.c: Use a bool for is_newgrp, notfound, needspasswd,
4654         initflag, and cflag.
4655         * src/newgrp.c: Add brackets and parenthesis.
4656         * src/newgrp.c: Avoid implicit conversion of pointers / integers /
4657         chars to booleans.
4658         * src/newgrp.c: Avoid multi-statements lines.
4659         * src/newgrp.c: Ignore return value of setlocale(),
4660         bindtextdomain(), and textdomain().
4661         * src/newgrp.c: Avoid assignments in comparisons.
4662
4663 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4664
4665         * libmisc/list.c: Change is_on_list() prototype to return a bool.
4666
4667 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4668
4669         * libmisc/find_new_ids.c: Change find_new_uid() and find_new_gid()
4670         prototypes to use a bool for their first argument (sys_user /
4671         sys_group).
4672
4673 2008-06-09  Nicolas François  <nicolas.francois@centraliens.net>
4674
4675         * libmisc/console.c: Change is_listed() prototype to return a bool.
4676         The default parameter should also be a bool.
4677         * libmisc/console.c: Add brackets and parenthesis.
4678         * libmisc/console.c: Avoid assignments in comparisons.
4679         * libmisc/console.c: Change console() prototype to return a bool.
4680
4681 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4682
4683         * lib/sgetspent.c: Add brackets and parenthesis.
4684         * lib/sgetspent.c: Avoid assignments in comparisons.
4685         * lib/sgetspent.c: Avoid implicit conversion of pointers / chars
4686         to booleans.
4687         * lib/sgetspent.c: Avoid multi-statements lines.
4688
4689 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4690
4691         * lib/sgetpwent.c: Avoid implicit conversion of pointers / chars to
4692         booleans.
4693         * lib/sgetpwent.c: Add brackets and parenthesis.
4694         * lib/sgetpwent.c: Return NULL instead of 0.
4695         * lib/sgetpwent.c: Do not check twice if fields[2] and fields[3]
4696         are not empty.
4697         * lib/sgetpwent.c: Avoid assignments in comparisons.
4698
4699 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4700
4701         * libmisc/getdate.y: abbrev is a bool.
4702         * libmisc/getdate.y: Avoid implicit conversion of pointers / chars /
4703         integers to booleans.
4704
4705 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4706
4707         * lib/prototypes.h: Fix prototypes according to earlier changes
4708         (usage of the bool type).
4709         * lib/prototypes.h: Add the arguments' name to the prototypes.
4710
4711 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4712
4713         * lib/groupio.h: Add protection against multiple inclusions.
4714
4715 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4716
4717         * lib/pwio.h: Add protection against multiple inclusions.
4718         * lib/pwio.c: The changed, isopen, locked, and readonly fields
4719         of the db are booleans.
4720
4721 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4722
4723         * lib/shadowio.h, lib/shadowio.c: spw_file_present returns a bool.
4724         * lib/shadowio.h: Add protection against multiple inclusions.
4725         * lib/shadowio.c: The changed, isopen, locked, and readonly fields
4726         of the db are booleans.
4727
4728 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4729
4730         * lib/sgroupio.c: Avoid assignments in comparisons.
4731         * lib/sgroupio.c: Add brackets.
4732         * lib/sgroupio.c: Avoid implicit conversion of pointers / integers
4733         to booleans.
4734         * lib/sgroupio.c: The changed, isopen, locked, and readonly fields
4735         of the db are booleans.
4736         * lib/sgroupio.h, lib/sgroupio.c: sgr_file_present returns a bool.
4737         * lib/sgroupio.h: Add protection against multiple inclusions.
4738
4739 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4740
4741         * lib/gshadow.c: nis_used and nis_bound are booleans.
4742         * lib/gshadow.c: Avoid implicit conversion of pointers / integers
4743         to booleans.
4744         * lib/gshadow.c: Avoid assignments in comparisons.
4745         * lib/gshadow.c: Add brackets.
4746
4747 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4748
4749         * lib/groupio.c: The changed, isopen, locked, and readonly fields
4750         of the db are booleans.
4751         * lib/groupio.h: Add protection against multiple inclusion.
4752
4753 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4754
4755         * lib/sgetgrent.c: Avoid implicit conversion of pointers / chars
4756         to booleans.
4757         * lib/sgetgrent.c: Avoid assignments in comparisons.
4758         * lib/sgetgrent.c: Add brackets.
4759
4760 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4761
4762         * lib/encrypt.c: Avoid implicit conversion of pointers to
4763         booleans.
4764         * lib/encrypt.c: Add parenthesis.
4765
4766 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4767
4768         * lib/port.c: Avoid implicit conversion of pointers / integers /
4769         chars to booleans.
4770         * lib/port.c: Avoid multiple statement on the same line.
4771         * lib/port.c: Add brackets and parenthesis.
4772         * lib/port.c: Avoid assignments in comparisons.
4773         * lib/port.c: Fix typo comparision -> comparison (in comment).
4774
4775 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4776
4777         * lib/fputsx.c: Add brackets.
4778         * lib/fputsx.c: Avoid assignments in comparisons.
4779         * lib/fputsx.c: Avoid implicit conversion of pointers / integers /
4780         chars to booleans.
4781
4782 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4783
4784         * lib/commonio.h: commonio_entry.changed, commonio_db.changed,
4785         commonio_db.isopen, commonio_db.locked, and commonio_db.readonly
4786         are no booleans.
4787         * lib/commonio.h: Include defines.h to get the definition of bool.
4788         * lib/commonio.h: commonio_present returns a bool
4789         * lib/commonio.c: Implement above changes.
4790         * lib/commonio.c: add argument names in prototypes.
4791         * lib/commonio.c: name_is_nis returns a bool.
4792         * lib/commonio.c: nscd_need_reload is a bool.
4793         * lib/commonio.c: Improve types (use size_t / pid_t when needed
4794         instead of int).
4795         * lib/commonio.c: Avoid assignments in comparisons.
4796         * lib/commonio.c: Add brackets and parenthesis.
4797         * lib/commonio.c: Avoid implicit conversion of pointers / integers
4798         to booleans
4799         * lib/commonio.c: The return values of utime is not checked on
4800         purpose.
4801
4802 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4803
4804         * libmisc/isexpired.c: ARGSUSED is no more needed (shadow is
4805         always supported).
4806         * libmisc/isexpired.c: Avoid implicit conversion of pointers to
4807         booleans.
4808         * libmisc/isexpired.c: Add brackets and parenthesis.
4809
4810 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4811
4812         * libmisc/sulog.c (sulog): The success argument is a bool.
4813         * libmisc/sulog.c: The return values of fflush is not checked on
4814         purpose.
4815         * libmisc/sulog.c: Indicate that some return values should be
4816         checked.
4817
4818 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4819
4820         * libmisc/ttytype.c: Avoid implicit conversion of pointers /
4821         integers to booleans.
4822         * libmisc/ttytype.c: Avoid assignments in comparisons.
4823         * libmisc/ttytype.c: Add brackets and parenthesis.
4824         * libmisc/ttytype.c: The return values of fclose is not checked on
4825         purpose.
4826
4827 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4828
4829         * libmisc/mail.c: Avoid implicit conversion of pointers to
4830         booleans.
4831         * libmisc/mail.c: Avoid assignments in comparisons.
4832
4833 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4834
4835         * libmisc/loginprompt.c: Avoid implicit conversion of pointers /
4836         chars to booleans.
4837         * libmisc/loginprompt.c: Add brackets.
4838         * libmisc/loginprompt.c: Avoid assignments in comparisons.
4839         * libmisc/loginprompt.c: The return values of fclose and fflush
4840         are not checked on purpose.
4841
4842 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4843
4844         * libmisc/setupenv.c: Avoid implicit conversion of chars to
4845         booleans.
4846
4847 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4848
4849         * libmisc/copydir.c: selinux_checked, selinux_enabled, and set_orig
4850         are now booleans.
4851
4852 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4853
4854         * libmisc/setugid.c (setup_uid_gid): The is_console argument is now
4855         a bool.
4856         * libmisc/setugid.c: Avoid implicit conversion of integers /
4857         pointers to booleans.
4858         * libmisc/setugid.c: Add brackets.
4859
4860 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4861
4862         * libmisc/pam_pass.c (do_pam_passwd): The silent and
4863         change_expired are no booleans instead of int.
4864         * libmisc/pam_pass.c: The return value of pam_end is not checked
4865         on purpose.
4866
4867 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4868
4869         * libmisc/getlong.c: Avoid implicit conversion of pointers / chars
4870         to booleans.
4871         * libmisc/getlong.c: Add brackets.
4872
4873 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4874
4875         * libmisc/valid.c: Avoid implicit conversion of pointers / chars
4876         to booleans.
4877         * libmisc/valid.c: Add brackets.
4878
4879 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4880
4881         * libmisc/yesno.c: yes_or_no returns a bool instead of int.
4882         * libmisc/yesno.c: Avoid implicit conversion of pointers to
4883         booleans.
4884         * libmisc/yesno.c: The return value of fflush is not checked
4885         on purpose.
4886
4887 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4888
4889         * libmisc/age.c: Avoid implicit conversion of integers to
4890         booleans.
4891
4892 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4893
4894         * libmisc/rlogin.c: Avoid assignments in comparisons.
4895         * libmisc/rlogin.c: Avoid implicit conversion of integers to
4896         booleans.
4897         * libmisc/rlogin.c: Add brackets.
4898
4899 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
4900
4901         * libmisc/failure.c (failcheck): The failed argument is a bool.
4902         * libmisc/failure.h: Likewise.
4903         * libmisc/failure.c (too_many_failures): too_many_failures returns
4904         a bool.
4905         * libmisc/failure.c: Add notes about unchecked return values.
4906         * libmisc/failure.c: Avoid assignments in comparisons.
4907         * libmisc/failure.c: Add brackets.
4908
4909 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4910
4911         * libmisc/myname.c: Avoid assignments in comparisons.
4912         * libmisc/myname.c: Avoid implicit conversion of pointers / chars
4913         to booleans.
4914         * libmisc/myname.c: Add brackets.
4915
4916 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4917
4918         * libmisc/utmp.c (checkutmp): Change picky argument's type to
4919         bool.
4920         * libmisc/utmp.c: Use bool when possible (found_utmpx,
4921         found_utmp).
4922         * libmisc/utmp.c: Add note about unchecked return values.
4923
4924 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4925
4926         * libmisc/addgrps.c: Change type of added to bool.
4927         * libmisc/addgrps.c: Avoid implicit conversion of pointers to
4928         booleans.
4929
4930 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4931
4932         * libmisc/hushed.c: hushed returns a bool instead of int.
4933         * libmisc/hushed.c: Avoid assignments in comparisons.
4934         * libmisc/hushed.c (hushed): Change type of found to bool.
4935         * libmisc/hushed.c: Add brackets.
4936         * libmisc/hushed.c: Always check if the user or the shell is in
4937         the file. Do not check the first character of the line first. This
4938         is simpler and match better with the HUSHLOGIN_FILE documentation.
4939
4940 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4941
4942         * lib/getdef.h, lib/getdef.c: getdef_bool returns a bool instead
4943         of int.
4944         * lib/getdef.c: Change typo of def_loaded to bool.
4945         * lib/getdef.c: Add brackets.
4946         * lib/getdef.c: Avoid assignments in comparisons.
4947
4948 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4949
4950         * libmisc/chowntty.c: is_my_tty returns a bool.
4951         * libmisc/chowntty.c: Avoid implicit conversion of integers to
4952         booleans.
4953         * libmisc/chowntty.c: Add brackets.
4954
4955 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4956
4957         * libmisc/chowndir.c: Avoid assignment in comparisons, implicit
4958         comparison of integers to booleans.
4959         * libmisc/chowndir.c: The return value of closedir is not checked
4960         on purpose.
4961         * libmisc/chowndir.c: Add brackets.
4962
4963 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4964
4965         * libmisc/chkname.h, libmisc/chkname.c: check_group_name (resp.
4966         check_user_name) renamed to is_valid_user_name (resp.
4967         is_valid_group_name). is_valid_user_name and is_valid_group_name
4968         return a bool.
4969         * src/grpck.c, src/newusers.c, src/usermod.c, src/useradd.c,
4970         src/groupmod.c, src/pwck.c, src/groupadd.c: Use is_valid_user_name
4971         and is_valid_group_name, following above change.
4972         * libmisc/chkname.c: Avoid implicit conversion of chars to
4973         booleans. Add brackets and parenthesis.
4974
4975 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4976
4977         * libmisc/xmalloc.c: Avoid implicit conversion of integers /
4978         pointers to booleans.
4979         * libmisc/xgetXXbyYY.c: Likewise.
4980
4981 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4982
4983         * configure.in, lib/defines.h: Allow usage of booleans in the
4984         source.
4985
4986 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
4987
4988         * configure.in: Allow --disable-man and --enable-man=no.
4989
4990 2008-06-26  Nicolas François  <nicolas.francois@centraliens.net>
4991
4992         Prepare the 4.1.2.1 release
4993         * NEWS: set the release date.
4994         * man/po/*.po, po/*.po: Updated PO files.
4995         * configure.in: Set the version to 4.1.2.1.
4996
4997 2008-06-26  Nicolas François  <nicolas.francois@centraliens.net>
4998
4999         * NEWS, src/login.c: Fix an "audit log injection" vulnerability in
5000         login. This is similar to CVE-2008-1926 (util-linux-ng's login).
5001         This vulnerability makes it easier for attackers to hide
5002         activities by modifying portions of log events, e.g. by appending
5003         an addr= statement to the login name.
5004         * lib/prototypes.h: Added definition of AUDIT_NO_ID.
5005
5006 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5007
5008         Prepare the 4.1.2 release
5009         * NEWS: set the release date.
5010         * man/po/*.po, po/*.po: Updated PO files.
5011         * configure.in: Set the version to 4.1.2.
5012
5013 2008-05-25  Nicolas François  <nicolas.francois@centraliens.net>
5014
5015         * po/Makevars, man/po/Makefile.in.in: Run msgmerge with
5016         --previous. (This requires gettext >= 0.16)
5017
5018 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5019
5020         * libmisc/copydir.c (remove_tree): As we always use remove_tree
5021         followed by rmdir to remove the directory itself, delete also the
5022         root directory in remove_tree.
5023         * src/userdel.c, src/usermod.c: Do not call rmdir after
5024         remove_tree.
5025
5026 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5027
5028         * libmisc/copydir.c (remove_tree): Make sure unlink is successful
5029         when removing files.
5030
5031 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5032
5033         * libmisc/pwdcheck.c: Simply passwd_check since it's never used
5034         when configured with PAM support.
5035
5036 2008-05-24  Nicolas François  <nicolas.francois@centraliens.net>
5037
5038         Fix compiler warnings:
5039         * libmisc/audit_help.c: Include prototypes.h to get the prototype
5040         of audit_help_open.
5041         * libmisc/salt.c: Use booleans instead of negating integers.
5042         * src/passwd.c: Declare the check_selinux_access prototype and
5043         avoid name clashes (change_user -> changed_user; change_uid ->
5044         changed_uid; access -> requested_access)
5045         * libmisc/list.c: Avoid assignments in comparisons, assignments
5046         with post increments (x++), use of integers as booleans, and
5047         explicitly mark blocks with brackets.
5048         * libmisc/fields.c: Likewise.
5049         * libmisc/copydir.c: Likewise.
5050         * libmisc/fields.c: Add comments.
5051         * libmisc/copydir.c: Mark function whose return value is not
5052         checked as such.
5053
5054 2008-05-23  Nicolas François  <nicolas.francois@centraliens.net>
5055
5056         * libmisc/pam_pass.c: Use fputs rather than fprintf for constant
5057         strings.
5058
5059 2008-05-21  Nicolas François  <nicolas.francois@centraliens.net>
5060
5061         * man/login.1.xml: Indicate that login should be executed with
5062         "exec login" if called from a shell.
5063
5064 2008-05-21  Nicolas François  <nicolas.francois@centraliens.net>
5065
5066         * man/passwd.1.xml: Remove the advices for the choice of a good
5067         password (they are debatable). Point to
5068         http://en.wikipedia.org/wiki/Password_strength instead.
5069
5070 2008-05-20  Nicolas François  <nicolas.francois@centraliens.net>
5071
5072         * NEWS, libmisc/salt.c (SHA_salt_size): Seed the RNG, and fix a
5073         overflow. These caused the SHA salt size to always be 8 bytes,
5074         instead of being in the 8-16 range. Thanks to Peter Vrabec
5075         pvrabec@redhat.com for noticing.
5076         * NEWS, libmisc/salt.c (SHA_salt_rounds): Seed the RNG with
5077         seedRNG instead of srand, and fix the same overflow. This caused
5078         the number of rounds to always be the smallest one.
5079
5080 2008-05-20  Nicolas François  <nicolas.francois@centraliens.net>
5081
5082         * man/newusers.8.xml man/groupmems.8.xml man/groupdel.8.xml
5083         man/useradd.8.xml man/groupadd.8.xml man/newgrp.1.xml man/sg.1.xml
5084         man/chgpasswd.8.xml man/groupmod.8.xml: Tag the section which
5085         require --enable-shadowgrp accordingly.
5086
5087 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5088
5089         * man/login.defs.5.xml: SHA_CRYPT_MAX_ROUNDS and
5090         SHA_CRYPT_MIN_ROUNDS can only exist if configured with
5091         --with-sha-crypt.
5092
5093 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5094
5095         * NEWS, man/useradd.8.xml: Document the -k, --skel option, and
5096         update the -m, --create-home documentation.
5097
5098 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5099
5100         * man/useradd.8.xml: Sort options.
5101
5102 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5103
5104         * lib/getdef.c: SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can
5105         only exist if configured with --with-sha-crypt.
5106         * man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Likewise.
5107
5108 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5109
5110         * libmisc/salt.c: Document the section closed by #endif
5111
5112 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5113
5114         * src/useradd.c: Fix formatting.
5115
5116 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
5117
5118         * NEWS, man/useradd.8.xml: Document the -r, --system option.
5119         * NEWS, man/groupadd.8.xml: Document the -r, --system option.
5120         * NEWS, man/newusers.8.xml: Document the -r, --system option.
5121         * NEWS, man/newusers.8.xml: Document the -c, --crypt-method and
5122         -s, --sha-rounds options.
5123
5124 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5125
5126         Import Debian patch 487_passwd_chauthtok_failed_message
5127         * libmisc/pam_pass.c: Be more verbose and indicate that the
5128         password was not changed when pam_chauthtok fails (in addition to
5129         the PAM error, which may not be comprehensible for the users).
5130
5131 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5132
5133         Import Debian patch 434_login_stop_checking_args_after--
5134         * NEWS, src/login.c (check_flags): Stop checking the arguments
5135         after --. The later options will be sent to the shell, and do not
5136         need to be checked.
5137
5138 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5139
5140         * src/vipw.c, src/su.c, src/newgrp.c: Harmonize the children's
5141         SIGSTOP handling. Raise the signal which stopped the child instead
5142         of always SIGSTOP.
5143
5144 2008-05-18  Nicolas François  <nicolas.francois@centraliens.net>
5145
5146         Import Debian patch 406_vipw_resume_properly.
5147         Thanks to Dean Gaudet.
5148         * NEWS, src/vipw.c: Resume properly after ^Z.
5149
5150 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
5151
5152         * lib/getdef.c, lib/lockpw.c, lib/utent.c, lib/sgetgrent.c,
5153         lib/getdef.h, lib/pwauth.c, lib/sgetspent.c, lib/pwauth.h,
5154         lib/port.c, lib/encrypt.c, lib/groupio.c, lib/shadowmem.c,
5155         lib/port.h, lib/groupio.h, lib/groupmem.c, lib/exitcodes.h,
5156         lib/gshadow.c, lib/gshadow_.h, lib/sgroupio.c, lib/sgroupio.h,
5157         lib/shadowio.c, lib/pwio.c, lib/sgetpwent.c, lib/commonio.c,
5158         lib/faillog.h, lib/shadowio.h, lib/pwio.h, lib/pam_defs.h,
5159         lib/pwmem.c, lib/commonio.h, lib/shadow.c, lib/fputsx.c,
5160         lib/prototypes.h, libmisc/xmalloc.c, libmisc/limits.c,
5161         libmisc/entry.c, libmisc/console.c, libmisc/ulimit.c,
5162         libmisc/xgetXXbyYY.c, libmisc/chkname.c, libmisc/pwd2spwd.c,
5163         libmisc/xgetpwnam.c, libmisc/basename.c, libmisc/chkname.h,
5164         libmisc/chowndir.c, libmisc/audit_help.c, libmisc/chowntty.c,
5165         libmisc/hushed.c, libmisc/xgetpwuid.c, libmisc/getdate.h,
5166         libmisc/addgrps.c, libmisc/xgetgrgid.c, libmisc/utmp.c,
5167         libmisc/myname.c, libmisc/failure.c, libmisc/find_new_ids.c,
5168         libmisc/env.c, libmisc/rlogin.c, libmisc/age.c, libmisc/failure.h,
5169         libmisc/xgetgrnam.c, libmisc/yesno.c, libmisc/valid.c,
5170         libmisc/getlong.c, libmisc/obscure.c, libmisc/pam_pass.c,
5171         libmisc/motd.c, libmisc/salt.c, libmisc/setugid.c,
5172         libmisc/fields.c, libmisc/xgetspnam.c, libmisc/shell.c,
5173         libmisc/copydir.c, libmisc/setupenv.c, libmisc/strtoday.c,
5174         libmisc/loginprompt.c, libmisc/list.c, libmisc/pwd_init.c,
5175         libmisc/log.c, libmisc/mail.c, libmisc/ttytype.c,
5176         libmisc/pwdcheck.c, libmisc/sub.c, libmisc/sulog.c,
5177         libmisc/isexpired.c, libmisc/tz.c, src/newgrp.c, src/userdel.c,
5178         src/lastlog.c, src/grpck.c, src/gpasswd.c, src/newusers.c,
5179         src/pwconv.c, src/chpasswd.c, src/logoutd.c, src/chfn.c,
5180         src/groupmems.c, src/usermod.c, src/pwunconv.c, src/expiry.c,
5181         src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
5182         src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
5183         src/groupadd.c, src/nologin.c, src/chage.c, src/login.c,
5184         src/suauth.c, src/faillog.c, src/grpconv.c, src/groups.c,
5185         src/sulogin.c, src/grpunconv.c, src/chsh.c, src/id.c: Make sure
5186         every source files are distributed with a copyright and license.
5187         Files with no license use the default 3-clauses BSD license. The
5188         copyright were mostly not recorded; they were updated according to
5189         the Changelog. "Julianne Frances Haugh and contributors" changed
5190         to "copyright holders and contributors".
5191
5192 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
5193
5194         * NEWS, libmisc/sulog.c: If the SULOG_FILE does not exist when an
5195         su session is logged, make sure the file is created with group
5196         root, instead of using the group of the caller.
5197
5198 2008-04-27  Nicolas François  <nicolas.francois@centraliens.net>
5199
5200         * NEWS, libmisc/fields.c, src/chfn.c, man/chfn.1.xml: Allow
5201         non-US-ASCII characters in the GECOS fields ("name", "room
5202         number", and "other info" fields).
5203
5204 2008-04-17  Nicolas François  <nicolas.francois@centraliens.net>
5205
5206         * NEWS, src/newgrp.c: Fix compilation failure when compiled with
5207         audit support. Thanks to Mike Frysinger for reporting it.
5208
5209 2008-04-16  Nicolas François  <nicolas.francois@centraliens.net>
5210
5211         Ensure that getpwent() is used in setpwent(), getpwent(),
5212         endpwend() sequences (ditto for getgrent(), getspent(), and
5213         getsgent()). The only real (minor) issue was in login, which kept
5214         the passwd file open.
5215         * libmisc/entry.c: Remove unneeded setspent() and endspent() (only
5216         getspnam is called in the middle).
5217         * libmisc/find_new_ids.c: Make sure to close the password and
5218         group files with endpwent() and endgrent().
5219         * libmisc/pwdcheck.c: Remove unneeded endspent() (only getspnam()
5220         is called before).
5221         * src/lastlog.c, src/passwd.c, src/groupmod.c, src/faillog.c,
5222         src/groups.c: Make sure to close
5223         the password file with endpwent().
5224         * src/login.c: Remove unneeded setpwent() (only xgetpwnam is
5225         called before).
5226         * src/login.c, src/newgrp.c: Fix typos in comments.
5227
5228 2008-04-16  Nicolas François  <nicolas.francois@centraliens.net>
5229
5230         * NEWS, configure.in: Fix the detection of the audit, pam, and
5231         selinux. Fail if the feature is requested but the library (or
5232         header file) could not be found. If nothing is specified, enable
5233         the feature only if we can find the library (or header file).
5234         * configure.in: Document --with-selinux as "yes if found" rather
5235         than "autodetected" for consistency with other options.
5236
5237 2008-04-04  Mark Rosenstand  <mark@borkware.net>
5238
5239         * NEWS, etc/pam.d/Makefile.am: Add chfn, chsh, and userdel to
5240         $(pamd_files). Remove the duplicate useradd. And sort
5241         alphabetically.
5242
5243 2008-04-04  Nicolas François  <nicolas.francois@centraliens.net>
5244
5245         * NEWS: Prepare next release, 4.1.2.
5246
5247 2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
5248
5249         * NEWS, configure.in: Prepare release 4.1.1
5250         * NEWS: Fix the release date of 4.1.0. Was in 2007, not 2008.
5251
5252 2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
5253
5254         * po/fr.po: Update according to the file under review.
5255         Thanks to Jean-Luc Coulon.
5256
5257 2008-04-01  Holger Wansing  <linux@wansing-online.de>
5258
5259         * po/de.po: updated to 431t
5260
5261 2008-03-31  Piarres Beobide  <pi+debian@beobide.net>
5262
5263         * po/eu.po: updated to 431t
5264
5265 2008-03-30  Leandro Azevedo  <leorock182@gmail.com>
5266
5267         * po/pt_BR.po: updated to 360t71f
5268
5269 2008-03-30  Mehmet Türker <mturker@innova.com.tr>
5270
5271         * po/tr.po: updated to 431t
5272
5273 2008-03-30  Clytie Siddall  <clytie@riverland.net.au>
5274
5275         * po/vi.po: updated to 431t
5276
5277 2008-03-30  Daniel Nylander  <yeager@ubuntu.com>
5278
5279         * po/sv.po: updated to 431t
5280
5281 2008-03-29  helix84 <helix84@centrum.sk>
5282
5283         * po/sk.po: updated to 431t
5284
5285 2008-03-27  Danilo Piazzalunga  <danilopiazza@gmail.com>
5286
5287         * po/it.po: updated to 431t
5288
5289 2008-03-26  Nicolas François  <nicolas.francois@centraliens.net>
5290
5291         * TODO: Added entries regarding SE Linux.
5292
5293 2008-03-26  Russell Coker  <russell@coker.com.au>
5294
5295         * src/passwd.c, NEWS: Make SE Linux tests more strict, when the
5296         real UID is 0 SE Linux checks will be performed.
5297
5298 2008-03-24  Yuri Kozlov  <kozlov.y@gmail.com>
5299
5300         * po/ru.po: updated to 431t
5301
5302 2008-03-23  Miguel Figueiredo  <elmig@debianpt.org>
5303
5304         * po/pt.po: updated to 431t
5305
5306 2008-03-21  Changwoo Ryu  <cwryu@debian.org>
5307
5308         * po/ko.po: updated to 431t
5309
5310 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5311
5312         * man/login.defs.5.xml: Fix manpages generation. The SYS_GID_MAX
5313         and SYS_UID_MAX entities were not defined.
5314
5315 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5316
5317         * src/faillog.c: Fix minor compilation warning (assignment used as
5318         a comparison).
5319
5320 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5321
5322         * lib/prototypes.h, src/login.c: login_access() is used in
5323         src/login.c, and defined in src/login_nopam.c (which lacks a
5324         prototype). Move its prototype from src/login.c to
5325         lib/prototypes.h.
5326
5327 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5328
5329         * src/gpasswd.c, src/groupmod.c: Compilation fix. gshadow_locked
5330         should only be used if SHADOWGRP is defined.
5331
5332 2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
5333
5334         * src/grpck.c: Fix some warnings. compare_members_lists() is only
5335         used if SHADOWGRP is defined.
5336
5337 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5338
5339         * NEWS, src/groupmod.c: Make sure the passwd, group, and gshadow
5340         files are unlocked on exit. Unlock locked files in fail_exit().
5341         Prefer fail_exit() over exit().
5342         * NEWS, src/groupmod.c: When the GID of a group is changed, update
5343         also the GID of the passwd entries of the users whose primary
5344         group is the group being modified.
5345
5346 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5347
5348         * lib/commonio.c (commonio_remove): Fail when the name to be
5349         removed is used by different entries (like commonio_update does).
5350         * NEWS: This fix the behavior of groupdel when the system is not
5351         configured to support split group but different group entries
5352         have the name of the group to be deleted.
5353
5354 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5355
5356         * NEWS, src/useradd.c: Make sure the passwd, group, shadow, and
5357         gshadow files are unlocked on exit. Unlock locked files in
5358         fail_exit(). Prefer fail_exit() over exit().
5359
5360 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5361
5362         * NEWS, src/groupdel.c: Make sure the group, and gshadow files are
5363         unlocked on exit. Add function fail_exit(). Use fail_exit()
5364         instead of exit().
5365         * src/groupdel.c: Fail immediately instead of increasing errors.
5366         Better handling of error cases, like locked group or gshadow file.
5367
5368 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5369
5370         * NEWS, src/newusers.c: Make sure the passwd, group, shadow, and
5371         gshadow files are unlocked on exit. Add function fail_exit(). Use
5372         fail_exit() instead of exit().
5373
5374 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5375
5376         * NEWS, src/gpasswd.c: Make sure the group and gshadow files are
5377         unlocked on exit. Add function fail_exit(). Use fail_exit()
5378         instead of exit().
5379
5380 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5381
5382         * NEWS, src/groupdel.c: Do not rewrite the group and gshadow file
5383         in case of error.
5384
5385 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5386
5387         * src/groupdel.c: Do not log that the group was deleted if an
5388         error occurred.
5389
5390 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5391
5392         * NEWS, src/groupdel.c: Do not raise an error if the group does
5393         not exist in the gshadow file.
5394
5395 2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
5396
5397         * etc/login.defs: Document MAX_MEMBERS_PER_GROUP.
5398
5399 2008-03-07  Nicolas François  <nicolas.francois@centraliens.net>
5400
5401         * src/newgrp.c: Add missing end of line in message.
5402         * src/newgrp.c: Add audit events for the authentication
5403         (AUDIT_GRP_AUTH). Thansk to Peter Vrabec.
5404
5405 2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
5406
5407         * NEWS, src/faillog.c: Only reset the entries of existing users
5408         with faillog -r (not all numeric IDs starting from 0). Thanks to
5409         Peter Vrabec.
5410
5411 2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
5412
5413         * src/pwunconv.c: Fix typo. One "can't open" message is a "can't
5414         lock".
5415
5416 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
5417
5418         * src/gpasswd.c: When a password is moved to the gshadow file, use
5419         "x" instead of "x" to indicate that the password is shadowed
5420         (consistency with grpconv).
5421
5422 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
5423
5424         * NEWS: Fix failures when the gshadow file is not present. Thanks
5425         to Christian Henz (http://bugs.debian.org/467488)
5426         * src/gpasswd.c (get_group): Do not fail if gshadow is not present. Just use
5427         the group file and set the grent structure
5428         * src/gpasswd.c (check_perms): The permissions should be checked
5429         using both the gshadow and group file. Add a <struct group *>
5430         parameter, and check if the gshadow file exists (is_shadowgrp).
5431         * src/gpasswd.c (main): Do not use sgent.sg_mem or sgent.sg_adm if
5432         the gshadow file is not present (sgent is not initialized in that
5433         case). The fields of sgent can be set, but not used.
5434
5435 2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
5436
5437         * src/gpasswd.c: Fix typo in comment.
5438         * src/gpasswd.c: Move comment regarding FIRST_MEMBER_IS_ADMIN to
5439         where it belongs.
5440         * src/gpasswd.c: Indicate the end of the #ifdef FIRST_MEMBER_IS_ADMIN
5441         section.
5442
5443 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5444
5445         * man/po/Makefile.in.in: Use --previous when merging PO files of
5446         the manpages.
5447
5448 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5449
5450         * man/login.defs.d/SYS_UID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
5451         Document new variables.
5452         * man/newusers.8.xml, man/login.defs.5.xml,
5453         man/login.defs.d/GID_MAX.xml, man/login.defs.d/UID_MAX.xml:
5454         newusers uses now the GID_MAX, GID_MIN, UID_MAX, UID_MIN,
5455         SYS_GID_MAX, SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
5456         * man/groupadd.8.xml, man/login.defs.5.xml: groupadd uses now the
5457         SYS_GID_MAX, and SYS_GID_MIN variables.
5458         * man/login.defs.5.xml: useradd uses now the SYS_GID_MAX,
5459         SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
5460         * man/Makefile.am: Add the new XML documentation files to EXTRA_DIST.
5461
5462 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5463
5464         * lib/getdef.c: Added missing SYS_GID_MAX, SYS_GID_MIN,
5465         SYS_UID_MAX, and SYS_UID_MIN.
5466
5467 2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
5468
5469         * NEWS, src/useradd.c, man/useradd.8.xml: Added options
5470         --user-group (-U, Uflg) and --no-user-group (-N, Nflg) to replace
5471         nflg.
5472         * man/login.defs.d/USERGROUPS_ENAB.xml: useradd now also uses
5473         USERGROUPS_ENAB.
5474
5475 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
5476
5477         * src/groupmod.c: Add missing 'p' to the getopt_long's optstring.
5478
5479 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
5480
5481         * src/groupadd.c: Add missing 'p' to the getopt_long's optstring.
5482         * src/groupadd.c: Fix --non-unique's has_arg field to no_argument
5483         instead of required_argument.
5484         * src/groupadd.c: Add missing -p, --password description to the
5485         Usage message.
5486
5487 2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
5488
5489         * NEWS, etc/login.defs: Set GID_MIN to the same value as UID_MIN
5490         by default (1000).
5491         * NEWS, etc/login.defs: Added variables SYS_UID_MIN (100),
5492         SYS_UID_MAX (999), SYS_GID_MIN (100), SYS_GID_MAX (999) for system
5493         accounts.
5494         * libmisc/find_new_ids.c: Added support for system accounts in
5495         find_new_uid() and find_new_gid().
5496         * NEWS, src/newusers.c, src/useradd.c, src/groupadd.c: Added new
5497         option -r, --system for system accounts in useradd, groupadd, and
5498         newusers.
5499
5500 2008-02-18  Nicolas François  <nicolas.francois@centraliens.net>
5501
5502         * NEWS, src/groupmems.c: Fix buffer overflow when adding an user
5503         to a group. Thanks to Peter Vrabec.
5504
5505 2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
5506
5507         * NEWS, etc/useradd: Change the default HOME directory in
5508         /etc/default/useradd according FHS (/home instead of /home/users).
5509         This fixes Alioth's bug #310559. Thanks to Dale E. Edmons.
5510
5511 2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
5512
5513         * NEWS, src/newgrp.c: Use the correct AUDIT_CHGRP_ID event instead of
5514         AUDIT_USER_START, when changing the user space group ID with
5515         newgrp or sg. Thanks to sgrubb@redhat.com for the patch.
5516
5517 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
5518
5519         * src/usermod.c: Reset oflg with uflg if the new UID is equal to
5520         the old one.
5521         * src/usermod.c: Reset mflg with dflg if the new home directory is
5522         the same as the old one.
5523
5524 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
5525
5526         * NEWS, src/usermod.c: Fix the handling of -a when a user is being
5527         renamed (with -l). The new name of the user was used for the new
5528         supplementary groups, but not in the existing ones.
5529
5530 2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
5531
5532         * src/newusers.c: Set the shadow's password instead of the
5533         passwd's password. Fix wrong cut&paste.
5534
5535 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5536
5537         * src/usermod.c: Use a function to convert the dates from
5538         /etc/shadow to human readable dates.
5539         * src/usermod.c: Really log the expiration date change as human
5540         readable strings instead of integers.
5541         * src/usermod.c: No need to check audit_fd, audit_logger() will
5542         take care of this.
5543
5544 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5545
5546         * src/login.c: Do not translate the fromhost variable. It is
5547         always used for syslog messages.
5548
5549 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5550
5551         * NEWS, lib/defines.h: Switch to the C locale before sending
5552         messages to syslog. The messages sent by shadow were not
5553         translated, but error messages from PAM returned by pam_strerror()
5554         were translated in the users's locale.
5555
5556 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5557
5558         * NEWS: newusers will behave more like useradd.
5559         * src/newusers.c: The user's ID must be found before the group ID
5560         to mimic useradd's behavior choices of UID and GID.
5561         * src/newusers.c: Reuse the generic find_new_uid() and
5562         find_new_gid() functions. This permits to respect the
5563         UID_MIN/UID_MAX and GID_MIN/GID_MAX variables, should 
5564         * src/newusers.c: Check if the user or group exist using the
5565         external databases (with the libc getpwnam/getgrnam functions).
5566         Refuse to update an user which exist in an external database but
5567         does not exist in the local database.
5568         * src/newusers.c: Check the usernames and groupnames with
5569         check_user_name() and check_group_name()
5570         * src/newusers.c: Use isdigit() for readability.
5571         * src/newusers.c: Check if numerical IDs are valid (no remaining
5572         chars).
5573
5574 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5575
5576         * NEWS, src/newusers.c: Fix the support for the NONE crypt method.
5577
5578 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5579
5580         * src/newusers.c: Fix shadow group support (the list of admins was
5581         not defined; it is now set to an empty list).
5582
5583 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5584
5585         * NEWS, libmisc/salt.c: Do not seed the random number generator
5586         each time, and use the time in microseconds to avoid having the
5587         same salt for different passwords generated in the same second.
5588         This permits to avoid using the same salt for different passwords
5589         in newusers.
5590
5591 2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
5592
5593         * lib/pwio.c, lib/pwio.h: New function to find an user by
5594         its UID on the local database.
5595         * lib/groupio.c, lib/groupio.h: New function to find a group by
5596         its GID on the local database.
5597         * libmisc/find_new_ids.c, lib/prototypes.h: Add new generic
5598         functions to find the next user or group ID available:
5599         find_new_uid() and find_new_gid(). They work the same way as the
5600         functions with the same name of useradd or groupadd, except that
5601         they check in the local database to make sure an ID was not
5602         reserved in an uncommitted change (this is needed to be used in
5603         newusers), they report a status instead of calling exit(), and
5604         they can receive a preferred ID. They should later support system
5605         IDs. This should be a little bit slower, but not too much (if the
5606         database is not open the checks against the local database will
5607         exit immediately, and if it is already open, all the checks will be
5608         done regarding the data in memory).
5609         * po/POTFILES.in: The new libmisc/find_new_ids.c file contains
5610         translatable strings.
5611         * libmisc/Makefile.am: Add libmisc/find_new_ids.c to the sources
5612         of the libmisc library.
5613         * src/useradd.c, src/groupadd.c: Use the find_new_uid() and
5614         find_new_gid() from the library instead of the local functions.
5615
5616 2008-02-02  Nicolas François  <nicolas.francois@centraliens.net>
5617
5618         * po/*.po: Updated PO files.
5619         * libmisc/age.c, libmisc/yesno.c, src/lastlog.c, src/grpck.c,
5620         src/chfn.c, src/passwd.c, src/chage.c, src/login.c, src/sulogin.c,
5621         src/chsh.c: Fix call to puts (remove end of line, or use fputs).
5622         * po/*.po: Unfuzzy PO files according to above change.
5623
5624 2008-01-26  Nicolas François  <nicolas.francois@centraliens.net>
5625
5626         Fix build failures with --disable-shadowgrp. Thanks to Jürgen
5627         Daubert for the patch.
5628         * libmisc/salt.c: Include <stdio.h>, needed for stderr and printf
5629         functions.
5630         * lib/encrypt.c: Include <stdio.h>, needed for perror, stderr and
5631         printf functions
5632         * src/usermod.c: sgr_locked exists only if SHADOWGRP is defined.
5633         * src/chgpasswd.c: Only check is the gshadow file exists if
5634         SHADOWGRP is defined.
5635
5636 2008-01-24  Nicolas François  <nicolas.francois@centraliens.net>
5637
5638         * src/gpasswd.c, src/chfn.c, src/chage.c, src/chsh.c, src/grpck.c,
5639         src/vipw.c, src/pwck.c, src/sulogin.c, src/newgrp.c,
5640         src/userdel.c, src/lastlog.c, src/groupmems.c, src/usermod.c,
5641         src/expiry.c, src/groupdel.c, src/useradd.c, src/su.c,
5642         src/groupmod.c, src/passwd.c, src/groupadd.c, src/login.c,
5643         src/suauth.c, src/faillog.c, src/id.c, libmisc/limits.c,
5644         libmisc/addgrps.c, libmisc/env.c, libmisc/age.c, libmisc/yesno.c,
5645         lib/getdef.c: Replace printf by puts for fixed strings. This would
5646         avoid issues caused by formats introduced in translated strings.
5647
5648 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
5649
5650         * src/useradd.c: Strings improvement s/can't get unique/no more
5651         available/.
5652
5653 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
5654
5655         * NEWS, src/usermod.c: Check that the new fields set with -u, -s,
5656         -l, -g, -f, -e, -d, and -c differ from the old ones. If a
5657         requested new value is equal to the old one, no changes will
5658         be performed for that field. If no fields are changed, usermod
5659         will exist successfully with a warning. This avoids logging
5660         changes to syslog when there are actually no changes.
5661
5662 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
5663
5664         * src/usermod.c: Always define user_newcomment, user_newshell,
5665         user_newexpire, and user_newinactive. It is more simple to always
5666         have user_<x> as the old field, and user_new<x> as the new field
5667         (even if the field did not change) instead of changing the
5668         algorithm depending on WITH_AUDIT.
5669
5670 2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
5671
5672         * src/usermod.c: user_newname can only be used in WITH_AUDIT code
5673         or when lflg is set. This issue was introduced in the code
5674         refactoring of usermod.
5675
5676 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
5677
5678         * src/groupadd.c: Fix typo in comment: s/find_new_uid/find_new_gid/
5679
5680 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
5681
5682         * src/useradd.c: s/gid/GID/ in message string.
5683         * src/useradd.c: Set this string for translation.
5684
5685 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
5686
5687         * man/grpck.8.xml: Fix typo. Remove "the" from "All entries in the
5688         <filename></filename> are checked [...]"
5689         * man/grpck.8.xml: Conditionally include the parts mentioning the
5690         gshadow file (based on SHADOWGRP).
5691         * man/grpck.8.xml: Add reference to the gshadow(5) manpage
5692         (conditionally included).
5693
5694 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
5695
5696         * man/grpck.8.xml, man/pwck.8.xml: Indicate that the shadow
5697         parameter is optional (i.e. a passwd file can be specified without
5698         a shadow file, and the group file can be specified without the
5699         gshadow file).
5700
5701 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
5702
5703         * man/grpck.8.xml: Document the options with a list of options,
5704         as in the pwck(8) manpage.
5705
5706 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
5707
5708         * NEWS, src/newgrp.c: Fix segfault when an user returns to an
5709         unknown GID (either the user was deleted during the user's newgrp
5710         session or the user's passwd entry referenced an invalid group).
5711         Add a syslog warning in that case.
5712         * src/newgrp.c: Add an end of line when reporting an invalid
5713         password.
5714
5715 2008-01-12  Nicolas François  <nicolas.francois@centraliens.net>
5716
5717         * NEWS, src/useradd.c: Fix the handling of the --defaults option
5718         (it required an argument, but should behave as -D)
5719         * NEWS, man/useradd.8.xml: Document the --defaults option, which
5720         was already described in the useradd's Usage information.
5721
5722 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5723
5724         * src/passwd.c: Avoid setting the password to a const empty
5725         string, but set the first char to \0. This avoids a warning.
5726
5727 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5728
5729         * libmisc/salt.c: Add prototype for l64a(), gensalt(),
5730         SHA_salt_size(), and SHA_salt_rounds().
5731         * libmisc/salt.c: l64a() and gensalt() are static.
5732         * libmisc/salt.c: The `meth' parameter of crypt_make_salt() is a
5733         const. (ditto for the method variable).
5734         * libmisc/salt.c: SHA_salt_rounds returns a const string.
5735         * libmisc/salt.c: Avoid warnings with cast of random() to double.
5736         * libmisc/salt.c: Replace rand() by random().
5737
5738 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5739
5740         * lib/Makefile.am: Do not link libshadow.la with the intl, crypt,
5741         skey and md libraries...
5742         * src/Makefile.am: ...Specify for each binary which library is
5743         required. skey and md are required for the binaries with
5744         authentication of the user (chfn, chsh, login, passwd, su). intl
5745         is required for all. mcrypt is required for user (chfn, chsh,
5746         login, passwd, su, sulogin) and group (newgrp, gpasswd)
5747         authentication and for the creation of passwords (chpasswd,
5748         chgpasswd, gpasswd, newusers, passwd).
5749
5750 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5751
5752         * lib/nscd.c, lib/nscd.h: Set the service parameter of
5753         nscd_flush_cache() to const. This avoids a lot of warnings.
5754         * lib/nscd.c: Include "nscd.h" to avoid inconsistent prototypes.
5755
5756 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5757
5758         * lib/encrypt.c: Set the method string as a constant string.
5759
5760 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5761
5762         * lib/port.c: Assume <errno.h> declares errno.
5763
5764 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5765
5766         * man/po/fr.po: Fix typo: s/rend compte indiqué/rend le compte
5767         indiqué/
5768
5769 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5770
5771         * src/suauth.c: Remove prototype of check_su_auth(). It is
5772         redundant with prototypes.h.
5773         * src/suauth.c: isgrp() is static.
5774
5775 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5776
5777         * libmisc/obscure.c: Tag the `old' parameter of palindrome(),
5778         similar(), and simple() as unused.
5779         * libmisc/loginprompt.c: Tag the `sig' parameter of login_exit()
5780         as unused.
5781         * src/expiry.c: Tag the `sig' parameter of catch_signals() as
5782         unused.
5783         * src/su.c: Tag the `sig' parameter of catch_signals() as unused.
5784         * src/su.c: Add int parameter to the prototype of oldsig().
5785         * src/login.c: Tag the `sig' parameter of alarm_handler() as
5786         unused.
5787         * src/sulogin.c: Tag the `sig' parameter of catch_signals() as
5788         unused.
5789         * libmisc/getdate.y: Tag the `string' parameter of yyerror() as
5790         unused.
5791         * libmisc/getdate.y: The string provided to yyerror() is const.
5792         * libmisc/getdate.y: Fix the prototypes of yylex() and yyerror().
5793
5794 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5795
5796         * lib/defines.h: Remove teh macro definition of SETXXENT_TYPE,
5797         SETXXENT_RET, and SETXXENT_TEST. They were used by the now
5798         removed pwent.c and grent.c.
5799         * lib/defines.h: Remove the definition of PASSWD_PAG_FILE,
5800         GROUP_PAG_FILE, SHADOW_PAG_FILE, and SGROUP_PAG_FILE. They are
5801         never used.
5802         * lib/defines.h: Don't include "snprintf.h". The file does not
5803         exist in shadow.
5804         * lib/defines.h: Add new macro unused to tag unused parameters.
5805
5806 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5807
5808         * src/useradd.c, src/groupmems.c: Assume optarg and optind are
5809         declared in <getopt.h>.
5810
5811 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5812
5813         * src/usermod.c: Remove the pw_name argument of new_pw_passwd. Use
5814         the user_newname global variable instead. This avoid using a
5815         parameter with the same name as a function.
5816
5817 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5818
5819         * src/newgrp.c: Removed unused gid parameter of syslog_sg().
5820         * src/newgrp.c: The loginname and tty buffers are never changed.
5821         Add the const qualifier.
5822
5823 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5824
5825         * src/chpasswd.c, src/chgpasswd.c: The crypt_method string always
5826         points to a constant string. Add the const qualifier.
5827
5828 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5829
5830         * src/pwunconv.c: Remove prototype of l64a() (not used in
5831         pwunconv).
5832
5833 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5834
5835         * src/login_nopam.c: Use an ANSI prototype for resolve_hostname()
5836         instead of K&R prototype.
5837         * src/login_nopam.c: Fix the prototypes of list_match(),
5838         user_match(), from_match(), string_match(). There were no
5839         parameters in the prototypes.
5840         * src/login_nopam.c: Fix the prototypes of the function parameter
5841         match_fn of list_match().
5842
5843 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5844
5845         * libmisc/copydir.c: Remove the src parameter of copy_special().
5846         The entry's information are taken from the stat structure.
5847
5848 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
5849
5850         * libmisc/console.c, libmisc/ulimit.c, lib/sgetgrent.c,
5851         lib/sgetpwent.c: Include "prototypes.h" to make
5852         sure the exported prototypes are the ones used for the definition
5853         of functions.
5854         * lib/prototypes.h: Added prototypes for __gr_del_entry(),
5855         __gr_get_db(), __gr_get_head(), __gr_set_changed(), __gr_dup(),
5856         __pw_del_entry(), __pw_get_db(), __pw_get_head(), __pw_dup(),
5857         sgetgrent(), sgetpwent(), __sgr_del_entry(), __sgr_dup(),
5858         __sgr_get_head(), __sgr_set_changed(), __spw_get_head(),
5859         __spw_del_entry(), __spw_dup().
5860         * lib/prototypes.h: Removed prototype for is_listed().
5861         * lib/prototypes.h: Added name of the check_su_auth()'s parameters.
5862         * lib/groupio.h: Removed prototypes for __gr_dup() and
5863         __gr_set_changed().
5864         * lib/sgroupio.c: Removed prototypes for putsgent(), sgetsgent(),
5865         and __gr_get_db().
5866         * lib/sgroupio.h: Removed prototypes for __sgr_dup() and
5867         __sgr_set_changed().
5868         * lib/shadowio.c: Removed prototype for __pw_get_db().
5869         * lib/pwio.c: Removed prototype for sgetpwent() and putpwent().
5870         * lib/shadowio.h: Removed prototypes for __spw_dup() and
5871         __spw_set_changed().
5872         * lib/pwio.h: Removed prototypes for __pw_dup() and
5873         __pw_set_changed().
5874         * lib/commonio.h: Add protection against multiple inclusions.
5875         * lib/prototypes.h: Include commonio.h (needed for the
5876         __xx_del_entry() functions).
5877         * src/grpck.c: Remove prototypes for __gr_del_entry(),
5878         __gr_get_head(), __sgr_del_entry(), and __sgr_get_head().
5879         * src/pwck.c: Remove prototypes for __pw_del_entry(),
5880         __pw_get_head(), __spw_del_entry(), and __spw_get_head().
5881         * lib/groupio.c: Remove prototype for sgetgrent().
5882         * lib/groupio.c: Add the name of the parameters for
5883         merge_group_entries() and split_groups().
5884         * lib/groupio.h: Remove prototypes for __gr_dup() and
5885         __gr_set_changed().
5886
5887 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5888
5889         * man/groupadd.8.xml, man/groupmod.8.xml: Add documentation for
5890         the new --password options.
5891
5892 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5893
5894         * src/useradd.c: Fix find_new_gid() prototype. Add a void
5895         parameter.
5896
5897 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5898
5899         * lib/prototypes.h: Add the dolastlog() prototype.
5900         * lib/prototypes.h: Typo: login.c -> loginprompt.c
5901         * src/login.c: Remove declaration of dolastlog().
5902         * lib/prototypes.h: Include <lastlog.h> for the declaration of
5903         struct lastlog.
5904         * lib/prototypes.h: Remove old comments in the header.
5905
5906 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5907
5908         * libmisc/pwdcheck.c: Do not include <pwd.h>. Include <shadow.h>
5909         and "pwauth.h" only when compiled without PAM support.
5910         * src/chfn.c, src/chsh.c: Do not include <shadow.h>
5911         * lib/commonio.c: Do not include <shadow.h>. Do not include
5912         <pwd.h>. Include "nscd.h" instead of <nscd.h>.
5913
5914 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5915
5916         * configure.in: Do not check if shadow.h exist, but make sure it
5917         exists.
5918         * libmisc/pwdcheck.c, src/chfn.c, src/chsh.c, lib/defines.h,
5919         lib/shadowmem.c, lib/shadowio.c, lib/commonio.c:
5920         HAVE_SHADOW_H is no more needed (shadow.h should always exist).
5921
5922 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5923
5924         * lib/groupio.c: Remove prototype of putgrent(), add parameter's
5925         name of sgetgrent().
5926         * lib/prototypes.h: Fix the do_pam_passwd() prototype (it returns
5927         void).
5928
5929 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5930
5931         * NEWS, src/groupmod.c, src/groupadd.c: Add option --password to
5932         groupadd and groupmod (similar to useradd and usermod).
5933
5934 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>
5935
5936         * lib/prototypes.h: grent.c does not exist anymore. Remove the
5937         putgrent prototype.
5938         * lib/prototypes.h: "shadowio.h" was included for the definition
5939         of the spwd structure. Replace this include by <shadow.h>
5940         * libmisc/xmalloc.c, libmisc/utmp.c, libmisc/strtoday.c,
5941         libmisc/pwd_init.c, libmisc/tz.c, lib/port.c, lib/fputsx.c,
5942         libmisc/pam_pass.c, libmisc/log.c: Include "prototypes.h" to make
5943         sure the exported prototypes are the ones used for the definition
5944         of functions.
5945         * libmisc/console.c: Define is_listed() as static and add its
5946         prototype.
5947         * libmisc/xgetXXbyYY.c, libmisc/yesno.c: Include config.h as a
5948         system include, as recommended by the autoconf documentation.
5949         * src/chage.c: Define isnum() as static and add its prototype.
5950         * libmisc/xgetspnam.c: Add missing include "shadowio.h". (This was
5951         OK as long as prototypes.h included this file.)
5952         * src/nologin.c: Make a proper prototype for the main() function
5953         declaration. (add void)
5954         * src/login.c: login_prompt is the name of a function, use
5955         loginprompt for the internal variable.
5956         * src/chsh.c: loginsh is a global variable, use newshell for the
5957         update_shell()'s parameter.
5958         * lib/gshadow.c: The prototypes of fgetsx() and fputsx() are
5959         already defined in prototypes.h. Remove the declaration of these
5960         functions.
5961         * lib/gshdow.c: list() is an external function. DO not shadow it
5962         with a static function. The internal list() was renamed
5963         build_list().
5964         * lib/commonio.c: stat shadows another stat variable. Remove this
5965         variable, and directly check the result of getfscreatecon().
5966         * libmisc/utmp.c: Remove the declaration of getutent(),
5967         getutline(), setutent(), and endutent() which are declared in
5968         <utmp.h>
5969
5970 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5971
5972         * src/newgrp.c: Remove duplicate logging to syslog.
5973
5974 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5975
5976         * src/newgrp.c: Avoid assignments in conditionals.
5977         * src/newgrp.c: Split check_perms(), syslog_sg() out of main().
5978
5979 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5980
5981         * lib/shadow.c: Avoid assignments in conditionals.
5982
5983 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5984
5985         * lib/groupio.c (split_groups): Test the pointer returned by malloc.
5986
5987 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5988
5989         * lib/commonio.c: Document add_one_entry_nis(), write_all(),
5990         commonio_remove(), commonio_locate(), and commonio_rewind().
5991
5992 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5993
5994         * src/pwck.c: Avoid implicit brackets.
5995         * src/pwck.c: Avoid implicit conversions to booleans.
5996
5997 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
5998
5999         * src/grpck.c: Avoid implicit brackets.
6000         * src/grpck.c: Avoid implicit conversions to booleans.
6001
6002 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6003
6004         * NEWS: No functional changes were introduced by the previous pwck
6005         and grpck changes, except for the following bug fix: no syslog
6006         logging if a passwd or group file was specified on the command
6007         line without a shadowed database file, even if the system shadowed
6008         database was changed).
6009
6010 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6011
6012         * src/pwck.c: Fix typos in comments (gshadow/shadow).
6013
6014 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6015
6016         * src/pwck.c: Split process_flags(), open_files(), close_files()
6017         check_pw_file(), and check_spw_file() out of main(). New global
6018         variables is_shadow, sort_mode, use_system_pw_file, and
6019         use_system_spw_file.
6020
6021 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6022
6023         * libmisc/xgetXXbyYY.c: De-comment code (duplicate the entry when
6024         the _R function is not present on the system).
6025
6026 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6027
6028         * src/lastlog.c: Remove statbuf, not used.
6029         * src/lastlog.c: Fix types, cast umin and umax to uid_t.
6030         * src/lastlog.c: (option -u) user needs to be a signed long, not
6031         uid_t (to accept rangees like -<uid>
6032
6033 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6034
6035         * src/useradd.c: Avoid ?: construct without the middle term.
6036
6037 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6038
6039         * libmisc/copydir.c, src/usermod.c, lib/prototypes.h: The uid and
6040         gid parameters can be set to -1 to indicate that the original
6041         owners must be kept. Change the types from uid_t/gid_t to a
6042         long int (signed).
6043         * libmisc/copydir.c: Change the copy_entry(), copy_dir(),
6044         copy_symlink(), copy_special(), and copy_file() prototypes
6045         accordingly.
6046         * lib/prototypes.h: Add the parameters' name for the
6047         libmisc/copydir.c functions.
6048
6049 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6050
6051         * libmisc/limits.c, libmisc/obscure.c, src/login_nopam.c,
6052         lib/pwauth.c: Avoid empty file when USE_PAM is set.
6053         * libmisc/audit_help.c: Avoid empty file when WITH_AUDIT is not set.
6054         * src/login_nopam.c: Fix warnings: resolve_hostname takes and
6055         returns a constant string.
6056
6057 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
6058
6059         * src/grpck.c: Split process_flags(), open_files(), and
6060         close_files() out of main(). New global variables is_shadow,
6061         sort_mode, use_system_grp_file, and use_system_sgr_file.
6062         * src/grpck.c: Split check_grp_file() and check_sgr_file() out of
6063         main().
6064         * src/grpck.c: Split check_members() and compare_members_lists()
6065         out of check_grp_file() and check_sgr_file().
6066
6067 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6068
6069         * man/po/Makefile.in.in: If remove-potcdate.sin does not exist,
6070         use the one from teh po directory (it is not installed
6071         automatically by autopoint.
6072
6073 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6074
6075         * lib/commonio.h: Fix the type of the bitfields in the commonio_entry
6076         and commonio_db structures to unsigned int (instead of int).
6077
6078 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6079
6080         * src/chsh.c: Split process_flags(), check_perms(), and update_shell()
6081         out of main().
6082         * src/chsh.c: Before pam_end(), the return value of the previous
6083         pam API was already checked. No need to validate it again.
6084         * src/chsh.c: Avoid implicit brackets.
6085         * src/chsh.c: Avoid assignments in comparisons.
6086
6087 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6088
6089         * src/chfn.c: New function: process_flags() split out of main().
6090         The flags variables are now global.
6091         * src/chfn.c: New functions: check_perms(), update_gecos(),
6092         get_old_fields(), and check_fields() split out of main().
6093         * src/chfn.c: Before pam_end(), the return value of the previous
6094         pam API was already checked. No need to validate it again.
6095         * src/chfn.c: Avoid implicit brackets.
6096         * src/chfn.c: Document may_change_field().
6097         * src/chfn.c: Avoid implicit conversions to booleans.
6098         * src/chfn.c: Avoid assignments in comparisons.
6099
6100 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6101
6102         * src/newusers.c: Compilation fix for PAM support (pamh needs to be
6103         global since the function split).
6104         * src/chpasswd.c: Likewise.
6105         * src/chgpasswd.c: Likewise.
6106         * src/chpasswd.c: Avoid implicit conversions to booleans.
6107
6108 2007-12-31  Nicolas François  <nicolas.francois@centraliens.net>
6109
6110         * src/chage.c: Fix typo: s/maximim/maximum/
6111         * src/chage.c: New function: fail_exit(). Change most of the exit()
6112         to a fail_exit, which makes sure the files are unlocked (new global
6113         variables: pw_locked, spw_locked), the PAM transaction is ended, and
6114         the failure is logged to libaudit (use a global user_name and user_uid
6115         for logging).
6116         * src/chage.c: Compilation fix for PAM support (pamh needs to be
6117         global since the function split).
6118         * src/chage.c: Document process_flags(), check_flags(), check_perms(),
6119         open_files(), and close_files().
6120         * src/chage.c: Split update_age() and get_defaults() out of main()
6121         * src/chage.c: Drop the privileges just after opening the files.
6122         * src/chage.c: Do not log to audit only if the user has an entry in
6123         the shadow file.
6124         * NEWS, src/chage.c (open_files): Also open the password file for
6125         writing. This fix chage when the user only has a password entry (and
6126         no shadow entries).
6127         * src/chage.c (get_defaults): Use default values that don't change the
6128         behavior of the account for the fields that are not specified when the
6129         user has no shadow entry.
6130
6131 2007-12-30  Nicolas François  <nicolas.francois@centraliens.net>
6132
6133         * src/groupadd.c: Compilation fix for PAM support (pamh needs to be
6134         global since the function split).
6135         * src/groupadd.c: End the PAM transaction in fail_exit().
6136         * src/groupadd.c: Document check_flags().
6137
6138 2007-12-30  Nicolas François  <nicolas.francois@centraliens.net>
6139
6140         * src/vipw.c: Compilation fix for non-gshadow support.
6141
6142 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6143
6144         * NEWS, src/newusers.c: Added support for gshadow.
6145
6146 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6147
6148         * NEWS, src/newusers.c: Do not add the new user to the group's
6149         members, because the group is already the primary group of the new
6150         user.
6151
6152 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6153
6154         newusers cleanups
6155         * src/newusers.c: main() split in new functions: process_flags(),
6156         check_flags(), check_perms(), open_files(), and close_files().
6157         * src/newusers.c: Before pam_end(), the return value of the previous
6158         pam API was already checked. No need to validate it again.
6159         * src/newusers.c: Avoid implicit brackets.
6160         * src/newusers.c: Avoid assignments in comparisons.
6161         * src/newusers.c: Avoid variables with the name of a type.
6162
6163 2007-12-29  Nicolas François  <nicolas.francois@centraliens.net>
6164
6165         chage cleanups
6166         * src/chage.c: Before pam_end(), the return value of the previous
6167         pam API was already checked. No need to validate it again.
6168         * src/chage.c: main() split in new functions: process_flags(),
6169         check_flags(), check_perms(), open_files(), and close_files().
6170         * src/chage.c: Avoid using a variable with the same name as a type.
6171         * src/chage.c: Remove dead code. It was probably put here to add more
6172         information to the audit_logger.
6173         * src/chage.c: Avoid implicit brackets.
6174         * src/chage.c: Avoid implicit conversion to booleans.
6175         * src/chage.c: Avoid assignments in comparisons.
6176
6177 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6178
6179         Same changes for chgpasswd:
6180         * src/chgpasswd.c: Before pam_end(), the return value of the previous
6181         pam API was already checked. No need to validate it again.
6182         * src/chgpasswd.c: main() split in process_flags(), check_flags(),
6183         check_perms(), open_files(), and close_files().
6184         * src/chgpasswd.c: Avoid assignments in comparisons.
6185         * src/chgpasswd.c: Avoid implicit brackets.
6186         * src/chgpasswd.c: Fix comments to match chgpasswd (group instead of
6187         user's passwords are changed).
6188
6189 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6190
6191         * src/chpasswd.c: Before pam_end(), the return value of the previous
6192         pam API was already checked. No need to validate it again.
6193         * src/chpasswd.c: New functions: process_flags(), check_flags(),
6194         check_perms(). Split out of main().
6195         * src/chpasswd.c: Other new functions: open_files(), close_files().
6196         This force flushing the password database after the password file is
6197         unlocked.
6198         * src/chpasswd.c: Avoid assignments in comparisons.
6199         * src/chpasswd.c: Avoid implicit brackets.
6200
6201 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6202
6203         * src/groupadd.c (find_new_gid): A group with the specified name
6204         cannot exist at that time. Remove the check.
6205         * src/groupadd.c (find_new_gid): If oflg is set, gflg is also set.
6206         Use (!gflg), which is clearer than (!gflg || !oflg).
6207         * src/groupadd.c (find_new_gid): find_new_gid is never called when an
6208         GID is specified with -g. Simplify find_new_gid accordingly.
6209         * src/groupadd.c (process_flags): prefer fail_exit to exit. This avoid
6210         an explicit call to audit_logger().
6211         * src/groupadd.c (main): Before pam_end(), the return value of the
6212         previous pam API was already checked. No need to validate it again.
6213         * src/groupadd.c (main, check_perms): New function check_perms().
6214         Split the validation of the user's permissions out of main()
6215
6216 2007-12-28  Nicolas François  <nicolas.francois@centraliens.net>
6217
6218         src/groupadd.c cleanup
6219         * src/groupadd.c (fail_exit): When compiled without AUDIT support, if
6220         the return code was E_SUCCESS, fail_exit() wouldn't have exited. Fix
6221         the scope of #idef WITH_AUDIT.
6222         * src/groupadd.c: Avoid implicit brackets.
6223         * src/groupadd.c: Split the processing and checking of options out of
6224         main() (process_flags).
6225         * src/groupadd.c: New function check_flags(). Split the validation of
6226         options and arguments out of process_flags.
6227         * src/groupadd.c: Add the parameters' names in the prototypes.
6228
6229 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
6230
6231         libmisc/copydir.c cleanup
6232         * libmisc/copydir.c: Split copy_tree() in more maintainable functions:
6233         copy_entry(), copy_dir(), copy_symlink(), copy_hardlink(),
6234         copy_special(), and copy_file().
6235         * libmisc/copydir.c: -1 is used to indicate an error, directly set err
6236         to -1, instead of incrementing it, and checking if not nul at the
6237         end.
6238         * libmisc/copydir.c: Avoid assignments in comparisons.
6239         * libmisc/copydir.c: Document selinux_file_context.
6240         * libmisc/copydir.c: Avoid implicit brackets.
6241         * libmisc/copydir.c: Avoid implicit conversions to booleans.
6242
6243 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
6244
6245         gpasswd cleanup
6246         * src/gpasswd.c: Add argument name to the internal function
6247         prototypes.
6248         * src/gpasswd.c: Document global variables.
6249         * src/gpasswd.c: New function: process_flags(). Split the processing
6250         of options out of main().
6251         * src/gpasswd.c: New functions: open_files(), close_files(),
6252         update_group(). Split out from main() to simplify this (too) big
6253         function.
6254         * src/gpasswd.c: New functions: check_perms(), get_group(),
6255         change_passwd(), check_flags(). Split out of main() to simplify main().
6256         * src/gpasswd.c: Avoid implicit brackets.
6257         * src/gpasswd.c: Avoid assignments in comparisons.
6258         * src/gpasswd.c: Avoid implicit conversions to booleans.
6259
6260 2007-12-27  Nicolas François  <nicolas.francois@centraliens.net>
6261
6262         Merge Debian's patch 462_warn_to_edit_shadow
6263         * NEW, src/vipw.c: Recommend editing the shadowed (resp. regular) file
6264         if the regular (resp. shadowed) file was edited.
6265
6266 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6267
6268         Merge Debian's patch 451_login_PATH
6269         * NEWS, libmisc/setupenv.c: Export PATH according to ENV_PATH and
6270         ENV_SUPATH, as for su. This impacts login.
6271         * man/login.1.xml: PATH and SUPATH are now used both when PAM support
6272         is disabled and enabled.
6273
6274 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6275
6276         Merge Debian's patch 496_login_init_session
6277         * src/login.c, src/sulogin.c: If started as init, start a new session.
6278
6279 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6280
6281         Merge Debian's patch 408_passwd_check_arguments
6282         * NEWS, src/passwd.c: Make sure that no more than one username
6283         argument was provided.
6284
6285 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6286
6287         Merge Debian's patch 412_lastlog_-u_numerical_range
6288         * NEWS, src/lastlog.c, man/lastlog.8.xml: Accept numerical user, or
6289         ranges with the -u option.
6290
6291 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6292
6293         Merge Debian's patch 466_fflush-prompt
6294         * libmisc/Makefile.am, lib/prototypes.h, libmisc/yesno.c, src/grpck.c,
6295         src/pwck.c: move yes_or_no() from grpck/pwck to a separate
6296         libmisc/yesno.c (with a read_only argument).
6297         * libmisc/fields.c, libmisc/yesno.c: Make sure stdout is flushed before
6298         reading the user's answer.
6299
6300 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6301
6302         Merge Debian's patch 480_getopt_args_reorder
6303         * NEWS, src/su.c: su's arguments are now reordered.
6304
6305 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6306
6307         Merge RedHat's patch shadow-4.0.18.1-mtime.patch:
6308         * NEWS: Document that usermod will now preserve user's file modification
6309         and access time.
6310         * libmisc/copydir.c: Preserve the access and modification time of copied
6311         files. This is important for usermod. This will also impact useradd, for
6312         the skeleton files, but this is not important.
6313         * libmisc/copydir.c: Stop and return an error if a file could not be
6314         closed after during a copy.
6315
6316 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6317
6318         Cleanups:
6319         * src/useradd.c (find_new_gid): Check that gflg is not set (assert).
6320         * src/useradd.c (find_new_gid): Do not check the group name uniqueness
6321         (already checked in main).
6322         * src/useradd.c (find_new_gid): Avoid a "continue" in the loop.
6323         * src/useradd.c (find_new_gid): Remove irrelevant comments.
6324         * src/useradd.c (find_new_gid): Fix the function definition's comment.
6325
6326 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6327
6328         Merge RedHat's patch shadow-4.0.18.1-findNewUidOnce.patch:
6329         * src/useradd.c (usr_update): Do not call find_new_uid(). The UID was
6330         already either specified or found by another call to find_new_uid().
6331         * src/useradd.c (find_new_uid): Always start with uid_min (find_new_uid()
6332         is never called when user_id was already specified).
6333         * src/useradd.c (find_new_uid): Fix the comments (find_new_uid() is not
6334         called when the UID is specified (uflg)).
6335         * src/useradd.c (main): Only call find_new_uid() if (!oflg) and (!uflg).
6336         If uflg is set (but not oflg), check the UID uniqueness.
6337         * src/useradd.c (find_new_uid): Don't check the uid and user name
6338         uniqueness in find_new_uid(). The user name uniqueness is already checked
6339         during the parameter validation. UID uniqueness is also checked (see
6340         above).
6341         * src/useradd.c (find_new_uid): Don't check uflg in find_new_uid().
6342         * src/useradd.c (find_new_uid): Make sure that find_new_uid() is not
6343         called when uflg is set (assert).
6344
6345 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6346
6347         Merge RedHat's patch shadow-4.1.0-lOption.patch
6348         * NEWS, src/useradd.c, man/useradd.8.xml: Add option -l to avoid adding
6349         the user to the lastlog and faillog databases.
6350
6351 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6352
6353         * src/useradd.c, src/groupadd.c: NO_GETPWENT is no more supported. Remove
6354         associated chunks of code.
6355
6356 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6357
6358         * man/groupadd.8.xml: Document the long options (--force, --gid, --key,
6359         --non-unique).
6360
6361 2007-12-26  Nicolas François  <nicolas.francois@centraliens.net>
6362
6363         Merge RedHat's patch shadow-4.0.3-noinst.patch
6364         * NEWS, lib/Makefile.am: Do not install the shadow library per default.
6365         lib_LTLIBRARIES changed to noinst_LTLIBRARIES.
6366
6367 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6368
6369         * NEWS, configure.in: Prepare the 4.1.0 release.
6370
6371 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6372
6373         * NEWS, src/chgpasswd.c: Use chgpasswd PAM policy file instead of
6374         chpasswd's one.
6375
6376 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6377
6378         * man/pwconv.8.xml: Fix typos.
6379         * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document the NONE crypt
6380         method.
6381         * man/login.defs.d/MAIL_DIR.xml: Add comment regarding useradd not
6382         using MAIL_FILE.
6383         * man/login.defs.d/ERASECHAR.xml, man/login.defs.d/KILLCHAR.xml,
6384         man/login.defs.d/CONSOLE_GROUPS.xml, man/login.defs.d/ENV_HZ.xml,
6385         man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml:
6386         These variables are also used by some tools when compiled with PAM
6387         support.
6388         * man/login.defs.d/ENV_HZ.xml: Add note that it is only used by
6389         sulogin when compiled with PAM support.
6390         * man/login.defs.d/ENV_SUPATH.xml: Typos: ENV_PATH -> ENV_SUPATH,
6391         and mention sbin in the path.
6392         * man/login.defs.d/LOGIN_STRING.xml: Fix typo: confition ->
6393         condition.
6394         * man/sg.1.xml: Add CONFIGURATION section (SYSLOG_SG_ENAB).
6395         * man/su.1.xml: ENV_HZ, LOGIN_STRING, MAIL_DIR, USERGROUPS_ENAB
6396         are only used when su is compiled without PAM support.
6397         * man/login.defs.5.xml: Added variables: OBSCURE_CHECKS_ENAB
6398         PASS_ALWAYS_WARN PASS_CHANGE_TRIES SULOG_FILE SU_NAME
6399         SU_WHEEL_ONLY SYSLOG_SG_ENAB SYSLOG_SU_ENAB.
6400         * man/login.defs.5.xml: ENVIRON_FILE is only used when compiled
6401         without PAM support.
6402         * man/login.defs.5.xml: sulogin uses variables even when compiled
6403         with PAM support.
6404         * man/login.1.xml: ENV_HZ ENV_PATH ENV_SUPATH MAIL_DIR UMASK are
6405         only used when login is not compiled with PAM support.
6406
6407 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6408
6409         * src/login.c: Make sure is_console is only defined when USE_PAM
6410         is not defined.
6411
6412 2007-12-09  Nicolas François  <nicolas.francois@centraliens.net>
6413
6414         * libmisc/pwd2spwd.c: Fix time() prototype.
6415
6416 2007-12-08  Nicolas François  <nicolas.francois@centraliens.net>
6417
6418         * man/login.defs.d/CONSOLE_GROUPS.xml,
6419         man/login.defs.d/CONSOLE.xml, man/login.defs.d/DEFAULT_HOME.xml,
6420         man/login.defs.d/ENV_HZ.xml, man/login.defs.d/ENVIRON_FILE.xml,
6421         man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml,
6422         man/login.defs.d/ENV_TZ.xml, man/login.defs.d/ERASECHAR.xml,
6423         man/login.defs.d/FAIL_DELAY.xml,
6424         man/login.defs.d/FAILLOG_ENAB.xml,
6425         man/login.defs.d/FAKE_SHELL.xml, man/login.defs.d/FTMP_FILE.xml,
6426         man/login.defs.d/HUSHLOGIN_FILE.xml,
6427         man/login.defs.d/ISSUE_FILE.xml, man/login.defs.d/KILLCHAR.xml,
6428         man/login.defs.d/LASTLOG_ENAB.xml, man/login.defs.d/LOGIN_RETRIES.xml,
6429         man/login.defs.d/LOGIN_TIMEOUT.xml, man/login.defs.d/LOG_OK_LOGINS.xml,
6430         man/login.defs.d/LOG_UNKFAIL_ENAB.xml,
6431         man/login.defs.d/MAIL_CHECK_ENAB.xml, man/login.defs.d/MOTD_FILE.xml,
6432         man/login.defs.d/NOLOGINS_FILE.xml,
6433         man/login.defs.d/OBSCURE_CHECKS_ENAB.xml,
6434         man/login.defs.d/PASS_ALWAYS_WARN.xml,
6435         man/login.defs.d/PASS_CHANGE_TRIES.xml,
6436         man/login.defs.d/PASS_MAX_LEN.xml,
6437         man/login.defs.d/PORTTIME_CHECKS_ENAB.xml,
6438         man/login.defs.d/QUOTAS_ENAB.xml, man/login.defs.d/SULOG_FILE.xml,
6439         man/login.defs.d/SU_NAME.xml, man/login.defs.d/SU_WHEEL_ONLY.xml,
6440         man/login.defs.d/SYSLOG_SG_ENAB.xml,
6441         man/login.defs.d/SYSLOG_SU_ENAB.xml,
6442         man/login.defs.d/TTYGROUP.xml, man/login.defs.d/TTYTYPE_FILE.xml,
6443         man/login.defs.d/ULIMIT.xml, man/login.defs.d/USERGROUPS_ENAB.xml:
6444         New documentation of login.defs variables.
6445         * man/login.defs.d/MAIL_DIR.xml: Updated. It now contains the
6446         MAIL_FILE documentation.
6447         * man/login.defs.d/LOGIN_STRING.xml: Updated. Mentions %s.
6448         * man/pwconv.8.xml, man/groupmems.8.xml, man/groupdel.8.xml,
6449         man/useradd.8.xml, man/pwck.8.xml, man/groupadd.8.xml,
6450         man/sulogin.8.xml, man/newgrp.1.xml, man/usermod.8.xml,
6451         man/su.1.xml, man/vipw.8.xml, man/passwd.1.xml,
6452         man/groupmod.8.xml, man/login.1.xml, man/userdel.8.xml,
6453         man/grpck.8.xml: Added CONFIGURATION section.
6454         * man/generate_mans.mak: The generations of manpages depends on
6455         the variables from the Makefiles. Add the dependency on Makefile.
6456         * man/login.defs.5.xml: New login.defs variable documented.
6457         * man/Makefile.am: Added XML variable documentation to the
6458         distributed files.
6459
6460 2007-12-05  Nicolas François  <nicolas.francois@centraliens.net>
6461
6462         * man/gshadow.5.xml: Fix the newgrp section in the gshadow.5
6463         manpage. Thanks to Andre Majorel <aym-naibed@teaser.fr>.
6464
6465 2007-11-27  Nicolas François  <nicolas.francois@centraliens.net>
6466
6467         * man/Makefile.am: Added the login.defs variables description to
6468         the man's EXTRA_DIST.
6469
6470 2007-11-27  Nicolas François  <nicolas.francois@centraliens.net>
6471
6472         * man/chfn.1.xml: Uses CHFN_AUTH, CHFN_RESTRICT, LOGIN_STRING.
6473         * man/chgpasswd.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
6474         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
6475         * man/chpasswd.8.xml: Switch to using entities for ENCRYPT_METHOD,
6476         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
6477         * man/chsh.1.xml: Uses CHSH_AUTH, LOGIN_STRING.
6478         * man/expiry.1.xml: Does not use any login.defs parameter.
6479         * man/gpasswd.1.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
6480         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS.
6481         * man/login.defs.5.xml: Added CHSH_AUTH.
6482         * man/login.defs.5.xml: Cross reference -> cross references.
6483         * man/login.defs.5.xml: chfn only uses CHFN_AUTH when no_pam.
6484         * man/login.defs.5.xml: chsh uses CHSH_AUTH, not CHFN_AUTH.
6485         * man/login.defs.d/CHSH_AUTH.xml: Added.
6486         * man/login.defs.5.xml: chsh uses parameters only when no_pam.
6487         * man/login.defs.5.xml: expiry does not use CONSOLE_GROUPS, even
6488         if linked in the binary.
6489         * man/newusers.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
6490         MD5_CRYPT_ENAB, PASS_MAX_DAYS, PASS_MIN_DAYS, PASS_WARN_AGE,
6491         SHA_CRYPT_MIN_ROUNDS, UMASK.
6492
6493 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
6494
6495         * man/generate_translations.mak, man/po/Makefile.in.in: Add
6496         --expand-all-entities to the call to xml2po to avoid translating
6497         the external entities separately.
6498
6499 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
6500
6501         * man/login.defs.d/, man/login.defs.d/CHFN_RESTRICT.xml,
6502         man/login.defs.d/MAIL_DIR.xml, man/login.defs.d/PASS_MAX_DAYS.xml,
6503         man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml,
6504         man/login.defs.d/CHFN_AUTH.xml, man/login.defs.d/MD5_CRYPT_ENAB.xml,
6505         man/login.defs.d/PASS_WARN_AGE.xml, ·man/login.defs.d/UMASK.xml,
6506         man/login.defs.d/PASS_MIN_DAYS.xml, man/login.defs.d/UID_MAX.xml,
6507         man/login.defs.d/LOGIN_STRING.xml, man/login.defs.d/GID_MAX.xml,
6508         man/login.defs.d/ENCRYPT_METHOD.xml, man/login.defs.d/USERDEL_CMD.xml,
6509         man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml, man/login.defs.5.xml:
6510         Put each variable description in an external entities. This will permit
6511         to reference them in the various utils manpages.
6512         * man/login.defs.5.xml: Describe the usage of variables by each
6513         tools when compiled without PAM support.
6514
6515 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
6516
6517         * po/stats: Do not generate gmo files.
6518
6519 2007-11-25  Nicolas François  <nicolas.francois@centraliens.net>
6520
6521         * man/po/LINGUAS: Added missing LINGUAS.
6522         * man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
6523         man/po/ru.po, man/po/sv.po: Updated.
6524
6525 2007-11-25  Nicolas François  <nicolas.francois@centraliens.net>
6526
6527         * configure.in, man/po/Makefile.in.in, man/po/Makevars,
6528         man/po/POTFILES.in, man/Makefile.am: Generate the PO files for the
6529         manpages in the man/po directory (instead of man/<lang>). Use a
6530         Makefile.in.in based on gettext's one. This ensure that the PO are
6531         generated before being used in the <lang> directories.
6532         * man/generate_mans.mak, man/generate_translations.mak,
6533         man/Makefile.am: New makefile for the generation of manpages from
6534         XML (generate_mans.mak). This avoid duplicate chunks in
6535         generate_translations.mak and Makefile.am
6536         * man/de/de.po, man/fr/fr.po, man/it/it.po, man/pl/pl.po,
6537         man/ru/ru.po, man/sv/sv.po: Moved to...
6538         * man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
6539         man/po/ru.po, man/po/sv.po: ... here.
6540
6541 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6542
6543         * src/userdel.c, src/lastlog.c, src/newusers.c, src/chpasswd.c,
6544         src/usermod.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
6545         src/su.c, src/groupmod.c, src/passwd.c, src/groupadd.c,
6546         src/chage.c, src/faillog.c, src/chsh.c: Do not use tabulations in
6547         Usage strings.
6548         * po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po,
6549         po/eu.po, po/fi.po, po/fr.po, po/gl.po, po/hu.po, po/id.po,
6550         po/it.po, po/ja.po, po/nb.po, po/pl.po, po/pt_BR.po, po/pt.po,
6551         po/ro.po, po/ru.po, po/sk.po, po/sv.po, po/tl.po, po/tr.po,
6552         po/uk.po, po/vi.po: Unfuzzy previous changes.
6553         * po/bs.po, po/he.po, po/nn.po, po/sq.po: No Usage string
6554         translated. Just updated PO.
6555         * po/dz.po, po/km.po, po/ko.po, po/ne.po, po/nl.po, po/zh_CN.po,
6556         po/zh_TW.po: It would be too error prone for me to unfuzzy these
6557         ones. Updated PO. (km and ne should be reviewed: options are
6558         translated).
6559
6560 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6561
6562         * po/ne.po, po/bs.po, po/cs.po, po/pt_BR.po, po/km.po, po/es.po,
6563         po/eu.po, po/ko.po, po/hu.po, po/sk.po, po/vi.po, po/uk.po,
6564         po/ro.po, po/sq.po, po/ru.po, po/id.po, po/nb.po, po/el.po,
6565         po/gl.po, po/fr.po, po/nl.po, po/pl.po, po/nn.po, po/it.po,
6566         po/dz.po, po/tl.po, po/pt.po, po/ca.po, po/da.po, po/tr.po,
6567         po/sv.po, po/de.po, po/ja.po, po/zh_TW.po, po/he.po, po/fi.po,
6568         po/zh_CN.po: Run "make update-po" in the po directory.
6569
6570 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6571
6572         * configure.in: New configure option: --with-sha-crypt enabled by
6573         default. Keeping the feature enabled is safe. Disabling it permits
6574         to disable the references to the SHA256 and SHA512 password
6575         encryption algorithms from the usage help and manuals (in addition
6576         to the support for these algorithms in the code).
6577         * libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
6578         src/chpasswd.c, src/chgpasswd.c, src/passwd.c: ENCRYPT_METHOD is
6579         always supported in login.defs. Remove the ENCRYPTMETHOD_SELECT
6580         preprocessor condition.
6581         * libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
6582         src/chpasswd.c, src/chgpasswd.c, src/passwd.c: Disable SHA256 and
6583         SHA512 if USE_SHA_CRYPT is not defined (this corresponds to a
6584         subset of the ENCRYPTMETHOD_SELECT sections).
6585
6586 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6587
6588         * lib/encrypt.c: If we requested a non DES encryption, make sure
6589         crypt returned a encrypted password longer than 13 chars. This
6590         protects against the GNU crypt() which does not return NULL if the
6591         algorithm is not supported, and return a DES encrypted password.
6592
6593 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6594
6595         * lib/groupio.c: Add missing #include "getdef.h"
6596
6597 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6598
6599         * src/newusers.c: Provide the crypt method to all the
6600         crypt_make_salt invocations.
6601         * src/newusers.c: Tag the ENCRYPTMETHOD_SELECT dependent code
6602         accordingly.
6603
6604 2007-11-24  Nicolas François  <nicolas.francois@centraliens.net>
6605
6606         * libmisc/salt.c: Make sure method is not NULL, defaulting to DES.
6607         Thanks to Dan Kopecek <dkopecek@redhat.com>.
6608         * src/chpasswd.c, src/chgpasswd.c: Do not use DES by default, but
6609         the system default define in /Etc/login.defs. Thanks to Dan
6610         Kopecek <dkopecek@redhat.com>.
6611         * NEWS, man/chpasswd.8.xml, man/chgpasswd.8.xml: Do not mention
6612         DES as the default algorithm.
6613         * src/chpasswd.c, src/chgpasswd.c: Tag the ENCRYPTMETHOD_SELECT
6614         dependent code accordingly.
6615
6616 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6617
6618         * libmisc/salt.c: Move the srandom call to gensalt.
6619         * libmisc/salt.c (gensalt): Replace the test on salt_size by an
6620         assert.
6621
6622 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6623
6624         Patch contributed by Dan Kopecek <dkopecek@redhat.com>
6625         * src/chpasswd.c, src/chgpasswd.c, src/newusers.c: Fix compilation
6626         when ENCRYPTMETHOD_SELECT is not defined.
6627         * libmisc/salt.c (MAGNUM): The nul char was put on (array)[2]
6628         instead of (array)[3].
6629         * libmisc/salt.c: MAGNUM should be defined even if
6630         ENCRYPTMETHOD_SELECT is not defined.
6631         * libmisc/salt.c: Use random instead of rand.
6632         * libmisc/salt.c (gensalt): New function to generate a salt
6633         (instead of using gettimeofday).
6634
6635 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6636
6637         * NEWS, src/newusers.c: New options -c/--crypt-method
6638         -s/--sha-rounds.
6639
6640 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6641
6642         * src/chpasswd.c: Added crypt method: NONE.
6643         * src/chpasswd.c: Added --sha-rounds to the usage().
6644         * libmisc/Makefile.am, libmisc/getlong.c, src/chgpasswd.c,
6645         src/chpasswd.c, lib/prototypes.h: New getlong function. Replace
6646         chpasswd's and chgpasswd's getnumber.
6647
6648 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6649
6650         * lib/groupio.c: Removed unused variable 'member'.
6651
6652 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6653
6654         * man/chpasswd.8.xml: Document the variables used by chpasswd.
6655         The definitions are copied from login.defs. I should try to use a
6656         less error prone process for this.
6657
6658 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6659
6660         * man/login.defs.5.xml: Use <replaceable> for the values set by
6661         users. (was sometimes <emphasis remap='I'>)
6662         * man/login.defs.5.xml: Use <option> vor the variable names. This
6663         makes the manpage much more readable.
6664         * man/login.defs.5.xml (ENCRYPT_METHOD, MD5_CRYPT_ENAB,
6665         SHA_CRYPT_MIN_ROUNDS, SHA_CRYPT_MAX_ROUNDS): Mention that command
6666         line option may supersede the system setting.
6667         * man/login.defs.5.xml: Document the variables used by chpasswd
6668         and chgpasswd.
6669
6670 2007-11-23  Nicolas François  <nicolas.francois@centraliens.net>
6671
6672         * lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
6673         svn propset svn:keywords Id
6674
6675 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
6676
6677         * NEWS, lib/getdef.c, man/login.defs.5.xml: New login.defs
6678         variable: MAX_MEMBERS_PER_GROUP. Used for the split groups support.
6679         * lib/commonio.c, lib/commonio.h: Add an open_hook and close_hook
6680         operation. They are called after the database is actually opened
6681         and parse, or before it is closed.
6682         * lib/groupio.c: Add an open_hook to merge split groups, and an
6683         close group to split groups if MAX_MEMBERS_PER_GROUP is set.
6684         This fixes gpasswd and chgpasswd when split groups are used.
6685         * lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: No open or close
6686         hooks for these databases. (unsure about what should be the gshadow
6687         behavior for split groups)
6688
6689 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
6690
6691         * NEWS, src/gpasswd.c: Read the group and shadow groups using
6692         gr_locate and sgr_locate. gpasswd write in the file database. Thus
6693         it should read information from the file database, not using
6694         getgrnam. The change to sgr_locate is just for consistency. This
6695         requires opening the group databases (read only) using
6696         gr_open/sgr_open.
6697
6698 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
6699
6700         * configure.in: SHADOWGRP added to AM_CONDITIONAL for the
6701         generation of manpages.
6702         * man/generate_translations.mak: Added pam/no_pam condition (like
6703         in man/Makefile.am).
6704         * man/Makefile.am, man/generate_translations.mak: Added
6705         gshadow/no_gshadow condition.
6706         * man/gpasswd.1.xml: Use the gshadow/no_gshadow condition to
6707         change the manpage depending on the shadow group support.
6708         * NEWS: Indicate that manpages should be re-generated if configure
6709         option are changed, due to conditions.
6710
6711 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
6712
6713         * po/ru.po: Updated to 399t. Thanks to Yuri Kozlov <kozlov.y@gmail.com>.
6714         * man/po/ru.po: Updated to 757t. Thanks also to Yuri Kozlov
6715         <kozlov.y@gmail.com>.
6716
6717 2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
6718
6719         * man/Makefile.am: Add support for conditionally including
6720         paragraphs. (e.g. to support the documentation of PAM and !PAM
6721         features).
6722
6723 2007-11-21  Nicolas François  <nicolas.francois@centraliens.net>
6724
6725         * man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow,
6726         and /etc/passwd to section FILES.
6727         * man/newusers.8.xml: Mentions that PAM is not used to set the
6728         passwords.
6729         * man/chpasswd.8.xml: Added section FILES (/etc/passwd,
6730         /etc/shadow, /etc/login.defs).
6731         * man/chpasswd.8.xml: Use the same paragraph as in newusers.8.xml
6732         to indicate that PAM is not used.
6733         * man/chgpasswd.8.xml: Added section FILES (/etc/group,
6734         /etc/gshadow, /etc/login.defs).
6735
6736 2007-11-21  Nicolas François  <nicolas.francois@centraliens.net>
6737
6738         * src/newusers.c: Try harder to get the GID equal to the UID.
6739         This was not the case when the GID is not specified, and a GID
6740         exist with an ID higher than the all the UIDs.
6741         * src/newusers.c: Typo in comment: contrained -> constrained.
6742
6743 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6744
6745         * src/chgpasswd.c: If the shadow group file is not present, do not
6746         try to locate the group entry from /etc/gshadow, and set the
6747         password in /etc/group.
6748
6749 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6750
6751         * libmisc/obscure.c, libmisc/salt.c, src/passwd.c: Match DES, MD5,
6752         SHA256, and SHA512 exactly (not only the first 3/6 chars).
6753         * libmisc/salt.c (SHA_salt_rounds): Set rounds to the specified
6754         prefered_rounds value, if specified.
6755         * src/gpasswd.c, libmisc/salt.c: Fix compilation warnings (use
6756         size_t for lengths).
6757         * src/chpasswd.c, src/chgpasswd.c: Add missing parenthesis.
6758
6759 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6760
6761         * man/sv, man/de, man/fr, man/pl, man/ru, man/it: Ignore the
6762         generated manpages. Add *.[1358] to the svn:ignore property.
6763
6764 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6765
6766         * src/chgpasswd.c, src/chpasswd.c: The -c, -e, and -m options are
6767         exclusives.
6768
6769 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6770
6771         * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document how the
6772         encryption algorithm is chosen for the passwords. Document the new
6773         -c and -s options. Add a reference to login.defs(5).
6774         * man/login.defs.5.xml: Document the ENCRYPT_METHOD,
6775         MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS, and SHA_CRYPT_MAX_ROUNDS
6776         variables.
6777         * etc/login.defs: Indicate that MD5_CRYPT_ENAB is deprecated.
6778         Document the relationship with PAM for MD5_CRYPT_ENAB and
6779         ENCRYPT_METHOD.
6780
6781 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6782
6783         * src/passwd.c: Increase the size of crypt_passwd from 128 to 256
6784         to avoid overflow in case of SHA512 (161 should be sufficient).
6785
6786 2007-11-20  Nicolas François  <nicolas.francois@centraliens.net>
6787
6788         * lib/prototypes.h, libmisc/salt.c: Add parameters to
6789         crypt_make_salt to force the crypt method and number of rounds.
6790         * libmisc/salt.c: Add parameter to SHA_salt_rounds to force the
6791         number of rounds.
6792         * libmisc/salt.c, lib/getdef.c: ENCRYPT_METHOD and MD5_CRYPT_ENAB
6793         are needed also when USE_PAM (e.g. for chpasswd).
6794         * src/passwd.c, src/newusers.c, src/gpasswd.c: Use the new
6795         crypt_make_salt prototype
6796         * src/chpasswd.c, src/chgpasswd.c: Add option -c, --crypt-method
6797         and -s, --sha-rounds to specify the crypt method and number of
6798         rounds in case of one of the SHA methods. The new prototype of
6799         crypt_make_salt simplifies the handling of -m, --md5.
6800
6801 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6802
6803         * libmisc/salt.c: The salt has a random size (between 8 and 16
6804         bytes).
6805         * lib/getdef.c, etc/login.defs: Add definitions for
6806         SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS.
6807         * libmisc/salt.c: Use SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS
6808         to add a random number of rounds if needed.
6809
6810 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6811
6812         * libmisc/salt.c (MAGNUM): Terminate the array with nul (the array
6813         is then used with strcat).
6814         * libmisc/salt.c (crypt_make_salt): Initialize result[0] to nul at
6815         the beginning (was not initialized when USE_PAM).
6816         * libmisc/salt.c (crypt_make_salt): Check that ENCRYPT_METHOD is a
6817         valid crypt method.
6818
6819 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6820
6821         * NEWS, libmisc/obscure.c, libmisc/salt.c, src/passwd.c,
6822         lib/getdef.c, etc/login.defs: Add support for SHA256 and SHA512
6823         encrypt methods. Apply RedHat's patch shadow-4.0.18.1-sha256.patch.
6824         Thanks to Peter Vrabec. Hardly no changes except re-indent and
6825         changes related to recent modifications (max_salt_len in
6826         crypt_make_salt). Changes in lib/defines.h not applied (definition
6827         of ENCRYPTMETHOD_SELECT). I will add a configure check or flag.
6828
6829 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6830
6831         * man/de/Makefile.am: Add su.1 to the generated manpages.
6832         * man/fr/Makefile.am: Add id.1 to EXTRA_DIST. It will be
6833         generated.
6834         * man/pl/Makefile.am: Add groupmems.8 to the generated manpages.
6835         * man/it/Makefile.am: Add logoutd.8 to EXTRA_DIST. It will be
6836         generated.
6837         * man/de/su.1, man/fr/id.1, man/pl/groupmems.8, man/it/logoutd.8:
6838         Removed, since auto-generated.
6839
6840 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6841
6842         Fix some compilation warnings:
6843         * src/login.c: "dereferencing type-punned pointer will break
6844         strict-aliasing rules", add a variable indirection: ptr_pam_user.
6845         * lib/commonio.c: do not initialize the sb stat structure.
6846         * lib/pwio.c, lib/shadowio.c, lib/sgroupio.c, lib/groupio.c:
6847         initialize the security context if WITH_SELINUX.
6848         * lib/nscd.c: The service argument is not const (used in the exec*
6849         parameters). This matches with the prototype definition.
6850         * src/groupmems.c: Avoid ++i when i is also used in the same line.
6851         * src/newusers.c: i is positive every time it is compared. Add
6852         cast to unsigned int.
6853         * src/nologin.c: Use a main() prototype with no arguments.
6854         * libmisc/getdate.y: Initialize the type and value fields of the
6855         terminating entry for each TABLE.
6856         * libmisc/tz.c: Use "TZ=CST6CDT" as the default timezone.
6857
6858 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6859
6860         * man/pl/Makefile.am: Add getspnam.3 to EXTRA_DIST since it is
6861         generated with shadow.3.
6862         * man/generate_translations.mak: Clean all the manpages, based on
6863         $(EXTRA_DIST), not $(man_MANS).
6864
6865 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6866
6867         * man/sv/getspnam.3, man/sv/faillog.5, man/sv/faillog.8,
6868         man/sv/grpconv.8, man/sv/chsh.1, man/sv/shadow.3,
6869         man/sv/grpunconv.8, man/sv/shadow.5, man/sv/newgrp.1,
6870         man/sv/limits.5, man/sv/gpasswd.1, man/sv/sg.1, man/sv/userdel.8,
6871         man/sv/lastlog.8, man/sv/login.access.5, man/sv/grpck.8,
6872         man/sv/chfn.1, man/sv/expiry.1, man/sv/newusers.8,
6873         man/sv/chpasswd.8, man/sv/pwconv.8, man/sv/logoutd.8,
6874         man/sv/groupmems.8, man/sv/usermod.8, man/sv/pwunconv.8,
6875         man/sv/su.1, man/sv/groupdel.8, man/sv/chgpasswd.8,
6876         man/sv/login.defs.5, man/sv/vipw.8, man/sv/useradd.8,
6877         man/sv/gshadow.5, man/sv/passwd.1, man/sv/groupmod.8,
6878         man/sv/passwd.5, man/sv/chage.1, man/sv/porttime.5,
6879         man/sv/login.1, man/sv/pwck.8, man/sv/nologin.8,
6880         man/sv/groupadd.8, man/sv/suauth.5, man/sv/vigr.8,
6881         man/sv/groups.1, man/de/passwd.1, man/de/newgrp.1, man/de/chsh.1,
6882         man/de/passwd.5, man/de/login.1, man/de/vipw.8, man/de/chfn.1,
6883         man/de/vigr.8, man/de/groups.1, man/fr/getspnam.3,
6884         man/fr/faillog.5, man/fr/faillog.8, man/fr/grpconv.8,
6885         man/fr/chsh.1, man/fr/shadow.3, man/fr/grpunconv.8,
6886         man/fr/shadow.5, man/fr/newgrp.1, man/fr/limits.5,
6887         man/fr/gpasswd.1, man/fr/sg.1, man/fr/userdel.8,
6888         man/fr/login.access.5, man/fr/lastlog.8, man/fr/grpck.8,
6889         man/fr/chfn.1, man/fr/expiry.1, man/fr/newusers.8,
6890         man/fr/chpasswd.8, man/fr/pwconv.8, man/fr/logoutd.8,
6891         man/fr/usermod.8, man/fr/pwunconv.8, man/fr/su.1,
6892         man/fr/groupdel.8, man/fr/login.defs.5, man/fr/vipw.8,
6893         man/fr/useradd.8, man/fr/gshadow.5, man/fr/passwd.1,
6894         man/fr/groupmod.8, man/fr/passwd.5, man/fr/porttime.5,
6895         man/fr/chage.1, man/fr/login.1, man/fr/pwck.8, man/fr/groupadd.8,
6896         man/fr/suauth.5, man/fr/vigr.8, man/fr/groups.1, man/pl/faillog.5,
6897         man/pl/faillog.8, man/pl/chsh.1, man/pl/grpconv.8,
6898         man/pl/grpunconv.8, man/pl/shadow.5, man/pl/newgrp.1,
6899         man/pl/limits.5, man/pl/gpasswd.1, man/pl/sg.1, man/pl/userdel.8,
6900         man/pl/login.access.5, man/pl/lastlog.8, man/pl/grpck.8,
6901         man/pl/chfn.1, man/pl/expiry.1, man/pl/newusers.8,
6902         man/pl/pwconv.8, man/pl/chpasswd.8, man/pl/logoutd.8,
6903         man/pl/usermod.8, man/pl/pwunconv.8, man/pl/su.1,
6904         man/pl/groupdel.8, man/pl/vipw.8, man/pl/login.defs.5,
6905         man/pl/useradd.8, man/pl/passwd.1, man/pl/groupmod.8,
6906         man/pl/passwd.5, man/pl/porttime.5, man/pl/chage.1,
6907         man/pl/login.1, man/pl/pwck.8, man/pl/groupadd.8, man/pl/suauth.5,
6908         man/pl/vigr.8, man/pl/groups.1, man/ru/getspnam.3,
6909         man/ru/faillog.5, man/ru/faillog.8, man/ru/grpconv.8,
6910         man/ru/chsh.1, man/ru/shadow.3, man/ru/grpunconv.8,
6911         man/ru/shadow.5, man/ru/newgrp.1, man/ru/limits.5,
6912         man/ru/gpasswd.1, man/ru/sg.1, man/ru/userdel.8,
6913         man/ru/login.access.5, man/ru/lastlog.8, man/ru/grpck.8,
6914         man/ru/chfn.1, man/ru/expiry.1, man/ru/newusers.8,
6915         man/ru/chpasswd.8, man/ru/pwconv.8, man/ru/logoutd.8,
6916         man/ru/groupmems.8, man/ru/usermod.8, man/ru/pwunconv.8,
6917         man/ru/su.1, man/ru/groupdel.8, man/ru/chgpasswd.8,
6918         man/ru/login.defs.5, man/ru/vipw.8, man/ru/useradd.8,
6919         man/ru/gshadow.5, man/ru/passwd.1, man/ru/groupmod.8,
6920         man/ru/passwd.5, man/ru/chage.1, man/ru/porttime.5,
6921         man/ru/login.1, man/ru/pwck.8, man/ru/nologin.8,
6922         man/ru/groupadd.8, man/ru/suauth.5, man/ru/vigr.8,
6923         man/ru/groups.1, man/it/getspnam.3, man/it/faillog.5,
6924         man/it/faillog.8, man/it/grpconv.8, man/it/chsh.1,
6925         man/it/shadow.3, man/it/grpunconv.8, man/it/shadow.5,
6926         man/it/newgrp.1, man/it/gpasswd.1, man/it/sg.1, man/it/userdel.8,
6927         man/it/lastlog.8, man/it/grpck.8, man/it/chfn.1, man/it/expiry.1,
6928         man/it/newusers.8, man/it/chpasswd.8, man/it/pwconv.8,
6929         man/it/usermod.8, man/it/pwunconv.8, man/it/su.1,
6930         man/it/groupdel.8, man/it/vipw.8, man/it/useradd.8,
6931         man/it/passwd.1, man/it/groupmod.8, man/it/passwd.5,
6932         man/it/porttime.5, man/it/chage.1, man/it/login.1, man/it/pwck.8,
6933         man/it/groupadd.8, man/it/vigr.8, man/it/groups.1,
6934         man/pl/shadow.3, man/pl/sulogin.8, man/pl/id.1, man/ru/sulogin.8,
6935         man/ru/id.1, man/it/id.1: Remove generated translated manpages.
6936         They are still distributed with the shadow tarballs.
6937
6938 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6939
6940         * man/pl/chgpassw.8: Remove chgpassw.8 since the real manpage
6941         should be named chgpasswd.8.
6942
6943 2007-11-19  Nicolas François  <nicolas.francois@centraliens.net>
6944
6945         * man/vigr.8.xml: Remove file. The vigr man page is generated from
6946         the vipw XML file.
6947
6948 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
6949
6950         * lib/prototypes.h, configure.in, libmisc/Makefile.am,
6951         libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c,
6952         libmisc/xgetgrnam.c, libmisc/xgetgrgid.c, libmisc/xgetspnam.c:
6953         Added functions xgetpwnam(), xgetpwuid(), xgetgrnam(),
6954         xgetgrgid(), and xgetspnam(). They allocate memory for the
6955         returned structure and are more robust to successive calls. They
6956         are implemented with the libc's getxxyyy_r() functions if
6957         available.
6958         * NEWS, libmisc/limits.c, libmisc/entry.c, libmisc/chowntty.c,
6959         libmisc/addgrps.c, libmisc/myname.c, libmisc/rlogin.c,
6960         libmisc/pwdcheck.c, src/newgrp.c, src/login_nopam.c, src/login.c,
6961         src/userdel.c, src/lastlog.c, src/grpck.c, src/gpasswd.c,
6962         src/newusers.c, src/chpasswd.c, src/chfn.c, src/groupmems.c,
6963         src/usermod.c, src/expiry.c, src/groupdel.c, src/chgpasswd.c,
6964         src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c, src/pwck.c,
6965         src/groupadd.c, src/chage.c, src/login.c, src/suauth.c,
6966         src/faillog.c, src/groups.c, src/chsh.c, src/id.c: Review all the
6967         usage of one of the getpwnam(), getpwuid(), getgrnam(),
6968         getgrgid(), and getspnam() functions. It was noticed on
6969         http://bugs.debian.org/341230 that chfn and chsh use a passwd
6970         structure after calling a pam function, which result in using
6971         information from the passwd structure requested by pam, not the
6972         original one. It is much easier to use the new xget... functions
6973         to avoid these issues. I've checked which call to the original
6974         get... functions could be left (reducing the scope of the
6975         structure if possible), and I've left comments to ease future
6976         reviews (e.g. /* local, no need for xgetpwnam */).
6977         Note: the getpwent/getgrent calls should probably be checked also.
6978         * src/groupdel.c, src/expiry.c: Fix typos in comments.
6979         * src/groupmod.c: Re-indent.
6980         * lib/Makefile.am, lib/groupmem.c, lib/groupio.c, lib/pwmem.c,
6981         lib/pwio.c, lib/shadowmem.c, lib/shadowio.c: Move the __<xx>_dup
6982         functions (used by the xget... functions) from the <xx>io.c files
6983         to the new <xx>mem.c files. This avoid linking some utils against
6984         the SELinux library.
6985
6986 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
6987
6988         * man/pl/pl.po: Fix typo: chgpassw -> chgpasswd.
6989         * man/pl/Makefile.am: Fix typo: chgpassw -> chgpasswd.
6990         * man/de/de.po: groups shall not be translated (for command,
6991         refname, or refentrytitle).
6992
6993 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
6994
6995         * src/login.c: Fix typo introduced while fixing
6996         http://bugs.debian.org/451521 (compile fix).
6997
6998 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
6999
7000         * libmisc/Makefile.am: Fix typo: EXTRA_DOST -> EXTRA_DIST.
7001
7002 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7003
7004         * src/login_nopam.c: Fix a typo in a comment.
7005
7006 2007-11-18  Nicolas François  <nicolas.francois@centraliens.net>
7007
7008         * src/useradd.c: Do not document the behavior compared to old
7009         versions.
7010
7011 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7012
7013         * man/usermod.8.xml: Document the differences between locking an
7014         account and locking a password.
7015
7016 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7017
7018         * NEWS, src/usermod.c: Refuse to unlock an account when it would
7019         result in a passwordless account.  Based on Openwall's patch
7020         shadow-4.0.4.1-owl-usermod-unlock.diff.
7021         * NEWS, src/passwd.c: Likewise.
7022
7023 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7024
7025         * src/userdel.c (path_prefix): Make sure that the prefix is the
7026         name of a directory (not only the beginning of a directory).
7027         Openwall patch shadow-4.0.4.1-owl-userdel-path_prefix.diff.
7028
7029 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7030
7031         * NEWS, src/newgrp.c: Do not give an indication that the group has no
7032         password.
7033         * src/newgrp.c: Do not only bail on syslog if the password is not
7034         valid. Also give an indication to the user on stderr.
7035
7036 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7037
7038         Fixes from Openwall patch shadow-4.0.4.1-owl-chage-drop-priv.diff:
7039         * src/chage.c: Remove cleanup(). pw_lock is never called. Replace
7040         cleanup(2) by spw_unlock and remove the calls to cleanup(1).
7041         * src/chage.c: Remove variable pwrw. It is always set to 0. The
7042         password database is always read only.
7043         * src/chage.c: Make chage -l also drop the saved GID.
7044         * src/chage.c: Prefer setregid/setreuid to setgid/setuid.
7045
7046 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7047
7048         Fixes from Openwall patch shadow-4.0.4.1-alt-man.diff:
7049         * man/useradd.8.xml: Indicate that the NIS caveats is also valid
7050         for any external database as LDAP.
7051         * man/groupadd.8.xml: Likewise.
7052         * man/groupadd.8.xml: Reorder and reformat the caveats bullets.
7053
7054 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7055
7056         * NEWS: Applied Debian patch 409_man_generate_from_PO to
7057         automatically generate the translated manpages from the POs.
7058         * man/Makefile.am: Replace the individual rules for the generation
7059         of the manpages (from XML) by a generic Makefile rule an
7060         dependencies for the linked manpages.
7061         * man/generate_translations.mak: Generic rules for all the
7062         generated translated manpages (if ENABLE_REGENERATE_MAN).
7063         * man/Makefile.am: Removed rules for all the generated translated
7064         manpages.
7065         * man/sv/Makefile.am, man/de/Makefile.am, man/fr/Makefile.am,
7066         man/pl/Makefile.am, man/ru/Makefile.am, man/it/Makefile.am:
7067         Include generate_translations.mak to handle the generated
7068         translations (XML and roff files).
7069         * man/Makefile.am: Translated XML files moved from the CLEANFILES
7070         variable of man/Makefile.am to the various languages Makefiles.
7071
7072 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7073
7074         * man/chpasswd.8.xml: Document that chpasswd does not use PAM to
7075         update the passwords. This fixes http://bugs.debian.org/396726.
7076         Debian patch 411_chpasswd_document_no_pam.
7077
7078 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7079
7080         * NEWS, src/su.c: Avoid terminating the PAM library in the forked
7081         child.  This is done later in the parent after closing the PAM
7082         session. This fixes http://bugs.debian.org/412061.
7083         Debian patch 405_su_no_pam_end_before_exec.
7084
7085 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7086
7087         * man/newgrp.1.xml: Mention sg in the newgrp manpage.
7088         This fixes http://bugs.debian.org/396690.
7089         Debian patch 410_newgrp_man_mention_sg.
7090
7091 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7092
7093         * src/passwd.c: Fix typo: the warndays option was called warning.
7094         This is now warndays, as documented in the manpage and usage.
7095         This fixes http://bugs.debian.org/445481.
7096         Debian patch 417_passwd_warndays.
7097
7098 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7099
7100         * NEWS, src/pwck.c: Remove the preprocessor check SHADOWPWD. The
7101         variable is no more defined (and always assumed).
7102         Debian patch 493_pwck_no_SHADOWPWD.
7103
7104 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7105
7106         * NEWS, src/passwd.c, man/passwd.1.xml: -l/-u options: edit the
7107         shadow account expiry field *in addition* to editing the password
7108         field.  This fixes http://bugs.debian.org/389183.
7109         Debian patch 494_passwd_lock.
7110
7111 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7112
7113         * NEWS, src/newgrp.c: Do not request a password when a user uses
7114         newgrp to switch to her primary group.
7115         This fixes http://bugs.debian.org/396691.
7116         Debian patch 497_newgrp_primary_group.
7117         * src/newgrp.c: Remove a comment which states otherwise.
7118
7119 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7120
7121         * src/login.c: Log an error if the password entry could not be
7122         found (respect LOG_UNKFAIL_ENAB to avoid logging a password). This
7123         fixes the Debian bug http://bugs.debian.org/451521
7124
7125 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7126
7127         * man/useradd.8.xml: -b documenation: Use the same notation for
7128         the -d argument as in the -d documentation.
7129
7130 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7131
7132         * src/useradd.c: Allow the -b option even without the -D option.
7133
7134 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7135
7136         * src/usermod.c: Use the same error message for the below errors.
7137         (option working ONLY if another is specified).
7138
7139 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7140
7141         * src/usermod.c: Make usermod -o and -u work independently of the
7142         argument order.
7143
7144 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7145
7146         * src/usermod.c: Validate that two of the -L, -p, and -U options
7147         are not used at the same time after the parsing of options. -U
7148         used to be allowed after -p or -L, but not before.
7149
7150 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7151
7152         * src/usermod.c: Make usermod -d and -m work independently of the
7153         argument order. Thanks to Justin Pryzby <jpryzby+d@quoininc.com>
7154         for the patch. This fixes http://bugs.debian.org/451518.
7155
7156 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7157
7158         * NEWS, lib/nscd.c: Execute nscd -i instead of using the private
7159         glibc socket to flush the nscd tables. This comes from the RedHat
7160         patch shadow-4.0.16-nscd.c.
7161         * lib/commonio.c: Forbid inheritance of the passwd and group files
7162         to the spawed processes (like nscd). This comes from the RedHat
7163         patch shadow-4.0.17-notInheritFd.patch.
7164         * lib/nscd.h: Update header.
7165
7166 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7167
7168         * src/usermod.c (fail_exit): Add static variables pw_locked,
7169         spw_locked, gr_locked, and sgr_locked to indicate which files must
7170         be unlocked.
7171         * src/usermod.c (open_files, close_files): Open and close the
7172         group files as well as the passwd files. This permit to check if
7173         the group files modification are allowed before writing the passwd
7174         files.
7175         * src/usermod.c (grp_update, update_gshadow, update_group): Do not
7176         return a status code, but call fail_exit() in case of error. The
7177         group files are no more opened and closed in update_gshadow() and
7178         update_group().
7179         * src/usermod.c (main): move the call to grp_update between
7180         open_files and close_files.
7181         * src/usermod.c: Differentiate failure to add a group entry and
7182         failure to add a shadow group entry.
7183
7184 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7185
7186         * src/userdel.c: Differentiate failure to update a group entry and
7187         failure to update a shadow group entry.
7188
7189 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7190
7191         * src/userdel.c, src/usermod.c, src/useradd.c: Inform the user if
7192         out of memory while updating a group database.
7193
7194 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7195
7196         * NEWS, src/usermod.c: Update the group database before flushing
7197         the nscd caches.
7198
7199 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7200
7201         * NEWS, src/userdel.c: Abort if an error is found while updating the
7202         user or group database. No changes will be written in the
7203         databases.
7204
7205 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
7206
7207         * src/useradd.c: It is no more needed to check that the user's
7208         groups are specified only once in the group file. This is checked
7209         by gr_update().
7210
7211 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7212
7213         * lib/commonio.c (next_entry_by_name): New function.
7214         * NEWS, lib/commonio.c (commonio_update): When an entry is updated, make
7215         sure that there are no other entry with the same name. This fixes
7216         an infinite loop in userdel and usermod when an (erroneous) group
7217         file contains two entries with the same name.
7218         (https://bugzilla.redhat.com/show_bug.cgi?id=240915)
7219
7220 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7221
7222         * libmisc/salt.c: Make sure the salt string is terminated at the
7223         right place (either 8th, or 11th position).
7224         * NEWS, src/chgpasswd.c, src/chpasswd.c: The protocol + salt does
7225         not need 15 chars. No need for a temporary buffer.
7226         This change the fix committed on 2007-11-10. The salt provided to
7227         pw_encrypt could have been too long.
7228
7229 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7230
7231         * man/fr/fr.po: Fix typo: missing / in <placeholder-1/>. This
7232         caused the gpasswd title to be incomplete in the French manpage.
7233
7234 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7235
7236         * configure.in: Check if the l64a function exists instead of a64l
7237         which we do not use.
7238         * libmisc/salt.c: Add support for uClibc with no l64a().
7239
7240 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7241
7242         * configure.in: Check if the netdb.h header file and the innetgr
7243         function exist.
7244         * src/login_nopam.c, NEWS: Add support for systems with no
7245         innetgr().  On those systems, username with an @ will be treated
7246         like any other username (i.e. lookup in the local database for an
7247         user with an @). Thanks to Mike Frysinger for the patch.
7248
7249 2007-11-16  Nicolas François  <nicolas.francois@centraliens.net>
7250
7251         * src/useradd.c: Indentation fix.
7252
7253 2007-11-14  Nicolas François  <nicolas.francois@centraliens.net>
7254
7255         * src/newgrp.c, NEWS: Declare the child and pid variable at the
7256         beginning of a block. This fixes a compilation issue with gcc 2.95.
7257         The intent is the same as Gentoo's patch shadow-4.0.12-gcc2.patch.
7258
7259 2007-11-14  Nicolas François  <nicolas.francois@centraliens.net>
7260
7261         * src/Makefile, NEWS: Add a suidperms variable. This should ease
7262         the change of permission of suid binaries for distributors (not
7263         recommended).
7264
7265 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7266
7267         * ./, libmisc/, src/, contrib/, doc/, lib/, man/, man/sv/,
7268         man/de/, man/ja/, man/fi/, man/pt_BR/, man/fr/, man/pl/, man/hu/,
7269         man/tr/, man/ru/, man/zh_TW/, man/id/, man/zh_CN/, man/cs/,
7270         man/es/, man/ko/, man/it/, etc/, etc/pam.d/, po/: Restore the
7271         ignore patterns from the previous repository.
7272
7273         * libmisc/*.c, libmisc/*.h, libmisc/getdate.y, shadow.spec.in,
7274         src/*.c, contrib/groupmems.shar, contrib/pwdauth.c,
7275         doc/README.platforms, doc/WISHLIST, doc/console.c.spec.txt,
7276         lib/*.c, lib/*.h, COPYING, man/*.xml, man/sv/*.[1358],
7277         man/de/*.[1358], man/ja/*.[1358], man/fi/*.[1358],
7278         man/fr/*.[1358], man/pt_BR/*.[1358], man/pl/*.[1358],
7279         man/hu/*.[1358], man/tr/*.[1358], man/ru/*.[1358],
7280         man/zh_TW/*.[1358], man/id/*.[1358], man/zh_CN/*.[1358],
7281         man/cs/*.[1358], man/es/*.[1358], man/ko/*.[1358],
7282         man/it/*.[1358], etc/login.access, etc/login.defs, NEWS: Added the
7283         subversion svn:keywords property (Id) for proper identification.
7284
7285 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7286
7287         * man/sv/sv.po, man/de/de.po, man/fr/fr.po, man/pl/pl.po,
7288         man/ru/ru.po, man/it/it.po: Run "make update-po" in the man
7289         directory.
7290
7291         * po/ne.po, po/bs.po, po/cs.po, po/pt_BR.po, po/km.po, po/es.po,
7292         po/eu.po, po/ko.po, po/hu.po, po/sk.po, po/vi.po, po/uk.po,
7293         po/ro.po, po/sq.po, po/ru.po, po/id.po, po/nb.po, po/el.po,
7294         po/gl.po, po/fr.po, po/nl.po, po/pl.po, po/nn.po, po/it.po,
7295         po/dz.po, po/tl.po, po/pt.po, po/ca.po, po/da.po, po/tr.po,
7296         po/sv.po, po/de.po, po/ja.po, po/zh_TW.po, po/he.po, po/fi.po,
7297         po/zh_CN.po: Run "make update-po" in the po directory.
7298
7299 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7300
7301         * NEWS, src/newgrp.c: Don't ask for a password if there are no
7302         group passwords. Just directly give up. This comes from the
7303         Fedora's patch shadow-4.0.13-newgrpPwd.patch, and seems to be the
7304         only part with an effect.
7305
7306 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7307
7308         * NEWS, src/chgpasswd.c, src/chpasswd.c: Fix chpasswd and
7309         chgpasswd stack overflow. Based on Fedora's
7310         shadow-4.0.18.1-overflow.patch.
7311
7312 2007-11-10  Nicolas François  <nicolas.francois@centraliens.net>
7313
7314         * NEWS, src/useradd.c: Allow non numerical group identifier to be
7315         specified with useradd's -g option. Applied Debian patch
7316         397_non_numerical_identifier. Thanks also to Greg Schafer
7317         <gschafer@zip.com.au>.
7318
7319 2007-10-28  Nicolas François  <nicolas.francois@centraliens.net>
7320
7321         * configure.in: Prepare the next release: 4.0.18.2. The gettext
7322         version used for the configuration will be 0.16.
7323
7324 2007-10-28  Nicolas François  <nicolas.francois@centraliens.net>
7325
7326         * po/ja.po: Remove a plural form. nplurals=1 for japanese.
7327         Moreover, msgstr[0] was identical to msgstr[1].
7328
7329 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7330
7331         * libmisc/limits.c, man/limits.5.xml, etc/limits: Apply patch sent
7332         by Justin Bronder <jsbronder@gmail.com>. See Debian bug #442334.
7333         This adds support to 2 new resource limits: max nice value, and
7334         max real time priority. This is only used when shadow is not
7335         compiled with PAM support.
7336
7337 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7338
7339         * man/gpasswd.1.xml: Describe the options separately in the
7340         OPTIONS section. Simplify the synopsis.
7341
7342 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7343
7344         * README, po/Makevars: Update contact information.
7345
7346 2007-10-27  Christian Perrier  <bubulle@debian.org
7347
7348         * src/newgrp.c, src/passwd.c, src/su.c:
7349         No longer 'apologize' to users when they use incorrect passwords
7350         Remove "Sorry" from programs display
7351         Imported from Debian's patch 413_no-sorry-in-passwd and
7352         102_de-fix-sorry
7353         * man/fr/fr.po: fix translation errors. Imported from Debian's
7354         patch 201_fix_man_su_fr and 416_man-fr_newgrp
7355         * man/it/it.po, man/Makefile.am, man/it/Makefile.am:
7356         Use gettext for the Italian man pages translation. Imported from
7357         Debian's patch 202_it_man_uses_gettext. Thanks to Giuseppe
7358         Sacco who contributed the Italian translation.
7359         * man/de/de.po: (nearly) complete German translation of man pages
7360         Imported from Debian's patch 203_de-man-update. Thanks to 
7361         Simon Brandmair
7362         * src/usermod.c: Clarify the online help of usermod for "-a"
7363         Imported from Debian's patch 402-clarify_usermod_usage
7364         * man/shadow.5.xml: fix spelling error. Imported from Debian's
7365         patch 433_shadow.5-typo_312430
7366         * src/su.c: Be up front on the origin of su and mention the GNU
7367         origin. Imported from Debian's patch 438_su_GNU_origin
7368
7369 2007-10-27  Nicolas François  <nicolas.francois@centraliens.net>
7370
7371         * NEWS, po/zh_CN.po: Updated Chinese translation. Imported from
7372         Debian's patch 105_zh_CN. Thanks to Ming Hua for the update.
7373
7374 2007-10-13  Tommi Vainikainen  <thv+debian@iki.fi>
7375
7376         * NEWS, po/fi.po: Updated Finish translation (400t).
7377
7378 2007-10-13  Nicolas François  <nicolas.francois@centraliens.net>
7379
7380         * NEWS, src/su.c: If compiled without PAM support, enforce the
7381         limits from /etc/limits when one of the -, -l, or --login options
7382         is set, even if called by root. Thanks to Justin Bronder.
7383
7384 2007-10-07  Nicolas François  <nicolas.francois@centraliens.net>
7385
7386         * NEWS, Changelog: Convert the Changelog and NEWS files to UTF-8
7387         (it was partially ISO-8859-2).
7388
7389 2007-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
7390
7391         * 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:
7392         groupadd.8, groupmod.8, login.1, useradd.8, userdel.8, usermod.8: grammar
7393         mistakes and other correctstions (by Schulenberg <bensberg@justemail.net>).
7394
7395 2007-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
7396
7397         * NEWS, src/usermod.c:
7398         fixed handle -a option in usermod (by Benno Schulenberg <bensberg@justemail.net>).
7399
7400 2006-12-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
7401
7402         * man/sv/sv.po:
7403         more UTF8 fixe (by Mikael Magnusson <mikma@users.sourceforge.net>).
7404
7405         * man/sv/sv.po:
7406         UTF8 fixes (by Mikael Magnusson <mikma@users.sourceforge.net>).
7407
7408 2006-11-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
7409
7410         * man/pl/Makefile.am, man/pl/chgpassw.8, man/pl/chpasswd.8, man/pl/pl.po:
7411         translation chpasswd.8 and chgpassw.8 finished.
7412
7413 2006-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
7414
7415         * man/pl/pl.po: resolve fuzzy entries.
7416
7417         * 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:
7418         spelling fixes 's/super user/superuser/' (by Benno Schulenberg <bensberg@justemail.net>).
7419
7420         * man/sv/sv.po, man/de/de.po, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po:
7421         run "make update-po".
7422
7423         * man/newusers.8.xml, man/su.1.xml:
7424         fixed wrong word, a few typos, some grammar mistakes, and puts in a comma here
7425         and there for clarity (by Benno Schulenberg <bensberg@justemail.net>).
7426
7427         * man/pl/groupmod.8, man/pl/chage.1, man/pl/chsh.1, man/pl/lastlog.8, man/pl/vipw.8:
7428         regenerated.
7429
7430         * man/de/de.po: run "make update-po".
7431
7432         * man/Makefile.am:
7433         added de to LINGUAS but man/de/de.po still need many work.
7434
7435 2006-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
7436
7437         * src/useradd.c: indent code.
7438
7439         * NEWS, src/useradd.c:
7440         improved auditing support (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211659).
7441
7442 2006-11-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
7443
7444         * 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:
7445         run "make update-po".
7446
7447         * NEWS, po/nl.po:
7448         updated (by cobaco (aka Bart Cornelis) <cobaco@skolelinux.no>).
7449
7450         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po:
7451         "make update-po".
7452
7453 2006-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
7454
7455         * man/su.1.xml:
7456         added sg(1) to the SEE ALSO section (Debian Bug#396690).
7457
7458 2006-10-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
7459
7460         * man/newusers.8.xml: clarify pw_gid fileld content description.
7461
7462         * man/it/Makefile.am, man/sv/Makefile.am:
7463         s/man_nonpam/man_nopam/ (merged 498_man_nonpam_undefined Debian patch).
7464
7465         * po/nl.po:
7466         fixed https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212892
7467
7468 2006-10-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
7469
7470         * man/newusers.8.xml: there is no pw_age fileld in passwd.
7471
7472         * man/fr/fr.po:
7473         Fix an error in the passwd.1 French translation (fixed Debian bug #395537).
7474
7475         * 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:
7476         cleanups on begin DESCRIPTION section.
7477
7478         * man/pl/pl.po: typos.
7479
7480 2006-10-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
7481
7482         * po/pl.po: cleanups.
7483
7484 2006-10-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
7485
7486         * man/pl/pl.po: more translations.
7487
7488         * NEWS:
7489         UTF-8 corrections (by Benno Schulenberg <bensberg@justemail.net>).
7490
7491 2006-10-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
7492
7493         * man/groupdel.8.xml: added description for exit code 6.
7494
7495 2006-08-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
7496
7497         * man/de/de.po: copy & paste some msgid to msgstr.
7498
7499         * man/de/de.po:
7500         kill some fuzzy (by Nicolas François <nicolas.francois@centraliens.net>).
7501
7502 2006-08-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
7503
7504         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po, man/passwd.1.xml:
7505         s/change password/password change/ in passwd(1) (by Simon Brandmair <sbrandmair@gmx.net>).
7506
7507         * man/de/de.po:
7508         initial version based on partial translations only for passwd(1) by
7509         Simon Brandmair <sbrandmair@gmx.net>.
7510
7511         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/useradd.c, src/userdel.c, src/usermod.c:
7512         flush nscd cashes after close /etc/{group,passwd} files.
7513
7514 2006-08-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
7515
7516         * po/tl.po: updated (by Eric Pareja <xenos@upm.edu.ph>).
7517
7518 2006-08-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
7519
7520         * NEWS, po/ja.po: updated (by Takeo Nakano <nakano@webmasters.gr.jp>).
7521
7522 2006-08-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
7523
7524         * man/fr/Makefile.am:
7525         removed whitespaces following trailing backslashes.
7526
7527         * NEWS, configure.in: release 4.0.18.1.
7528
7529         * 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:
7530         fixed missing man pages in dist tar ball necessary on build when PAM is disabled.
7531
7532         * NEWS, src/groupmems.c:
7533         fixed groupmems compilation when PAM is disabled (by Johannes Winkelmann <jw@smts.ch>).
7534
7535         * configure.in:
7536         typo s/followig/following/ (by Johannes Winkelmann <jw@smts.ch>).
7537
7538 2006-08-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
7539
7540         * NEWS: release date corrected.
7541
7542         * NEWS, src/su.c:
7543         fixed set enviroment too early when using PAM, so move it to !USE_PAM
7544         (patch submitted by Mike Frysinger <vapier@gentoo.org>).
7545
7546 2006-07-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
7547
7548         * 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:
7549         fr man pages are now up to date.
7550
7551         * man/fr/fr.po:
7552         more updates for 4.0.18 (by Nicolas François <nicolas.francois@centraliens.net>).
7553
7554         * man/fr/fr.po:
7555         updated for 4.0.18 (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
7556
7557 2006-07-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
7558
7559         * 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:
7560         updated.
7561
7562         * src/useradd.c, src/usermod.c:
7563         fixed UID/GID overflow (fixed http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920).
7564         Fixed expiredate/inactive/mindays/warndays/maxdays overflow (simillar to RH#198920).
7565
7566         * src/passwd.c:
7567         fixed inactive/mindays/warndays/maxdays overflow (similar to RH#198920).
7568
7569         * src/groupadd.c, src/groupmod.c:
7570         fixed GID overflow (fixed http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920).
7571
7572 2006-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
7573
7574         * src/.cvsignore: groupmems added.
7575
7576 2006-07-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
7577
7578         * po/fr.po:
7579         updated for 4.0.18 (by ean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
7580
7581         * po/uk.po: break lines longer than 80 cols and add missing \n.
7582
7583         * po/uk.po:
7584         updated for 4.0.18 (by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>).
7585
7586         * man/pl/pl.po, man/ru/ru.po, man/sv/sv.po, man/chgpasswd.8.xml, man/chpasswd.8.xml, man/fr/fr.po:
7587         s/instead DES/instead of DES/
7588
7589         * NEWS: sv man pages are partially translated.
7590
7591 2006-07-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
7592
7593         * src/groupmems.c: fix compilation warnings.
7594
7595         * po/ko.po: use \t.
7596
7597         * po/nl.po: break lines longer than 80 cols and add missing \n.
7598
7599 2006-07-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
7600
7601         * man/ru/faillog.5: regenerated.
7602
7603         * po/ko.po: updated for 4.0.18 (by Changwoo Ryu <cwryu@debian.org>).
7604
7605 2006-07-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
7606
7607         * man/faillog.5.xml, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/sv/sv.po:
7608         added <refmiscinfo class="sectdesc"> tag for faillog.5.xml.
7609
7610         * man/sv/Attic/grupper.1: removed.
7611
7612         * 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:
7613         corrected text charset and other minor cleanups (by Daniel Nylander <info@danielnylander.se>).
7614
7615         * po/tr.po: break lines longer than 80 cols.
7616
7617         * po/tr.po:
7618         updated for 4.0.18 (by Mehmet TURKER <mturker@innova.com.tr>).
7619
7620         * configure.in, man/Makefile.am, man/sv/Makefile.am:
7621         fixes for "make {dist|distchec}" and sv man pages.
7622
7623         * 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:
7624         full sv man pages set added (by Daniel Nylander <info@danielnylander.se>).
7625         This man pages are translated using new XML/xml2po/gettext infrastructure.
7626
7627         * po/pl.po: updated for 4.0.18.
7628
7629 2006-07-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
7630
7631         * po/pt.po:
7632         updated for 4.0.18 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
7633
7634         * po/gl.po, NEWS:
7635         updated for 4.0.18 (by Jacobo Tarrio <jacobo@tarrio.org>).
7636
7637         * NEWS, po/eu.po:
7638         updated for 4.0.18 (by Piarres Beobide <pi@beobide.net>).
7639
7640         * 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:
7641         updated for 4.0.18 (by Yuri Kozlov <kozlov.y@gmail.com>).
7642
7643         * po/vi.po, NEWS:
7644         updated for 4.0.18 (by Clytie Siddall <clytie@riverland.net.au>).
7645
7646         * NEWS, po/cs.po:
7647         updated for 4.0.18 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
7648
7649         * NEWS, po/sv.po:
7650         updated for 4.0.18 (by Daniel Nylander <info@danielnylander.se>).
7651
7652         * NEWS, po/ca.po:
7653         updated for 4.0.18 (by Guillem Jover <guillem@debian.org>).
7654
7655 2006-07-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
7656
7657         * po/hu.po: cleanups.
7658
7659         * NEWS, po/da.po:
7660         updated for 4.0.18 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
7661
7662         * po/hu.po, NEWS: updated for 4.0.18 (by SZERVÁC Attila <sas@321.hu>).
7663
7664         * NEWS: typos.
7665
7666         * man/ru/ru.po, man/fr/fr.po, man/pl/pl.po: run "make update-po".
7667
7668         * man/su.1.xml: fixes in <refsynopsisdiv>.
7669
7670         * src/groupmems.c: indent soutrce code.
7671
7672         * src/groupmems.c: use shadow Copyright.
7673
7674         * 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:
7675         added src/groupmems.c to POTFILES.in.
7676
7677         * NEWS, etc/pam.d/Makefile.am, etc/pam.d/groupmems, man/Makefile.am, man/groupmems.8.xml, src/Makefile.am, src/groupmems.c:
7678         groupmems rewrited for use PAM and getopt_long() nad now it is enabled
7679         for build and install (patch by George Kraft <gk4@swbell.net>).
7680
7681         * NEWS, configure.in: start prepare for 4.0.18.
7682
7683 2006-07-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
7684
7685         * 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:
7686         run "make update-po" and some cleanups (added missing \n and use tabs instead spaces).
7687
7688         * src/su.c: s#[login]#[LOGIN]# in help message.
7689
7690         * man/useradd.8.xml:
7691         added missing --<foo> long options names in "Changing the default values" section.
7692
7693         * po/tr.po: updated (by Murat Şenel <muratasenel@gmail.com>).
7694
7695 2006-07-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
7696
7697         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.
7698
7699         * man/useradd.8.xml: added newusers(8) to SEE ALSO section.
7700
7701         * etc/login.defs:
7702         removed GETPASS_ASTERISKS (patch by Mike Frysinger <vapier@gentoo.org>).
7703
7704 2006-07-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
7705
7706         * NEWS, man/pl/chsh.1, man/pl/pl.po: pl chage(1): translation finished.
7707
7708         * NEWS:
7709         s#fix by Mike Frysinger <vapier@gentoo.org>)#(patch by Ulrich Mueller <ulm@kph.uni-mainz.de>; http://bugs.gentoo.org/139966#
7710
7711         * NEWS, configure.in:
7712         S/Key: removed assign getpass() to libshadow_getpass() on autoconf level
7713         (fix by Mike Frysinger <vapier@gentoo.org>).
7714
7715 2006-07-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
7716
7717         * man/vipw.8.xml: make options <replaceable> in SYNOPSIS.
7718
7719         * 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:
7720         s/group/GROUP/ in groupadd help message.
7721
7722         * src/su.c (main):
7723         move **envcp declaration to #ifdef USE_PAM (fixed warning about unused
7724         variable when shadow is builded with PAM didabled).
7725
7726         * man/pl/pl.po, NEWS, man/pl/chage.1: pl chage(1) translation finished.
7727
7728         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.
7729
7730         * man/chsh.1.xml: updated after rewrite chsh for use getopt_long().
7731
7732         * po/pl.po: kill fuzzy.
7733
7734 2006-07-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
7735
7736         * po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/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:
7737         one \t more in help message.
7738
7739         * 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:
7740         updated.
7741
7742         * NEWS, src/chsh.c: chsh rewrited for use getopt_long().
7743
7744 2006-07-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
7745
7746         * man/pl/groupmod.8, man/pl/pl.po: finish translation groupmod(8).
7747
7748         * man/fr/fr.po, man/groupmod.8.xml, man/pl/groupmod.8, man/pl/pl.po, man/ru/ru.po:
7749         cleanups in groupmod(8).
7750
7751         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml, src/usermod.c, NEWS:
7752         back to previouse usermod -a option sematics and clarify -a behavior
7753         on documentation level (by Greg Schafer <gschafer@zip.com.au>).
7754
7755         * man/fr/fr.po, man/groupmod.8.xml, man/pl/pl.po, man/ru/ru.po:
7756         updated groupmod man page.
7757
7758 2006-07-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
7759
7760         * src/groupmod.c: too many \t in help message.
7761
7762         * 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:
7763         updated.
7764
7765         * 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:
7766         run "make update-po".
7767
7768         * src/groupmod.c: cleunps in help message.
7769
7770         * src/chage.c: s/user/\[LOGIN\]/ in help message.
7771
7772         * src/passwd.c: s/\[login\]/\[LOGIN\]/ in help message.
7773
7774         * NEWS, src/groupmod.c: groupmod rewrited for use getopt_log().
7775
7776 2006-07-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
7777
7778         * po/sv.po:
7779         added missing \n in help messages and few other minor cleanups.
7780
7781         * NEWS, po/sv.po:
7782         updated for 4.0.17 (by Daniel Nylander <info@danielnylander.se>).
7783
7784         * NEWS: 4.0.17 release date i 10-07-2006.
7785
7786         * NEWS, libmisc/copydir.c:
7787         fixed segfault usermod/userdel on remove home directory when it can't
7788         be removed; for example when it is /dev/null (fixed http://bugs.gentoo.org/139148).
7789
7790         * src/login.c, src/logoutd.c, src/userdel.c, libmisc/limits.c:
7791         remove USER_PROCESS conditionsi (code simplifications).
7792
7793 2006-07-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
7794
7795         * po/km.po: kill all fuzzy (Sokhem <khoemsokhem@khmeros.info>).
7796
7797 2006-07-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
7798
7799         * po/de.po: kill fuzzy (by Holger Wansing <linux@wansing-online.de>).
7800
7801 2006-07-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
7802
7803         * man/Makefile.am: removed duplicated all target.
7804
7805         * NEWS, po/LINGUAS, po/ne.po:
7806         new Nepali translation (by Paras Pradhan <pradhanparas@gmail.com>).
7807
7808         * NEWS, po/LINGUAS, po/dz.po: new Dzongkha translation.
7809
7810         * NEWS, po/de.po:
7811         updated for 4.0.17 (by Holger Wansing <linux@wansing-online.de>).
7812
7813         * NEWS, po/nl.po:
7814         updated for 4.0.17 (by "cobaco (aka Bart Cornelis)" <cobaco@skolelinux.no>)
7815
7816 2006-06-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
7817
7818         * po/ko.po: cleanups (by darehanl <darehanl@gmail.com>).
7819
7820         * src/usermod.c: fixes in getopt_long() optstring: s/a/a:/ and added h.
7821
7822         * src/faillog.c:
7823         fixed long_options[] entries: s/no_argument/required_argument/ for lock-secs,
7824         maximum, time and user options.
7825
7826         * NEWS, configure.in:
7827         improved SELinux detection on autoconf level (based on patch by
7828         Dan Yefimov <dan@D00M.lightwave.net.ru>).
7829
7830         * po/ro.po, NEWS:
7831         updated for 4.0.17 (by Sorin Batariuc <sorin@bonbon.net>).
7832
7833 2006-06-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
7834
7835         * NEWS: cleanups.
7836
7837         * man/pl/pl.po: more translations for chage(1).
7838
7839         * TODO: remove done things.
7840
7841         * NEWS, lib/Attic/getpass.c, lib/Makefile.am, lib/getdef.c, lib/pwauth.c, po/POTFILES.in:
7842         removed using private implementatuon getpass() libc function (now getpass() is
7843         used also when S/KEY support is enabled).
7844
7845         * NEWS, src/Makefile.am: move nologin do $(sbindir).
7846
7847         * man/pl/pl.po: more work.
7848
7849         * man/pl/pl.po: more translations.
7850
7851         * po/pl.po: s/KEY=VALUE/KLUCZ=WARTOŚĆ/
7852
7853         * po/pl.po: s/SEC/SEK/
7854
7855         * src/chpasswd.c: added missing #include "exitcodes.h".
7856
7857         * src/chpasswd.c: s/exit (1)/exit (E_USAGE)/
7858
7859         * man/Makefile.am:
7860         move all current i18n man pages automation inside "if ENABLE_REGENERATE_MAN .. endif".
7861
7862         * man/Makefile.am:
7863         add an error message so people don't have to go digging through
7864         source to find out what's up (by Mike Frysinger <vapier@gentoo.org>).
7865
7866         * 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:
7867         updated ru man pages (regenerated from man/ru/ru.po -> man/ru/*xml -> roff).
7868
7869         * NEWS, po/ru.po:
7870         updated for 4.0.17 (by Yuri Kozlov <kozlov.y@gmail.com>).
7871
7872         * NEWS, po/LINGUAS, po/km.po:
7873         new km translation (Sokhem <khoemsokhem@khmeros.info>).
7874
7875         * 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:
7876         cleanups in groupadd help message.
7877
7878         * NEWS, po/nb.po:
7879         updated for 4.0.17 (by Bjørn Steensrud <bjornst@powertech.no>).
7880
7881         * NEWS, po/da.po:
7882         updated for 4.0.17 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
7883
7884         * po/pl.po:
7885         s/twóş/twĂłrz/ (fix by Michał Łomnicki <michal.lomnicki@gmail.com>).
7886
7887         * NEWS, po/pt.po:
7888         updated for 4.0.17 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
7889
7890         * NEWS, po/vi.po:
7891         updated for 4.0.17 (by Clytie Siddall <clytie@riverland.net.au>).
7892
7893         * NEWS, po/cs.po:
7894         updated for 4.0.17 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
7895
7896         * po/eu.po, po/fr.po, po/gl.po, po/pl.po:
7897         Project-Id-Version: shadow 4.0.17
7898
7899         * NEWS, po/sk.po:
7900         updated for 4.0.17 (by Peter Mann <Peter.Mann@tuke.sk>).
7901
7902         * NEWS, po/ko.po:
7903         updated for 4.0.17 (by Changwoo Ryu <cwryu@debian.org>).
7904
7905 2006-06-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
7906
7907         * NEWS, configure.in: schedule release 40.17 on 26-06-2006.
7908
7909         * src/useradd.c:
7910         adjust last fix for leave some fix mail spool creation after rewrite internal
7911         configuration API.
7912
7913         * src/useradd.c, NEWS:
7914         fixed mail spool file creation (bug cached by Frans Pop <elendil@planet.nl>,
7915         fixed http://bugs.debian.org/374705).
7916
7917 2006-06-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
7918
7919         * po/bs.po, po/ca.po, po/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:
7920         better looking help messages output. Added one empty line at end of help message.
7921
7922         * po/ru.po, po/sk.po, po/sv.po, po/tl.po, po/uk.po, po/ro.po, po/pt_BR.po:
7923         break help messages lines before col 80.
7924
7925         * man/pl/pl.po: more work on usermod.
7926
7927         * po/pl.po: cleanups.
7928
7929 2006-06-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
7930
7931         * man/pl/vipw.8:
7932         regenerated using fixed DocBook XSL Stylesheets v1.70.1 (I must submit my
7933         fixes common/pl.xml do DocBook XSL Stylesheets mantainer).
7934
7935         * man/fr/fr.po, man/ru/ru.po: updated.
7936
7937         * man/pl/lastlog.8, man/pl/pl.po: finish translate lastlog(8).
7938
7939         * man/lastlog.8.xml: improved NOTE section content.
7940
7941         * po/pl.po: iprove lastlog help message.
7942
7943         * man/fr/fr.po, man/lastlog.8.xml, man/pl/pl.po, man/ru/ru.po:
7944         Better lastlog short description. Now it is:
7945         lastlog - reports the most recent login of all users or of a given user
7946
7947         * man/Makefile.am, man/fr/fr.po, man/lastlog.8.xml, man/pl/pl.po, man/ru/ru.po:
7948         Fixed CAVEATS section (what the hell is mmdf ? :)
7949
7950         * man/ru/ru.po, NEWS, man/faillog.5.xml, man/fr/fr.po, man/pl/pl.po:
7951         added missing information about fail_locktime element of faillog struct
7952         in faillog(5) man page (by Thorsten Kukuk <kukuk@suse.de>).
7953
7954 2006-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
7955
7956         * 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:
7957         fully regenerated man pages.
7958
7959         * man/Makefile.am:
7960         hack for generate translated xml files with lang="<lang> in <refentry> tag.
7961         Now is possible testing correctnes of XSLT sheets languages definition.
7962
7963 2006-06-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
7964
7965         * NEWS, po/eu.po: updated (by Piarres Beobide <pi@beobide.net>).
7966
7967 2006-06-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
7968
7969         * 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:
7970         s/ \\n"/\\n"/ in translated strings.
7971
7972         * man/pl/pl.po: more translations for usermod.
7973
7974         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml:
7975         added <command> tags for at and crontab.
7976
7977         * man/fr/fr.po, man/pl/pl.po, man/ru/ru.po, man/usermod.8.xml:
7978         remove /etc/login.defs from FILES section.
7979
7980         * po/gl.po: updated (by Jacobo Tarrio <jtarrio@trasno.net>).
7981
7982         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
7983
7984         * po/pl.po:
7985         updated usermod help message and fixed few other things introduced during
7986         copy&paset from useradd help message.
7987
7988         * 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:
7989         fixes in help message:
7990         s/login/LOGIN/
7991         s/new login directory/new home directory/
7992         s/new initial login group/new primary group/
7993         s/tlist of supplementary/new tlist of supplementary/
7994         s/LOGIN/NEW_LOGIN/
7995
7996         * 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:
7997         cleanups in usermod help message.
7998
7999         * po/es.po, po/eu.po, po/fi.po, po/tl.po: cleanups.
8000
8001         * 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:
8002         s/\\\t /\\\t/
8003
8004 2006-06-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8005
8006         * NEWS, configure.in, man/Makefile.am:
8007         reverte using docbook.sourceforge.net in XSLT url.
8008
8009         * po/pl.po: cleanups.
8010
8011 2006-06-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8012
8013         * man/Makefile.am:
8014         improved gen-xmls target: now this target generates only missing xml files.
8015
8016 2006-06-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
8017
8018         * NEWS, po/sk.po:
8019         updated for 4.0.16 (by Peter Mann <Peter.Mann@tuke.sk>).
8020
8021         * NEWS, po/es.po:
8022         updated for 4.0.16 (by Ruben Porras <nahoo82@gmail.com>).
8023
8024         * NEWS, po/fi.po:
8025         updated for 4.0.16 (by Tommi Vainikainen <thv+debian@iki.fi>).
8026
8027         * NEWS, man/cs/Makefile.am, man/cs/groupmems.8, man/cs/groupmod.8, man/cs/grpck.8, man/cs/gshadow.5:
8028         new cs man pages: groupmems(8), groupmod(8), grpck(8), gshadow(5)
8029         (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8030
8031         * NEWS, po/cs.po:
8032         updated for 4.0.16 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8033
8034 2006-06-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8035
8036         * NEWS, configure.in, man/Makefile.am:
8037         regenerate roff man pages using docbook-style-xsl-1.70.1.
8038         This version uses new base URL: http://docbook.sf.net/release/xsl/current/
8039
8040         * man/.cvsignore: shadow-man-pages.pot added.
8041
8042         * man/Makefile.am:
8043         added temporary gen-xmls targed and dependencies beetwen .pot and .po files.
8044
8045         * man/chgpasswd.8.xml: removed <!DOCTYPE> tag (isn't neccessary).
8046
8047 2006-05-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
8048
8049         * man/pl/pl.po: chage(1) translation.
8050
8051         * man/pl/Attic/chage.1.xml: removed.
8052
8053         * man/chage.1.xml, man/fr/fr.po, man/pl/pl.po, man/ru/ru.po:
8054         chage requires shadow access and can't work without this.
8055
8056         * po/da.po:
8057         updated for 4.0.16 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8058
8059         * po/pl.po: s/_DAYS/_DNI/
8060
8061 2006-05-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8062
8063         * NEWS: s/OWL/Owl/
8064
8065         * NEWS: new release date for 4.0.16 is 05-06-2006.
8066
8067         * NEWS: fixed last usermod changes comment. Current is:
8068         better fix for old CERT VU#312962 (which was fixed in shadow 4.0.8):
8069         fixed forgoten checking of the return value from fchown() before
8070         proceeding with the fchmod() (based on Owl patch prepared by
8071         Rafal Wojtczuk <nergal@owl.openwall.com>)
8072
8073         * src/useradd.c (create_mail):
8074         move checking create_mail_spool is "yes" on top function.
8075
8076         * man/pl/pl.po: cleanups.
8077
8078         * po/fr.po:
8079         plugged fuzzy (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8080
8081         * po/fr.po:
8082         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8083
8084 2006-05-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
8085
8086         * man/Makefile.am:
8087         simplifications in update-po target and fixes in dist-po-files target.
8088
8089         * NEWS, po/eu.po:
8090         updated for 4.0.16 (by Piarres Beobide <pi@beobide.net>).
8091
8092 2006-05-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8093
8094         * 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:
8095         bunch of cleanups in chfn(1), faillog(8), gpasswd(1), groupadd(8),
8096         groupmems(8), limits(5), login(1), login.defs(5), newgrp(1), passwd(1),
8097         passwd(5) and su(1) (by Yuri Kozlov <kozlov.y@gmail.com>).
8098
8099         * man/Makefile.am, man/ru/ru.po: added ru to LINGUAS.
8100
8101         * po/ru.po: updated for 4.0.16 (by Yuri Kozlov <kozlov.y@gmail.com>).
8102
8103 2006-05-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
8104
8105         * man/fr/fr.po, man/pl/pl.po, man/chage.1.xml, man/passwd.1.xml:
8106         s/-n/-m/ in passwd(1). Improved -m, --mindays description in chage(1) and passwd(1).
8107         More pl translations.
8108
8109         * po/vi.po: updated (by Clytie Siddall <clytie@riverland.net.au>).
8110
8111         * NEWS, po/hu.po:
8112         updated for 4.0.16 (by Gabor Kelemen <kelemeng@gnome.hu>).
8113
8114 2006-05-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
8115
8116         * man/cs/Makefile.am, man/it/Makefile.am, man/ru/Makefile.am:
8117         id and sulogin executables are not installed by "make install",
8118         but a few translated man pages are still installed.
8119         (patch by Lasse Collin <lasse.collin@tukaani.org>)
8120
8121 2006-05-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8122
8123         * NEWS, po/vi.po:
8124         updates for 4.0.16 (by Clytie Siddall <clytie@riverland.net.au>).
8125
8126         * po/gl.po: updated for 4.0.16 (by Jacobo Tarrio <jtarrio@debian.org>).
8127
8128 2006-05-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8129
8130         * po/pl.po: more cleanups.
8131
8132         * po/fr.po:
8133         updated for 4.0.16 (by Christian Perrier <bubulle@kheops.frmug.org>).
8134
8135         * 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:
8136         use common style in FILES sections.
8137
8138         * 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:
8139         begin <refpurpose> text from lowercase.
8140
8141         * man/fr/fr.po, man/pl/pl.po, man/pwconv.8.xml, man/vipw.8.xml:
8142         remove "." from <refpurpose>.
8143
8144         * po/pl.po: cleanups.
8145
8146         * po/pl.po: typo.
8147
8148         * 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:
8149         *.xml added.
8150
8151         * 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:
8152         .xml2po.mo added.
8153
8154         * NEWS, man/pl/vipw.8: update pl vipw(8) man page.
8155
8156         * src/useradd.c: s/mailbox/mailbox file/
8157
8158         * man/pl/pl.po: seems vipw finished.
8159
8160         * man/fr/fr.po, man/vipw.8.xml: s/Quiet mode database./Quiet mode./
8161
8162         * man/pl/pl.po: more entries.
8163
8164         * 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:
8165         /mailbox/mailbox file/
8166
8167         * man/pl/pl.po: fill few entries.
8168
8169         * man/Makefile.am: fixes in dist-po-files target.
8170
8171         * man/Makefile.am: pl added to Linguas. Some mprovements.
8172
8173         * man/fr/fr.po:
8174         initial version based on ond version submited by Christian Perrier <bubulle@debian.org>.
8175
8176         * man/pl/pl.po: initial version.
8177
8178         * man/Makefile.am:
8179         implemet update-po target and dist, dist-check hooks for put .po and
8180         .pot files in dist tar ball.
8181
8182         * src/chgpasswd.c:
8183         reverte struct group newgr declaration but use them only conditionaly (#ifndef SHADOWGRP).
8184
8185 2006-05-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
8186
8187         * NEWS, configure.in: schedule release 4.0.16 to 29.05.06.
8188
8189         * po/pl.po: updated.
8190
8191         * po/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:
8192         run "make update-po".
8193
8194         * NEWS, src/useradd.c:
8195         fixed userdel CERT VU#312962: fixed forgoten checking of the return
8196         value from fchown() before proceeding with the fchmod() (prepared
8197         based on OWL fix submited by Solar Designer <solar@openwall.com>),
8198         Use in userdel login.defs::MAIL_DIR instead hardcoded /var/mail on created
8199         mailbox path (based on OWL fixes submited by Solar Designer <solar@openwall.com>).
8200
8201 2006-05-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8202
8203         * man/.cvsignore: added *.[1358]
8204
8205         * NEWS, man/ru/Makefile.am, man/ru/chgpasswd.8:
8206         added chgpasswd(8) ru man page (by Yuri Kozlov <kozlov.y@gmail.com>).
8207
8208         * po/gl.po: updated (by Jacobo Tarrio <jtarrio@debian.org>).
8209
8210         * NEWS, man/ru/login.defs.5, man/ru/passwd.1, man/ru/userdel.8, man/ru/usermod.8:
8211         updated ru login.defs(5), passwd(1), userdel(8), usermod(8) man pages
8212         (by Yuri Kozlov <kozlov.y@gmail.com>).
8213
8214         * NEWS, po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
8215
8216         * NEWS, po/pt.po: updated (by Miguel Figueiredo <elmig@debianpt.org>).
8217
8218 2006-05-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8219
8220         * 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:
8221         pw_auth(3) man page removed (outdated).
8222
8223         * 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:
8224         install limits(5), login.access(5) and porttime(5) man pages only when
8225         shadow is builded with PAM support disabled.
8226
8227         * NEWS: cleanups.
8228
8229         * autogen.sh:
8230         by default in development enviroment use CFLAGS="-O2 -Wall".
8231
8232         * src/chgpasswd.c (main): remove two unused variables (newgr and now).
8233
8234         * src/userdel.c (main): removed unused arg variable.
8235
8236         * libmisc/setupenv.c (setup_env):
8237         move *cp varable to #ifndef PAM part (fixed compilation
8238         warning about unused variable).
8239
8240         * lib/getdef.c: now GETPASS_ASTERISKS is SKEY #define dependent.
8241
8242         * configure.in, NEWS, lib/Attic/getpass.c, lib/pwauth.c:
8243         by default do not use libshadow_getpass() as getpass() replacemement.
8244         Use libshadow_getpass() only when S/KEY support is enabled.
8245         Current glibc getpass() handles correctly longer than 8 characters
8246         passwords and libshadow_getpass() is used only because libc getpass()
8247         do not handles password prompting with echo enabled.
8248
8249         * src/sulogin.c: break long line.
8250
8251         * lib/pwauth.c:
8252         added #include <unistd.h> and remove localy defined getpass() prototype.
8253
8254 2006-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8255
8256         * man/Makefile.am: removed dupplicated sulogin.8.xml from EXTRA_DIST.
8257
8258         * man/Attic/pw_auth.3.xml, man/Makefile.am: remove pw_auth(3) man page.
8259
8260         * NEWS, lib/getdef.c: move login.defs::MD5_CRYPT_ENAB to non-PAM part.
8261
8262         * po/ca.po, po/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:
8263         typo (s/removel/removal/)
8264
8265 2006-05-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8266
8267         * man/userdel.8.xml:
8268         updated (after add getopt_log() support for userdel).
8269
8270         * po/pl.po: updated.
8271
8272         * 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:
8273         userdel rewrited for use getopt_log().
8274
8275         * po/pl.po: cleanups.
8276
8277         * etc/pam.d/Makefile.am, etc/pam.d/chgpasswd: new file.
8278
8279 2006-05-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
8280
8281         * NEWS, po/da.po:
8282         updated (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8283
8284 2006-05-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8285
8286         * NEWS, po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
8287
8288         * NEWS, configure.in, etc/Makefile.am, etc/pam.d/Makefile.am:
8289         install default/template configuration files:
8290         - if shadow is configured with use PAM install /etc/pam.d/* files,
8291         - if shadow do not uses PAM install /etc/{limits,login.acces} files,
8292         - install /etc/login.defs and /etc/default/useradd files.
8293
8294         COMMENT: it is possible to extend this for install above files for specified
8295         distribution. For example: if exist /etc/fedora-release install Fedora specyfic
8296         default configuration files and this files can be distributed in dist tar ball.
8297
8298         * NEWS, po/gl.po: updated (by Jacobo Tarrio <jtarrio@trasno.net>).
8299
8300 2006-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8301
8302         * NEWS, po/fr.po:
8303         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
8304
8305         * NEWS, lib/commonio.c:
8306         fixed handle relative symlinks too in lib/commonio.c (merge patch from Fedora).
8307
8308         * NEWS, lib/nscd.c: properly notify nscd to flush its cache
8309         (https://bugzilla.redhat.com/bugzilla/186803).
8310
8311         * NEWS, libmisc/copydir.c (copy_tree):
8312         fixes for verify return values mkdir() and chown()
8313         on copy files (merge 482_libmisc_copydir_check_return_values Debian patch).
8314
8315         * po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/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:
8316         use '%s' cytation instead `%s'.
8317
8318         * NEWS, src/su.c:
8319         reverte http://bugs.debian.org/276419 (this is Debian specyfic).
8320
8321         * 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:
8322         use '%s' cytation instead \"%s\".
8323
8324         * 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:
8325         typo.
8326
8327         * po/pl.po: updated.
8328
8329         * NEWS, libmisc/setupenv.c (setup_env):
8330         export MAIL only when MAIL_CHECK_ENAB is enabled
8331         (Mike Frysinger <vapier@gentoo.org>).
8332
8333         * po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/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:
8334         warn when the members of a group differ in /etc/groups and /etc/gshadow
8335         (fixed http://bugs.debian.org/75181).
8336
8337         * NEWS, src/su.c:
8338         concatenate the non-su arguments and provide them to the shell with
8339         the -c option (fixes for http://bugs.debian.org/317264 and
8340         http://bugs.debian.org/276419).
8341
8342 2006-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8343
8344         * NEWS, man/passwd.1.xml:
8345         better document how password strength is checked (fixed http://bugs.debian.org/115380).
8346
8347 2006-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8348
8349         * NEWS, man/usermod.8.xml:
8350         added missing -a option description (by Christian Perrier <bubulle@debian.org>).
8351
8352 2006-04-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8353
8354         * NEWS, man/hu/chsh.1, man/hu/login.1, man/hu/newgrp.1:
8355         fixed typos (by Koblinger Egmont <egmont@uhulinux.hu>).
8356
8357 2006-04-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8358
8359         * NEWS, po/LINGUAS, po/hu.po:
8360         new hu translation (by SZERVÁC Attila <sas@321.hu>).
8361
8362 2006-04-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8363
8364         * man/userdel.8.xml:
8365         minior fixes for the note under the -f option (Mike Frysinger <vapier@gentoo.org>).
8366
8367 2006-04-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8368
8369         * NEWS, po/id.po: updatd (by Parlin Imanuel <pimanuel@gmail.com>).
8370
8371 2006-04-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8372
8373         * src/su.c: indent code.
8374
8375         * NEWS, src/su.c:
8376         fixed exit with a status 0 when the invoked command is terminated
8377         by a signal which was not catched
8378         (fixed by Eero Häkkinen <eero17@bigfoot.com>)
8379
8380         * README:
8381         simple patch to fixup grammar and Gentoo distfile URL (by Mike Frysinger <vapier@gentoo.org>).
8382
8383 2006-03-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
8384
8385         * 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:
8386         removed <!DOCTYPE> tag (require strict DocBook XML V4.3//EN DTD isn't neccessary).
8387
8388         * NEWS, src/login.c:
8389         cancel login timeout after authentication so that patient people
8390         timing out on network directory services can log in with local
8391         accounts (http://bugs.debian.org/107148).
8392
8393         * man/fr/login.defs.5, man/ja/login.defs.5, man/pl/useradd.8, man/ru/login.defs.5:
8394         remove CREATE_HOME.
8395
8396         * NEWS, man/login.defs.5.xml:
8397         CREATE_HOME is not supported by useradd (patch by Mike Frysinger <vapier@gentoo.org>).
8398
8399 2006-03-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
8400
8401         * po/nl.po:
8402         s/wachtwoord is mes succes aangepast/wachtwoord is met succes aangepast/
8403         (typo reported by Wim De Smet <wdesmet@yucom.be>).
8404
8405 2006-03-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
8406
8407         * src/passwd.c:
8408         removed GPASSWD_PROGRAM, CHFN_PROGRAM CHFN_PROGRAM #defines (not used now).
8409
8410         * NEWS, man/Makefile.am, man/chgpasswd.8.xml:
8411         chgpasswd(8): new man page.
8412
8413 2006-03-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8414
8415         * 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:
8416         remove english roff man pages from repo.
8417
8418 2006-03-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8419
8420         * NEWS, src/chgpasswd.c:
8421         fixes for build correctly with --disable-shadowgrp
8422         (patch by Johannes Winkelmann <jw@tks6.net>)
8423
8424 2006-03-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8425
8426         * man/pl/chage.1: fixed typo.
8427
8428 2006-03-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8429
8430         * po/it.po:
8431         updated for 4.0.15 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8432
8433 2006-03-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8434
8435         * NEWS, po/nb.po:
8436         updated for 4.0.15 (by Bjørn Steensrud <bjornst@powertech.no>).
8437
8438         * po/pt.po:
8439         updated for 4.0.15 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8440
8441         * man/Makefile.am, NEWS, configure.in:
8442         do not install translated man pages if shadow is configured with --disable-nls
8443         (based patch submited by Mike Frysinger <vapier@gentoo.org>).
8444
8445         * NEWS, po/pt_BR.po:
8446         updated for 4.0.15 (by Andre Luis Lopes <andrelop@debian.org>).
8447
8448         * po/fr.po:
8449         updated for 4.0.15 (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
8450
8451 2006-03-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8452
8453         * NEWS, configure.in, lib/pwauth.c:
8454         added fixes for detect BSD's S/Key with updated the skeychallenge() function
8455         for take a fourth argument in case BSD version
8456         (patch submited by Mike Frysinger <vapier@gentoo.org>)
8457
8458         * README: added paragragraph about S/Key support.
8459
8460         * po/sk.po: updated for 4.0.15 (by Peter Mann <Peter.Mann@tuke.sk>).
8461
8462         * NEWS: newgrp: do not link with libselinux.
8463
8464         * NEWS, po/zh_CN.po:
8465         updated for 4.0.15 (by Carlos Z.F. Liu <carlosliu@users.sourceforge.net>).
8466
8467         * po/ru.po: updated for 4.0.15 (by Yuri Kozlov <kozlov.y@gmail.com>).
8468
8469         * src/Makefile.am:
8470         removed $(LIBSELINUX) from newgrp_LDADD (newgrp does not need to be linked
8471         with SELinux libraries).
8472
8473         * 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:
8474         ru man pages: added new nologin(8) and updated all other man pages
8475         (by Yuri Kozlov <kozlov.y@gmail.com>).
8476
8477 2006-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
8478
8479         * NEWS, po/nl.po:
8480         updated for 4.0.15 (by cobaco (aka Bart Cornelis) <cobaco@linux.be>).
8481
8482         * po/vi.po:
8483         updated for 4.0.15 (by Clytie Siddall <clytie@riverland.net.au>).
8484
8485         * po/sv.po:
8486         updated for 4.0.15 (by Daniel Nylander <po@danielnylander.se>).
8487
8488 2006-03-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8489
8490         * po/eu.po: updated for 4.0.15 (by pi <pi@beobide.net>).
8491
8492         * po/ro.po: cleanups.
8493
8494         * NEWS, po/tl.po:
8495         updated for 4.0.15 (by Eric Pareja <xenos@upm.edu.ph>).
8496
8497         * po/ro.po: updated for 4.0.15 (by Sorin B. <sorin@bonbon.net>).
8498
8499         * NEWS, po/es.po:
8500         updated for 4.0.15 (by Ruben Porras <nahoo82@gmail.com>).
8501
8502 2006-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8503
8504         * NEWS, po/da.po:
8505         updated for 4.0.15 (by Claus Hindsgaul <claus.hindsgaul@gmail.com>).
8506
8507         * NEWS, man/fi/chsh.1, man/fi/su.1:
8508         update fi chsh(1), su(1) man pages generated from XML files
8509         (Tommi Vainikainen <thv+debian@iki.fi>).
8510
8511         * NEWS, po/fi.po:
8512         updated for 4.0.15 (by Tommi Vainikainen <thv+debian@iki.fi>).
8513
8514         * NEWS, po/cs.po:
8515         updated for 4.0.15 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8516
8517         * 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:
8518         added new cs man pages: expiry(1), faillog(5), faillog(8), gpasswd(1),
8519         groupadd(8), groupdel(8), logoutd(8), nologin(8), vipw(8).
8520
8521         * NEWS: typo.
8522
8523         * src/useradd.c, NEWS, lib/getdef.h, man/Attic/login.defs.5, man/login.defs.5.xml, src/login.c, src/newusers.c:
8524         default UMASK if not specified in login.defs is 022.
8525
8526 2006-03-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8527
8528         * po/pl.po: updated for 4.0.15.
8529
8530         * NEWS, po/gl.po:
8531         updated for 4.0.15 (by Jacobo Tarrio <jtarrio@trasno.net>).
8532
8533         * NEWS, configure.in: schedule release 4.0.15 to 13-03-2006.
8534
8535 2006-03-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8536
8537         * NEWS: typo (s/onas Meurer/Jonas Meurer/)
8538
8539         * src/.cvsignore: added chgpasswd.
8540
8541         * po/sk.po, po/sq.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:
8542         chgpasswd: new tool (by Jonas Meurer <mejo@debian.org>).
8543
8544         * 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:
8545         s/Unexpected/unexpected/
8546
8547         * 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:
8548         print the usage and exit if an additional argument is profided to
8549         lastlog (merge 488_laslog_verify_arguments Debian patch).
8550
8551 2006-03-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
8552
8553         * man/Attic/chpasswd.8, man/chpasswd.8.xml:
8554         fixed CAVEATS section (by Justin Pryzby <justinpryzby@users.sourceforge.net>)
8555
8556 2006-02-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
8557
8558         * man/Attic/passwd.1, man/passwd.1.xml:
8559         fixed SYNOPSIS section (http://bugs.debian.org/352136).
8560
8561 2006-02-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8562
8563         * po/ro.po: updated (by Sorin Batariuc <sorin@bonbon.net>).
8564
8565 2006-02-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
8566
8567         * NEWS, lib/Makefile.am, src/Makefile.am:
8568         login, nologin, su: do not link with libselinux
8569         (merge 490_link_selinux_only_when_needed Debian patch).
8570
8571         * NEWS, src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c:
8572         fixed confusing error message if /proc is not mounted
8573         (http://bugs.debian.org/352494
8574         patch Nicolas François <nicolas.francois@centraliens.net>)
8575
8576         * po/ro.po:
8577         updated (commited http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347755).
8578
8579         * NEWS, po/ca.po: updated (by Jordi Mallach <jordi@debian.org>).
8580
8581 2006-02-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8582
8583         * man/gpasswd.1.xml, man/passwd.1.xml, man/passwd.5.xml, man/pwck.8.xml, man/sg.1.xml, man/useradd.8.xml:
8584         cleanups.
8585
8586         * po/gl.po: updated (Jacobo Tarrio <jtarrio@trasno.net>).
8587
8588         * NEWS, po/pt.po:
8589         updated (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8590
8591 2006-02-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8592
8593         * NEWS, po/it.po:
8594         update (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8595
8596         * po/vi.po: update (by Clytie Siddall <clytie@riverland.net.au>).
8597
8598         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
8599
8600 2006-02-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
8601
8602         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
8603
8604         * 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:
8605         run "make update-po".
8606
8607         * po/pl.po: updated.
8608
8609         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
8610
8611         * po/eu.po: update (by ^pi^ <pi@beobide.net>).
8612
8613 2006-02-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8614
8615         * NEWS, src/login.c:
8616         merge 433_login_more_LOG_UNKFAIL_ENAB Debian patch:
8617         - TOO MANY LOGIN... logged if PAM_MAXTRIES or failcount >= retries
8618           (was onl test PAM_MAXTRIES),
8619         - print to stderr (in addition to syslog) in case of maximum number of
8620           tries exceeded,
8621         - always prints the number of tries in the syslog entry.
8622         - add special handling for PAM_ABORT
8623         - add an entry to failog, as when USE_PAM is not defined. (#53164)
8624         - changed pam_end to PAM_END. This is certainly was a mistake.
8625           PAM_END is pam_close_seesion + pam_end. Here, the session is still not
8626           open, we don't have to close it.
8627         - a HAVE_PAM_FAIL_DELAY is missing
8628
8629         * po/ro.po: kill one fuzzy.
8630
8631         * po/ro.po, NEWS: updated (by Sorin B. <sorin@bonbon.net>).
8632
8633         * src/gpasswd.c: s/die/catch_signals/
8634
8635         * src/expiry.c, src/sulogin.c: s/catch/catch_signals/
8636
8637         * src/su.c: /su_catch_sig/chatch_signals/
8638
8639 2006-02-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8640
8641         * src/id.c, src/groups.c, libmisc/getdate.y: lint code using CC=g++.
8642
8643         * NEWS, src/su.c:
8644         fixed pam session support (patch from Topi Miettinen; fixed #57526, #55873,
8645         #57532 Debian bugs).
8646
8647         * NEWS:
8648         fixed pam session support (patch from Topi Miettinen; fixed #57526,
8649         #55873, #57532 Debian bugs).
8650
8651         * NEWS, src/userdel.c:
8652         user's group is already removed by update_groups(). remove_group()
8653         is not needed (bug introduced in 4.0.14 on merge FC fixes). Fixed by Nicolas
8654         François <nicolas.francois@centraliens.net>
8655
8656         * NEWS, src/useradd.c: allways remove group and gshadow databases lock,
8657         Fixed by Nicolas François <nicolas.francois@centraliens.net>
8658         (http://bugs.debian.org/348250)
8659
8660         * NEWS, src/userdel.c: fixed excess audit_logger() argument.
8661
8662         * NEWS, lib/prototypes.h:
8663         corrected prototypes in lib/prototypes.h (thre is no audit_help_log(); added
8664         audit_logger() prototype).
8665
8666         * src/login.c: fixed missing ";" in declaration.
8667
8668         * man/Attic/limits.5, man/limits.5.xml:
8669         fixed example limits string (by Yuri Kozlov <kozlov.y@gmail.com>).
8670
8671 2006-02-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8672
8673         * 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:
8674         added missing \n on display password status if password must be chaged.
8675
8676 2006-02-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
8677
8678         * src/useradd.c, NEWS:
8679         fixed allow non-unique UID (http://bugs.debian.org/351281).
8680
8681 2006-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
8682
8683         * po/cs.po: updated (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8684
8685 2006-01-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
8686
8687         * NEWS, po/vi.po:
8688         updated (by Clytie Siddall <clytie@riverland.net.au>).
8689
8690 2006-01-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
8691
8692         * po/fr.po:
8693         typo (fixed by Christian Perrier <bubulle@kheops.frmug.org>).
8694
8695         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
8696
8697 2006-01-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
8698
8699         * 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:
8700         fixes some issues that cause warnings when the manpages are
8701         displayed (by Nicolas François <nicolas.francois@centraliens.net>).
8702
8703 2006-01-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
8704
8705         * NEWS, po/eu.po: updated (by pi <pi@beobide.net>).
8706
8707         * libmisc/addgrps.c, libmisc/xmalloc.c, src/groups.c:
8708         fixes after linting code using CC=g++: cast {m,re}alloc() return value to
8709         proper type.
8710
8711 2006-01-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
8712
8713         * 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:
8714         uniformity and grammar fixes (by Christine Spang <spangarang@twcny.rr.com>).
8715
8716         * NEWS, po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
8717
8718 2006-01-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
8719
8720         * po/fr.po, NEWS:
8721         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
8722
8723 2006-01-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
8724
8725         * 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:
8726         variouse code cleanups for make possible compilation of shadow with
8727         -Wall -Werror (by Alexander Gattin <xrgtn@yandex.ru>).
8728
8729         * 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:
8730         move exit() outside libmisc/shell.c::shell() for handle shell() errors
8731         on higher level (now is better visable where some programs exit with 126 and
8732         127 exit codes); added new shell() parameter (char *const envp[]) which allow
8733         fix preserving enviloment in su on using -p.
8734         (patch by Alexander Gattin <xrgtn@yandex.ru>)
8735
8736         * NEWS, po/el.po:
8737         updated (by Konstantinos Margaritis <markos@debian.org>).
8738
8739 2006-01-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
8740
8741         * lib/exitcodes.h: new #defines:
8742         #define E_CMD_NOEXEC           126     /* can't run command/shell */
8743         #define E_CMD_NOTFOUND         127     /* can't find command/shell to run */
8744
8745 2006-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8746
8747         * man/Attic/passwd.1, man/passwd.1.xml:
8748         fixes after reviewed for grammatical and other small errors that detract from the
8749         polish of the content to native English speakers.
8750         I also went ahead and changed all gender references to be a consistent
8751         "his/her" (or equivalent) - the original had a mix of just "his", just
8752         "her", and occasionally "his/her".
8753         (by Christine Spang <spangarang@twcny.rr.com>).
8754
8755         * po/it.po: updated (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8756
8757 2006-01-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
8758
8759         * NEWS: updated.
8760
8761         * libmisc/shell.c: remove DEBUG code.
8762
8763         * po/LINGUAS, po/gl.po, NEWS:
8764         added new gl translation (by Jacobo Tarrio <jtarrio@trasno.net>).
8765
8766 2006-01-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
8767
8768         * po/eu.po: small update (by pi <pi@beobide.net>).
8769
8770 2006-01-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
8771
8772         * src/su.c: fixed compilation error.
8773
8774 2006-01-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
8775
8776         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>)
8777         http://bugs.debian.org/346449
8778
8779 2006-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
8780
8781         * NEWS, man/Attic/useradd.8, man/useradd.8.xml:
8782         better document useradd -d option: will not add the user's home directory
8783         if it does not already exist (http://bugs.debian.org/154996)
8784
8785         * 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:
8786         added handle -c,--command option for GNU su compliance (merge
8787         437_su_-c_option Debian Patch).
8788
8789         * man/Attic/login.1, man/Attic/passwd.1, man/Attic/su.1, man/login.1.xml, man/passwd.1.xml, man/su.1.xml:
8790         man pages cleanups.
8791         (http://bugs.debian.org/341489)
8792
8793         * NEWS, man/Attic/nologin.8, man/Makefile.am, man/nologin.8.xml:
8794         nologin(8) man pages added (merge 478_nologin.8.xml Debian patch).
8795
8796         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>)
8797         http://bugs.debian.org/346376
8798
8799 2006-01-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
8800
8801         * po/id.po: updated (by Parlin Imanuel <parlin_i@yahoo.com>)
8802         http://bugs.debian.org/345514
8803
8804         * 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:
8805         added translate login prompt string (suggested by Evgeniy Dushistov).
8806
8807 2006-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
8808
8809         * NEWS, configure.in: start work on 4.1.0.
8810
8811         * po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
8812         http://bugs.debian.org/346017
8813
8814 2006-01-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
8815
8816         * NEWS: correct 4.0.14 release date (03-01-2006).
8817
8818         * src/Makefile.am: reverte install nologin in sbindir and use usbindir.
8819
8820         * po/POTFILES.in: removed src/chsh_chkshell.c.
8821
8822         * lib/prototypes.h: remove grdbm.c prototypes.
8823
8824         * lib/prototypes.h, src/Attic/chsh_chkshell.c, src/Makefile.am, src/chsh.c:
8825         move check_shell() from src/chsh_chkshell.c to src/chsh.c.
8826
8827         * configure.in:
8828         s/libpam_misc is missing/libpam_misc is missing for enable PAM support/
8829
8830 2006-01-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
8831
8832         * etc/pam.d/.cvsignore: added.
8833
8834         * src/su.c: indent code.
8835
8836         * src/su.c:
8837         without it, $(su - user -c "echo \$SHELL") wont return the good value, but
8838         $(su user -c "echo \$SHELL") will.
8839         I think LOGNAME can also be set (this is done in setup_env, in the
8840         fakelogin case).
8841         (by Nicolas François <nicolas.francois@centraliens.net>)
8842
8843         * src/su.c:
8844         simplifies how -p is handled (at least for its documentation).
8845         (by Nicolas François <nicolas.francois@centraliens.net>)
8846
8847         * src/su.c: fixes "su - -- root" or "su - root -- -c" (it is needed if
8848         the second patch is applied).
8849         (by Nicolas François <nicolas.francois@centraliens.net>)
8850
8851         * src/su.c:
8852         This second patch changes the way options are handled by getopt. Once a
8853         non-su option is found, the getopt processing is stopped.
8854         Whithout this patch, "su root -c ls" won't work (getopt will complain that
8855         -c is not an su option).
8856         (by Nicolas François <nicolas.francois@centraliens.net>).
8857
8858         * 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:
8859         prepare for use on Fedora Core.
8860
8861         * po/cs.po, po/pl.po: run "make update-po".
8862
8863         * src/Makefile.am: move nologin to sbindir.
8864
8865         * man/Attic/groupadd.8, man/groupadd.8.xml: s/gid/GID/
8866
8867         * man/Attic/lastlog.8, man/Attic/useradd.8, man/lastlog.8.xml, man/useradd.8.xml:
8868         s/uid/UID/
8869
8870 2005-12-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
8871
8872         * po/tl.po: updated for 4.0.14 (by Eric Pareja <xenos@upm.edu.ph>).
8873
8874 2005-12-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
8875
8876         * NEWS, po/ca.po:
8877         updated for 4.0.14 (by Guillem Jover <guillem@debian.org>).
8878
8879 2005-12-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
8880
8881         * po/el.po:
8882         updated for 4.0.14 (by Konstantinos Margaritis <markos@debian.org>).
8883
8884 2005-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
8885
8886         * doc/.cvsignore, etc/.cvsignore, lib/.cvsignore, po/.cvsignore, src/.cvsignore, .cvsignore, contrib/.cvsignore:
8887         added a lot of generated files they are not listed in .cvsignore files
8888         (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8889
8890         * src/su.c:
8891         fixed some comments and replace getuid() by !amroot. This removes a system
8892         call and may be more readable (Nicolas François <nicolas.francois@centraliens.net>).
8893
8894         * man/Attic/su.1, man/su.1.xml:
8895         added forgoten the SHELL argument description (by Nicolas François <nicolas.francois@centraliens.net>).
8896
8897         * man/Attic/useradd.8, man/useradd.8.xml:
8898         s/group/user/ (cached by Nicolas François).
8899
8900 2005-12-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
8901
8902         * man/ko/vigr.8: added.
8903
8904         * po/it.po:
8905         updated for 4.0.14 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
8906
8907 2005-12-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
8908
8909         * NEWS, po/pt.po:
8910         updated for 4.0.14 (by Miguel Figueiredo <mfigueiredo@gmail.com>).
8911
8912         * src/useradd.c:
8913         s/grp_update/grp_add/ in comment (by Nicolas François <nicolas.francois@centraliens.net>).
8914
8915         * man/Attic/login.1, man/login.1.xml:
8916         added use <envar></envar> tags instead <emphasis></emphasis>.
8917
8918         * man/Attic/su.1, man/su.1.xml: added use <envar></envar>.
8919
8920         * man/Attic/su.1, man/su.1.xml:
8921         updated man page after change su for use getopt_long()
8922         (by Nicolas François <nicolas.francois@centraliens.net>)
8923
8924 2005-12-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
8925
8926         * NEWS, po/fi.po:
8927         updated for 4.0.14 (by Tommi Vainikainen <thv+debian@iki.fi>).
8928
8929         * po/ru.po: updated for 4.0.14 (by Yuri Kozlov <kozlov.y@gmail.com>).
8930
8931         * man/ru/login.1, man/ru/passwd.1, man/ru/pwck.8, man/ru/vipw.8:
8932         updated (by Yuri Kozlov <kozlov.y@gmail.com>_.
8933
8934         * doc/Attic/README.linux, doc/Makefile.am: removed.
8935
8936         * README, doc/Attic/README.linux:
8937         move contributors list from doc/README.linux to README.
8938
8939         * doc/Attic/LSM, doc/Attic/README, doc/Makefile.am:
8940         removed (outdated content).
8941
8942         * NEWS, po/cs.po:
8943         updated cs.po for 4.0.14 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
8944
8945         * po/pl.po: updated.
8946
8947         * po/fr.po:
8948         kill one fuzzy (by Christian Perrier <bubulle@kheops.frmug.org>).
8949
8950         * NEWS, po/da.po:
8951         updated da.po for 4.0.14 (by Claus Hindsgaul <claus_h@image.dk>).
8952
8953         * po/eu.po: updated for 4.0.14 (by pi <pi@beobide.net>).
8954
8955         * NEWS, po/vi.po:
8956         updated vi.po fo 4.0.14 (by Clytie Siddall <clytie@riverland.net.au>).
8957
8958 2005-12-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
8959
8960         * NEWS: set release day for 4.0.14 to 19-12-2005.
8961
8962         * src/login.c:
8963         removed #include "libaudit.h" (it is conditionaly included in "defines.h").
8964
8965         * src/su.c:
8966         replaced "shell" by "shellstr". "shell" is also the name of a function.
8967         (Nicolas François <nicolas.francois@centraliens.net>).
8968
8969         * src/vipw.c: - added missing break in case 'q'.
8970
8971         * 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:
8972         added es, ko vigr(8) and vipw(8), hu lastlog(8), ko vipw(8), zh_CN su(1),
8973         zh_TW chpasswd(8) and su(1),
8974
8975 2005-12-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
8976
8977         * doc/Attic/LICENSE, doc/Makefile.am, COPYING:
8978         move doc/LICENSE to COPYING.
8979
8980         * doc/WISHLIST: remove some outdated/finished things.
8981
8982         * doc/Attic/README.nls, doc/Attic/README.pam, doc/Makefile.am: removed.
8983
8984 2005-12-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
8985
8986         * po/bs.po, po/ca.po, po/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:
8987         run "make update-po" (merge changes in su messages).
8988
8989         * NEWS, src/su.c:
8990         added handle -s/--shell, -m/-p/preserve-environment options like GNU su
8991         (based on patches from Debian submited by
8992         Nicolas François <nicolas.francois@centraliens.net>)
8993
8994         * NEWS: updated.
8995
8996         * src/su.c:
8997         added handle -s/--shell option like in GNU su (based on Debian patch sublmited
8998         by Nicolas François <nicolas.francois@centraliens.net>).
8999
9000         * src/su.c:
9001         make -, -l , --login option as no_argument (based on fix by Nicolas François).
9002
9003         * po/it.po:
9004         cosmetic fixes (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9005
9006 2005-12-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9007
9008         * man/es/Makefile.am: s/patches/passwd/
9009
9010 2005-12-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9011
9012         * 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:
9013         added tr man pages.
9014
9015         * 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:
9016         added es, hu, pt_BR, zh_CN zh_TW translations passwd(5).
9017
9018         * man/Attic/id.1, man/Attic/pw_auth.3, man/Attic/sulogin.8:
9019         regenerated.
9020
9021         * man/ko/Makefile.am: added su.1 to man_MANS.
9022
9023         * man/Makefile.am: reverte incorrect commit.
9024
9025         * 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:
9026         added full set (up to date) fr man pages (by Nicolas François <nicolas.francois@centraliens.net>).
9027
9028 2005-12-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9029
9030         * 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:
9031         cleanups.
9032
9033         * 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:
9034         s/--force /--force/
9035
9036         * po/bs.po, po/ca.po, po/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:
9037         s/--skel SKEL_DIR /--skel SKEL_DIR/
9038
9039         * 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:
9040         s/--delete /--delete/
9041
9042         * NEWS, po/ru.po:
9043         updated ru translatios for 4.0.14 (by Yuri Kozlov <kozlov.y@gmail.com>).
9044
9045         * po/eu.po: finish update for 4.0.14 (by pi <pi@beobide.net>).
9046
9047         * po/it.po:
9048         updated for 4.0.14 (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9049
9050 2005-12-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9051
9052         * po/fr.po: updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9053
9054         * NEWS, po/eu.po: Basque translation updated (by pi <pi@beobide.net>).
9055
9056         * po/ca.po, po/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:
9057         s/LOGIN/login/ in usage() output.
9058
9059 2005-12-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9060
9061         * po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/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:
9062         rewrited vipw for use getopt_long().
9063
9064         * man/Attic/passwd.1, man/passwd.1.xml: cleanups.
9065
9066         * man/ko/Makefile.am: commented newgrp.1 (must be updated).
9067
9068 2005-12-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9069
9070         * man/Makefile.am: update-po target added.
9071
9072         * man/Attic/pwck.8, man/pwck.8.xml: document -q option.
9073
9074         * NEWS, lib/getdef.c:
9075         $MAIL_FILE is used in userdel and usermod, $MD5_CRYPT_ENAB
9076         is used by crypt_make_salt, which is used by chpasswd, gpasswd and newusers.
9077         Both variables moved to PAM not dependent (447_missing_login.defs_variables
9078         Debian patch).
9079
9080         * NEWS, src/su.c:
9081         export $USER and $SHELL as well as $HOME (http://bugs.debian.org/11003 and
9082         http://bugs.debian.org/11189).
9083
9084         * NEWS, man/Attic/login.1, man/login.1.xml:
9085         document how to initiate a trusted path on linux
9086         (http://bugs.debian.org/305600).
9087
9088         * NEWS, src/chage.c:
9089         fix chage display when the last change field is set to 0.
9090         This is consistent with PAM (merge 427_chage_expiry_0 Debian patch).
9091
9092 2005-12-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9093
9094         * configure.in: added man/fi/Makefile to AC_CONFIG_FILES().
9095
9096         * 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:
9097         convert all translated man pages to UFT-8.
9098
9099         * NEWS, src/userdel.c:
9100         fix incorrect audit record in userdel (https://bugzilla.redhat.com/bugzilla/174392).
9101
9102         * po/es.po, po/eu.po, po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/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:
9103         s/--all /--all/
9104
9105         * po/bs.po, po/ca.po, po/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:
9106         update by some informations about translators (by Christian Perrier) and run "make update-po".
9107
9108 2005-11-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9109
9110         * NEWS, src/su.c:
9111         if an password is expired, su should propose to change this password
9112         (fixed http://bugs.debian.org/321384).
9113
9114         * src/Makefile.am, src/login.c, NEWS:
9115         added auditing support (based on Fedora patch for login from util-linux).
9116
9117         * src/useradd.c: remove use rflg.
9118
9119         * man/ru/Makefile.am: typo.
9120
9121         * po/pl.po: partialy updated.
9122
9123         * po/bs.po, po/ca.po, po/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:
9124         run "make update-po".
9125
9126         * NEWS, src/useradd.c: merge PUG fixes from RedHat patch.
9127
9128 2005-11-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9129
9130         * NEWS, po/it.po:
9131         updated (by Danilo Piazzalunga <danilopiazza@gmail.com>).
9132
9133         * 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:
9134         added full set of ru man pages (by Yuri Kozlov <kozlov.y@gmail.com>).
9135
9136 2005-11-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
9137
9138         * NEWS, src/Makefile.am, src/nologin.c: added nologin program.
9139
9140         * NEWS, src/su.c: rewrited for use getopt_long().
9141
9142 2005-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9143
9144         * po/zh_CN.po: updated (by Ming Hua <minghua@rice.edu>).
9145
9146 2005-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9147
9148         * man/Attic/usermod.8, man/usermod.8.xml:
9149         rewrited for document long options.
9150
9151         * NEWS, src/vipw.c:
9152         added a "quiet" mode (http://bugs.debian.org/190252.
9153
9154         * po/de.po:
9155         fixed wrong translation in german po file (http://bugs.debian.org/338373
9156         by Nico Golde <nico@ngolde.de>).
9157
9158         * 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:
9159         added fi chfn(1), chsh(1), passwd(1), su(1).
9160
9161         * NEWS, man/it/Makefile.am, man/it/newusers.8: added it newusers(8).
9162
9163         * NEWS, po/fr.po:
9164         updated (by Christian Perrier <bubulle@kheops.frmug.org>).
9165
9166 2005-11-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9167
9168         * NEWS, src/Makefile.am, src/newgrp.c:
9169         added auditing support for newgrp (by Steve Grubb <sgrubb@redhat.com>).
9170
9171         * NEWS, configure.in, libmisc/audit_help.c:
9172         switch over to a new logging function (by Steve Grubb <sgrubb@redhat.com>).
9173
9174         * README: typo.
9175
9176 2005-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9177
9178         * po/ru.po: updated (by Yuri Kozlov <kozlov.y@gmail.com>).
9179
9180 2005-11-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9181
9182         * configure.in:
9183         s/logdir/shadow_cv_logdir/ fix wrong var name (by Mike Frysinger <vapier@gentoo.org>).
9184
9185         * 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:
9186         move information about all shadow man pages authors from man pages to README file.
9187
9188         * src/userdel.c: added two new error messages to translated phrases.
9189
9190         * NEWS, src/userdel.c:
9191         remove the user's group unless it is not really a user-private group
9192         (based on FC patch).
9193
9194 2005-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9195
9196         * src/usermod.c: fix long name options name in long_options[].
9197
9198 2005-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9199
9200         * src/userdel.c: indent source code.
9201
9202         * NEWS, src/userdel.c:
9203         make the userdel -f option force the removal of the user's group (even if it
9204         is the primary group of another user)
9205         (merge 453_userdel_-f_removes_group Debian patch),
9206
9207         * NEWS, man/Attic/login.1, man/login.1.xml:
9208         better explain the respective roles of login, init and getty with regards
9209         to the utmp file (merge 440_manpages-login.1 Debian patch).
9210
9211         * man/Attic/userdel.8, man/userdel.8.xml:
9212         aphabetic order options description.
9213
9214         * NEWS, man/Attic/userdel.8, man/userdel.8.xml:
9215         document the -f option; document the group removal behavior (merge
9216         455_userdel.8.xml Debian patch).
9217
9218         * NEWS, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
9219         document that useradd/groupadd refuse adding entries already in an
9220         external database (http://bugs.debian.org/282184).
9221
9222         * NEWS, libmisc/sulog.c:
9223         log in successful/failed su through syslog (http://bugs.debian.org/190215).
9224
9225         * 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:
9226         updated it groupdel(8), passwd(1), pwconv(8), useradd(8), userdel(8), usermod(8) man pages
9227         (merge 205_it-manpages Debian patch).
9228
9229         * man/pt_BR/gpasswd.1: merge 204_pt_BR-manpages Debian patch.
9230
9231 2005-10-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
9232
9233         * man/Attic/porttime.5, man/Attic/pwck.8, man/Attic/shadow.3, man/porttime.5.xml, man/pwck.8.xml:
9234         improvements by Yuri Kozlov <kozlov.y@gmail.com>.
9235
9236         * NEWS, po/tl.po: updated (by Eric Pareja <xenos@upm.edu.ph>).
9237
9238         * po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/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:
9239         remove "." from su message.
9240
9241         * 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:
9242         "make update-po".
9243
9244         * src/usermod.c: cleanups in usage() output.
9245
9246         * src/usermod.c: indent code.
9247
9248         * NEWS, src/usermod.c:
9249         rewrited for use getopt_long() (Christian Perrier <bubulle@kheops.frmug.org>).
9250
9251 2005-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9252
9253         * po/uk.po: updated (by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>).
9254
9255 2005-10-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9256
9257         * 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:
9258         bunch of cleanups (Yuri Kozlov <kozlov.y@gmail.com>).
9259
9260 2005-10-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
9261
9262         * 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:
9263         Simplifications: move all per shadow tool declared struct pam_conv conv
9264         from src/*c to lib/pam_defs.h. #include "pam_defs.h" instead <security/pam_appl.h>
9265         and <security/pam_misc.h>.
9266         Patch partialy based on openpam fixes by Rob Holland <rob@inversepath.com>.
9267
9268         * NEWS, lib/commonio.c:
9269         fixed grpck segmentation fault on using -s when /etc/gshadow is empty (fix by
9270         Tomasz Lemiech <szpajder@staszic.waw.pl>).
9271
9272 2005-10-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
9273
9274         * man/Attic/faillog.5, man/faillog.5.xml:
9275         typos (by A Costa <agcosta@gis.net>).
9276
9277 2005-10-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
9278
9279         * man/Attic/chage.1, man/Attic/chpasswd.8, man/chage.1.xml, man/chpasswd.8.xml:
9280         typos (by A Costa <agcosta@gis.net>).
9281
9282         * NEWS, po/sv.po: updated (by Daniel Nylander <yeager@lidkoping.net>).
9283
9284 2005-10-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9285
9286         * 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:
9287         newgrp(1): added de, es, zh_CN, zh_TW translations.
9288
9289 2005-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
9290
9291         * man/Attic/gpasswd.1, man/gpasswd.1.xml:
9292         move "Notes about group passwords" section from passwd man page.
9293
9294         * src/passwd.c, NEWS, man/Attic/passwd.1, man/passwd.1.xml:
9295         remove handle -f, -g and -s options in passwd.
9296
9297         * 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:
9298         use locase in <refentrytitle>.
9299
9300         * man/Attic/pw_auth.3, man/Attic/pw_auth.3.xml, man/Attic/shadow.3, man/shadow.3.xml:
9301         added refmiscinfo class="sectdesc">Library Calls</refmiscinfo> in <refmeta>.
9302
9303         * 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:
9304         added <refmiscinfo class="sectdesc">System Management Commands</refmiscinfo>
9305         in <refmeta>.
9306
9307         * 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:
9308         added <refmiscinfo class="sectdesc">File Formats and Conversions</refmiscinfo>
9309         in <refmeta>.
9310
9311         * man/Attic/pwconv.8, man/Attic/suauth.5, man/Attic/vipw.8, man/pwconv.8.xml, man/suauth.5.xml, man/vipw.8.xml:
9312         remove <refentryinfo><date></date></refentryinfo> and <refmiscinfo class='date'> tags.
9313
9314         * man/Attic/newgrp.1, man/Attic/sg.1, man/newgrp.1.xml, man/sg.1.xml:
9315         added <refmiscinfo class="sectdesc">User Commands</refmiscinfo> tag.
9316
9317 2005-10-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9318
9319         * NEWS, configure.in: start work on 4.0.14.
9320
9321 2005-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9322
9323         * NEWS: move release 4.0.13 date to 10-10-2005.
9324
9325         * NEWS:  added infor about removed duplicated pam_start() in chage.
9326
9327         * NEWS: updated.
9328
9329         * man/Makefile.am: added sg.1.xml to man_XMANS.
9330
9331         * man/Attic/chage.1, man/chage.1.xml:
9332         cleanups (by Yuri Kozlov <kozlov.y@gmail.com>).
9333
9334         * man/Attic/newgrp.1, man/newgrp.1.xml:
9335         use <filename> in few more places.
9336
9337         * man/Attic/newgrp.1, man/newgrp.1.xml:
9338         better newgrp description (http://bugs.debian.org/325558).
9339
9340 2005-10-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9341
9342         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
9343         remove using pam_chauthtok().
9344
9345         * src/chsh.c: finish PAM support using pam_start() & co.
9346
9347         * src/chage.c: remove using pam_chauthtok() on finish chage.
9348
9349         * src/chfn.c:
9350         use E_NOPERM in more places. remove using pam_chauthtok() on finish chfn.
9351
9352         * src/chfn.c: cleanups.
9353
9354         * src/chage.c:
9355         removed duplicaded not moved PAM code) was introduced during merge
9356         shadow-4.0.4.1-owl-pam-auth.diff patch).
9357
9358         * src/chfn.c: finish PAM support.
9359
9360 2005-10-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9361
9362         * man/Attic/chfn.1, man/Attic/chsh.1, man/chfn.1.xml, man/chsh.1.xml:
9363         cleanups (by  Alexander Gattin <xrgtn@yandex.ru>).
9364
9365 2005-10-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9366
9367         * NEWS, src/userdel.c:
9368         userdel should not remove the group which is primary for someone else (fix
9369         by Nicolas François <nicolas.francois@centraliens.net> http://bugs.debian.org/295416)
9370
9371 2005-10-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9372
9373         * 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:
9374         s/<emphasis remap='B'>/<emphasis>/
9375
9376         * man/Attic/sg.1, man/sg.1.xml: use <command> instead <emphasis>.
9377
9378         * man/newgrp.1.xml, man/sg.1.xml, man/chage.1.xml, man/chsh.1.xml, man/login.defs.5.xml:
9379         s/\.  /\. /
9380
9381         * man/Attic/shadow.5, man/shadow.5.xml:
9382         better document "!" and "*" fields in /etc/shadow
9383         (based on 441_manpages-shadow.5 patch from Debian).
9384
9385         * man/Attic/newgrp.1, man/newgrp.1.xml:
9386         SHADOWPWD was removed (always enabled)
9387         (based on 446_newgrp.1_no_SHADOWPWD patch from Debian).
9388
9389         * po/ru.po: updated for 4.0.13 (by Yuri Kozlov <kozlov.y@gmail.com>).
9390
9391 2005-09-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9392
9393         * NEWS: cleanups.
9394
9395         * 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:
9396         next round of cleanups.
9397
9398         * man/Makefile.am: added rules for id.1, pw_auth.3 and sulogin.8.
9399
9400         * libmisc/setupenv.c:
9401         during the changes on libmisc/setupenv.c, a piece of code was moved
9402         without its comment (merge 449_comment_missplaced Debian patch).
9403
9404 2005-09-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9405
9406         * 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:
9407         added missing references to /etc/login.defs and login.defs(5)
9408         (Christian Perrier <bubulle@kheops.frmug.org>).
9409
9410 2005-09-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
9411
9412         * NEWS: s/XSL/XSLT/
9413
9414         * po/pl.po: few updates.
9415
9416         * man/Attic/passwd.1, man/passwd.1.xml:
9417         -i option description is back (lost on rewrite and pointed by
9418         Miroslav Kure <kurem@upcase.inf.upol.cz>).
9419
9420         * po/cs.po:
9421         updated for 4.0.13 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9422
9423 2005-09-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9424
9425         * NEWS: updated.
9426
9427         * configure.in: fixes for correct handle --with{,out}-<feature>.
9428
9429         * configure.in:
9430         use @<:@ @:>@ instead ( ) inside AC_HELP_STRING() and s/feactures/features/
9431         (based on fixes by Mike Frysinger <vapier@gentoo.org>).
9432
9433         * po/da.po: updated for 4.0.13 (by Claus Hindsgaul <claus_h@image.dk>).
9434
9435         * po/es.po: updated for 4.0.13 (by Ruben Porras <nahoo@inicia.es>).
9436
9437 2005-09-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
9438
9439         * NEWS, libmisc/failure.c:
9440         use "%c" in strftime() output (based on patch from
9441         http://bugs.debian.org/89902 by Christian Perrier <bubulle@debian.org>)
9442
9443         * man/Attic/getspnam.3, man/Attic/shadow.3, man/shadow.3.xml:
9444         added <refname>getspnam</refname> to <refnamediv>.
9445
9446         * man/Attic/sg.1, man/sg.1.xml: fixed <cmdsynopsis>.
9447
9448         * man/Attic/sg.1, man/Makefile.am, man/sg.1.xml:
9449         added separated sg(1) man page.
9450
9451 2005-09-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9452
9453         * lib/commonio.c, NEWS:
9454         don't assume selinux is enabled if is_selinux_enabled() returns -1
9455         (merge isSelinuxEnabled FC patch by Jeremy Katz <katzj@redhat.com>).
9456
9457         * po/ro.po: updated (by Sorin Batariuc <sorin@bonbon.net>).
9458
9459 2005-09-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
9460
9461         * NEWS: schedule release 4.0.13 to 03-10-2005.
9462
9463 2005-09-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9464
9465         * 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:
9466         regenerate all roff man pages using DocBook XSL Stylesheets 1.69.1.
9467
9468         * man/logoutd.8.xml: fixed id inside <refentry>.
9469
9470         * 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:
9471         added missing <para></para> inside <listitem> tags for pass correctly xmllint.
9472
9473         * man/Attic/login.access.5, man/login.access.5.xml:
9474         rewrited FILES section.
9475
9476         * man/login.access.5.xml: cleanups.
9477
9478 2005-09-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
9479
9480         * NEWS, man/Attic/passwd.5, man/passwd.5.xml:
9481         rewrited based on work by Greg Wooledge <greg@wooledge.org>
9482         http://bugs.debian.org/328113
9483
9484 2005-09-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
9485
9486         * po/ro.po: updates (by Sorin Batariuc <sorin@bonbon.net>).
9487
9488 2005-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9489
9490         * 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:
9491         remove empty lines after comment.
9492
9493         * src/useradd.c: group all #include.
9494
9495         * po/fr.po:
9496         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
9497
9498 2005-09-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9499
9500         * src/gpasswd.c: remove exit(1) after failure().
9501
9502         * src/usermod.c: consolidate few #ifdef WITH_AUDIT .. #endif sections.
9503
9504 2005-09-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
9505
9506         * src/Makefile.am: added missing $(LDADD) in gpasswd_LDADD.
9507
9508         * NEWS, libmisc/limits.c:
9509         fixed setup max address space limits (added missing break statement in case)
9510         spoted by Lasse Collin <lasse.collin@tukaani.org>
9511         (fix for non-PAM case)
9512
9513         * configure.in: try find and use by default feactures:
9514         with_audit="yes"
9515         with_libcrack="no"
9516         with_libpam="yes"
9517         with_libskey="no"
9518         with_selinux="yes"
9519         Report on finish also S/Key and CrackLib support.
9520
9521         * configure.in: cleanups.
9522
9523         * src/Makefile.am: sort *_LDADD.
9524
9525         * src/Makefile.am: added missing gpasswd_LDADD = $(LIBAUDIT).
9526
9527         * 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:
9528         indent code.
9529
9530         * libmisc/Makefile.am: sort libmisc_a_SOURCES elements.
9531
9532         * libmisc/audit_help.c: added shadow copyright text and indent file.
9533
9534         * libmisc/audit_help.c:
9535         patr of auditing support not added on commiting audit changes.
9536
9537         * src/Makefile.am: s/AUDIT/LIBAUDIT/
9538
9539         * configure.in: added reporting on finish is auditing is enabled.
9540         Change to use shared libaudit. Aded missing AC_SUBST(LIBAUDIT).
9541         Break some to log lines.
9542
9543         * 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:
9544         auditing support added. Patch prepared by Peter Vrabec
9545         <pvrabec@redhat.com> basing on work by Steve Grubb from
9546         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159215 Now auditing
9547         support have commands: chage, gpasswd, groupadd, groupdel, groupmod,
9548         useradd, userdel, usermod.
9549
9550         * po/pt.po: finish update (by Christian Perrier <bubulle@debian.org>).
9551
9552 2005-09-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9553
9554         * po/pt.po, NEWS: updated (by Miguel Figueiredo <elmig@debianpt.org>).
9555
9556 2005-09-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9557
9558         * src/passwd.c:
9559         fix warning (initialization makes pointer from integer without a cast) in
9560         long_options[] entry.
9561
9562         * po/fr.po, NEWS:
9563         partialy updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
9564
9565 2005-09-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9566
9567         * src/chage.c: indent source sode.
9568
9569         * src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c, NEWS:
9570         change to use new selinux API for selinux_check_passwd_access()
9571         (patch from Fedora by Dan Walsh <dwalsh@redhat.com>).
9572
9573 2005-09-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
9574
9575         * man/Attic/newgrp.1, man/newgrp.1.xml: finished rewrite.
9576
9577         * etc/login.defs: moved from login.defs.linux.
9578
9579         * src/login_nopam.c: use #ident.
9580
9581         * etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, etc/Makefile.am:
9582         remove login.defs.hurd and login.defs.linux.
9583
9584         * src/groupadd.c, src/useradd.c:
9585         as same as in man pages to useradd and groupadd change to 1000 default
9586         GID_MIN and UID_MIN (if not found in login.defs).
9587
9588         * etc/login.defs: s/chkpasswd/chpasswd/
9589
9590 2005-08-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
9591
9592         * man/Makefile.am, man/chsh.1.xml, man/limits.5.xml, man/login.access.5.xml, man/newgrp.1.xml, man/newusers.8.xml:
9593         fixed id= in <refentry>.
9594
9595         * man/Attic/gpasswd.1, man/gpasswd.1.xml:
9596         fixed refentry id (must be 'gpasswd.1').
9597
9598         * man/Makefile.am, man/newgrp.1.xml:
9599         raw version converted from roff using doclifter.
9600
9601         * lib/exitcodes.h: new exit codes:
9602         #define E_PASSWD_NOTFOUND       14      /* not found password file */
9603         #define E_GROUP_NOTFOUND        16      /* not found group file */
9604         #define E_GSHADOW_NOTFOUND      17      /* not found shadow group file */
9605
9606         * man/Attic/chage.1, man/chage.1.xml, lib/exitcodes.h:
9607         change to 15 (from 14) exit code in chage when shadow not found.
9608
9609         * 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:
9610         use #ident preprocesor directive istead RCID macro with content similar
9611         to example described in ident(1) man page (modern compilers like latest GCC
9612         removes not used functions by global optimization).
9613         So "ident /usr/bin/passwd" will show again some useable informations.
9614
9615         * man/Makefile.am: added support for regenerate roff files from XML.
9616         Added depeing shadow-man-pages.pot on $(man_XMANS).
9617
9618 2005-08-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
9619
9620         * man/Attic/login.1, man/login.1.xml, NEWS:
9621         added securetty(5) to SEE ALSO section (fixed Debian bug http://bugs.debian.org/325773).
9622
9623         * po/pl.po: more updates.
9624
9625         * configure.in:
9626         typo in handle --with-selinux. Fixes in xsltproc detection.
9627
9628         * autogen.sh:
9629         added --enable-man and --enable-maintainer-mode to configure options.
9630
9631         * man/Attic/chage.1, man/chage.1.xml, NEWS:
9632         added EXIT VALUES section (by Nicolas François <nicolas.francois@centraliens.net>).
9633
9634         * man/Attic/passwd.1, man/passwd.1.xml:
9635         remove "Password expiry information" section (all options are described now
9636         in OPTIONS section). Describe -a and -k options.
9637
9638         * NEWS, src/su.c:
9639         fixed twice copy enviroment which causes auth problems (bug was introduced in 4.0.12;
9640         fix by Nicolas François <nicolas.francois@centraliens.net>).
9641
9642         * 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:
9643         s/Incorrect password for `%s'/Incorrect password for %s/ (one phrase for translate less).
9644
9645         * 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:
9646         s/login: failure forking: %s/%s: failure forking: %s/ (one phrase for translate less).
9647
9648         * po/pl.po: partialy updated.
9649
9650 2005-08-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9651
9652         * lib/exitcodes.h, src/chage.c:
9653         s/E_NOT_SHADOWED/E_SHADOW_NOTFOUND/ and change value of this exit code to 14.
9654
9655         * NEWS, lib/exitcodes.h, src/chage.c:
9656         differentiate the different failure causes by the exit value
9657         This will permit to adduser Debian script to detect if chage failed because the
9658         system doesn't have shadowed passwords (fix for http://bugs.debian.org/317012)
9659         Plain merge 443_chage_exit_values Debian patch.
9660
9661         * 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:
9662         use tabs in indentation (~10KB less in all xml files).
9663
9664         * po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/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:
9665         run "make update-po" and remove obsoleted strings.
9666
9667         * src/expiry.c, src/login.c: remove #if 0 .. #endif code.
9668
9669         * src/login.c: remove #if 1 .. #endif.
9670
9671         * 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:
9672         merge 010_more-i18ned-messages Debian patch which adds i18n support for few more messages
9673         (orginaly patch was prepared by Guillem Jover <guillem@debian.org>).
9674
9675         * man/id/chsh.1:
9676         fix .SH (fix merged from 207_id-manpages debian patch).
9677
9678 2005-08-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
9679
9680         * acinclude.m4: add aclocal macros (based on acinclude.m4 from glib):
9681         JH_PATH_XML_CATALOG: checks the location of the XML Catalog,
9682         JH_CHECK_XML_CATALOG: checks if a particular URI appears in the XML catalog.
9683
9684         * man/Attic/useradd.8, man/useradd.8.xml:
9685         cleanups in "Changing the default values" section.
9686
9687         * man/useradd.8.xml:
9688         replace <emphasis remap='I'></emphasis> by <replaceable></replaceable>.
9689         Other minor cleanups.
9690
9691         * configure.in:
9692         fixed missing )] in AC_ARG_WITH(skey, ..) (thank for fix to Yuri Kozlov <kozlov.y@gmail.com>).
9693
9694         * 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:
9695         typos, and change some arguments so they do not match the name of a
9696         command (fixes by Nicolas François <nicolas.francois@centraliens.net>).
9697
9698         * NEWS, libmisc/chkname.c, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
9699         fix regular expression describing alloved login/group names (pointed
9700         by Nicolas François <nicolas.francois@centraliens.net>)
9701         (correct is [a-z_][a-z0-9_-]*[$]).
9702
9703         * man/Attic/useradd.8, man/useradd.8.xml:
9704         remove "Creating New Users" section and merge this directly in DESCRIPTION.
9705         Add <option></option> for -o in EXIT VALUES section.
9706
9707         * po/ru.po, NEWS:
9708         update ru translations (by Yuri Kozlov <kozlov.y@gmail.com>).
9709
9710 2005-08-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
9711
9712         * man/Attic/passwd.1, man/passwd.1.xml:
9713         removed "Account maintenance" section.
9714
9715         * man/Attic/passwd.1, man/passwd.1.xml: partialy done rewrite.
9716
9717         * po/ro.po:
9718         some fixes after review of the translation (by Sorin Batariuc <sorin@bonbon.net>).
9719
9720         * man/Attic/lastlog.8, man/lastlog.8.xml:
9721         s/Print help message and exit./Display help message and exit./
9722
9723         * man/Attic/chage.1, man/chage.1.xml: document -h,--help option.
9724
9725         * man/Attic/groupadd.8, man/groupadd.8.xml:
9726         document -h,--help option. added <option></option> for -o in EXIT VALUES.
9727         Cleanups in SYNOPSIS section.
9728
9729         * man/Attic/chage.1, man/Attic/faillog.8, man/chage.1.xml, man/faillog.8.xml:
9730         replace <emphasis remap='I'></emphasis> by <replaceable></replaceable>.
9731
9732         * man/Attic/lastlog.8, man/lastlog.8.xml:
9733         document new -b,--before option.
9734
9735         * 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:
9736         s/lastlog results/lastlog records/ in lastlog usage output.
9737
9738         * man/Attic/lastlog.8, man/lastlog.8.xml:
9739         add "" aroud <command></command>.
9740
9741         * 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:
9742         alphabetic order options in lastlog usage output. Run "make -C po update-po".
9743
9744         * src/lastlog.c, NEWS:
9745         added handle -b option which allow print only lastlog records older than
9746         specified DAYS (fix by <miles@lubin.us>).
9747
9748         * libmisc/salt.c, NEWS:
9749         fixed for use login.defs::MD5_CRYPT_ENAB only if PAM support
9750         is disabled (fix by John Gatewood Ham <zappaman@buraphalinux.org>).
9751
9752 2005-08-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
9753
9754         * configure.in:
9755         use AC_HELP_STRING() in AC_ARG_ENABLE() and AC_ARG_WITH().
9756         Exit with error message if configure was runed --with-selinux
9757         and libselinux not found.
9758
9759 2005-08-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
9760
9761         * libmisc/chkname.c, NEWS, man/Attic/groupadd.8, man/Attic/useradd.8, man/groupadd.8.xml, man/useradd.8.xml:
9762         documents in CAVEATS section the limitations shadow places on user and
9763         group names (fix by Mike Frysinger <vapier@gentoo.org>).
9764
9765         * 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:
9766         added missing -i, --inactive in usage() output.
9767
9768 2005-08-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
9769
9770         * 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:
9771         passwd rewrited for use getopt_long().
9772
9773         * man/Attic/chage.1, man/chage.1.xml: /warndays/--warndays/
9774
9775         * 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:
9776         remove trailing spaces.
9777
9778         * 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:
9779         reorder #includes, indentations and minor cleanups.
9780
9781         * src/newgrp.c: indent code.
9782
9783         * NEWS, src/newgrp.c:
9784         when newgrp process sits between parent and child shells, it should
9785         propagate STOPs from child to parent and CONTs from parent to child,
9786         otherwise e.g. bash's "suspend" command won't work.
9787         Fixed Debian http://bugs.debian.org/314727
9788
9789 2005-08-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
9790
9791         * configure.in: typo.
9792
9793         * configure.in:
9794         add display short summary information on finish autoconf script.
9795
9796         * NEWS, configure.in: start work on 4.0.13.
9797
9798 2005-08-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
9799
9800         * po/ru.po: updated for 4.0.12 (by Yuri Kozlov <yuray@id.ru>).
9801
9802         * NEWS, po/sk.po:
9803         updated for 4.0.12 (by Peter Mann <Peter.Mann@tuke.sk>).
9804
9805 2005-08-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
9806
9807         * po/nl.po, NEWS:
9808         updated for 4.0.12 (by cobaco (aka Bart Cornelis) <cobaco@linux.be>).
9809
9810 2005-08-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
9811
9812         * NEWS, po/fi.po:
9813         updated for 4.0.12 (by Tommi Vainikainen <thv+debian@iki.fi>).
9814
9815         * NEWS, po/de.po:
9816         updated for 4.0.12 (by Frank Schmid <frank@cs-schmid.de>).
9817
9818         * po/pt.po, NEWS:
9819         updated for 4.0.12 (by Miguel Figueiredo <elmig@debianpt.org>).
9820
9821 2005-08-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
9822
9823         * po/cs.po:
9824         updated for 4.0.12 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
9825
9826         * src/chpasswd.c, src/groupdel.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
9827         remove duplicated #include <pwd.h>.
9828
9829         * po/pl.po: finished update for 4.0.12.
9830
9831         * 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:
9832         s/Not copying any file into it./Not copying any file from skel directory into it./
9833
9834         * 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:
9835         break warning message longer than 80 characters.
9836
9837         * po/pl.po: updated.
9838
9839         * 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:
9840         fixed missing \n in usage() output.
9841
9842         * lib/getdef.c, src/login.c, src/newgrp.c, NEWS:
9843         remove using login.defs::CLOSE_SESSIONS variable and allways close PAM session.
9844
9845 2005-08-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
9846
9847         * NEWS, configure.in:
9848         realy enable shadow group support by default (pointed by
9849         Greg Schafer <gschafer@zip.com.au> and Peter Vrabec <pvrabec@redhat.com>).
9850         Indentations in --help output.
9851
9852         * man/Attic/chage.1, man/chage.1.xml:
9853         s/occurrence/occurence/ (334_chage.1-typo Debian patch).
9854
9855         * man/Attic/chfn.1, man/chfn.1.xml:
9856         s/may only change may only change/may only change/ (based on 336_chfn.1 Debian patch).
9857
9858         * man/it/Makefile.am: cleanups (443_man_it_Makefile.am Debian patch).
9859
9860         * man/Attic/userdel.8, man/userdel.8.xml: s/an NIS client/a NIS client/
9861
9862         * man/Attic/useradd.8, man/useradd.8.xml: s/an NIS group/a NIS group/
9863
9864         * man/Attic/lastlog.8, man/lastlog.8.xml:
9865         s/you have an high UID/you have a high UID/
9866
9867         * man/Attic/lastlog.8, man/lastlog.8.xml:
9868         added missing <para></para> in AUTHORS section (cached by Nicolas).
9869
9870         * 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:
9871         run "make update-po".
9872
9873         * po/POTFILES.in: added missing libmisc/pwdcheck.c. Sorted.
9874
9875 2005-08-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
9876
9877         * NEWS: s/22-07-2005/22-08-2005/
9878
9879         * NEWS: schedule release 4.0.12 in 22-07-2005.
9880
9881         * libmisc/setupenv.c, man/pl/login.defs.5, NEWS, etc/Attic/login.defs.hurd, etc/Attic/login.defs.linux, lib/getdef.c:
9882         removed handle login.defs::QMAIL_DIR variable.
9883
9884         * libmisc/chowntty.c, NEWS:
9885         allow regular user to login on read-only root file system (not only for root).
9886         Patch by Nicolas François <nicolas.francois@centraliens.net>
9887         Fix for http://bugs.debian.org/52069
9888
9889         * NEWS, man/Attic/usermod.8, man/usermod.8.xml:
9890         give the correct range for system users: 0-999 instead of 0-99
9891         (http://bugs.debian.org/286258)
9892
9893         * man/Attic/chage.1, man/chage.1.xml: s/an password/a password/
9894
9895         * man/Attic/chage.1, man/chage.1.xml, src/chage.c, NEWS:
9896         another maxdays fix based on 427_chage_expiry_0 Debian patch
9897         (fix for http://bugs.debian.org/78961).
9898         Better description -1 value passed in -E, -I and -M options.
9899
9900         * src/gpasswd.c, src/grpck.c, src/grpconv.c, src/grpunconv.c, NEWS:
9901         added flushing group nscd cache on exit.
9902
9903         * src/pwck.c, src/pwconv.c, NEWS:
9904         added flushing passwd nscd cache on exit.
9905
9906         * NEWS, src/usermod.c:
9907         fixed handle -p option (patch by Peter Vrabec <pvrabec@redhat.com>).
9908         Indented.
9909
9910         * man/Attic/chage.1, man/chage.1.xml, NEWS, src/chage.c:
9911         use -1 as value for disable password inactivity.
9912         Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
9913         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=109499
9914         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=137498
9915
9916 2005-08-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
9917
9918         * 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:
9919         do not copy files from skel directory if home directory exist and write
9920         warning message about not copying skel files.
9921         Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
9922         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143150
9923         https://bugzilla.redhat.com/beta/show_bug.cgi?id=158574
9924         https://bugzilla.redhat.com/beta/show_bug.cgi?id=80242
9925
9926         * po/pl.po: updated.
9927
9928 2005-08-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
9929
9930         * src/useradd.c:
9931         s/spoll/spool/ (spoted by Nicolas François <nicolas.francois@centraliens.net>).
9932
9933 2005-08-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
9934
9935         * NEWS, src/su.c:
9936         ignore SIGINT while authenticating. A ^C could defeat the waiting
9937         period and permit brute-force attacks (fixed http://bugs.debian.org/288827).
9938
9939 2005-08-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
9940
9941         * lib/defines.h, NEWS, configure.in:
9942         added require ngettext (added [need-ngettext] to AM_GNU_GETTEXT() parameters)
9943         and stub prototype for ngettext() in lib/prototypes.h (neccessary if shadow
9944         compiled with disabled NLS support)
9945         Based on fixes by Martin Schlemmer <azarah@nosferatu.za.org>.
9946
9947         * src/faillog.c: start using exitcodes.h.
9948
9949         * 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:
9950         regenerate all roff man pages using DocBook XSL Stylesheets 1.69.0.
9951
9952         * 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:
9953         remove flushing shadow nscd cache (nscd do not caches shadow map).
9954
9955 2005-08-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
9956
9957         * 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:
9958         rewrited groupadd for use getopt_long().
9959
9960         * src/chage.c: indent.
9961
9962         * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/userdel.c:
9963         do OPENLOG() before pam_start().
9964
9965         * NEWS, src/groupadd.c: fixed double OPENLOG().
9966
9967         * src/passwd.c, src/vipw.c, src/userdel.c: reorder nscd_flush_cache().
9968
9969         * 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:
9970         cleanups in printf() translated messages for make translators work easier.
9971
9972         * NEWS, src/chage.c: added flushing NSS shadow map on exit.
9973
9974         * po/bs.po, po/ca.po, po/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:
9975         s/the the/the/
9976
9977         * po/POTFILES.in: removed lib/{grpack,gspack,pwpack,sppack}.c.
9978
9979         * NEWS, src/newusers.c:
9980         added flushing NSS passwd, shadow and group maps.
9981
9982         * NEWS, src/chpasswd.c, src/useradd.c:
9983         added flushing NSS shadow map on exit.
9984
9985         * lib/prototypes.h: removed outdated prototypes for lib/gsdbm.c.
9986
9987         * NEWS, lib/Attic/grpack.c, lib/Attic/gspack.c, lib/Attic/pwpack.c, lib/Attic/sppack.c, lib/Makefile.am, lib/prototypes.h:
9988         remove lib/{grpack,gspack,pwpack,sppack}.c and prototypes from lib/prototypes.h (outdated).
9989
9990         * lib/prototypes.h: removed outdated prototypes from lib/pwdbm.c.
9991
9992 2005-07-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
9993
9994         * NEWS, src/usermod.c: added flushing NSS shadow map.
9995
9996 2005-07-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
9997
9998         * man/Attic/chage.1, man/chage.1.xml:
9999         typo (s/passwordchanges/password changes/).
10000
10001 2005-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10002
10003         * lib/getdef.c, src/su.c:
10004         ENV_SUPATH and ENV_PATH must be used independently to PAM.
10005
10006         * lib/exitcodes.h: added E_BAD_ARG.
10007
10008         * src/gpasswd.c: start use exitcodes.h.
10009
10010         * lib/getdef.c: remove ENV_ROOTPATH def_table[] (not used).
10011
10012 2005-07-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10013
10014         * src/chsh.c: start use exitcodes.h.
10015
10016 2005-07-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
10017
10018         * po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/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:
10019         added --no-location to po/Makevars::XGETTEXT_OPTIONS: shorter .po files.
10020
10021         * NEWS, src/grpck.c, src/pwck.c:
10022         pwck: now pwck OPENLOG with correct name ("pwck" instead "pwsk"),
10023         pwck, grpck: replace all puts() with printf() - it fixes problems with extra blank
10024         lines printed in some messages
10025         (fixes by Alexander Gattin <arg@online.com.ua>)
10026
10027 2005-07-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10028
10029         * po/Makevars: added:
10030         MSGID_BUGS_ADDRESS = kloczek@pld.org.pl
10031
10032 2005-07-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10033
10034         * src/chfn.c: start use #include "exitcodes.h",
10035
10036         * lib/exitcodes.h: cleanups.
10037
10038         * lib/Makefile.am, lib/exitcodes.h, src/chage.c:
10039         start separate all E_* exit codes to lib/exitcodes.h.
10040
10041         * 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:
10042         use separated message "Password set to expire." instead "Password changed."
10043         on "passwd -e" (fix by Christian Perrier <bubulle@debian.org>).
10044
10045         * NEWS, po/fr.po:
10046         updated (by Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>).
10047
10048         * NEWS, configure.in: start work on 4.0.12.
10049
10050 2005-07-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10051
10052         * 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:
10053         4.0.11.1 will be released tmorrow (21-07-2005).
10054
10055         * configure.in, NEWS:
10056         fixed configure.in: now is possible build shadow with enabled/disabled shadow group
10057         support (thanks for report symptoms of the bug to Greg Schafer <gschafer@zip.com.au>).
10058
10059         * po/sv.po, NEWS: update finished (by Per Olofsson <pelle@dsv.su.se>)
10060
10061         * po/sv.po: partialy updated (by Per Olofsson <pelle@dsv.su.se>).
10062
10063 2005-07-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10064
10065         * NEWS, configure.in: start work on 4.0.12.
10066
10067 2005-07-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
10068
10069         * libmisc/sub.c:
10070         fixed compilation warning about incompatible implicit declaration of built-in
10071         function printf: added "#include <stdio.h>".
10072
10073         * src/groupadd.c:
10074         move #ifdef USE_PAM .. #endif #includes outside #ifdef SHADOWGRP .. #endif.
10075
10076         * libmisc/pwdcheck.c:
10077         added missing "#include <stdio.h>" (fix compilation with PAM disabled).
10078
10079         * 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:
10080         run "make update-po".
10081
10082         * src/su.c:
10083         move declaration of pamh nad caught variables to #ifdef USE_PAM .. #endif.
10084
10085         * po/pl.po, NEWS: updated pl translation.
10086
10087 2005-07-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10088
10089         * NEWS, po/sk.po:
10090         updated for 4.0.11 (by Peter Mann <Peter.Mann@tuke.sk>).
10091
10092 2005-07-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
10093
10094         * NEWS, po/cs.po:
10095         updated for 4.0.11 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10096
10097 2005-07-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10098
10099         * po/de.po, NEWS:
10100         updated for 4.0.11 (by Frank Schmid <frank@cs-schmid.de>).
10101
10102 2005-07-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
10103
10104         * NEWS, po/pt.po:
10105         updated for 4.0.11 (by Miguel Figueiredo <elmig@debianpt.org>).
10106
10107 2005-07-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10108
10109         * po/stats: reorder gsub().
10110
10111         * po/ru.po: cleanups.
10112
10113         * po/ru.po, NEWS:
10114         updated for 4.0.11 (by Yuri Kozlov <yucoz@yandex.ru>).
10115
10116 2005-07-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10117
10118         * lib/getdef.c:
10119         move MAIL_DIR variable from def_table[] to part independent to USE_PAM
10120         (still used in userdel/usermod).
10121
10122         * NEWS, man/Attic/pwck.8, man/pwck.8.xml:
10123         document -q option (based on Debian patch for fix http://bugs.debian.org/309408)
10124         Rewrited OPTIONS section and better SYNOPSIS.
10125
10126         * NEWS, po/da.po:
10127         - updated for 4.0.11 (by Claus Hindsgaul <claus_h@image.dk>).
10128
10129         * NEWS, src/su.c:
10130         ignore SIGINT while authenticating. A ^C could defeat the waiting period and
10131         permit brute-force attacks. Also ignore SIGQUIT.
10132         Fixed: http://bugs.debian.org/52372 and http://bugs.debian.org/288827
10133
10134         * po/fi.po, NEWS:
10135         - updated for 4.0.11 (by Tommi Vainikainen <thv+debian@iki.fi>).
10136
10137         * po/ro.po: - updated Project-Id-Version field.
10138
10139         * NEWS, po/ro.po:
10140         - updated for 4.0.11 (by Sorin B. <sorin@bonbon.net>).
10141
10142 2005-07-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
10143
10144         * NEWS, man/Attic/lastlog.8, man/lastlog.8.xml:
10145         document that lastlog is a sparse file, and don't need to be rotated.
10146         http://bugs.debian.org/219321
10147
10148         * src/chage.c: use E_USAGE=2 as usage() exit code.
10149
10150         * NEWS, po/es.po:
10151         updated for 4.0.11 (by Ruben Porras <nahoo82@telefonica.net>).
10152
10153         * src/useradd.c: cleanups in usage() oyput.
10154
10155         * 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:
10156         cleanups in usage() output.
10157
10158         * NEWS: release 4.0.11 is sheduled to 18-06-2005.
10159
10160 2005-07-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10161
10162         * man/Attic/login.1, man/login.1.xml, NEWS:
10163         better explain the respective roles of login, init and getty with regards
10164         to the utmp file (based on 441_manpages-shadow.5 Debian patch)
10165
10166         * man/Attic/su.1, man/groupdel.8.xml, man/su.1.xml, man/Attic/groupdel.8:
10167         s/presense/presence/; s/filesystem/file system/
10168         (sed on 440_manpages-login.1 Debian patch)
10169
10170         * 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:
10171         removed shadowconfig(8) man page (will be maintained in Debian shadow pkg repository).
10172
10173         * man/it/sg.1: added.
10174
10175         * man/it/Makefile.am: more files in man_MANS.
10176
10177         * man/it/Makefile.am: move pwunconv.8 to man_MANS.
10178
10179         * man/useradd.8.xml, man/Attic/useradd.8:
10180         updated after rewrite for for getopt_long() in useradd (-D and -k options
10181         idescription must be finished).
10182
10183         * 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:
10184         rewrited for use getopt_long().
10185
10186         * po/stats: more gsub().
10187
10188 2005-07-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
10189
10190         * src/newgrp.c:
10191         indent source code and use fix for handle splitted groups unconditionaly.
10192
10193         * lib/nscd.c: indent.
10194
10195         * NEWS, src/newgrp.c:
10196         add fix for handle splitted NIS groups: extends the functionality that,
10197         if the requested group is given, all groups of the same GID are tested for
10198         membership of the requesting user.
10199         (fix by Christian Mudra <C.Mudra@science-computing.de>
10200
10201         * lib/nscd.c, NEWS:
10202         for some reason doing the INVALIDATE call with two write()'s fails.
10203         Do one writev() call instead. http://bugs.gentoo.org/show_bug.cgi?id=80413
10204         (submited by Martin Schlemmer <azarah@gentoo.org>)
10205
10206         * NEWS, lib/nscd.c:
10207         merge nscd-socket-path patch from Fedora: newer glibc's have a different nscd socket
10208         location (/var/run/nscd/socket instead /var/run/.nscd_socket).
10209
10210 2005-07-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10211
10212         * po/stats: improved.
10213
10214         * man/Attic/groupadd.8, man/groupadd.8.xml, NEWS:
10215         document -o option in groupadd(8).
10216
10217         * configure.in: s/'"$<foo>" != "no"'/'"$<foo>" = "yes"'/
10218
10219         * NEWS, configure.in, lib/Makefile.am, lib/pwauth.c:
10220         S/Key support is back.
10221
10222         * po/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:
10223         run "make update-po".
10224
10225         * po/pl.po: updated.
10226
10227         * src/useradd.c: s,key=value,KEY=VALUE,
10228
10229         * src/groupadd.c, NEWS, man/Attic/groupadd.8, man/groupadd.8.xml:
10230         change -O option to -K and document it in man page.
10231
10232         * man/Attic/useradd.8, man/useradd.8.xml, src/useradd.c:
10233         s/NAME=VALUE/KEY=VALUE/; s/key=value/KEY=VALUE/
10234
10235         * src/chfn.c, src/groupadd.c, src/groupmems.c, src/login.c, src/passwd.c, src/vipw.c:
10236         sort cases in switch (flag) {}.
10237
10238         * src/gpasswd.c, src/groupadd.c, src/groupmems.c, src/groupmod.c, src/passwd.c, src/useradd.c, src/usermod.c:
10239         sort getopt() optstring.
10240
10241         * src/useradd.c:
10242         remove A: from getopt() optstring (the same bug as in usermod).
10243
10244         * src/usermod.c:
10245         remove A: from getopt() optstring (it was for handle AUTH_METHODS code but now
10246         it is not used option). Catched by Thorsten Kukuk <kukuk@suse.de>.
10247
10248         * 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:
10249         indent source code. Added usermod error message about -a option usage to translated messages.
10250
10251         * po/POTFILES.in: mistake s,chage_chkshell.c,chsh_chkshell.c,
10252
10253         * po/POTFILES.in: s,libmisc/chkshell.c,src/chage_chkshell.c,
10254
10255         * man/Attic/usermod.8, man/usermod.8.xml, src/usermod.c, NEWS:
10256         added -a option. This flag can only be used in conjunction with the -G
10257         option. It cause usermod to append user to the current supplementary group list.
10258         (patch by Peter Vrabec <pvrabec@redhat.com>)
10259
10260         * libmisc/Attic/chkshell.c, libmisc/Makefile.am, src/Attic/chsh_chkshell.c, src/Makefile.am:
10261         move libmisc/chkshell.c to src/chsh_chkshell.c. check_shell() is used only by chsh.
10262
10263 2005-07-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10264
10265         * Attic/acconfig.h, NEWS, configure.in:
10266         finish move all autoheader templates from acconfig.h to configure.in.
10267
10268         * 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:
10269         added missing \n in chage error messages.
10270
10271         * 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:
10272         run "make update-po".
10273
10274         * src/usermod.c: move all #include in one place.
10275
10276         * src/useradd.c: s/-O/-K/
10277
10278         * man/Attic/useradd.8, man/useradd.8.xml:
10279         cleanups in Note: in -K description.
10280
10281         * NEWS, man/Attic/useradd.8, man/useradd.8.xml, src/useradd.c:
10282         change -O option to -K and document it in man page.
10283
10284         * man/Attic/useradd.8, man/useradd.8.xml:
10285         added separated <cmdsynopsis></cmdsynopsis> for -D description and remove using </srb> tags from
10286         <refsynopsisdiv id='synopsis'>.
10287
10288         * src/login.c:
10289         replace #ifdef USE_PAM .. #endif #ifndef USE_PAN .. #endif by
10290         #ifdef USE_PAM .. #else .. #endif.
10291
10292         * src/su.c: conditiona code reorganization.
10293
10294         * src/login.c: remove one #ifndef USE_PAM .. #endif.
10295
10296         * libmisc/setupenv.c: move setup $MAIL to !USE_PAM.
10297
10298         * libmisc/setupenv.c, src/su.c:
10299         consolidate two sections of code #ifndef USE_PAM to one.
10300
10301         * src/su.c, src/sulogin.c, libmisc/setupenv.c, libmisc/tz.c, src/login.c, NEWS:
10302         fixed erroneous warning messages about some login.defs variables when used with PAM
10303         (fix by DJ Lucas <dj@linuxfromscratch.org>)
10304
10305 2005-07-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
10306
10307         * configure.in, libmisc/getdate.y, libmisc/utmp.c, src/logoutd.c:
10308         remove non-USG code.
10309
10310         * Attic/acconfig.h, configure.in:
10311         start moving all autoheader templates from acconfig.h to configure.in.
10312
10313         * configure.in: remove not used AC_DEFINE(HAVE_LIBCRYPT).
10314
10315         * Attic/acconfig.h, NEWS, configure.in:
10316         stop with error message if crypt() not found. Remove --with{,out}-libcrypt switch.
10317
10318         * src/login.c: fixed use SYSLOG macro.
10319
10320 2005-07-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10321
10322         * src/login_nopam.c: fixed use SYSLOG macro.
10323
10324 2005-07-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
10325
10326         * NEWS, src/login.c:
10327         setup limits and umask (using login.defs ULIMITS and UMASK variables) only when
10328         PAM support is disabled (it is task for pam_limits and pam_umask modules).
10329
10330 2005-06-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
10331
10332         * src/sulogin.c, src/login.c, src/login_nopam.c, NEWS:
10333         use SYSLOG macro instead syslog() which saves the locale, sets the locale to C,
10334         sends the message and restores the locale (fix by Nicolas François <nicolas.francois@centraliens.net>).
10335
10336         * 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:
10337         in SEE ALLSO section added refer to gpasswd(8)
10338         (suggested by Mike Frysinger <vapier@gentoo.org>)
10339
10340         * NEWS, configure.in: start work on 4.0.11.
10341
10342 2005-06-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
10343
10344         * NEWS: +1 day release 4.0.10 date.
10345
10346         * po/pl.po: kill fuzzy.
10347
10348         * po/de.po: partial update by Frank Schmid <frank@cs-schmid.de>.
10349
10350 2005-06-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10351
10352         * po/ca.po: run "make update-po".
10353
10354         * po/sk.po: updated sk translation by Peter Mann <Peter.Mann@tuke.sk>.
10355
10356 2005-06-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10357
10358         * NEWS: typo.
10359
10360 2005-06-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10361
10362         * po/pl.po: typo.
10363
10364         * po/pl.po: updated for 4.0.10.
10365
10366         * po/ru.po, NEWS: updated ru translation by maintainer.
10367
10368         * NEWS: added past releases dates. Cleanups.
10369
10370         * man/Attic/shadowconfig.8: merge version generated from XML file.
10371
10372         * po/ca.po, po/cs.po, po/da.po, po/fi.po, NEWS:
10373         translations updated by maintainers.
10374
10375 2005-06-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10376
10377         * 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):
10378         s/EXPIRE/EXPIRE_DATE/.
10379
10380         * po/pl.po: start update for 4.0.10.
10381
10382         * 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:
10383         s/uid/UID/ in all commnets and messages.
10384
10385         * libmisc/failure.c, libmisc/limits.c, lib/pwio.c:
10386         s/uid/UID/ in comments.
10387
10388         * 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:
10389         s/gid/GID/ in all comments and messages.
10390
10391         * 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:
10392         one message in i18n messages less: use in all places "Permission denied" instead
10393         "permission denied".
10394
10395         * libmisc/getdate.y:
10396         remove extern for gmtime(), localtime() and mktime() and instead add #include <time.h>.
10397
10398         * libmisc/entry.c: removed extern for fgetpwent().
10399
10400         * 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:
10401         now most of the man pages now are generated from XML files so in case any submiting
10402         any chages to this resources please make diff fies to XML files.
10403
10404         * man/Attic/pw_auth.3.xml: cleanups.
10405
10406         * man/grpck.8.xml, man/passwd.1.xml:
10407         correctly code EXIT VALUES section using <variablelist>. Cleanups.
10408
10409         * man/shadow.3.xml: cleanups.
10410
10411 2005-06-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10412
10413         * man/ja/Attic/mkpasswd.8, man/ja/Makefile.am, man/pl/Attic/mkpasswd.8, man/pl/Makefile.am:
10414         remove ja and pl mkpasswd.8 man pages.
10415
10416 2005-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
10417
10418         * man/pwck.8.xml, man/useradd.8.xml, man/userdel.8.xml:
10419         correctly code EXIT VALUES section.
10420
10421         * Attic/acconfig.h: removed DES_RPC and OPIE templates.
10422
10423         * 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:
10424         removed mkpasswd.
10425
10426         * man/Makefile.am: do not install mkpasswd(8) man page.
10427
10428         * src/Makefile.am: move mkpasswd.c to EXTRA_DIST.
10429
10430         * man/passwd.5.xml:
10431         use <itemizedlist mark='bullet'> for describe passwd fields. Remove outdated
10432         information about additional fields in comment field. Cleanups.
10433
10434         * man/newusers.8.xml: cleanups.
10435
10436         * man/gshadow.5.xml:
10437         use <itemizedlist mark='bullet'> for gshadow fields desscription.
10438
10439         * man/shadow.5.xml: cleanups.
10440
10441         * man/shadow.5.xml:
10442         use <itemizedlist mark='bullet'> for describe shadow fields.
10443
10444         * man/Attic/pw_auth.3.xml: cleanups.
10445
10446         * man/Attic/pw_auth.3.xml: use correct <refname>.
10447
10448         * man/Attic/pw_auth.3.xml: cleanups.
10449
10450         * man/groupdel.8.xml, man/groupmod.8.xml:
10451         correctly code EXIT VALUES section.
10452
10453         * man/groupadd.8.xml: cleanups.
10454
10455         * man/Attic/mkpasswd.8.xml: added missing <variablelist> tag.
10456
10457         * man/usermod.8.xml: cleanups.
10458
10459         * man/usermod.8.xml: remove <sbr/> tags from SYNOPSIS section.
10460
10461         * man/faillog.8.xml: cleanups.
10462
10463         * man/faillog.5.xml:
10464         put struct faillog definition in <programlisting></programlisting>.
10465
10466         * man/chsh.1.xml, man/chpasswd.8.xml: cleanups.
10467
10468         * man/groupadd.8.xml:
10469         seems I found good way for code EXIT VALUES section.
10470
10471         * man/shadow.3.xml:
10472         put meanings of each field spwd struct in <itemizedlist mark='bullet'>.
10473
10474         * man/shadow.3.xml:
10475         place definition of struct spwd in <programlisting></programlisting>.
10476
10477         * NEWS, src/userdel.c:
10478         userdel now deletes user groups from /etc/gshdow as well as /etc/group.
10479         Fix by Nicolas François <nicolas.francois@centraliens.net>.
10480         http://bugs.debian.org/99442
10481
10482         * 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:
10483         fixed bug in usermod ad run "make -C po update-po".
10484         When relocating a user's home directory, don't fail and remove the new
10485         home directory if we can't remove the old home directory for some
10486         reason; the results can be spectularly poort if, for instance, only
10487         the rmdir() fails. Patch prepared by Timo Lindfors <lindi-spamtrap@newmail.com>.
10488         http://bugs.debian.org/166369
10489
10490 2005-06-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10491
10492         * src/login.c: indent.
10493
10494         * 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:
10495         cleanups.
10496
10497 2005-06-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
10498
10499         * 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:
10500         cleanups.
10501
10502         * man/login.1.xml: rewrited FILES section.
10503
10504         * man/id.1.xml, man/lastlog.8.xml, man/gshadow.5.xml: cleanups.
10505
10506         * man/groups.1.xml: typos.
10507
10508         * man/chfn.1.xml, man/expiry.1.xml, man/gpasswd.1.xml: cleanups.
10509
10510 2005-06-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10511
10512         * NEWS:
10513         last patch for UTMPX was submited by by Nicolas François <nicolas.francois@centraliens.net>
10514
10515         * libmisc/failure.c, libmisc/failure.h, NEWS:
10516         use also UTMPX API instead UTMP on failure (login was by affected this when shadow
10517         was builded without PAM support).
10518
10519         * NEWS, src/login.c:
10520         the PAM session needs to be closed as root, thus before change_uid()
10521         http://bugs.debian.org/53570 http://bugs.debian.org/195048 http://bugs.debian.org/211884
10522
10523         * man/Attic/passwd.1, man/passwd.1.xml:
10524         s/compatiblity/compatibility/ (fix by Christian Perrier <bubulle@kheops.frmug.org>).
10525
10526 2005-06-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
10527
10528         * NEWS, man/Attic/chfn.1, man/chfn.1.xml:
10529         give more details about the influence of login.defs on what's allowed to
10530         users (based on Debian patches).
10531
10532         * NEWS, src/su.c:
10533         fix syslogs to be less ambiguous. Use old:new format instead of old-new
10534         because '-' can appear in usernames.
10535         http://bugs.debian.org/213592
10536
10537         * NEWS, src/login.c:
10538         made login's -f option also able to use the username after -- if none
10539         was passed as it's optarg
10540         http://bugs.debian.org/53702
10541
10542         * po/POTFILES.in, NEWS, libmisc/Attic/setup.c, libmisc/Makefile.am:
10543         not used now (removed).
10544
10545         * man/Attic/usermod.8, man/usermod.8.xml:
10546         s/inactive_time/inactive_days/ in -f parameter in SYNOPSIS (fix by Christian
10547         Perrier <bubulle@debian.org>).
10548
10549 2005-06-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
10550
10551         * man/Attic/grpck.8, man/grpck.8.xml:
10552         typo: s/incorrectable/uncorrectable/ (by A Costa <agcosta@gis.net>).
10553
10554         * man/Attic/gshadow.5, man/gshadow.5.xml:
10555         typos: s/folowing/following/; s/encryped/encrypted/; s/supercedes/supersedes/
10556         (by A Costa <agcosta@gis.net>).
10557
10558         * man/Attic/shadow.5, man/shadow.5.xml:
10559         typos: s/encryped/encrypted/; s/supercedes/supersedes/
10560         (by A Costa <agcosta@gis.net>)
10561
10562 2005-06-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
10563
10564         * src/login.c, NEWS:
10565         check for hushed login and pass PAM_SILENT if true.
10566         http://bugs.debian.org/48002
10567
10568         * src/login.c, NEWS:
10569         fixed loggin of username on succesful login (was using the normal username,
10570         when it should have used pam_user) http://bugs.debian.org/47819
10571
10572 2005-06-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
10573
10574         * NEWS, po/zh_TW.po: updated (by Tetralet <tetralet@pchome.com.tw>).
10575
10576         * NEWS, po/ca.po: updated (by Guillem Jover <guillem@debian.org>).
10577
10578         * man/de/passwd.1:
10579         added small comment with marker usefull for translators.
10580
10581 2005-05-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10582
10583         * 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:
10584         indent all.
10585
10586         * 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:
10587         remove using SHADOWPWD #define so now shadow is allways builded with shadow
10588         password support.
10589
10590 2005-05-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
10591
10592         * 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:
10593         rewrite for use getopt_long().
10594
10595 2005-05-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
10596
10597         * NEWS, configure.in: start working on 4.0.10.
10598
10599         * man/Makefile.am: remove shadow-man-pages.pot target from all.
10600
10601 2005-05-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10602
10603         * lib/encrypt.c, NEWS:
10604         fixed passwd segfault in non-PAM connfiguration (submited by Greg Schafer <gschafer@zip.com.au>).
10605
10606         * po/sv.po: upsdate (by Christian Perrier <bubulle@debian.org>).
10607
10608         * NEWS, src/newgrp.c:
10609         fixed NULL pointer dereference - getlogin() and ttyname() can
10610         return NULL which is not checked (http://bugs.debian.org/162303).
10611
10612         * man/Attic/su.1, man/pwconv.8.xml, man/su.1.xml, man/Attic/pwconv.8:
10613         fixed typo (s,similiar,similar,).
10614
10615 2005-05-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
10616
10617         * NEWS, po/ro.po: updated by Sorin B. <sorin@bonbon.net>.
10618
10619         * po/ru.po, NEWS: updated by yu-koz <yu-koz@yandex.ru>.
10620
10621 2005-05-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10622
10623         * po/ro.po: few updates by Sorin Batariuc <sorin@bonbon.net>.
10624
10625 2005-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10626
10627         * po/ru.po: updated (by Yuri Kozlov <yuray@id.ru>).
10628
10629 2005-05-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10630
10631         * po/vi.po:
10632         completed translations for HEAD (by Clytie Siddall <clytie@riverland.net.au>).
10633
10634 2005-05-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
10635
10636         * NEWS, po/LINGUAS, po/vi.po: added new vi translation.
10637
10638         * NEWS, lib/getdef.c:
10639         leaves the table as it is, and changes from the binary search to
10640         a sequential one (fix by Lucas Correia Villa Real <lucasvr@gobolinux.org>).
10641
10642         * man/Attic/passwd.1, man/passwd.1.xml:
10643         make bold passwd and chfn commands.
10644
10645 2005-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
10646
10647         * man/usermod.8.xml, man/vipw.8.xml: cleanups.
10648
10649 2005-04-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
10650
10651         * 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:
10652         replace <emphasis remap='B'></emphasis> by <command></command>.
10653
10654         * po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/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:
10655         fixed lastlog --help message (s,--login,--user,) http://bugs.debian.org/249611
10656
10657         * 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:
10658         use <varlistentry></varlistentry> in FILES section. Cleanups.
10659
10660         * 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:
10661         cleanups.
10662
10663         * man/Attic/vipw.8, man/vipw.8.xml:
10664         small fix: s,vi,vi(1), (reported by Helge Kreutzmann <kreutzm@itp.uni-hannover.de> in
10665         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=260636).
10666         s,VISUAL,$VISUAL; s,EDITOR,$EDITOR,
10667
10668 2005-04-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
10669
10670         * man/login.1.xml: fixed bold (use <command></command>). Cleanups.
10671
10672         * man/Attic/login.1: fixed typo in bold.
10673
10674         * man/chage.1.xml: fixed italic. Cleanups.
10675
10676         * man/Attic/chage.1: fixed typo in italic.
10677
10678         * man/login.defs.5.xml:
10679         fixed italic (use <filename></filename> istead italic). Cleanups.
10680
10681         * man/Attic/login.defs.5: fixed typo in italic.
10682
10683         * man/vipw.8.xml: fixed italic (use <filename></filename>).
10684
10685         * man/Attic/vipw.8: typo in italic.
10686
10687         * man/Makefile.am:
10688         added target for generate shadow-man-pages.pot. List all now useable xml files
10689         in man_XMANS variable.
10690
10691         * man/pwconv.8.xml:
10692         fixed bold. Use in more places <command></command> istead bold.
10693
10694         * man/Attic/login.defs.5: typo in bold.
10695
10696         * man/su.1.xml:
10697         removed comment. Use <variablelist></variablelist> in Files secstion.
10698         Fixed bold.
10699
10700         * man/Attic/pwconv.8, man/Attic/su.1: typo in bold.
10701
10702 2005-04-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
10703
10704         * NEWS, configure.in: start work on 4.0.9.
10705
10706         * po/nl.po: kill fuzzy.
10707
10708         * man/Attic/chage.1:
10709         reverte last commit (by mistake commited experimental version generated from XML file).
10710
10711         * NEWS, po/nl.po:
10712         updated for 4.0.8 (by "cobaco (aka Bart Cornelis)" <cobaco@linux.be>).
10713
10714         * 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:
10715         two typos (s,specyfied,specified,; s,maiximum,maximum,).
10716
10717         * NEWS, po/sk.po:
10718         updated for 4.0.8 (by Peter Mann <Peter.Mann@tuke.sk>).
10719
10720         * src/lastlog.c: typo (s,specyfied,specified,)
10721
10722         * src/faillog.c: typo (s,maiximum,maximum,).
10723
10724 2005-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
10725
10726         * 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:
10727         added <refmiscinfo class="sectdesc">User Commands</refmiscinfo> in <refmeta></refmeta>.
10728
10729         * 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:
10730         Use encoding="UTF-8" and DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN".
10731
10732         * 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:
10733         better formation using "xmlindent -l 80 -d 2".
10734
10735 2005-04-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
10736
10737         * 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:
10738         updated it man pages: chfn.1, chsh.1, groups.1, grpck.8, grpconv.8, grpunconv.8,
10739         id.1, lastlog.8, login.1, newgrp.1, pwunconv.8, shadow.5, vigr.8, vipw.8.
10740         new it man pages: chage.1, chpasswd.8, expiry.1, faillog.5, faillog.8,
10741         getspnam.3, logoutd.8, porttime.5, pwck.8, shadow.3, shadowconfig.8, su.1.
10742         (by Danilo Piazzalunga <danilopiazza@libero.it>)
10743
10744         * po/uk.po:
10745         cleanups in plural forms (by Roman Festchook <roma@polesye.net>).
10746
10747         * 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:
10748         reformated using xemacs.
10749
10750 2005-04-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
10751
10752         * po/fr.po, NEWS:
10753         updated for 4.0.8 (by Christian Perrier <bubulle@kheops.frmug.org>).
10754
10755         * NEWS, po/eu.po: updated for 4.0.8 (by ^pi^ <piarres@gmail.com>).
10756
10757         * NEWS, po/uk.po:
10758         updated for 4.0.8 (by Roman Festchook <roma@polesye.net>).
10759
10760         * po/cs.po:
10761         updated for 4.0.8 (by Miroslav Kure <kurem@upcase.inf.upol.cz>).
10762
10763         * po/da.po, NEWS:
10764         updated for 4.0.8 (by Claus Hindsgaul <claus_h@image.dk>).
10765
10766         * po/ko.po, NEWS:
10767         updated for 4.0.8 (by Changwoo Ryu <cwryu@debian.org>).
10768
10769         * po/fi.po: kill one fuzzy (by Tommi Vainikainen <thv+debian@iki.fi>).
10770
10771 2005-04-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
10772
10773         * man/chpasswd.8.xml: Rewrited by hand & xemacs.
10774
10775         * man/chfn.1.xml: cleanups in <refentry> tag.
10776
10777         * man/chfn.1.xml: Rewrited by hand & xemacs.
10778
10779         * NEWS, po/pt.po:
10780         updated for 4.0.8 (by Miguel Figueiredo <elmig@debianpt.org>).
10781
10782         * po/es.po, NEWS: updated (by Ruben Porras <nahoo@inicia.es>).
10783
10784 2005-04-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
10785
10786         * man/Attic/useradd.8:
10787         fixed typos in useadd syntax (in SYNOPSIS section) catched using doclifter.
10788
10789         * 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:
10790         raw version converted using doclifter.
10791
10792         * configure.in: remove handle --with-lib{opie,skey}.
10793
10794         * man/de/chsh.1:
10795         synced with english version (by Simon Brandmair <sbrandmair@gmx.net>).
10796
10797         * man/Attic/usermod.8: improved -o description.
10798
10799         * man/de/passwd.1:
10800         added translation EXIT VALUES section (by Simon Brandmair <sbrandmair@gmx.net>).
10801
10802         * NEWS, po/it.po:
10803         updated it translation (by Danilo Piazzalunga <danilopiazza@libero.it>).
10804
10805 2005-04-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
10806
10807         * po/bs.po, po/ca.po, po/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:
10808         cleanups.
10809
10810         * po/pl.po: updated.
10811
10812         * src/usermod.c:
10813         use the same error message ("%s: PAM authentication failed\n") on fail
10814         authentication as in other tools.
10815
10816         * 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:
10817         run "make update-po".
10818
10819         * src/login.c, src/login_nopam.c:
10820         fixed build with disabled PAM support: move bad_time_notify() and check_nologin()
10821         back to src/login.c but use this functions #ifndef USE_PAM.
10822
10823         * NEWS, lib/Makefile.am, lib/pwauth.c:
10824         remove not working OPIE and SKEY support.
10825
10826         * configure.in: typo (s,SELinuux,SELinux,).
10827
10828         * NEWS: typos.
10829
10830         * NEWS: chage, useradd, usermod: reduce multiple OPENLOG() calls.
10831
10832         * src/useradd.c, src/usermod.c: fix multiple OPENLOG() calls.
10833
10834         * src/chage.c: cleanups.
10835
10836         * src/chage.c: fix multiple OPENLOG() calls.
10837
10838         * src/chage.c:
10839         use E_SUCCESS/E_NOPERM #defines instead 0/1 in exit() arguments.
10840
10841 2005-04-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
10842
10843         * src/passwd.c:
10844         adjust also syslog message on usage -S option without permission.
10845         Consolidate SELinix and non-SELinux code.
10846
10847         * po/bs.po, po/ca.po, po/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:
10848         fix #61313 Debian bug: "passwd -S root" (as a normal user) should not
10849         display "You may not change the password for root.
10850
10851         * NEWS, man/Attic/passwd.1:
10852         fix #160477 Debian bug: improve -S output description.
10853
10854         * man/de/passwd.1:
10855         new translation by Simon Brandmair <sbrandmair@gmx.net> with merged all
10856         changes between revision 1.2 a 1.5.
10857
10858 2005-04-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
10859
10860         * man/Attic/passwd.1, man/pl/passwd.1: bold passwd and chage commands.
10861
10862         * NEWS, src/vipw.c:
10863         fixed race condition in vipw (Debian #242407 bug; fix by Alexander Gattin
10864         <arg@online.com.ua>).
10865
10866         * man/pl/Attic/chage.1.xml, man/pl/chage.1:
10867         synced with english version.
10868
10869         * man/Attic/chage.1, man/chage.1.xml:
10870         add info about what mean -1 passed n expiredate parameter (based on #304542
10871         Debian bug; submited by Federico Grau <grauf@rfa.org>).
10872
10873 2005-04-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
10874
10875         * po/fi.po, NEWS:
10876         updated translation (by Tommi Vainikainen <tvainikan@cc.hut.fi>).
10877
10878         * 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:
10879         cleanups and unifications in SEE ALSO section.
10880
10881 2005-04-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
10882
10883         * configure.in:
10884         Info documentation says about AC_GNU_SOURCE: "should be called before any
10885         macros that run the C compiler". So move this macro on top configure.in for
10886         avoid autoconf warnings.
10887
10888         * configure.in:
10889         AC_SYS_LARGEFILE() performs checking is fseeko() is avalaible so "fseeko" can
10890         be removed from AC_CHECK_FUNCS() parameters.
10891
10892         * NEWS, configure.in: Remove using AC_PROG_GCC_TRADITIONAL macro.
10893         Add using AC_GNU_SOURCE macro for kill compilation warnings about implicit
10894         declaration of function `fseeko'.
10895
10896         * po/cs.po: killed fuzzy (by Miroslav Kure <kurem@debian.cz>).
10897
10898         * man/ja/newgrp.1, man/pl/newgrp.1, NEWS, man/Attic/newgrp.1, man/hu/newgrp.1:
10899         newgrp uses /bin/sh (not bash).
10900
10901         * 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:
10902         describe /etc/group in FILES section as "group account information".
10903
10904         * man/Attic/grpck.8:
10905         describe /etc/passwd in FILES section as "user account information".
10906
10907         * po/stats: small script for generate translations statistics.
10908
10909         * NEWS, po/cs.po: Updated by Miroslav Kure <kurem@debian.cz>.
10910
10911         * 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:
10912         describe /etc/shadow in FILES section as "secure user account information".
10913
10914         * man/Attic/newgrp.1:
10915         Reformated paragraph. s,Bourne shell,\fBbash\fR shell,
10916
10917         * NEWS, man/Attic/newgrp.1:
10918         fix #251926, #166173, #113191 Debian bugs: explain why editing /etc/group
10919         (without gshadow) doesn't permit to use newgrp.
10920
10921         * 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:
10922         added/fixed Plural-Forms: header entries. Run "make update-po".
10923
10924         * po/pl.po:
10925         added Plural-Forms: header entry and updated for last change in
10926         libmisc/failure.c.
10927
10928         * libmisc/failure.c:
10929         break message text with failure login since last login.
10930
10931         * libmisc/failure.c:
10932         Use ngettext instead of string concatenation and static number of cases.
10933         Patch by Tommi Vainikainen <tvainika@cc.hut.fi>.
10934
10935 2005-04-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
10936
10937         * po/cs.po:
10938         new translation maintainer: Miroslav Kure <kurem@debian.cz>.
10939
10940 2005-04-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
10941
10942         * po/pl.po: updated for 4.0.8.
10943
10944 2005-04-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
10945
10946         * 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:
10947         changed faillog records display format for allow fit in 80 columns all
10948         faillog atributies.
10949
10950         * 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:
10951         run "make update-po". Updated pl.po.
10952
10953         * src/faillog.c (usage): typo (s,IDAYS,DAYS,).
10954
10955         * man/Attic/faillog.8, NEWS:
10956         updated after rewrite faillog command for use getopt_long().
10957
10958         * src/faillog.c:
10959         Add handle -h,--help option. Show in usage output information about
10960         -t,--time option. Remove handle -p option.
10961
10962         * po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/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:
10963         run "make update-po".
10964
10965         * po/POTFILES.in: updated.
10966
10967         * man/Attic/gpasswd.1: typo (s,fB,\fB,).
10968
10969 2005-04-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
10970
10971         * NEWS, man/ja/login.1:
10972         updated ja man page for Debian #95213 bug (by Kenshi Muto <kmuto@debian.org>).
10973
10974         * 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:
10975         next round of cleanups: removed NDBM code (unused).
10976
10977         * src/login.c: consilidate some !USE_PAM lines.
10978
10979         * src/login.c, src/login_nopam.c:
10980         move bad_time_notify() and check_nologin() to src/login_nopam.c.
10981
10982         * lib/prototypes.h: remove not used login_desrpc() prototype.
10983
10984         * lib/Attic/rad64.c, lib/encrypt.c, lib/prototypes.h, lib/Makefile.am:
10985         remove lib/rad64 with not used c64i() and i64c() functions.
10986
10987         * lib/encrypt.c:
10988         remove "#ifdef SW_CRYPT .. #endif" and "#ifdef DOUBLESIZE .. #endif" unused code.
10989
10990         * lib/encrypt.c: remove "#ifdef MD5_CRYPT .. #endif" unused code.
10991
10992         * libmisc/salt.c:
10993         remove prototypes for *l64a() and add #include <stdlib.h>. Remove unused
10994         now code (old style random salt generator).
10995
10996         * src/chage.c: cleanups.
10997
10998         * src/chpasswd.c:
10999         remove prototypes for *l64a() and add #include <stdlib.h>.
11000
11001         * src/login.c: remove login_fbtab() prototype.
11002
11003         * src/chage.c:
11004         remove prototypes for a64l() and *l64a() and add #include <stdlib.h>.
11005
11006 2005-04-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11007
11008         * 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:
11009         more replaces "-" by "\-" (s,\\-,-,g; s,-,\\-,g).
11010
11011         * man/pl/usermod.8: finish sync with english version.
11012
11013         * man/hu/login.1, man/pl/login.1, NEWS, man/Attic/login.1, man/de/login.1:
11014         removed fragment about abilities pass enviroment variables in login prompt.
11015
11016         * man/Attic/gpasswd.1, man/Attic/newgrp.1:
11017         fixes by Nicolas Nicolas François <nicolas.francois@centraliens.net> (not all
11018         commited).
11019
11020 2005-04-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11021
11022         * 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:
11023         replace all "-" by "\-" (s,\\-,-,; s,-,\\-,).
11024
11025         * man/cs/groups.1: cleanups.
11026
11027         * NEWS, src/su.c:
11028         fixed use of SU_WHEEL_ONLY in su. Now su realy is avalaible for wheel group
11029         members. Thanks to Mike Frysinger <vapier@gentoo.org> for report:
11030         http://bugs.gentoo.org/show_bug.cgi?id=80345
11031
11032         * man/pl/Attic/chage.1.xml:
11033         converted from roff using doclifter. Rewrited by hand. Probably will be
11034         removed after prepare infrastructure for translate man pages using gettext
11035         but temporary I need this for some experiments.
11036
11037         * src/login.c: remove unused #ifded LOGIN_FBTAB .. #endif code.
11038
11039         * configure.in, libmisc/Attic/login_access.c, libmisc/Makefile.am, src/Makefile.am, src/login.c, src/login_nopam.c:
11040         move libmisc/login_access.c to src/login_mopam.c.
11041         Remove using LOGIN_ACCESS #define. Now LOGIN_ACCESS is equal to !USE_PAM.
11042         In src/login_nopam.c will be cumulated non-PAM specyfic login code.
11043
11044         * src/lastlog.c, src/login.c, src/useradd.c, src/usermod.c, libmisc/log.c:
11045         cleanups: remove using #include "lastlog_.h".
11046
11047         * src/login.c: fixed build with PAM support disabled.
11048
11049         * src/login.c: remove "#ifdef HUP_MESG_FILE .. #endif" code.
11050
11051         * src/login.c: reindent using -l80.
11052
11053         * man/Attic/chage.1, man/chage.1.xml:
11054         s/chage/chage command/ in DESCRIPTION.
11055
11056         * man/chage.1.xml:
11057         converted from roff using doclifter. Rewrited by hand.
11058
11059         * 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:
11060         cleanups.
11061
11062         * man/Attic/pwconv.8: fixed typo: s,fI,\fI,
11063
11064         * po/POTFILES.in: remove libmisc/login_{desrpc,krb}.c.
11065
11066         * lib/getdef.c, libmisc/Attic/login_desrpc.c, libmisc/Attic/login_krb.c, libmisc/Makefile.am, src/login.c, NEWS, autogen.sh, configure.in:
11067         drop never finished kerberos and des_rpc support.
11068
11069         * man/it/chfn.1: cleanups.
11070
11071 2005-04-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
11072
11073         * NEWS, configure.in:
11074         fixed UTMP path detection (by Kelledin <kelledin@users.sf.net>).
11075
11076         * man/fr/chsh.1: typo.
11077
11078         * man/de/Makefile.am, man/de/passwd.5:
11079         imported from Deutscher manpages.
11080
11081         * man/cs/Makefile.am, man/cs/groups.1, man/cs/lastlog.8, man/cs/su.1:
11082         new files imported from Czech man-pages.
11083
11084         * 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:
11085         cleanups: aded missing \fR.
11086
11087         * man/Attic/gpasswd.1, man/Attic/gshadow.5, man/Makefile.am, NEWS:
11088         added new file (by Nicolas Nicolas François <nicolas.francois@centraliens.net>).
11089
11090 2005-03-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
11091
11092         * man/pl/chage.1, man/pl/chfn.1, man/pl/chsh.1, man/pl/gpasswd.1:
11093         added missing \fR.
11094
11095         * man/pl/groupmod.8: typo: s,\fI,\fR,
11096
11097         * man/pl/login.1, man/pl/passwd.1: cleanups: aded missing \fR.
11098
11099         * man/pl/sulogin.8: cleanups.
11100
11101         * man/pl/useradd.8: cleanups: aded missing \fR.
11102
11103         * man/pl/usermod.8: partialy synced with english version.
11104
11105         * man/Attic/usermod.8: typo.
11106
11107         * NEWS, man/Attic/usermod.8:
11108         fixed #302388 Debian bug: added separated -o option description.
11109
11110         * lib/getdef.c:
11111         FAILLOG_ENAB, LOGIN_STRING moved to code "#ifndef USE_PAM" dependent.
11112
11113         * lib/pwauth.c, lib/pwauth.h: enable pw_auth() only #ifndef USE_PAM.
11114
11115         * 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:
11116         reindent all source code using -l80.
11117
11118         * libmisc/.indent.pro, src/.indent.pro, lib/.indent.pro: -l80 added.
11119
11120         * lib/gshadow.c, NEWS:
11121         rewrited group count to dynamic (by John Newbigin <jnewbigin@ict.swin.edu.au >).
11122
11123         * po/fi.po, po/fr.po, po/he.po, po/id.po, po/it.po, po/ja.po, po/ko.po, po/nb.po, po/nl.po, po/nn.po, po/pl.po, po/pt.po, po/pt_BR.po, po/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:
11124         run "make update-po".
11125
11126         * src/login.c: use allways "\n%s login: " login prompt.
11127
11128         * src/login.c: removed radius support (even not compiles).
11129
11130         * doc/Attic/README.mirrors, doc/Makefile.am: removed.
11131
11132         * src/userdel.c (update_user): removed next redundant closing }.
11133
11134         * src/userdel.c: remove using unused NO_REMOVE_MAILBOX #define.
11135
11136         * src/userdel.c (update_user): removed redundant closing }.
11137
11138 2005-03-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
11139
11140         * lib/getdef.c:
11141         move PASS_MAX_DAYS, PASS_MIN_DAYS and PASS_WARN_AGE to part PAM not dependent
11142         (used in useradd, pwconv).
11143
11144         * configure.in, src/Makefile.am:
11145         move define LOCALEDIR using AC_DEFINE_UNQUOTED() to src/Makefile.am::AM_CPPFLAGS.
11146
11147         * man/Attic/pwconv.8: typo in bold.
11148
11149         * doc/Attic/INSTALL: removed.
11150
11151         * doc/Attic/README.sun4, doc/Makefile.am: removed outdated README.sun4.
11152
11153 2005-03-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11154
11155         * po/pl.po: put mine data in Last-Translator: field.
11156
11157         * src/newusers.c:
11158         use the same as in useradd default UMASK (022 instead 077) if diffrent not
11159         defined in login.defs.
11160
11161         * NEWS, libmisc/copydir.c:
11162         added SELinux changes (based on Fedora patch).
11163
11164         * NEWS: typo.
11165
11166         * man/Attic/login.defs.5: typo in bold.
11167
11168         * src/chfn.c, src/chsh.c, lib/getdef.c:
11169         move CHFN_AUTH, CHSH_AUTH variables from login.defs to part !USE_PAM dependent.
11170         Use "auth required pam_unix.so" in /etc/pam.d/{chfn,chsh} for force enter password
11171         on use chfn/chsh.
11172
11173         * lib/getdef.c: added CHSH_AUTH variable in def_table[] table.
11174
11175         * src/chsh.c: s/CHFN_AUTH/CHSH_AUTH/
11176
11177         * man/Attic/shadow.5, man/Attic/passwd.5:
11178         add more accurate information about what contains field with encrypted password in
11179         each passwd/shadow line (reported by Mike Brodbelt).
11180
11181         * autogen.sh: reorder.
11182
11183         * lib/getdef.c:
11184         CRACKLIB_DICTPATH, ENV_HZ, ENV_PATH, ENV_ROOTPATH, ENV_SUPATH, ENV_TZ,
11185         ENVIRON_FILE, FTMP_FILE, ISSUE_FILE, LASTLOG_ENAB, MAIL_CHECK_ENAB, MAIL_DIR,
11186         MAIL_FILE, MD5_CRYPT_ENAB, MOTD_FILE, NOLOGINS_FILE, OBSCURE_CHECKS_ENAB,
11187         PASS_ALWAYS_WARN, PASS_CHANGE_TRIES, PASS_MAX_DAYS, PASS_MAX_LEN, PASS_MIN_DAYS,
11188         PASS_MIN_LEN, PASS_WARN_AGE, PORTTIME_CHECKS_ENAB, SU_WHEEL_ONLY, QMAIL_DIR,
11189         QUOTAS_ENAB, ULIMIT variables moved to code "#ifndef USE_PAM" dependent.
11190
11191         * configure.in:
11192         fix importand typo: added missing ",". Now LOGIN_ACCESS realy is defined only
11193         when PAM is not enabled.
11194
11195         * libmisc/obscure.c, libmisc/limits.c:
11196         all functions from this file are "#ifndef USE_PAM" dependent.
11197
11198         * libmisc/setugid.c (change_uid):
11199         removed dead code depndent on "#ifdef BSD".
11200
11201         * libmisc/ttytype.c (ttytype):
11202         removed dead code depend on "defined(SUN) || defined(BSD) || defined(SUN4)".
11203
11204         * src/login.c (setup_tty): remove dead code.
11205
11206         * libmisc/rlogin.c:
11207         fix compilation warning: replace #include <unistd.h> by #include <netdb.h>
11208         where ruserok() is declared.
11209
11210 2005-03-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11211
11212         * po/pl.po: kill one fuzzy entry.
11213
11214 2005-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11215
11216         * NEWS, libmisc/log.c:
11217         fixed create lastlog entry fo users never loged in on non-PAM
11218         variant of login (fix by <oracular@ziplip.com>).
11219
11220 2005-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11221
11222         * NEWS, etc/Attic/login.defs.linux, etc/login.defs, lib/getdef.c, man/pl/login.defs.5:
11223         remove handle login.defs::NOLOGIN_STR (never used).
11224
11225 2005-02-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
11226
11227         * man/Attic/shadow.5:
11228         added missing '\&' in line starting with '\.', which causes groff to skip
11229         it entirely (fix submited by Danilo Piazzalunga <danilopiazza@libero.it>).
11230
11231         * TODO: cleanups.
11232
11233 2005-02-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11234
11235         * src/useradd.c, NEWS:
11236         useradd: fixes a potential security problem when mailbox is created in
11237         useradd.
11238         Patch and comment by Koblinger Egmont <egmont@uhulinux.hu>:
11239         Only two arguments are passed to the open() call though it expects three
11240         because O_CREAT is present. Hence the permission of the file first becomes
11241         some random garbage found on the stack, and an attacker can perhaps open
11242         this file and hold it open for reading or writing before the proper
11243         fchmod() is executed. (Actually, we could also pass the final "mode" to
11244         the open() call and then save the consequent fchmod().)
11245
11246 2005-02-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11247
11248         * NEWS, po/LINGUAS, po/tl.po:
11249         added tl translation (fron Debian resources).
11250
11251 2005-02-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11252
11253         * NEWS, src/chage.c, src/chfn.c, src/chsh.c, src/passwd.c:
11254         SELinux changes: added changes in chage, chfn, chsh, passwd for allow
11255         construct more grained user password/accuunt properties on SELinux
11256         policies level. Patch originally based on RH changes (submited by Chris
11257         PeBenito <pebenito@gentoo.org>)
11258
11259 2005-02-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11260
11261         * po/fr.po, NEWS:
11262         updated translation (by Jean-Luc Coulon <jean-luc.coulon@wanadoo.fr>) from
11263         Debian resources.
11264
11265 2005-01-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11266
11267         * NEWS, configure.in: open work on 4.0.8.
11268
11269 2005-01-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11270
11271         * 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:
11272         "make update-po".
11273
11274 2005-01-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11275
11276         * NEWS, po/it.po:
11277         updated it translations (by Danilo Piazzalunga <danilopiazza@libero.it>).
11278
11279 2005-01-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11280
11281         * libmisc/rlogin.c: remove ruserok() prototyle and #include <unistd.h>.
11282
11283         * lib/getdef.c: remove strtol() prototype (it comes with <stdlib.h>).
11284
11285         * po/da.po, po/es.po, po/nl.po, po/pl.po, po/pt.po:
11286         "Project-Id-Version: shadow 4.0.7".
11287
11288         * NEWS, po/fi.po:
11289         updated fi translation (by Tommi Vainikainen <thv+debian@iki.fi>).
11290
11291 2005-01-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11292
11293         * po/da.po, po/es.po, po/pl.po, po/pt.po: kill fuzzy entries.
11294
11295         * po/nl.po, NEWS:
11296         updated nl translations (by cobaco (aka Bart Cornelis)" <cobaco@linux.be>).
11297
11298         * lib/Makefile.am (libshadow_la_LIBADD): removed snprintf.h.
11299
11300         * NEWS, po/LINGUAS, po/zh_TW.po:
11301         added zh_TW translation (from Debian resources).
11302
11303         * 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:
11304         "make update-po".
11305
11306         * 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:
11307         "less means better" added fixes which makes english texts more consistent
11308         especially with capitalization issues. Based on fixes by Tommi Vainikainen
11309         <thv+debian@iki.fi> (make all text begining from lower case .. not upper).
11310         This patch cuts i18n entries in each po/*po file from 420 to 402.
11311
11312 2005-01-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11313
11314         * NEWS: added pt to updated translations.
11315
11316         * lib/defines.h: reverte last change (mistake).
11317
11318         * po/pt.po:
11319         updated translation by Miguel Figueiredo <elmig@debianpt.org>.
11320
11321 2005-01-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
11322
11323         * NEWS: typo.
11324
11325         * NEWS: update da, es and pl (100%) translations.
11326
11327         * po/pl.po: finish translations.
11328
11329         * po/da.po: updated translations by Claus Hindsgaul <claus_h@image.dk>.
11330
11331         * NEWS, TODO: Typos found by Claus Hindsgaul <claus_h@image.dk>.
11332
11333         * po/es.po: Updates from Ruben Porras <nahoo@inicia.es>.
11334
11335         * lib/defines.h: - remove usong shadow_.h.
11336
11337         * po/pl.po: kill fuzzy.
11338
11339         * 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:
11340         remove unused now files in lib/ directory.
11341
11342         * po/nb.po, po/nl.po, po/nn.po, po/pl.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:
11343         Now correctly shadow passes "make distcheck".
11344
11345         * NEWS: typo.
11346
11347 2005-01-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11348
11349         * 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:
11350         switch faillog ro use getopt_long().
11351
11352         * etc/pam.d/su: aded line with "session required pam_env.so".
11353
11354 2004-12-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
11355
11356         * man/de/Makefile.am, man/de/vigr.8, man/de/vipw.8, NEWS:
11357         added de vigr(8), vipw(8) man pages (from Debian resources).
11358
11359 2004-12-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
11360
11361         * po/LINGUAS, po/ro.po, po/sq.po, NEWS:
11362         added ro, sq translations (from Debian resources).
11363
11364 2004-12-20  Tomasz Kłoczko  <kloczek@pld.org.pl>
11365
11366         * configure.in:
11367         added checing is fseeko() function is avalaibabe in system: added fseeko to
11368         AC_CHECK_FUNCS parameters.
11369
11370         * lib/Makefile.am:
11371         fixed warning message about incorrect try linking non-PIC code with shared
11372         library: removed $(top_builddir)/libmisc/libmisc.a from libshadow_la_LIBADD.
11373
11374         * NEWS:
11375         - final entry about fixed large file support in lastlog and faillog.
11376
11377         * src/vipw.c, lib/Attic/pwent.c, lib/Attic/grent.c:
11378         use fseeko() instead fseek(). This not realuy neccessary because in this
11379         cases fseek() was used for move to begin of file. This only for minimize
11380         external functions count.
11381
11382         * src/faillog.c:
11383         fixes for allow operate on large files by faillog: use fseeko() instead
11384         fseek().
11385
11386         * src/lastlog.c:
11387         fixes for allow operate lastlog on large files: use fseeko() instead fseek()
11388         and do not casrt file offsets to unsigned long (based on large-file patch
11389         from FC).
11390
11391         * src/faillog.c: fixed typo in usage().
11392
11393 2004-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11394
11395         * man/pl/newgrp.1: fixed typo in bold macro.
11396
11397 2004-12-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11398
11399         * man/pl/chpasswd.8: remove bold from NAZWA section.
11400
11401 2004-12-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11402
11403         * src/faillog.c: remove using Prog variable.
11404
11405         * configure.in, NEWS:
11406         fixed large file support: added AC_SYS_LARGEFILE macro to autoconf.
11407
11408         * man/Attic/groupmod.8, man/pl/groupmod.8: separate OPTIONS section.
11409
11410         * man/pl/chpasswd.8: sync with english version.
11411
11412         * man/Attic/chpasswd.8:
11413         bold "chpasswd" command name in CAVEATS section.
11414
11415         * man/Attic/chpasswd.8: s/protect/protected/
11416
11417         * man/pl/lastlog.8: cleanups.
11418
11419         * man/Attic/chpasswd.8, man/Attic/lastlog.8, man/Attic/newusers.8:
11420         remove bold from NAME section.
11421
11422         * man/it/groupadd.8, man/it/useradd.8: separate OPZIONI section.
11423
11424         * man/pl/groupmems.8: fixes in OPCJE section.
11425
11426         * man/Attic/chpasswd.8: more cleanups.
11427
11428 2004-12-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
11429
11430         * 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:
11431         Fixed varoiuse typos and misspeling based partialy on patch from Bug#141322
11432         from Debian (submited by Christian Perrier <bubulle@debian.org>).
11433
11434         * man/Attic/chpasswd.8: more cleanups.
11435
11436         * man/pl/faillog.8, man/Attic/faillog.8, man/ja/faillog.8:
11437         remove from OPTIONS section information about avalaibability on some systems
11438         faillog database in other location thad listed in FILES section.
11439
11440         * man/Attic/chpasswd.8: updated.
11441
11442         * man/fr/faillog.5:
11443         fixed FICHIERS secttion: corrected change to italic on /var/log/faillog.
11444
11445         * src/faillog.c:
11446         move main() to the end of file and reorder rest functions. Now declararion
11447         finction prototypes can be removed.
11448
11449 2004-12-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11450
11451         * NEWS: updated.
11452
11453         * man/pl/lastlog.8: synced with current english version.
11454
11455         * man/Attic/lastlog.8: use the same style as in chpasswd(8).
11456
11457         * 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:
11458         "make update-po" after rewrite lastlog.
11459
11460         * src/lastlog.c: Rewrite for use the same style as in chpasswd.c.
11461         Move open lastlog file after commadline option parsing so now --help option
11462         can be used by user without read access to lastlog file.
11463
11464         * src/chpasswd.c:
11465         s/display this help and exit/display this help message and exit/ in ussage()
11466         output.
11467
11468         * 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:
11469         "make update-po".
11470
11471         * src/chpasswd.c:
11472         Added handle -h|--help option. Improved and updated ussage() output.
11473
11474 2004-12-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11475
11476         * 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:
11477         "make update-po" and resolve fuzzy with last change in src/chpasswd.c.
11478
11479         * src/chpasswd.c, NEWS:
11480         switch chpasswd to use getopt_long() and adds a --md5 option
11481         (by Ian Gulliver <ian@penguinhosting.net>).
11482
11483         * NEWS, configure.in: start work on 4.0.7.
11484
11485 2004-11-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11486
11487         * NEWS: cleanups.
11488
11489         * 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:
11490         removed not used translations.
11491
11492         * NEWS, src/su.c:
11493         fix adding of pam_env env variables to enviroment (Martin Schlemmer <azarah@nosferatu.za.org>).
11494
11495         * NEWS, configure.in:
11496         fixed filling MAIL_SPOOL_DIR and MAIL_SPOOL_FILE variables which was allways
11497         empty (Gregorio Guidi <g.guidi@sns.it>)
11498
11499         * NEWS: updated.
11500
11501         * 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:
11502         do not translate variable names from /etc/default/useradd during "useradd -D".
11503
11504 2004-11-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
11505
11506         * 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:
11507         correction: groups/users with gid/uid 0 and 999 are reserved for system accounts.
11508
11509         * 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:
11510         zgroups/users with gid/uid 0 and 499 are typically reserved for system accounts.
11511
11512 2004-11-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11513
11514         * 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:
11515         separated OPTIONS section.
11516
11517         * lib/commonio.c: reverte last change.
11518
11519         * libmisc/pwdcheck.c:
11520         one word fix .. ommited "else" was removed. Now security bug which allow
11521         unauthorized account properties modification is realy closed.
11522
11523 2004-10-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
11524
11525         * lib/commonio.c:
11526         add matchpathcon to create the files correctly when they do not exist (based
11527         on patch from FC).
11528
11529         * man/Attic/passwd.1: fixed two typos ("/" in incorrect place).
11530
11531 2004-10-27  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
11532
11533         * etc/pam.d/useradd: - added header
11534
11535         * etc/pam.d/chfn, etc/pam.d/chsh, etc/pam.d/userdel: - fixed header
11536
11537 2004-10-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
11538
11539         * etc/pam.d/chfn, etc/pam.d/chsh, etc/pam.d/userdel:
11540         added missing template/example PAM service config files for chfn, chsh, userdel.
11541
11542         * NEWS, configure.in: start 4.0.6.
11543
11544 2004-10-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11545
11546         * 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:
11547         remove adduser(8) roff include man page to useradd(8).
11548
11549         * lib/Makefile.am: more fixes for non-inst libmisc.
11550
11551         * libmisc/Makefile.am, src/Makefile.am, NEWS:
11552         change libmisc to private static library.
11553
11554         * etc/pam.d/Makefile.am: typo.
11555
11556 2004-10-24  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
11557
11558         * po/pl.po: - more translation/formatting fixes
11559
11560         * po/pl.po: - updated translation
11561
11562         * po/ca.po, po/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:
11563         - make update-po, updated usage() translation
11564
11565         * src/useradd.c: - syntax fix for useradd in usage()
11566
11567         * po/ca.po, po/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:
11568         - usage() formatting and other fixes
11569
11570         * po/fi.po: - proper UTF
11571
11572         * po/pl.po: - pl translation fixes/updates by Jakub Bogusz
11573
11574 2004-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
11575
11576         * 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:
11577         use default path to PAM modules.
11578
11579         * 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:
11580         Remove shadow PAM config file. Added PAM config files for: chage, chpasswd,
11581         groupadd, groupdel, groupmod, login, newusers.
11582
11583         * 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:
11584         "make update-po".
11585
11586         * configure.in: reverte previous incorrect commit.
11587
11588         * NEWS, src/su.c:
11589         add pam_open_session() support. If builded without PAM support
11590         propagate $DISPLAY and $XAUTHORITY enviroment variables.
11591         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
11592
11593 2004-10-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11594
11595         * configure.in: cleanups.
11596
11597         * lib/defines.h:
11598         define syslog() depending on ENABLE_NLS (not on HAVE_SETLOCALE).
11599
11600 2004-10-23  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
11601
11602         * man/fr/Makefile.am: - killed non-existent manpage
11603
11604 2004-10-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11605
11606         * libmisc/copydir.c, NEWS:
11607         when placing symlinks into /etc/skel copy_tree of libmisc/copydir.c will
11608         properly create the symlink in the destination directory but not change the
11609         ownership to the target user/group. This makes httpd Option
11610         SymlinkIfOwnerMatch break for default weg pages including symlinks placed
11611         into /etc/skel/public_html for example.
11612         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=66819
11613
11614 2004-10-11  Tomasz Kłoczko  <kloczek@pld.org.pl>
11615
11616         * src/Makefile.am:
11617         seems I foud CorrectWay(tm) for add some symlinks on install target.
11618
11619         * po/pl.po: more fixes.
11620
11621         * po/pl.po: added missing \n.
11622
11623         * 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:
11624         more verbose/human readable -l output. This output is much more beter for
11625         send directly via email for each users as message with account status (for
11626         example as message with warning about account/password expiration).
11627
11628         * configure.in: start prepare for 4.0.5.
11629
11630         * src/Makefile.am, libmisc/Makefile.am, lib/Makefile.am, configure.in:
11631         move LOCALEDIR to autoheader variables. Remove redefining DEFS in
11632         Makefile.am (not neccessary now).
11633
11634         * 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:
11635         applied OWL shadow-4.0.4.1-owl-pam-auth.diff patch by Solar Designer
11636         <solar@openwall.com>:
11637           Moved the PAM authentication in user management commands after
11638           command-line parsing, made it use separate service names for each command.
11639           Use constant strings rather than argv[0] for syslog ident in the user
11640           management commands.
11641
11642         * man/Attic/useradd.8:
11643         reword the useradd manpage a little to make it more clear. Fix from:
11644         http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-apps/shadow/files/shadow-4.0.4.1-useradd-manpage-update.patch?rev=1.1
11645
11646         * configure.in: added libselinux detection.
11647
11648         * lib/Makefile.am, lib/commonio.c, lib/commonio.h, NEWS, autogen.sh, configure.in:
11649         added SELinux support (basing on patch from Gentoo).
11650
11651         * man/fr/Makefile.am (man_MANS): added getspnam.3.
11652
11653 2004-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
11654
11655         * 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:
11656         English grammar fix: s/is a not a valid group name/is not a valid group name/
11657         (pointed by Mike Frysinger <vapier@gentoo.org>).
11658
11659 2004-10-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
11660
11661         * NEWS, src/userdel.c:
11662         When removing a user with userdel, userdel always exits 1 (fixed).
11663         Based on http://bugs.gentoo.org/show_bug.cgi?id=66687.
11664
11665 2004-08-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11666
11667         * configure.in:
11668         Use AC_SEARCH_LIBS() for inet_ntoa(), socket(), gethostbyname() probing (instead AC_CHECK_FUNC()).
11669
11670 2004-08-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11671
11672         * man/Makefile.am: shadow(3) man page moved to man_MANS.
11673
11674         * libmisc/ttytype.c: Removed getenv() prototype (it is in <stdlib.h>).
11675
11676         * src/Attic/mkpasswd.c:
11677         Removed fgetsx() prototype (it is in lib/prototypes.h).
11678
11679         * man/it/vigr.8: Fixed typo (s/wipw/vipw/).
11680
11681 2004-08-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
11682
11683         * NEWS: Typo.
11684
11685         * 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:
11686         Run "make update-po".
11687
11688         * po/ca.po, po/da.po, po/nl.po, po/pt_BR.po: Converted to UTF-8.
11689
11690         * po/LINGUAS: Typo.
11691
11692         * 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:
11693         New translations: bs, ca, da, eu, he, id, nb, nl, nn, pt, pt_BR, tr,
11694         zh_CN (stolen froM Debian)
11695
11696         * 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:
11697         Corrected section number.
11698
11699 2004-08-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
11700
11701         * 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:
11702         Options description in alphabetical order.
11703
11704         * NEWS, src/login.c:
11705         Applied 036_pam_access_with_preauth.patch Debian patch submited by Bjorn
11706         Torkelsson <Bjorn.Torkelsson@hpc2n.umu.se>: add support for PAM account
11707         management to restrict access using pam_access when login is invoked with -f.
11708
11709 2004-06-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11710
11711         * man/Attic/getspnam.3: added roff link to shadow(3).
11712
11713         * man/Makefile.am (man_MANS): added getspnam.3.
11714
11715 2004-06-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
11716
11717         * NEWS, lib/commonio.c, lib/getdef.c, src/vipw.c:
11718         Applied OWL shadow-4.0.4.1-owl-check-reads.diff patch by Solar Designer.
11719         Add checking for read errors in commonio and vipw/vigr (not doing so could
11720         result in data loss when the records are written back).
11721
11722         * NEWS: Add note about apply shadow-4.0.4.1-owl-tmp.diff OWL patch.
11723
11724         * src/useradd.c, configure.in:
11725         Remove looking for mkstemp() prototype and allways use mkstemp() (removed
11726         using mktemp if mkstemp() not found).
11727         Partialy based on tmp OWL patch by Solar Designer <solar@openwall.com>.
11728
11729         * NEWS, libmisc/pwdcheck.c:
11730         Fixed securirty bug which allow unauthorized account properties modification.
11731         Affected tools: chfn and chsh.
11732         Bug was discovered by Martin Schulze <joey@infodrom.org>.
11733
11734 2004-05-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
11735
11736         * NEWS: typo.
11737
11738         * NEWS, po/LINGUAS, po/it.po:
11739         added it translation (by Danilo Piazzalunga <danilopiazza@libero.it>).
11740
11741 2004-05-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
11742
11743         * NEWS: typos.
11744
11745         * po/sk.po: updated (by Peter Mann <Peter.Mann@tuke.sk>).
11746
11747 2004-05-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11748
11749         * po/sk.po: run "make update-po".
11750
11751         * NEWS, po/LINGUAS, po/sk.po:
11752         added sk translation (by Mann <Peter.Mann@tuke.sk>, submited by Christian
11753         Perrier <bubulle@kheops.frmug.org>).
11754
11755 2004-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11756
11757         * configure.in:
11758         Use autoconf cache variables for file and directory location tests (by
11759         Maciej W. Rozycki  <macro@ds2.pg.gda.pl>).
11760
11761 2004-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
11762
11763         * man/Attic/passwd.5:
11764         Correct path directory delimiters (by Maciej W. Rozycki <macro@ds2.pg.gda.pl>).
11765
11766         * libmisc/xmalloc.c (malloc):
11767         Remove the declaration (by Maciej W. Rozycki <macro@ds2.pg.gda.pl>).
11768
11769 2004-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
11770
11771         * src/login.c, NEWS:
11772         Fixed handle -f option: now it works correctly without specify "-h
11773         <host>" if open login session localy is required (thanks for help
11774         investigate bug for Krzysztof Kotlenga).
11775
11776         * po/es.po: Updated (by Ruben Porras <nahoo82@telefonica.net>).
11777
11778 2004-04-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
11779
11780         * 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:
11781         Run "update-po".
11782
11783 2004-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
11784
11785         * po/es.po: Updated to current (by run "update-po").
11786
11787         * po/es.po: Converted to utf-8.
11788
11789         * po/LINGUAS: Added es.
11790
11791         * po/es.po, NEWS:
11792         Added es translation (by Ruben Porras <nahoo82@telefonica.net>).
11793
11794 2004-04-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11795
11796         * po/ko.po, NEWS:
11797         Updated ko translations (by Changwoo Ryu <cwryu@debian.org>).
11798
11799 2004-04-02  Tomasz Kłoczko  <kloczek@pld.org.pl>
11800
11801         * po/fi.po: iconv -f iso8859-9 -t utf8
11802
11803 2004-03-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
11804
11805         * libmisc/age.c:
11806         Use endsgent() conditionaly depending on SHADOWGRP (fix submited by Gabor Z.
11807         Papp <gzp@papp.hu>).
11808
11809         * po/LINGUAS, po/fi.po, NEWS:
11810         Added fi translation (by Tommi Vainikainen <thv@iki.fi>).
11811
11812         * README: Fixed shadow and shadow-commit lists on-line archives URLs.
11813
11814 2004-01-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11815
11816         * NEWS, configure.in, man/fr/Makefile.am, man/hu/Makefile.am, man/it/Makefile.am:
11817         New version 4.0.4.1
11818         bug fixes in automake files for generate correct tar ball on "make dist":
11819         added midsiing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
11820
11821         * man/ko/Makefile.am: New version 4.0.4.1
11822         bug fixes in automake files for generate correct tar ball on "make dist":
11823         added missing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
11824
11825         * man/de/Makefile.am, man/es/Makefile.am: New version 4.0.4.1
11826         bug fixes in automake files for generate correct tar ball on "make dist":
11827         added midsiing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
11828
11829         * configure.in: Fixed checking is avalaible st_rdev in struct stat.
11830
11831 2004-01-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
11832
11833         * po/pl.po: Typo.
11834
11835         * man/pl/useradd.8: Cleanups in SYNOPSIS.
11836
11837 2004-01-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11838
11839         * po/pl.po: Cleanups.
11840
11841 2004-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11842
11843         * configure.in: Cleanups after autoupdate.
11844
11845 2004-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
11846
11847         * 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:
11848         Added missing information about -f options in groupadd usage mesage (document
11849         this also in man page).
11850
11851 2003-12-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
11852
11853         * lib/Attic/lastlog_.h, libmisc/log.c, libmisc/utmp.c, src/lastlog.c, src/login.c:
11854         More time() or gettimeofday() prevention overwrite memory on 64bit arch
11855         (partialy based on patch from MDK).
11856
11857         * 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:
11858         Post remove TCFS support "make update-po".
11859
11860         * man/Makefile.am: Removed getspnam.3 from EXTRA_DIST.
11861
11862         * po/POTFILES.in: Removed lib/tcfsio.c.
11863
11864         * lib/Attic/tcfsio.c, lib/Attic/tcfsio.h, lib/Makefile.am, src/passwd.c, src/userdel.c, NEWS, configure.in, doc/Attic/README.pam:
11865         Removed TCFS support (tcfs is dead).
11866
11867         * configure.in:
11868         Added using AM_MAINTAINER_MODE. AC_INIT without parameters.
11869
11870         * Attic/acconfig.h, configure.in:
11871         Cleanups on autoheadres level: use AC_DEFINE(VAR, VAL, [Comment]) for
11872         USE_PAM, HAVE_TCFS and TCFS_GDBM_SUPPORT.
11873
11874         * src/newusers.c, src/useradd.c, Attic/acconfig.h, autogen.sh, lib/Attic/pwpack.c, NEWS:
11875         Remove all old BSD_QUOTA dependent code.
11876
11877 2003-12-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
11878
11879         * lib/Makefile.am, libmisc/Makefile.am, src/Makefile.am:
11880         Removed -I$(top_srcdir) from INCLUDES (isn't neccessary becaus this is in
11881         DEFAULT_INCLUDES) - slightly shorter compile output.
11882
11883         * Makefile.am, configure.in:
11884         Added using AM_GNU_GETTEXT([external]) - removed intl SUBDIRS.
11885         Added locale.h to AC_CHECK_HEADERS() - lib/defines.h have part which depends
11886         on HAVE_LOCALE_H.
11887
11888         * lib/nscd.h: Added missing newline at end of file.
11889
11890         * Attic/acconfig.h: Remove unused (#un)defines.
11891
11892         * autogen.sh: Typo.
11893
11894         * autogen.sh: Much more simpler script - use autoreconf.
11895
11896         * 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:
11897         "make update-po".
11898
11899 2003-12-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11900
11901         * po/LINGUAS: Languages list for gettext 1.12.x.
11902
11903 2003-10-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
11904
11905         * po/pl.po: Kill fuzzy entries.
11906
11907 2003-10-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
11908
11909         * man/Attic/usermod.8:
11910         Typo: missing "." on end of sentence (submited by Stepan Kasal <kasal@ucw.cz>).
11911
11912 2003-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
11913
11914         * 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:
11915         convert all po/*.po files to utf-8.
11916
11917 2003-09-05  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
11918
11919         * po/ru.po: - fixed header
11920
11921 2003-07-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
11922
11923         * 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:
11924         Otput "passwd: password updated successfully\n" message on successfull
11925         password change (based on Debian changes).
11926
11927         * src/newgrp.c: Remove work around for unsecure gettext.
11928
11929 2003-06-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
11930
11931         * src/useradd.c, src/usermod.c:
11932         Added initializing memory in variables when get_groups() function is not called,
11933         and memory allocated for user_groups is not initialized (in both useradd and
11934         usermod when -G options is used and in usermod when -l option is used).
11935         That causing segfaults sometimes.
11936         This fix is importand but not critical because usermod and usermod aren't suid
11937         root.
11938         Problem reported and fixed by Alexey Voinov <voins@altlinux.ru>.
11939
11940 2003-06-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
11941
11942         * man/Attic/login.1: Fixed FILES section.
11943
11944         * 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:
11945         Indented.
11946
11947         * src/chage.c: Move *flg variables to global.
11948
11949         * Attic/acconfig.h: Comment for USG.
11950
11951 2003-05-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
11952
11953         * man/de/chfn.1, man/de/login.1:
11954         Fixed section name (s/NAME/BEZEICHNUNG/).
11955
11956         * man/de/chfn.1, man/de/chsh.1: Sync FILES section with en version.
11957
11958         * man/Attic/login.1: Typo (s/avr/var/).
11959
11960         * man/de/login.1: Sync FILES section with en man version.
11961
11962         * man/de/chfn.1, man/de/chsh.1, man/de/login.1: Remove ^M from EOL.
11963
11964         * man/de/login.1, man/de/Makefile.am, man/de/chfn.1, man/de/chsh.1, NEWS:
11965         Next round updates from Josef Spillner <josef@ggzgamingzone.org>: update
11966         chsh(1), login(1) and added new chfn(1) german man pages.
11967
11968         * NEWS: Added info about remove d_passwd(5), dialups(5) man pags.
11969
11970 2003-05-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
11971
11972         * 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:
11973         One TODO entry gone: fix nscd flushing databases on change (use
11974         per service flushing method instead HUPing nscd process).
11975
11976         * lib/Makefile.am, lib/commonio.c, lib/nscd.c, lib/nscd.h, libmisc/Attic/nscd.c, libmisc/Attic/nscd.h, libmisc/Makefile.am:
11977         Move nscd.{c,h} from libmisc/ to lib/.
11978         Fix warning about implicit declaration of function `nscd_flush_cache' in lib/commonio.c.
11979
11980         * lib/pwauth.h: Fix pw_auth() prototype.
11981
11982         * libmisc/Attic/nscd.c, libmisc/Attic/nscd.h, libmisc/Makefile.am:
11983         Added header file for nscd communication functions.
11984
11985         * libmisc/chkname.c (good_name):
11986         fixed warning about comparison between pointer and integer.
11987
11988         * 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:
11989         "make update-po".
11990
11991         * src/useradd.c (main):
11992         chain create_mail() and small fix in usage message.
11993
11994         * src/userdel.c: Removed AUTH_METHODS code.
11995
11996         * lib/pwauth.c: Fixed pw_auth() prototype.
11997
11998         * src/sulogin.c, src/usermod.c: Removed AUTH_METHODS code.
11999
12000         * 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:
12001         "make update-po".
12002
12003         * src/useradd.c: Indent.
12004
12005         * 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:
12006         Cleanups continuations: removed old AUTH_METHODS dependent code,
12007         removed also pwauth(8) man page.
12008
12009         * man/pl/Makefile.am (man_MANS): remove d_passwd.5 man page.
12010
12011         * 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:
12012         Cleanups in usage messages.
12013
12014         * src/newgrp.c: Cleanups in comments.
12015
12016         * 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:
12017         "make update-po".
12018
12019         * lib/getdef.c (main): remove gettextize error messages from test code.
12020
12021         * NEWS: Cleanups.
12022
12023 2003-05-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12024
12025         * 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:
12026         Added handle by useradd /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes|no}.
12027         Now on adding user account can be added also created empty user mail
12028         spool. Curent code handle only mailbox.
12029         TODO: add handle create user mail spool in maildir format.
12030
12031         * TODO: Typo.
12032
12033         * src/chage.c (usage): fix missing ")".
12034         (main): updated commented description.
12035
12036         * src/useradd.c: Indent.
12037
12038         * man/Attic/faillog.8, man/Attic/gpasswd.1, man/Attic/groupadd.8:
12039         Minor cleanups.
12040
12041         * man/Attic/chage.1, man/pl/chage.1:
12042         Rewrite for use claissic list form options descriptions.
12043
12044         * man/pl/groupadd.8:
12045         s/Polecenie groupadd posiada opcje:/Polecenie groupadd posiada następujące opcje:/
12046
12047         * TODO: ALL:
12048         move base passwd/shadow/group/gshadow operation to module for allow write
12049         diffrent backend modules for db, NIS, LDAP and others. Default backend it
12050         will be choose depending on /etc/nsswitch.conf and allow overrride this by
12051         -r <repository> options (where the <repository> can be file, db, nis
12052         nisplus, ldap .. like on /etc/nsswitch.conf in service column).
12053         passwd have old piece of code with handling -r option and it will be good
12054         finish this and propagate on other shadow tools for allow operate on other
12055         user databases by well known tools.
12056
12057         useradd:
12058         add handle /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes,no} for allow
12059         create empty mail spool for added user.
12060
12061         * man/pl/Attic/d_passwd.5, man/pl/Attic/dialups.5: Removed.
12062
12063         * man/Attic/groupmems.8: Close few \fB by add \fR.
12064
12065         * man/Attic/groupadd.8, man/Attic/groupmems.8: Minor cleanups.
12066
12067 2003-05-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12068
12069         * src/grpconv.c, src/grpunconv.c, src/pwconv.c, src/pwunconv.c:
12070         Move non-SHADOWPWD stub code to end of file (like in chage.c) and do not use
12071         gettextized message.
12072
12073         * 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:
12074         "make update-po".
12075
12076         * src/chage.c, NEWS:
12077         Now all code depend on SHADOWPWD. If shadow will not be configured on
12078         autoconf level for using shadow possword chage is olny stub which informs
12079         "chage not configured for shadow password support."
12080
12081         * man/it/Makefile.am: Removed EXTRA_DIST (not neccessary).
12082
12083         * man/es/Makefile.am: Removed groups.1 (doen't exist es groups(1)).
12084
12085         * man/de/Makefile.am (man_MANS): added login.1.
12086
12087         * man/de/Makefile.am: Removed EXTRA_DIST (isn't neccessary now).
12088
12089         * 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:
12090         Install groups(1) man page (moved from EXTRA_DIST to man_MANS).
12091
12092         * po/.cvsignore:
12093         Added files generated by gettextize from gettext 0.11.5.
12094
12095         * 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:
12096         Updated after removing dialup tools.
12097
12098         * po/POTFILES.in: Removed lib/{dialchk,dialup}.c and src/dpasswd.c.
12099
12100 2003-05-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12101
12102         * libmisc/shell.c (shell): do not gettexitize DEBUG message.
12103
12104         * 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:
12105         Removed "#if 0 .. #endif" dead code.
12106
12107         * libmisc/utmp.c: Fixed unterminated #if.
12108
12109         * libmisc/Attic/login_access.c (resolve_hostname):
12110         cleanup: removed #if 1 .. #endif.
12111
12112         * libmisc/.cvsignore: Added getdate.c.
12113
12114         * libmisc/Attic/getdate.c:
12115         Removed - this file is generated by bison/yacc.
12116
12117         * configure.in:
12118         Change file name passwd in AC_INIT argument from lib/dialchk.c to src/passwd.c.
12119
12120         * src/su.c:
12121         Removed dead code (#if 0 .. #endif) with call motd() and mailcheck()
12122         (was commnted because GNU su doesn't do this).
12123
12124 2003-05-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12125
12126         * 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:
12127         Removed old dpasswd and DIALUPS_CHECK_ENAB login.defs handling code from login.
12128
12129         * doc/Attic/ANNOUNCE, doc/Makefile.am, NEWS: Removed old doc/ANNOUNCE.
12130
12131         * src/login.c, lib/getdef.c, etc/Attic/login.defs.linux, NEWS:
12132         Remove NO_PASSWORD_CONSOLE code.
12133
12134 2003-05-03  Tomasz Kłoczko  <kloczek@pld.org.pl>
12135
12136         * 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:
12137         Remove old SVR4, ATT_AGE, ATT_COMMENT dependent code.
12138
12139         * src/chage.c:
12140         Remove some ageing code which was not used if SHADOWPWD isn't defined.
12141         Now handling mindays, maxdays and lastday also depends on SHADOWPWD.
12142
12143 2003-05-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
12144
12145         * 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:
12146         Reformated.
12147
12148         * etc/login.defs:
12149         Use FHS 2.x compliant paths to lastlog, sulog, mail spool and also change
12150         ENV_SUPATH to PATH=/sbin:/bin:/usr/sbin:/usr/bin and
12151         ENV_PATH to PATH=/bin:/usr/bin
12152
12153         * 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:
12154         Removed old stuff.
12155
12156 2003-04-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12157
12158         * 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:
12159         make update-po
12160
12161         * src/su.c: Remove not mached #endif after removing ATT_AGE code.
12162
12163         * man/ko/passwd.5: Remove ^M from end of line.
12164
12165         * 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:
12166         Removed old ATT_AGE (account ageing in passwd file) dependent code.
12167
12168         * po/pl.po: Fix chage and lastlog messages.
12169
12170 2003-04-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12171
12172         * libmisc/limits.c, src/logoutd.c:
12173         More utmp/utmpx fixes: use endutend() or endutxend() depending on HAVE_UTMPX_H.
12174
12175         * 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:
12176         Run "make update-po" after remove SVR4 code and fix duplicated entries in sv.po.
12177
12178         * NEWS, src/login.c, src/logoutd.c, src/useradd.c:
12179         Remove old SVR4 and SVR4_SI86_EUA dependent code from login, useradd and
12180         logoutd.
12181
12182 2003-04-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12183
12184         * man/pl/usermod.8: Remove "OD TŁUMACZA" section.
12185
12186         * 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:
12187         Added EXIT VALUES section with full description exit codes.
12188
12189         * src/groupadd.c: Typo (s/nut/not/).
12190
12191         * man/Attic/shadowconfig.8: Merge changes from Debian.
12192
12193         * NEWS, man/Attic/passwd.5:
12194         Remove text about password aging from passwd(5) (based on Debian changes).
12195
12196         * 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:
12197         More unification in lastlog command syntax.
12198
12199         * man/Attic/lastlog.8, man/it/lastlog.8, man/ja/lastlog.8, man/pl/lastlog.8:
12200         Unifications in SYNOPSIS.
12201
12202         * 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:
12203         Remove ^M from end of line.
12204
12205         * man/Attic/gpasswd.1, man/Attic/groupadd.8:
12206         Indentation in FILES section.
12207
12208         * src/pwconv.c, src/useradd.c, src/userdel.c:
12209         s/bad command syntax/invalid command syntax/
12210
12211         * src/userdel.c:
12212         Indent by hand (seems indent have problems with complex conditions).
12213
12214         * man/ru/Makefile.am: man_MANS: s#passwd.1#passwd.5#
12215
12216         * po/pl.po: s/nie mogę/nie można/
12217
12218         * po/fr.po: Emoticon removed.
12219
12220         * NEWS, configure.in, man/Makefile.am, man/ru/.cvsignore, man/ru/Makefile.am, man/ru/passwd.5:
12221         Added ru passwd(1) man page from KSI resources.
12222
12223         * 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:
12224         Added chch(1), chfn(1) man pages from chinese man pages translation
12225         project.
12226         Added id(1) man page czech man pages translation project.
12227         Updated ja man pages and added expiry(1).
12228
12229         * man/hu/groups.1, man/hu/login.1:
12230         Remove info about $HOME/.profile from FILES section (this does not depends
12231         stricte on shadow).
12232
12233         * configure.in, man/Makefile.am, man/es/Makefile.am:
12234         Added es man pages to ac/am suit.
12235
12236         * man/es/.cvsignore, man/hu/.cvsignore, man/pt_BR/.cvsignore, man/zh_CN/.cvsignore, man/zh_TW/.cvsignore:
12237         Added .cvsignore files.
12238
12239         * man/hu/Makefile.am, man/hu/su.1:
12240         Added su(1) man page from hungarian man pages translation project.
12241
12242 2003-04-26  Tomasz Kłoczko  <kloczek@pld.org.pl>
12243
12244         * NEWS: Ready for gettext 0.11.5, automake 1.7.4, autoconf 2.57.
12245         Many cleanups and unifications in man pages.
12246
12247         * 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:
12248         Fixes: correct utmp/wtmp paths.
12249         Unifications: bold commnanda and italify other file names.
12250         Other minor changes and cleanups and unifications.
12251
12252         * libmisc/limits.c: More utmpx/utmp fixes.
12253
12254         * 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:
12255         Usage help message unification (s/usage:/Usage:/).
12256
12257         * TODO: Missing "are".
12258
12259         * src/logoutd.c, src/userdel.c, NEWS:
12260         Handle also utmpx if avalaile in userdel and logoutd.
12261
12262 2003-04-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
12263
12264         * src/sulogin.c: Remove unused utent declaration.
12265
12266         * src/sulogin.c, src/login.c:
12267         Remove #include <utmp.h> and <utmpx.h>. This comes with #include "prototypes.h".
12268
12269         * lib/prototypes.h:
12270         "#include <utmp.h>" or "#include <utmpx.h>" depending on HAVE_UTMPX_H.
12271
12272         * libmisc/failure.c:
12273         Remove "#include <utmp.h>" (this is included in failure.h).
12274
12275         * configure.in:
12276         On detect mail spool directory location try first /var/mail.
12277
12278 2003-04-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
12279
12280         * 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:
12281         Indent all using current .indent.pro settings.
12282
12283         * po/Makevars: New file neccessary for gettext >=0.11.5.
12284
12285         * man/Makefile.am: Removed getspnam.3 from man_MANS (dos not exist).
12286
12287         * po/de.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/ru.po:
12288         Fixes after filtering gettext 0.11.5 (missing headers elements, inforrect
12289         format strings).
12290
12291 2003-04-21  Tomasz Kłoczko  <kloczek@pld.org.pl>
12292
12293         * NEWS, man/de/passwd.1:
12294         updated german passwd(1) man page (by Josef Spillner <josef@ggzgamingzone.org>)
12295
12296 2003-03-12  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12297
12298         * po/pl.po: - updated; terminology unification
12299
12300 2003-02-28  Paweł Gołaszewski  <blues@pld.org.pl>
12301
12302         * etc/login.defs: - missing "MD5_CRYPT_ENAB  yes" added
12303
12304 2003-01-20  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12305
12306         * configure.in: - added Makefiles for man/zh_{CN,TW}
12307
12308         * 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:
12309         - added zh man pages from MDK (2 x 6) and from cman (1)
12310
12311 2003-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12312
12313         * man/ja/shadow.3, man/pl/shadow.3, man/Attic/shadow.3:
12314         sync spwd structure declaration with current glibc declaration (tahnks for
12315         point this bug to Michael Kerrisk <michael.kerrisk@gmx.net>).
12316
12317         * man/pl/faillog.5: s/konsolę/terminal/
12318
12319 2002-12-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
12320
12321         * src/Makefile.am: typo (s/EXTRA_DOST/EXTRA_DIST/).
12322
12323 2002-10-14  Tomasz Kłoczko  <kloczek@pld.org.pl>
12324
12325         * src/Makefile.am:
12326         fixed making vigr symlink to vipw (not vipw to vigr) in install-exec-hook (fix submited by
12327         Dimitar Zhekov <jimmy@is-vn.bg>).
12328
12329         * 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:
12330         removed debian directory.
12331
12332 2002-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12333
12334         * NEWS, src/newgrp.c:
12335         Use CLOSE_SESSIONS depending code only when USE_PAM.
12336         The problem was reported by Mattias Webjorn Eriksson using Slackware
12337         8.1 and reproduced it using slackware-current (9.0beta) (fix submited by
12338         Simon Williams <simon@no-dns-yet.org.uk>).
12339
12340 2002-10-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12341
12342         * 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:
12343         changed utmp and wtmp files paths (s#/etc/utmp/#/var/run/utmp#; s#/etc/wtmp#/var/log/wtmp#)
12344
12345         * po/ru.po, configure.in: added ru translation (from KSI resources).
12346
12347 2002-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12348
12349         * NEWS, libmisc/failure.c:
12350         libbmisc/failure.c (too_many_failures): incorrect if() condition in non-PAM
12351         dependent code in fail login handling (fixed by Krzysztof Oledzki <ole@ans.pl>).
12352
12353 2002-08-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12354
12355         * man/pl/useradd.8, man/Attic/useradd.8, NEWS:
12356         document useradd and groupadd -M option in en and pl man pages
12357         (by Jakub Mikusek <mick3y@o.k.pl>).
12358
12359         * configure.in: start prepare 4.0.4.
12360
12361 2002-03-18  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12362
12363         * 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:
12364         - updated to man-pages-ja-20020315 (except cvs tags)
12365
12366 2002-03-15  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12367
12368         * TODO: - remove already done pl man updates from the list
12369
12370 2002-03-13  Tomasz Kłoczko  <kloczek@pld.org.pl>
12371
12372         * 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:
12373         added ko man pages.
12374
12375         * man/de/.cvsignore, man/de/Makefile.am:
12376         automake files for de man pages.
12377
12378         * TODO: updated.
12379
12380         * 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:
12381         added cs, de, fr, id, it, ko man pages to ac/am.
12382
12383 2002-03-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
12384
12385         * 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:
12386         "make update-po"
12387
12388         * po/de.po, NEWS, configure.in:
12389         added de translation (by Frank Schmid <frank@cs-schmid.de>).
12390
12391         * NEWS: added info about Solar patch for man pages.
12392
12393 2002-03-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12394
12395         * 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:
12396         added some raw cs, de, es, fr, id, it man pages from national
12397         man pages translation projects (all man pages not yet added to Makefile.am
12398         files because all need some work).
12399
12400         * man/hu/chfn.1, man/hu/id.1:
12401         added id(1) chfn(1) from hu man pages translation project (it need some work
12402         because this documents describes GNU version id and chfn from util-linux).
12403
12404         * man/hu/Makefile.am, man/hu/login.1:
12405         added login(1) man page from hu man pages translation project.
12406
12407         * po/POTFILES.in: updated (suath.c moved to src/).
12408
12409         * src/Makefile.am: added su_SOURCES with "su.c suauth.c".
12410
12411         * libmisc/Makefile.am:
12412         remove suauth.c from libmisc_la_SOURCES (varialbles and functions from
12413         this file are usesd only in su).
12414
12415         * libmisc/Attic/suauth.c, src/suauth.c: move suauth.c o src/.
12416
12417         * libmisc/Attic/suauth.c:
12418         move "struct passwd pwent" outside #ifdef SU_ACCESS.
12419
12420 2002-03-09  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12421
12422         * 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:
12423         - sync with en versions
12424
12425         * 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:
12426         - update to chage.1; formatting/typo fixes
12427
12428 2002-03-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
12429
12430         * po/uk.po, po/ko.po, po/pl.po, po/sv.po, po/ja.po, po/cs.po, po/el.po, po/fr.po:
12431         "make update-po"
12432
12433 2002-03-09  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12434
12435         * 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:
12436         - further "SEE ALSO" references sorting
12437
12438 2002-03-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
12439
12440         * 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:
12441         merged shadow-4.0.0-owl-man.patch by Solar Designer <solar@openwall.com>.
12442
12443         * NEWS: updated for 4.0.3.
12444
12445         * libmisc/Attic/suauth.c, libmisc/utmp.c, src/login.c, src/su.c:
12446         swapped utent dnd pwent efinition/extern and now shadow source can be configured
12447         --with-shared (fix by Dimitar Zhekov <jimmy@is-vn.bg>).
12448
12449 2002-03-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12450
12451         * configure.in: start prepare 4.0.3.
12452
12453         * src/Makefile.am:
12454         use ln -sf instead ln -s in install-exec-hok (fix pointed by Dimitar Zhekov
12455         <jimmy@is-vn.bg>).
12456
12457 2002-03-02  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12458
12459         * man/pl/passwd.1: sync with en version
12460
12461         * man/Attic/passwd.1: - they -> his/her, user's
12462         - typos
12463         - fix sentence about "writing down"
12464
12465         * man/Attic/passwd.1: relocation by NAKANO Takeo
12466
12467 2002-02-28  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12468
12469         * man/hu/passwd.1: missing "-"
12470
12471         * man/ja/Attic/shadowconfig.8, man/ja/passwd.5, man/ja/shadow.5:
12472         - updated to man-pages-ja-20020215
12473
12474 2002-02-23  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12475
12476         * po/cs.po, po/fr.po, po/pl.po, po/sv.po, po/uk.po, man/pl/useradd.8:
12477         - typos in pl/useradd.8; commented out unsupported -r option description
12478         - useradd "usage" formatting fixes
12479         - fix translation in uk.po
12480
12481 2002-02-18  Tomasz Kłoczko  <kloczek@pld.org.pl>
12482
12483         * configure.in: release 4.0.2.
12484
12485 2002-02-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12486
12487         * Attic/shadow-utils.spec.in, Makefile.am, configure.in, shadow.spec.in:
12488         rename spec file s/shadow-utils.spec/shadow.spec/
12489
12490         * po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/sv.po, po/uk.po:
12491         update-po before release.
12492
12493         * po/ko.po, po/pl.po: cleanups.
12494
12495 2002-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
12496
12497         * 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:
12498         placa ".so man<level>/<man_page>.<level>" in roff .so includes (seems some
12499         man page viewers do not handles correctly man documents without subdirectory
12500         name in roff .so incude).
12501
12502 2002-01-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
12503
12504         * 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:
12505         resolve many fuzzy translations also all this which may cause problems on
12506         displaing long uid/gid.
12507
12508         * 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:
12509         drop translate some messages in id output (about {,e}{u,g}id).
12510
12511 2002-01-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
12512
12513         * README: s#password: cvs#password: [empty password]#
12514
12515 2002-01-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12516
12517         * NEWS: two new entries.
12518
12519         * libmisc/chkname.c (good_name):
12520         allow usernames ending with "$" for allow create machine
12521         acounts for samba (thanks for point this problem in 4.0.1 by
12522         Jerome Borsboom <borsboom@tch.fgg.eur.nl>).
12523
12524         * 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:
12525         s/invalid user name `%s'/invalid user name '%s'/
12526
12527 2002-01-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12528
12529         * configure.in:
12530         fix in libpam_misc detection (removed one "," AC_CHECK_LIB()).
12531         Thanks to Silvan Minghetti for report this.
12532
12533 2002-01-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12534
12535         * NEWS: start prepare to 4.0.2.
12536
12537         * po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po, po/cs.po:
12538         updated.
12539
12540         * configure.in: It is good time to release 4.0.1.
12541
12542         * libmisc/.indent.pro, lib/.indent.pro: added -pcs option.
12543
12544         * TODO: some things goes out other in.
12545
12546         * src/newgrp.c, NEWS:
12547         added ability to log session closes in newgrp (look at long nice comments
12548         inside source code :_) by Joseph Parmelee <jparmele@wildbear.com>.
12549
12550         * src/groupadd.c, src/useradd.c:
12551         next part fixes for handle long UID/GID (by Thorsten Kukuk <kukuk@suse.de>).
12552
12553         * lib/getdef.c, lib/getdef.h:
12554         adeded getdef_unum(): get unsigned numerical value from table of
12555         definitions (Thorsten Kukuk <kukuk@suse.de>).
12556
12557         * NEWS: updated.
12558
12559         * libmisc/isexpired.c:
12560         remove "#if defined(SHADOWPWD)" (not removed during remove AGING).
12561
12562         * etc/Makefile.am: useradd config file added to EXTRA_DIST.
12563
12564 2002-01-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12565
12566         * po/sv.po, po/uk.po, po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po:
12567         update.
12568
12569         * 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:
12570         Add -pcs to .indent.pro file and reindent all code.
12571         Remove "\n" from all SYSLOG() messages.
12572
12573         * NEWS: s/SuSe/SuSE/
12574
12575 2001-12-22  Tomasz Kłoczko  <kloczek@pld.org.pl>
12576
12577         * man/pl/useradd.8, man/Attic/useradd.8: documment -o option.
12578
12579         * 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:
12580         correct package name (s/shadow-password/shadow/).
12581
12582         * src/chage.c, src/expiry.c, src/login.c, src/passwd.c, src/su.c, libmisc/age.c, libmisc/isexpired.c, NEWS, configure.in:
12583         Finish integrate AGING code into SHADOWPW.
12584         Remove handle old HAVE_USERSEC_H code.
12585
12586         * po/uk.po: typo.
12587
12588         * 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:
12589         cleanups.
12590
12591         * 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:
12592         standarize usage messages syntax.
12593
12594         * man/pl/useradd.8, man/pl/usermod.8, man/pl/vipw.8, man/pl/userdel.8:
12595         removed duplicated man page text.
12596
12597         * 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:
12598         standarize usage meissages syntax.
12599
12600         * src/chage.c, NEWS (main):
12601         merge part Solar shadow-4.0.0-owl-pam-auth.diff patch with reorder
12602         nitialize PAM and checkin is chage is runed by root or not - now chage can be
12603         runed from non-root account for checking by user own accout information.
12604
12605         * src/pwck.c: indent source.
12606
12607         * src/pwck.c (main): remove old work around for Slackware bug.
12608
12609 2001-12-20  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12610
12611         * man/ja/Attic/adduser.8, man/ja/Makefile.am, man/ja/limits.5, man/ja/pwconv.8:
12612         - updated to man-pages-ja-20011215
12613
12614 2001-11-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
12615
12616         * src/grpck.c:
12617         remove check for a Slackware bug (make sure GID is not -1; it was special
12618         meaning for some syscalls).
12619
12620         * 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:
12621         fixes for handle/print correctly 32bit uid/gid (Thorsten Kukuk <kukuk@suse.de>).
12622
12623         * src/chage.c: - break usage vomment line.
12624
12625         * lib/defines.h:
12626         removed bunch spaces on end line in conditionale #include <errno.h>
12627         which in some cases dissallow compile correctly shadow (thanks for
12628         Silvan Minghetti <bullet@users.sourceforge.net>).
12629
12630 2001-11-17  Michał Moskal  <malekith@pld.org.pl>
12631
12632         * NEWS:
12633         - mention fix for SEGV when using pwck -s on /etc/passwd file with
12634           empty lines in it
12635
12636         * lib/commonio.c:
12637         - installed fix for SEGV when using pwck -s on /etc/passwd file with
12638           empty lines in it
12639
12640 2001-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12641
12642         * libmisc/chkname.c, NEWS:
12643         next merge from Solar patches (shadow-4.0.0-owl-check_names.diff) but only
12644         part this patch with checking login name matching; checking is login
12645         string isn't longer than possible probably it will be good prepare using
12646         _POSIX_LOGIN_NAME_MAX from <bits/posix1_lim.h>
12647
12648 2001-11-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
12649
12650         * NEWS: typos.
12651
12652         * NEWS: added info about new hu man pages.
12653
12654         * NEWS: updated.
12655
12656 2001-11-16  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12657
12658         * 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:
12659         - updated to man-pages-ja-20011115.tar.gz
12660
12661         * man/ja/groups.1: 3c26de91cfd359c0b7c36ca3cd3e170d  groups.1
12662
12663         * man/ja/grpconv.8: 402190c04b8df45e20afd01e3acd0da4  grpconv.8
12664
12665         * man/ja/grpunconv.8: 402190c04b8df45e20afd01e3acd0da4  grpunconv.8
12666
12667         * man/ja/id.1: 3edc687b1c09bbdd170553f326a71711  id.1
12668
12669         * man/ja/newusers.8: c2ecaa6ddffe07de2c39be3aefb5bcae  newusers.8
12670
12671         * man/ja/pwunconv.8: 402190c04b8df45e20afd01e3acd0da4  pwunconv.8
12672
12673         * man/ja/Attic/shadowconfig.8:
12674         f79300c0db64fd961443177c88605087  shadowconfig.8
12675
12676         * man/ja/useradd.8: 3333b9a2e5a388a472fb05106d65a596  useradd.8
12677
12678         * man/ja/vigr.8: 42825938683e54e391897ea100001af1  vigr.8
12679
12680         * man/ja/vipw.8: 0cb8db0f1f19de7690f0ef9baeceb919  vipw.8
12681
12682 2001-11-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
12683
12684         * lib/Attic/getpass.c:
12685         one fix warning from Solar shadow-4.0.0-owl-warnings.diff.
12686
12687         * src/chage.c, lib/defines.h:
12688         move "#include <errno.h>" to /lib/defines.h.
12689
12690         * configure.in: added AC_CHECK_HEADERS(errno.h)
12691
12692         * src/chage.c: apply shadow-4.0.0-owl-chage-drop-priv.diff and
12693         shadow-4.0.0-owl-chage-ro-no-lock.diff by Solar Designer <solar@openwall.com>.
12694         Added locks which are needed when doing r/w accesses, not when running as root.
12695         If root does read-only, there's no lock needed. Added missing
12696         "#include <errno.h>" for above.
12697
12698 2001-11-14  Andrzej Krzysztofowicz  <ankry@pld.org.pl>
12699
12700         * configure.in: - added hu directory antry
12701
12702         * man/Makefile.am: - groups.1 moved to EXTRA_DIST
12703         - added hu directory entry
12704
12705         * man/ja/Makefile.am: - sorted
12706         - shadow.3 moved to EXTRA_DIST
12707
12708         * man/pl/Makefile.am: - sorted
12709         - added entries for new pages
12710         - EXTRA_DIST synced with man/Makefile.am
12711
12712         * 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:
12713         - man pages from Debian
12714
12715         * man/Attic/groupmems.8: - typo
12716
12717         * man/pl/expiry.1, man/pl/groupmems.8: - translated pages
12718
12719 2001-11-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12720
12721         * libmisc/Makefile.am:
12722         fix building with cracklib enabled: $(LIBCRACK) added to libmisc_la_LIBADD.
12723
12724         * src/useradd.c: typo.
12725
12726 2001-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12727
12728         * 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:
12729         removed prototypes which are defined in libc header files
12730         (Thorsten Kukuk <kukuk@suse.de>).
12731
12732         * libmisc/Attic/nscd.c, libmisc/Makefile.am, lib/commonio.c:
12733         implemetn better reloading the nscd cache (per NSS map)
12734         by Thorsten Kukuk <kukuk@suse.de>
12735
12736         * src/login.c, libmisc/setupenv.c:
12737         fixed warnings "not used but defined" on compile using gcc 3.0.x
12738         by bulletpr00ph <bullet@users.sourceforge.net>.
12739
12740 2001-10-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
12741
12742         * NEWS: New entries for 4.0.1.
12743
12744         * po/pl.po: few more pl translations.
12745
12746         * po/cs.po, po/el.po, po/fr.po, po/ja.po, po/ko.po, po/pl.po, po/sv.po, po/uk.po:
12747         "make update-po".
12748
12749         * po/ja.po, po/ko.po, configure.in:
12750         added ja, ko translations found in SuSe.
12751
12752 2001-10-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
12753
12754         * src/useradd.c: sort alphabetically *flg variables.
12755
12756         * debian/Attic/Makefile.am, debian/Attic/tar.c: removed.
12757
12758 2001-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
12759
12760         * 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:
12761         added vigr(1) man page as roff .so link to vipw(1),                                                                             - added sg(1) man page as roff .so link to newgrp(1).
12762
12763         * src/Makefile.am:
12764         added install symlinks newgrp -> sg, vipw -> vigr in install-exec-hook target.
12765
12766 2001-10-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12767
12768         * lib/Makefile.am (libshadow_la_SOURCES):
12769         reverte last change and added rcsid.h,
12770         (EXTRA_DIST): added missing "\".
12771
12772         * src/Makefile.am: (DEFS):
12773         - fix -DLOCALEDIR in DEFS,
12774         - added -DHAVE_CONFIG_H,
12775         - removed @DEFS@.
12776
12777         * lib/Makefile.am:
12778         added missing shadow_.h file to libshadow_la_SOURCES.
12779
12780 2001-09-08  Tomasz Kłoczko  <kloczek@pld.org.pl>
12781
12782         * Makefile.am (AUTOMAKE_OPTIONS):
12783         version changed to 1.5 and added dist-bzip2.
12784
12785         * lib/Makefile.am, libmisc/Makefile.am, src/Makefile.am:
12786         add .indent.pro to EXTRA_DIST.
12787
12788         * etc/Makefile.am, etc/useradd: add example /etc/defaults/useradd.
12789
12790 2001-09-07  Tomasz Kłoczko  <kloczek@pld.org.pl>
12791
12792         * TODO: last touch.
12793
12794         * TODO: more TODO.
12795
12796         * lib/commonio.c, NEWS:
12797         Fix bug discovered and fixed by Marcel Ritter <Marcel.Ritter@rrze.uni-erlangen.de>
12798         Due to a big buffer size in lib/commonio.c this error does only appear
12799         if a line gets longer than 4096 bytes (there are probably very few people
12800         stumbling across this).
12801         Ths bug can be exposed by trashing /etc/groups file using useradd with script:
12802                 #!/bin/sh
12803                 typeset -i NUM
12804                 NUM=0
12805                 groupadd demogroup
12806                 while [ $NUM -le 1000 ]; do
12807                    useradd -g demogroup -G demogroup -p "NONE" user$NUM
12808                    NUM=$NUM+1
12809                 done
12810
12811 2001-09-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
12812
12813         * src/groups.c, src/id.c, src/newgrp.c, src/useradd.c, src/usermod.c, libmisc/addgrps.c, NEWS:
12814         remove limit 32 to groups per user (the same user can belong to
12815         more than 32 groups) by use sysconf(_SC_NGROUPS_MAX) instead constant
12816         NGROUPS_MAX (patch by Radu Constantin Rendec <radu.rendec@ines.ro>)
12817         NOTE: it probably need testing on other system for add some conditionals
12818         for using sysconf(_SC_NGROUPS_MAX) or NGROUPS_MAX constant.
12819
12820 2001-08-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
12821
12822         * etc/pam.d/Makefile.am, etc/pam.d/useradd: added file for useradd.
12823
12824 2001-08-24  Tomasz Kłoczko  <kloczek@pld.org.pl>
12825
12826         * src/useradd.c (set_defaults):
12827         handle correctly error open/create useradd default config
12828         filei (based on orginal post to bugtraq).
12829
12830         * TODO: documment in pt_BR, ja man pages -s {pw,grp}ck option.
12831
12832         * libmisc/sulog.c, NEWS:
12833         remove limit to 6 chars logged tty name (apply 012_libmisc_sulog.c.diff Debian
12834         patch).
12835
12836         * man/pl/Attic/shadowconfig.8, man/Attic/shadowconfig.8:
12837         - aply 021_man_shadowconfig_usr_doc.diff debian patch.
12838
12839         * src/Makefile.am, lib/Makefile.am:
12840         use $(top_builddir) in .la files paths (for allow correct compile if
12841         $(top_builddir) isn't the same as $(top_srcdir)).
12842
12843         * po/.cvsignore, po/Attic/ChangeLog: removed ChangeLog.
12844
12845 2001-08-18  Michał Moskal  <malekith@pld.org.pl>
12846
12847         * src/grpck.c: - fixed getopt() call, thnx to arekm
12848
12849 2001-08-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
12850
12851         * NEWS: - include last changes to list changes in version 4.0.0.
12852
12853 2001-08-14  Michał Moskal  <malekith@pld.org.pl>
12854
12855         * NEWS: - mention new -s options
12856
12857         * man/pl/grpck.8, man/pl/pwck.8, man/Attic/grpck.8, man/Attic/pwck.8:
12858         - documented new -s options
12859
12860         * src/grpck.c, src/pwck.c: - added -s option to sort output files
12861
12862         * lib/groupio.c, lib/groupio.h, lib/pwio.c, lib/pwio.h, lib/sgroupio.c, lib/sgroupio.h, lib/shadowio.c, lib/shadowio.h:
12863         - added pw_sort, gr_sort, sgr_sort and spw_sort functions
12864
12865         * lib/commonio.c, lib/commonio.h:
12866         - added commonio_sort{,_wrt} functions
12867
12868 2001-08-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
12869
12870         * po/Attic/ChangeLog, po/uk.po, configure.in:
12871         added uk translation (Roman Festchook <roma@polesye.net>).
12872
12873         * src/logoutd.c (mani):
12874         s/ut->ut_libe/ut->ut_user/ on prepare strin with user name for syslog
12875         line (reported by Roman Festchook <roma@polesye.net>).
12876
12877 2001-07-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
12878
12879         * Attic/acconfig.h: - added missing USG.
12880
12881 2001-07-04  Marek Michałkiewicz  <marekm@pld.org.pl>
12882
12883         * lib/commonio.c:
12884         fix buffer overflow (not a security hole) in commonio_setname
12885
12886 2001-06-28  Tomasz Kłoczko  <kloczek@pld.org.pl>
12887
12888         * NEWS: entry about dropping support one argument pam_strerror().
12889
12890         * libmisc/pam_pass.c, src/login.c, src/su.c, Attic/acconfig.h, configure.in, lib/defines.h, lib/pam_defs.h:
12891         drop detecting is pam_strerror() need one or two arguments. Instead using
12892         PAM_STRERROR() macro use directly pam_strerror() function with two arguments.
12893         pam_strerror() with one argument is obsoleted.
12894
12895         * configure.in:
12896         pass display error message if libpam_misc not found in correct argument
12897         AC_CHECK_LIB().
12898
12899         * configure.in:
12900         added checking for libpam_misc if libpam found and if libpam_misc is avalaible
12901         add them to $LIBPAM. Othervise exit fron autoconf script with error message.
12902         Now shadow compiles if pam support is enabled.
12903
12904 2001-06-28  Marek Michałkiewicz  <marekm@pld.org.pl>
12905
12906         * libmisc/copydir.c: fix overwriting existing file (add O_TRUNC)
12907
12908 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12909
12910         * configure.in: remove intl/po2tbl.sed from AC_OUTPUT().
12911
12912         * configure.in:
12913         removed add md5.o md5crypt.o conditionaly to $LIBOBJS (this is obsoleted).
12914         In current version ndling md5 functionality is included conditionaly
12915         inside md5.c and md5crypt.c source files.
12916
12917         * lib/Attic/md5.c: added comments for #endif.
12918
12919         * configure.in: also do not use SU_ACCESS when PAM is used.
12920
12921         * configure.in:
12922         - check pam directly by AC_CHECK_LIB() (PAM from PLD is now fixed an also other
12923           PAM implementation must be fixed for this method checkin is libpam is avalaible;
12924           sorry .. no way this is plain linking procedure bug),
12925         - use AC_DEFINE(LOGIN_ACCES) only when PAM isn't used.
12926
12927 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
12928
12929         * src/Makefile.am:
12930         add LDADD for groupmod and usermod, as they use PAM too
12931
12932         * src/login.c, src/su.c: fix uninitialized variable failcount
12933         skip '*' in pw_shell for subsystem root
12934
12935 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12936
12937         * src/login.c: use "extern int login_access()" only if !USE_PAM.
12938
12939         * src/Makefile.am:
12940         added LDADD rules for programs which uses PAM and cracklib.
12941
12942 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
12943
12944         * libmisc/chowntty.c:
12945         allow root login even on read-only root filesystem
12946
12947         * libmisc/Makefile.am: add -DHAVE_CONFIG_H to DEFS
12948
12949 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12950
12951         * autogen.sh: run configure by default with --disable-desrpc,
12952         fix: --with-libpam (not --with-pam).
12953
12954 2001-06-23  Marek Michałkiewicz  <marekm@pld.org.pl>
12955
12956         * libmisc/chowntty.c:
12957         libmisc/chowntty.c (chown_tty): move perror() before syslog() call
12958         which might change errno.
12959
12960         * man/pl/login.defs.5, man/Attic/login.defs.5:
12961         (UMASK): Default value is 077, not 0 - see NEWS for shadow-3.3.2-951106.
12962
12963 2001-06-23  Tomasz Kłoczko  <kloczek@pld.org.pl>
12964
12965         * NEWS, configure.in: prepare for release 4.0.0 version.
12966
12967         * configure.in: remove commented line.
12968
12969 2001-06-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
12970
12971         * po/pl.po: fixed charset (must be iso-8859-2).
12972
12973         * 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:
12974         added ja man pages.
12975
12976 2001-05-30  Tomasz Kłoczko  <kloczek@pld.org.pl>
12977
12978         * src/Attic/shadowconfig.sh, src/Makefile.am, debian/Attic/Makefile.am, debian/Attic/shadowconfig.sh:
12979         move shadowconfig.sh to debian/
12980
12981         * src/Makefile.am: added missing -I${top_srcdir} to INCLUDES.
12982
12983         * lib/Makefile.am: empty DEFS and INCLUDES="-I$(top_srcdir)".
12984
12985         * libmisc/Makefile.am:
12986         empty DEFS and INCLUDES="-I$(top_srcdir) -I$(top_srcdir)/lib".
12987
12988 2001-03-05  Tomasz Kłoczko  <kloczek@pld.org.pl>
12989
12990         * src/.indent.pro, lib/.indent.pro, libmisc/.indent.pro:
12991         directory indent config file is -kr -i8 -bad (indent open this file and
12992         read options if options not specyfied in commnad line).
12993
12994         * autogen.sh (conf_flags): added --with-pam.
12995
12996         * NEWS: start complette next release information.
12997
12998 2001-02-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
12999
13000         * shlib/Attic/Makefile.am, shlib/Attic/Makefile.in.saved: - removed.
13001
13002         * src/Makefile.am, libmisc/Makefile.am, lib/Makefile.am:
13003         Rewrited automake suit for building lib, libmisc and src (now this look much
13004         better). Also for all is now used libtool in proper way.
13005
13006         * configure.in:
13007         - added useing AM_DISABLE_SHARED, AM_ENABLE_STATIC for disable compile shared
13008           libraries and enable static,
13009         - some cosmetics.
13010
13011         * Makefile.am (SUBDIRS): reorder libmisc must be before lib.
13012
13013 2001-02-01  Tomasz Kłoczko  <kloczek@pld.org.pl>
13014
13015         * man/pt_BR/Makefile.am: - added man_MANS to EXTRA_DIST.
13016
13017 2001-01-31  Tomasz Kłoczko  <kloczek@pld.org.pl>
13018
13019         * 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:
13020         include pt_BR man pages for gpasswd(1), groupadd(1), groupdel(8),
13021         groupmod(8), shadow(5).
13022
13023 2001-01-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13024
13025         * TODO: - updated.
13026
13027         * 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:
13028         many small cleanups, fixes also removed commented obsoleted texts.
13029
13030 2001-01-25  Tomasz Kłoczko  <kloczek@pld.org.pl>
13031
13032         * autogen.sh: add to conf_flags --disable-shared.
13033
13034         * 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:
13035         put or move to top cemmented Id cvs keyword,
13036         (passwd.1): documment -e option (patch from Debian),
13037         (userdel.1): remove commented obsoleted options.
13038
13039         * man/Makefile.am:
13040         put all files in man_MANS and EXTRA_DIST in alphabethic order.
13041
13042         * src/chpasswd.c, src/pwunconv.c:
13043         remove from comments program description and history logs.
13044
13045         * src/Makefile.am: move groups to bin_PROGRAMS.
13046
13047 2000-12-19  Tomasz Kłoczko  <kloczek@pld.org.pl>
13048
13049         * src/su.c: Based on Debian modyfications:
13050         (main): #endif /* USE_PAM */ #ifdef USE_PAM replaced by #else,
13051         (main): removed some dead code (scoped by #if 0 .. #endif).
13052         (main): call to re-establish SIGINT to right place.
13053
13054         * man/pl/passwd.1: Removed SEE ALSO to shadow(3) and passwd(3).
13055
13056         * man/pl/shadow.5, man/Attic/shadow.5: Removed SEE ALSO to shadow(3).
13057
13058         * man/Attic/passwd.1:
13059         Removed SEE ALSO to passwd(3) and commented shadow(3).
13060
13061 2000-12-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13062
13063         * src/useradd.c (main):
13064         use "useradd" instead "shadow in pam_start() parameters - this
13065         allow use separated pam config file for useradd (for example for allow
13066         specified non-root user for add user).
13067
13068 2000-11-29  Tomasz Kłoczko  <kloczek@pld.org.pl>
13069
13070         * TODO: remove write expiry(1) man page.
13071
13072         * man/Attic/expiry.1, man/Makefile.am:
13073         added expiry(1) man page from Debian.
13074
13075         * man/pl/lastlog.8, man/Attic/lastlog.8:
13076         updated man pages for whole dispaly syntax.
13077
13078         * src/lastlog.c (main): fixed command line syntax description.
13079
13080         * src/lastlog.c (main):
13081         display correctly and full current commnad line lastlog syntax
13082         and also output this string using gettext.
13083
13084         * src/lastlog.c (main):
13085         merge src_lastlogin.c patch from debian with use getopt_long()
13086         instead getopt() for add handling --help, --user, --time switches and
13087         dipslay useage message on -h, --help and as default action.
13088
13089 2000-11-17  Tomasz Kłoczko  <kloczek@pld.org.pl>
13090
13091         * src/groupmems.c, po/el.po, po/fr.po, po/pl.po, po/sv.po, po/POTFILES.in, po/cs.po:
13092         added i18n support for src/groupmems.c.
13093
13094         * src/useradd.c:
13095         * (set_defaults): use mkstemp() if avalaible. Othereise use mktemp().
13096
13097         * configure.in: * added checking for mkstemp().
13098
13099         * src/useradd.c: * (set_defaults): use mkstemp() instead mktemp(),
13100         * (mani): fix compilation error in previouse RH patch (removed using nflg).
13101
13102 2000-11-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13103
13104         * TODO: - groupmems need some work on add PAM and i18n support.
13105
13106         * src/groupmems.c, man/Attic/groupmems.8:
13107         Added raw version groupmems program for administer members of a user's
13108         primary group. groupmems was written by George Kraft IV <gk4@us.ibm.com>
13109         and this tool have BSD license.
13110
13111         * src/Attic/patchlevel.h, src/Makefile.am:
13112         patchlevel.h, Makefile.am: removed patchlevel.h file,
13113         Makefile.am: removed bindir, sbindir (this comes with autoconf).
13114
13115 2000-11-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13116
13117         * TODO: - write expire man page.
13118
13119 2000-10-16  Tomasz Kłoczko  <kloczek@pld.org.pl>
13120
13121         * 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:
13122         Julianne F. Haugh new contact adress.
13123
13124         * NEWS: - summary chanfes for 20001016.
13125
13126         * doc/Attic/README.shadow-paper, doc/Makefile.am:
13127         - removed outdated README.shadow-paper.
13128
13129         * configure.in: - release 20001016.
13130
13131 2000-10-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13132
13133         * man/pl/Makefile.am, man/Makefile.am: fixes in man/{,po}/Makefile.am:
13134         - $(man_MANS) added to EXTRA_DISTS,
13135         - do not install by default groups.1, id.1, pw_auth.3, shadow.3, pwauth.8,
13136           sulogin.8, dpasswd.8 (moved to EXTRA_DISTS),
13137
13138 2000-10-15  Marek Michałkiewicz  <marekm@pld.org.pl>
13139
13140         * lib/commonio.c (reload_nscd): Disable for now because not every
13141         version of nscd can handle it, unless ENABLE_NSCD_SIGHUP defined.
13142
13143 2000-10-15  Tomasz Kłoczko  <kloczek@pld.org.pl>
13144
13145         * libmisc/pwdcheck.c, libmisc/Makefile.am: - added missing pwdcheck.c.
13146
13147         * configure.in: - removed old/Makefile from AC_OUTPUT list.
13148
13149 2000-10-12  Tomasz Kłoczko  <kloczek@pld.org.pl>
13150
13151         * README: - fixed information about RO cvs access.
13152
13153         * NEWS: - summary changes description for shadow-20001012.
13154
13155         * configure.in: - release changed to 20001012.
13156
13157         * etc/Makefile.am: - removed shells and suauth from EXTRA_DIST.
13158
13159         * doc/Makefile.am: - removed README.debian from EXTRA_DIST.
13160
13161         * libmisc/Makefile.am: - removed pwdcheck.c from libmisc_a_SOURCES.
13162
13163         * debian/Attic/Makefile.am: - removed FILES from EXTRA_DIST.
13164
13165         * contrib/Makefile.am: - s/udbachk.v012.tgz/udbachk.tgz/
13166
13167         * doc/Makefile.am: - removed CHANGES (this file was moved to ../NEWS).
13168
13169 2000-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13170
13171         * po/Attic/ChangeLog: - add empty file (gettext requires this).
13172
13173 2000-10-10  Arkadiusz Miśkiewicz  <misiek@pld.org.pl>
13174
13175         * README: typos fixed
13176
13177 2000-10-10  Tomasz Kłoczko  <kloczek@pld.org.pl>
13178
13179         * Makefile.am: - added shadow-utils.spec.in to EXTR_DIST.
13180
13181         * redhat/Attic/shadow-utils.spec.in: - obsoleted.
13182
13183         * Attic/stamp-h.in: - removed (this file is autogenerated by autoconf).
13184
13185         * po/pl.po, po/sv.po, po/cs.po, po/el.po, po/fr.po:
13186         - update before release.
13187
13188         * doc/Attic/LSM: - new maintainer and new primary site.
13189
13190         * Makefile.am: - README added to EXTRA_DIST.
13191
13192         * README: - added README with all shadow sites and resources details.
13193
13194         * Attic/shadow-utils.spec.in: - partialy rewrited.
13195
13196         * configure.in: - change version to 20001010.
13197
13198         * Makefile.am: - added NEWS to EXTRA_DIST.
13199
13200         * Makefile.am, TODO: - added TODO.
13201
13202         * doc/Attic/CHANGES, NEWS: - rename doc/CHANGES -> NEWS.
13203
13204 2000-10-09  Tomasz Kłoczko  <kloczek@pld.org.pl>
13205
13206         * 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:
13207         - remove redhat/ directory with obsoleted files.
13208
13209         * po/.cvsignore, src/.cvsignore, man/.cvsignore, man/pl/.cvsignore, .cvsignore, libmisc/.cvsignore:
13210         - shut up cvs.
13211
13212         * man/Makefile.am: - removed redundant ${man_MANS} from EXTRA_DIST.
13213
13214         * src/useradd.c:
13215         - fix a security bug (adduser could overwrite previously existing
13216           groups (shadow-19990827-group.patch from RH),
13217
13218         * po/cs.po, po/el.po, po/fr.po, po/pl.po, po/sv.po:
13219         - "make updated-po".
13220
13221         * 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:
13222         - added man pages for grpconv(8), grpunconv(8), pwunconv(8) (.so link to
13223           pwconv(8))
13224
13225         * man/pl/Attic/adduser.8, man/pl/Makefile.am, man/Attic/adduser.8, man/Makefile.am:
13226         - added man page for adduser(8) (.so link to useradd(8)).
13227
13228         * po/Attic/doit:
13229         - removed (in po/Makefile.in.in exist special update-po target).
13230
13231         * etc/pam.d/passwd, etc/pam.d/su: - cosmetics.
13232
13233         * etc/pam.d/Attic/shadow: - sample PAM config file for shadow utils.
13234
13235         * etc/pam.d/Makefile.am: - added shadow to EXTRA_DIST
13236
13237         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
13238         - bind to shadow PAM file instead userdb (mainly PAMimication all shadow
13239           utils is used for proper updating db files but in real this can be used
13240           for perform many other tasks).
13241
13242         * src/Makefile.am: - added linking with @LIBPAM@ all PAMified tools.
13243
13244         * src/chpasswd.c, src/groupadd.c, src/groupdel.c, src/groupmod.c, src/newusers.c, src/useradd.c, src/userdel.c, src/usermod.c:
13245         - added PAM support (bind to common "userdb" PAM authentication description
13246           file).
13247
13248         * src/chage.c: - added PAM support.
13249
13250 2000-10-06  Tomasz Kłoczko  <kloczek@pld.org.pl>
13251
13252         * autogen.sh:
13253         - added autogen.sh script which prepare raw source code from cvs to use.
13254
13255 2000-10-04  Tomasz Kłoczko  <kloczek@pld.org.pl>
13256
13257         * man/pl/useradd.8, man/pl/userdel.8, man/pl/usermod.8, man/pl/vipw.8:
13258         - merged changes from PTM.
13259
13260         * man/pl/Makefile.am:
13261         - simplified: use only man_MANS and remaped $(mandir) variable.
13262
13263 2000-09-27  Tomasz Kłoczko  <kloczek@pld.org.pl>
13264
13265         * po/cs.po, configure.in:
13266         - added cs translation (Jiri Pavlovsky <Jiri.Pavlovsky@ff.cuni.cz>).
13267
13268 2000-09-05  Marek Michałkiewicz  <marekm@pld.org.pl>
13269
13270         * 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:
13271         *** empty log message ***
13272
13273 2000-09-02  Marek Michałkiewicz  <marekm@pld.org.pl>
13274
13275         * 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:
13276         *** empty log message ***
13277
13278 2000-08-26  Marek Michałkiewicz  <marekm@pld.org.pl>
13279
13280         * 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:
13281         *** empty log message ***
13282
13283 1999-08-27  Marek Michałkiewicz  <marekm@pld.org.pl>
13284
13285         * 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:
13286         *** empty log message ***
13287
13288 1999-07-09  Marek Michałkiewicz  <marekm@pld.org.pl>
13289
13290         * 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:
13291         *** empty log message ***
13292
13293 1999-06-07  Marek Michałkiewicz  <marekm@pld.org.pl>
13294
13295         * 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:
13296         *** empty log message ***
13297
13298 1999-03-07  Marek Michałkiewicz  <marekm@pld.org.pl>
13299
13300         * 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:
13301         *** empty log message ***
13302
13303 1998-12-28  Marek Michałkiewicz  <marekm@pld.org.pl>
13304
13305         * 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:
13306         *** empty log message ***
13307
13308 1998-07-24  Marek Michałkiewicz  <marekm@pld.org.pl>
13309
13310         * 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:
13311         *** empty log message ***
13312
13313 1998-06-26  Marek Michałkiewicz  <marekm@pld.org.pl>
13314
13315         * 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:
13316         *** empty log message ***
13317
13318 1998-05-29  Marek Michałkiewicz  <marekm@pld.org.pl>
13319
13320         * 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:
13321         *** empty log message ***
13322
13323 1998-04-16  Marek Michałkiewicz  <marekm@pld.org.pl>
13324
13325         * 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:
13326         *** empty log message ***
13327
13328 1998-04-02  Marek Michałkiewicz  <marekm@pld.org.pl>
13329
13330         * 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:
13331         *** empty log message ***
13332
13333 1998-01-30  Marek Michałkiewicz  <marekm@pld.org.pl>
13334
13335         * 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:
13336         *** empty log message ***
13337
13338 1998-01-25  Marek Michałkiewicz  <marekm@pld.org.pl>
13339
13340         * Attic/acconfig.h: *** empty log message ***
13341
13342 1997-12-14  Marek Michałkiewicz  <marekm@pld.org.pl>
13343
13344         * 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:
13345         *** empty log message ***
13346
13347 1997-12-08  Marek Michałkiewicz  <marekm@pld.org.pl>
13348
13349         * 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:
13350         *** empty log message ***
13351
13352 1997-10-01  Marek Michałkiewicz  <marekm@pld.org.pl>
13353
13354         * 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:
13355         *** empty log message ***
13356
13357 1997-09-30  Marek Michałkiewicz  <marekm@pld.org.pl>
13358
13359         * 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:
13360         *** empty log message ***
13361
13362 1997-09-29  Marek Michałkiewicz  <marekm@pld.org.pl>
13363
13364         * man/Attic/chpasswd.8, man/Attic/pwconv.8, man/Attic/pwunconv.8, man/Attic/su.1, man/Makefile.am:
13365         *** empty log message ***
13366
13367 1997-06-16  Marek Michałkiewicz  <marekm@pld.org.pl>
13368
13369         * 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:
13370         *** empty log message ***
13371
13372 1997-06-01  Marek Michałkiewicz  <marekm@pld.org.pl>
13373
13374         * 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:
13375         *** empty log message ***
13376
13377 1997-05-02  Marek Michałkiewicz  <marekm@pld.org.pl>
13378
13379         * 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:
13380         *** empty log message ***
13381
13382 1997-02-11  Marek Michałkiewicz  <marekm@pld.org.pl>
13383
13384         * 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:
13385         *** empty log message ***
13386
13387 1997-01-08  Marek Michałkiewicz  <marekm@pld.org.pl>
13388
13389         * 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:
13390         *** empty log message ***
13391
13392 1996-10-27  Marek Michałkiewicz  <marekm@pld.org.pl>
13393
13394         * 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:
13395         *** empty log message ***
13396
13397 1996-09-25  Marek Michałkiewicz  <marekm@pld.org.pl>
13398
13399         * 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:
13400         *** empty log message ***
13401
13402 1996-09-20  Marek Michałkiewicz  <marekm@pld.org.pl>
13403
13404         * 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:
13405         *** empty log message ***
13406
13407 1996-09-10  Marek Michałkiewicz  <marekm@pld.org.pl>
13408
13409         * 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:
13410         *** empty log message ***
13411
13412 1996-08-10  Marek Michałkiewicz  <marekm@pld.org.pl>
13413
13414         * 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:
13415         New file.
13416
13417         * contrib/adduser-old.c, contrib/adduser.sh, contrib/adduser2.sh, contrib/atudel:
13418         960810 - first version under cvs
13419
13420         * 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:
13421         New file.
13422