]> granicus.if.org Git - shadow/blob - NEWS
1a1ea3fdbb7d031fdceae8bcf3b10b625b05400e
[shadow] / NEWS
1 $Id$
2
3 shadow-4.1.2.2 -> shadow-4.1.3                                          2009-04-12
4
5 *** general:
6 - packaging
7   * Fixed support for OpenPAM.
8   * Fixed support for uclibc.
9   * Added configure --enable-account-tools-setuid (default) /
10     --disable-account-tools-setuid options. This permits to disable the
11     PAM authentication of the caller for chage, chgpasswd, chpasswd,
12     groupadd, groupdel, groupmod, newusers, useradd, userdel, and usermod.
13     This authentication is not necessary when these tools are not
14     installed setuid root.
15   * Added configure --with-group-name-max-length (default) /
16     --without-group-name-max-length options. This permits to configure the maximum length allowed for group names:
17       <no option> -> default of 16 (like today)
18       --with-group-name-max-length -> default of 16
19       --without-group-name-max-length -> no max length
20       --with-group-name-max-length=n > max is set to n
21     No sanity checking is performed on n so people could do
22     something neat like --with-group-name-max-length=MAX_INT
23 - addition of users or groups
24   * Speed improvement in case UID_MAX/SYS_UID_MAX/GID_MAX/SYS_GID_MAX is
25     used for an user/group. This should be noticeable in case of LDAP
26     configured systems. This should impact useradd, groupadd, and newusers
27 - error handling improvement
28   * Make sure errors and incomplete changes are reported to syslog and
29     audit in case of unexpected failures.
30   * Report system inconsistencies to syslog and audit.
31   * Only report success to syslog and audit if the changes are really
32     performed in the system databases.
33     This is still not complete.
34 - /etc/login.defs
35   * New CREATE_HOME variable to tell useradd to create a home directory by
36     default.
37 - Translations
38   * New Kazakh translation.
39   * Spanish manpages are no more distributed. They are outdated. Please
40     contact pkg-shadow-devel@lists.alioth.debian.org if you wish to
41     provide updates.
42
43 - faillog
44   * Accept users specified as a numerical UID, or ranges of users (-user,
45     user-, user1-user2).
46   * -l, -m, and -r now apply not only to existing users, but to all the
47     specified UIDs.
48   * Options can be specified in any order.
49 - gpasswd
50   * Added support for long options --add (-a), --delete (-d),
51     --remove-password (-r), --restrict (-R), --administrators (-A), and
52     --members (-M).
53   * Added support for usernames with arbitrary length.
54   * audit logging improvements.
55   * error handling improvement (see above).
56   * Log permission denied to syslog and audit.
57 - groupadd
58   * audit logging improvements.
59   * error handling improvement (see above).
60   * Speedup (see "addition of users or groups" above).
61   * do not create groups with GID set to (gid_t)-1.
62   * Allocate system group GIDs in reverse order. This could be useful
63     later to increase the static IDs range.
64 - groupdel
65   * audit logging improvements.
66   * error handling improvement (see above).
67 - groupmems
68   * Check if user exist before they are added to groups.
69   * Avoid segfault in case the specified group does not exist in /etc/group.
70   * Everybody is allowed to list the users of a group.
71   * /etc/group is open readonly when one just wants to list the users of a
72     group.
73   * Added syslog support.
74   * Use the groupmems PAM service name instead of groupmod.
75   * Fix segmentation faults when adding or removing users from a group.
76   * Added support for shadow groups.
77   * Added support long options --add (-a), --delete (-d), --purge (-p),
78     --list (-l), --group (-g).
79 - groupmod
80   * audit logging improvements.
81   * error handling improvement (see above).
82   * do not create groups with GID set to (gid_t)-1.
83 - grpck
84   * warn for groups with GID set to (gid_t)-1.
85 - login
86   * Restore the echoctl, echoke, onclr flags to the terminal termio flags.
87     Reset echoprt, noflsh, tostop. This behavior seems to have change by
88     mistake in earlier releases (4.0.8, for no obvious reason).
89 - newusers
90   * Implement the -r, --system option.
91   * Speedup (see "addition of users or groups" above).
92   * do not create users with UID set to (gid_t)-1.
93   * do not create groups with GID set to (gid_t)-1.
94   * Allocate system account UIDs/GIDs in reverse order. This could be useful
95     later to increase the static IDs range.
96 - passwd
97   * For compatibility with other passwd version, the --lock an --unlock
98     options do not lock or unlock the user account anymore.  They only
99     lock or unlock the user's password.
100 - pwck
101   * warn for users with UID set to (uid_t)-1.
102 - su
103   * Preserve COLORTERM in addition to TERM when su is called with the -l
104     option.
105 - useradd
106   * audit logging improvements.
107   * Speedup (see "addition of users or groups" above).
108   * See CREATE_HOME above.
109   * New -M/--no-create-home option to disable CREATE_HOME.
110   * do not create users with UID set to (gid_t)-1.
111   * Added -Z option to map SELinux user for user's login.
112   * Allocate system user UIDs in reverse order. This could be useful
113     later to increase the static IDs range.
114 - userdel
115   * audit logging improvements.
116   * Do not fail if the removed user is not in the shadow database.
117   * When the user's group shall be removed, do not fail if this group is
118     not in the gshadow file.
119   * Delete the SELinux user mapping for user's login.
120 - usermod
121   * Allow adding LDAP users (or any user not present in the local passwd
122     file) to local groups
123   * do not create users with UID set to (gid_t)-1.
124   * Added -Z option to map SELinux user for user's login.
125
126 shadow-4.1.2.1 -> shadow-4.1.2.2                                        23-11-2008
127
128 *** security
129 - Fix a race condition in login that could lead to gaining ownership or
130   changing mode of arbitrary files.
131 - Fix a possible login DOS, which could be caused by injecting forged
132   entries in utmp.
133
134 shadow-4.1.2 -> shadow-4.1.2.1                                          26-06-2008
135
136 *** security
137 - Fix an "audit log injection" vulnerability in login.
138   This vulnerability makes it easier for attackers to hide activities by
139   modifying portions of log events, e.g. by appending an addr= statement
140   to the login name.
141
142 shadow-4.1.1 -> shadow-4.1.2                                            25-05-2008
143
144 *** security:
145 - generation of SHA encrypted passwords (chpasswd, gpasswd, newusers,
146   chgpasswd; and also passwd if configured without PAM support).
147   The number of rounds and number of salt bytes was fixed to their lower
148   allowed values (resp. configurable and 8), hence voiding some of the
149   advantages of this encryption method. Dictionary attacks with
150   precomputed tables were easier than expected, but still harder than with
151   the MD5 (or DES) methods.
152
153 *** general:
154 - packaging
155   * Distribute the chfn, chsh, and userdel PAM configuration file.
156   * Fix the detection of the audit, pam, and selinux library and header
157     file; and fail if the feature is requested but not present on the
158     system.
159   * Fix build failure when configured with audit support.
160 - chfn
161   * Allow non-US-ASCII characters in the GECOS fields ("name", "room
162     number", and "other info" fields).
163 - login
164   * Do not fail if a shell option, specified after --, has more than 2
165     letters.
166 - su
167   * If the SULOG_FILE does not exist when an su session is logged, make
168     sure the file is created with group root, instead of using the group
169     of the caller.
170 - vipw
171   * Resume properly after ^Z.
172
173 *** documentation:
174 - Document the -r, --system option in the useradd, groupadd, and newusers
175   manpages.
176 - Document the -c, --crypt-method and -s, --sha-rounds options in the
177   newusers manpage.
178 - Document the -k, --skel option in the useradd manpage.
179 - Tag the section which require --enable-shadowgrp or --with-sha-crypt
180   accordingly.
181
182 shadow-4.1.0 -> shadow-4.1.1                                            02-04-2008
183
184 *** general:
185 - security
186   * Do not seed the random number generator each time, and use the time in
187     microseconds to avoid having the same salt for different passwords
188     generated in the same second.
189 - packaging
190   * Do not install the shadow library per default.
191 - general
192   * Do not translate the messages sent to syslog. This avoids logging
193     PAM error messages in the users's locale.
194 - etc/login.defs
195   * Set GID_MIN to the same value as UID_MIN by default (1000).
196   * Added variables SYS_UID_MIN (100), SYS_UID_MAX (999), SYS_GID_MIN (100),
197     SYS_GID_MAX (999) for system accounts.
198 - etc/useradd
199   * /etc/default/useradd now defines HOME as /home to match FHS.
200 - chage
201   * Fix bug which forbid to set the aging information of an account with a
202     passwd entry, but no shadow entry.
203 - faillog
204   * faillog -r now only reset the entries of existing users. This makes
205     faillog faster.
206 - gpasswd
207   * Fix failures when the gshadow file is not present.
208   * When a password is moved to the gshadow file, use "x" instead of "x"
209     to indicate that the password is shadowed (consistency with grpconv).
210   * Make sure the group and gshadow files are unlocked on exit.
211 - groupadd
212   * New option -p/--password to specify an encrypted password.
213   * New option -r, --system for system accounts.
214 - groupdel
215   * Do not fail if the group does not exist in the gshadow file.
216   * Do not rewrite the group or gshadow file in case of error.
217   * Make sure the group and gshadow files are unlocked on exit.
218   * Fail if the system is not configured to support split groups and
219     different group entries have the name of the group to be deleted.
220 - groupmems
221   * Fix buffer overflow when adding an user to a group. Thanks to Peter Vrabec.
222 - groupmod
223   * New option -p/--password to specify an encrypted password.
224   * Make sure the group and gshadow files are unlocked on exit.
225   * When the GID of a group is changed, update also the GID of the passwd
226     entries of the users whose primary group is the group being modified.
227 - grpck
228   * Fix logging of changes to syslog when a group file is provided,
229     without a gshadow file.
230 - lastlog
231   * Accept users specified as a numerical UID, or ranges of users (-user,
232     user-, user1-user2).
233 - login
234   * Use PATH and SUPATH to set the PATH environment variable, even when
235     support for PAM is enabled.
236   * If started as init, start a new session.
237 - newgrp
238   * Fix segfault when an user returns to an unknown GID (either the user
239     was deleted during the user's newgrp session or the user's passwd
240     entry referenced an invalid group). Add a syslog warning in that case.
241   * Use the correct AUDIT_CHGRP_ID event instead of AUDIT_USER_START, when
242     changing the user space group ID with newgrp or sg.
243 - newusers
244   * The new users are no more added to the list of members of their groups
245     because the membership is already set by their primary group.
246   * Added support for gshadow.
247   * Avoid using the same salt for different passwords.
248   * Fix support for the NONE crypt method.
249   * newusers will behave more like useradd regarding the choice of UID or
250     GID or regarding the validity of user and group names.
251   * New option -r, --system for system accounts.
252   * Make sure the passwd, group, shadow, and gshadow files are unlocked on
253     exit.
254 - passwd
255   * Make sure that no more than one username argument was provided.
256   * Make SE Linux tests more strict, when the real UID is 0 SE Linux
257     checks will be performed.
258 - pwck
259   * Fix logging of changes to syslog when a passwd file is provided,
260     without a shadow file.
261 - su
262   * su's arguments are now reordered. If needed, use -- to separate su's
263     options from the shell's options.
264 - sulogin
265   * If started as init, start a new session.
266 - useradd
267   * New option -l to avoid adding the user to the lastlog and faillog databases.
268   * Fix the handling of the --defaults option (it required an argument,
269     but should behave as -D)
270   * Document the --defaults option, which was already described in the
271     useradd's Usage information.
272   * New option -r, --system for system accounts.
273   * New options -U, --user-group and -N, --no-user-group. These options
274     should replace nflg from the previous versions. Please set any -n
275     option to deprecated because its meaning differs from one distribution
276     to the other.
277   * Make sure the passwd, group, shadow, and gshadow files are unlocked on
278     exit.
279 - usermod
280   * Keep the access and modification time of files when moving an user's home
281     directory.
282   * Check that the new fields set with -u, -s, -l, -g, -f, -e, -d, and -c
283     differ from the old ones. If a requested new value is equal to the old
284     one, no changes will be performed for that field. If no fields are
285     changed, usermod will exist successfully with a warning. This avoids
286     logging changes to syslog when there are actually no changes.
287   * Fix the handling of -a when a user is being renamed (with -l)
288 - vipw/vigr
289   * Recommend editing the shadowed (resp. regular) file if the regular (resp.
290     shadowed) file was edited.
291
292 shadow-4.0.18.2 -> shadow-4.1.0                                         09-12-2007
293
294 *** security:
295 - chgpasswd
296   When compiled with PAM support, it used the chpasswd policy file instead
297   of the chgpasswd policy file. If an administrator added some restriction
298   to the chgpasswd policy file, they were not taken into account.
299
300 *** general:
301 - Add support for SHA256 and SHA512 encrypt methods (supported by new
302   libc).
303 - useradd: Allow non numerical group identifier to be specified with
304   useradd's -g option.
305 - chgpasswd, chpasswd: Fix chpasswd and chgpasswd stack overflow.
306 - newgrp: Do not give an indication that the group has no password. Ask
307   for the password, as if there were a password.
308 - The permissions of the suid binaries is now configurable in
309   src/Makefile.am. Note that changing the permissions is not recommended.
310 - newgrp.c: Declare the child and pid variable at the beginning of a block.
311   This fixes a compilation issue with gcc 2.95.
312 - login_nopam: Add support for systems with no innetgr().  On those
313   systems, username with an @ will be treated like any other username
314   (i.e. lookup in the local database for an user with an @). Thanks to
315   Mike Frysinger for the patch.
316 - Add support for uClibc with no l64a().
317 - userdel, usermod: Fix infinite loop caused by erroneous group file
318   containing two entries with the same name. (The fix strategy differs
319   from 
320   (https://bugzilla.redhat.com/show_bug.cgi?id=240915)
321 - userdel: Abort if an error is detected while updating the passwd or group
322   databases. The passwd or group files will not be written.
323 - usermod: Update the group database before flushing the nscd caches.
324 - usermod: Make sure the group modifications will be allowed before
325   writing the passwd files.
326 - Flush the nscd tables using nscd -i instead of the private glibc socket.
327 - usermod: Make usermod options independent of the argument order.
328 - newgrp: Do not request a password when a user uses newgrp to switch to
329   her primary group.
330 - passwd: -l/-u options: edit the shadow account expiry field *in
331   addition* to editing the password field.
332 - pwck: Remove the SHADOWPWD preprocessor check. Some check for /etc/shadow
333   were always missing.
334 - su: Avoid terminating the PAM library in the forked child. This is done
335   later in the parent after closing the PAM session.
336 - userdel: Fix the homedir prefix checking.
337 - passwd, usermod: Refuse to unlock an account when it would result in a
338   passwordless account.
339 - Full review of the usage of getpwnam(), getpwuid(), getgrnam(),
340   getgrgid(), and getspnam(). There should be no functional changes.
341 - gpasswd: Only read information from the local file group database. It
342   writes the changes in /etc/group and/or /etc/gshadow, but used to read
343   information from getgrnam (hence possibly from another group database).
344 - New login.defs variable: MAX_MEMBERS_PER_GROUP. It should provide a
345   better support for split groups. Be careful when using this variable:
346   not all tools support well split groups (in or out of the shadow
347   tool suite). It fixes gpasswd and chgpasswd when split groups are used.
348 - Use MD5_CRYPT_ENAB, ENCRYPT_METHOD, SHA_CRYPT_MIN_ROUNDS, and
349   SHA_CRYPT_MAX_ROUNDS to define the default encryption algorithm for the
350   passwords.
351 - chpaswd, chgpasswd, newusers: New options -c/--crypt-method and
352   -s/--sha-rounds to supersede the system default encryption algorithm.
353 - chpaswd, chgpasswd, newusers: DES is no more the default algorithm. They
354   will respect the system default configured in /etc/login.defs
355
356 *** documentation:
357 - Generate the translated manpages from PO at build time.
358 - The generated manpages will change depending on the configure options.
359   If you use different options than the one used for the distributed
360   archive, you should re-generate the manpages.
361 - login.defs should now describe all the variables.
362 - The tools' documentation details the login.defs variables they use.
363
364 shadow-4.0.18.1 -> shadow-4.0.18.2                                      28-10-2007
365
366 *** general:
367 - usermod: fixed handle -a option (by Benno Schulenberg
368   <bensberg@justemail.net>),
369 - useradd: improved auditing support
370   (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211659),
371 - groupadd, groupdel, groupmod, useradd, userdel, usermod: flush nscd cashes
372   after close /etc/{group,passwd} files,
373 - su: If compiled without PAM support, enforce the limits from /etc/limits
374   when one of the -, -l, or --login options is set, even if called by root.
375 - limits: Support for 2 new resource limits: max nice value, and max real
376   time priority. The resource limits are not used when compiled with PAM.
377 *** documentation:
378 - updated translations: fi, ja, nl, tl, zh_CN.
379 - groupadd.8, groupmod.8, login.1, useradd.8, userdel.8, usermod.8: grammar
380   mistakes and other corrections (by Schulenberg <bensberg@justemail.net>),
381
382 shadow-4.0.18 -> shadow-4.0.18.1                                        03-08-2006
383
384 *** general:
385 - groupmems: fixed compilation when PAM is disabled
386   (by Johannes Winkelmann <jw@smts.ch>),
387 - fixed missing man pages in dist tar ball necessary on build when
388   PAM is disabled.
389
390 shadow-4.0.17 -> shadow-4.0.18                                          01-08-2006
391
392 *** general:
393 - su: fixed set enviroment too early when using PAM, so move it to !USE_PAM
394   (patch submitted by Mike Frysinger <vapier@gentoo.org>),
395 - groupadd, groupmod, useradd, usermod: fixed UID/GID overflow (fixed
396   http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198920)
397 - passwd, useradd, usermod: fixed inactive/mindays/warndays/maxdays overflow
398   (simillar to RH#198920),
399 - groupmems: rewrited for use PAM and getopt_long() and now it is enabled
400   for build and install (patch by George Kraft <gk4@swbell.net>),
401 - S/Key: removed assign getpass() to libshadow_getpass() on autoconf level
402   (patch by Ulrich Mueller <ulm@kph.uni-mainz.de>; http://bugs.gentoo.org/139966),
403 - usermod: back to previous -a option semantics and clarify -a behavior
404   on documentation level (by Greg Schafer <gschafer@zip.com.au>),
405 - chsh, groupmod: rewrited for use getopt_long().
406 - updated translations: ca, cs, da, eu, fr, gl, hu, ko, pl, pt, ru, sv, tr, uk, vi.
407 *** documentation:
408 - fr and ru man pages are up to date,
409 - partially translated sv man pages set added
410   (by Daniel Nylander <info@danielnylander.se>),
411 - pl chage(1), chsh(1), groupmod(8): translation finished.
412
413 shadow-4.0.16 -> shadow-4.0.17                                          10-07-2006
414
415 *** general:
416 - userdel, usermod: fixed segfault on remove home directory when it can't
417   be removed; for example when it is /dev/null (fixed http://bugs.gentoo.org/139148),
418 - improved SELinux detection on autoconf level (based on patch by
419   Dan Yefimov <dan@D00M.lightwave.net.ru>),
420 - removed using private implementation getpass() libc function
421   (now getpass() is used also when S/KEY support is enabled),
422 - move nologin do $(sbindir),
423 - useradd: fixed mail spool file creation (bug cached by Frans Pop
424   <elendil@planet.nl>;
425   fixed http://bugs.debian.org/374705),
426 - updated translations: cs, da, de, ko, nb, nl, pt, ro, ru, sk, sv, vi,
427 - new translations: dz, km, ne.
428 *** documentation:
429 - ru man pages up to date,
430 - lastlog(8): updated pl translation,
431 - faillog(5): added missing information about fail_locktime element of
432   faillog struct (by Thorsten Kukuk <kukuk@suse.de>),
433 - updated translations: eu, fr, pl.
434 - reverted using docbook.sourceforge.net in XSL url.
435
436 shadow-4.0.15 -> shadow-4.0.16                                          05-06-2006
437
438 *** general:
439 - userdel: better fix for old CERT VU#312962 (which was fixed in shadow 4.0.8):
440   fixed forgoten checking of the return value from fchown() before
441   proceeding with the fchmod() (based on Owl patch prepared by
442   Rafal Wojtczuk <nergal@owl.openwall.com>),
443 - userdel: use login.defs::MAIL_DIR instead hardcoded /var/mail in created
444   mailbox path (based on Owl fixes submited
445   by Solar Designer <solar@openwall.com>),
446 - by default do not use libshadow_getpass() as getpass() replacemement.
447   Use libshadow_getpass() only when S/KEY support is enabled.
448   Current glibc getpass() handles correctly longer than 8 characters
449   passwords and libshadow_getpass() is used only because libc getpass()
450   do not handles password prompting with echo enabled,
451 - move login.defs::MD5_CRYPT_ENAB to non-PAM part,
452 - userdel: rewrited for use getopt_log(),
453 - install default/template configuration files:
454 -- if shadow is configured with use PAM install /etc/pam.d/* files,
455 -- if shadow do not uses PAM install /etc/{limits,login.acces} files,
456 -- install /etc/login.defs and /etc/default/useradd files,
457 - fixed handle relative symlinks too in lib/commonio.c
458   (merge patch from Fedora),
459 - properly notify nscd to flush its cache
460   (https://bugzilla.redhat.com/bugzilla/186803),
461 - useradd, usermod: fixes for verify return values mkdir() and chown()
462   on copy files (merge 482_libmisc_copydir_check_return_values Debian
463   patch),
464 - login, su (non-PAM variant): export MAIL only when MAIL_CHECK_ENAB
465   is enabled (Mike Frysinger <vapier@gentoo.org>),
466 - pgck, grpck: warn when the members of a group differ in /etc/groups
467   and /etc/gshadow (fixed http://bugs.debian.org/75181),
468 - su: fixed exit with a status 0 when the invoked command is terminated
469   by a signal which was not catched
470   (fixed by Eero Häkkinen <eero17@bigfoot.com>),
471 - login: cancel login timeout after authentication so that patient people
472   timing out on network directory services can log in with local
473   accounts (http://bugs.debian.org/107148),
474 - chgpasswd: fixes for build correctly with --disable-shadowgrp
475   (patch by Johannes Winkelmann <jw@tks6.net>).
476 - updated translations: cs, da, es, eu, fi, fr, gl, hu, id, pt, ru, sk, sv, vi.
477 - new translations: hu.
478 *** documentation:
479 - new cs man pages: groupmems(8), groupmod(8), grpck(8), gshadow(5)
480   (by Miroslav Kure <kurem@upcase.inf.upol.cz>),
481 - regenerate roff man pages using docbook-style-xsl-1.70.1,
482 - bunch of cleanups in chfn(1), faillog(8), gpasswd(1), groupadd(8),
483   groupmems(8), limits(5), login(1), login.defs(5), newgrp(1), passwd(1),
484   passwd(5) and su(1) (by Yuri Kozlov <kozlov.y@gmail.com>),
485 - update pl vipw(8) man page,
486 - added chgpasswd(8) ru man page,
487 - updated ru login.defs(5), passwd(1), userdel(8), usermod(8) man pages,
488 - pw_auth(3) man page removed (outdated),
489 - install limits(5), login.access(5) and porttime(5) man pages only when
490   shadow is builded with PAM support disabled,
491 - passwd(1): better document how password strength is checked
492   (fixed http://bugs.debian.org/115380),
493 - usermod(8): added missing -a option description
494   (by Christian Perrier <bubulle@debian.org>),
495 - hu chsh(1), lugin(1), newgrp(1): fixed typos
496   (by Koblinger Egmont <egmont@uhulinux.hu>),
497 - login.defs(5): remove information about CREATE_HOME (patch by
498   Mike Frysinger <vapier@gentoo.org>),
499 - chgpasswd(8): new man page.
500
501 shadow-4.0.14 -> shadow-4.0.15                                          13-03-2006
502
503 *** general:
504 - do not install translated man pages if shadow is configured with
505   --disable-nls
506   (based patch submited by Mike Frysinger <vapier@gentoo.org>),
507 - added fixes for detect BSD's S/Key with updated the skeychallenge()
508   function for take a fourth argument in case BSD version (patch submited by
509   Mike Frysinger <vapier@gentoo.org>),
510 - login: default UMASK if not specified in login.defs is 022 (pointed by
511   Peter Vrabec <pvrabec@redhat.com>),
512 - chgpasswd: new tool (by Jonas Meurer <mejo@debian.org>),
513 - lastlog: print the usage and exit if an additional argument is profided to
514   lastlog (merge 488_laslog_verify_arguments Debian patch),
515 - login, newgrp, nologin, su: do not link with libselinux (merge
516   490_link_selinux_only_when_needed Debian patch),
517 - chage, chfn, chsh, passwd: fixed confusing error message if /proc is not
518   mounted (http://bugs.debian.org/352494 patch Nicolas François
519   <nicolas.francois@centraliens.net>),
520 - login (merge 433_login_more_LOG_UNKFAIL_ENAB Debian patch):
521   - TOO MANY LOGIN... logged if PAM_MAXTRIES or failcount >= retries (was
522     onl test PAM_MAXTRIES),
523   - print to stderr (in addition to syslog) in case of maximum number of
524     tries exceeded,
525   - always prints the number of tries in the syslog entry.
526   - add special handling for PAM_ABORT
527   - add an entry to failog, as when USE_PAM is not defined. (#53164)
528   - changed pam_end to PAM_END. This is certainly was a mistake.  PAM_END is
529     pam_close_seesion + pam_end. Here, the session is still not open, we
530     don't have to close it.
531   - a HAVE_PAM_FAIL_DELAY is missing,
532 - su: fixed pam session support (patch from Topi Miettinen; fixed #57526,
533   #55873, 57532 Debian bugs),
534 - userdel: user's group is already removed by update_groups().
535   remove_group() is not needed (bug introduced in 4.0.14 on merge FC fixes).
536   Fixed by Nicolas François <nicolas.francois@centraliens.net>,
537 - useradd: allways remove group and gshadow databases lock, Fixed by Nicolas
538   François <nicolas.francois@centraliens.net>
539   (http://bugs.debian.org/348250)
540 - auditing fixes:
541   - corrected prototypes in lib/prototypes.h (thre is no audit_help_log();
542     added audit_logger() prototype),
543   - useradd: fixed excess audit_logger() argument,
544 - chage: added missing \n on display password status if password must be
545   chaged,
546 - useradd: fixed allow non-unique UID (http://bugs.debian.org/351281),
547 - variouse code cleanups for make possible compilation of shadow with -Wall
548   -Werror (by Alexander Gattin <xrgtn@yandex.ru>),
549 - su: move exit() outside libmisc/shell.c::shell() for handle shell() errors
550   on higher level (now is better visable where some programs exit with 126
551   and 127 exit codes); added new shell() parameter (char *const envp[])
552   which allow fix preserving enviloment in su on using -p, (patch by
553   Alexander Gattin <xrgtn@yandex.ru>),
554 - su: added handle -c,--command option for GNU su compliance (merge
555   437_su_-c_option Debian patch),
556 - login: added translate login prompt string (suggested by Evgeniy
557   Dushistov),
558 - updated translations: ca, cs, da, el, es, eu, gl, fi, fr, it, nb, nl, pt,
559   pt_BR, ro, ru, sk, sv, tl, vi, zh_CN,
560 - new translations: gl.
561 *** documentation:
562 - ru man pages: added new nologin(8) and updated all other man pages (by
563   Yuri Kozlov <kozlov.y@gmail.com>),
564 - chsh(1), su(1): update fi translations generated from XML files
565   (Tommi Vainikainen <thv+debian@iki.fi>),
566 - expiry(1), faillog(5), faillog(8), gpasswd(1), groupadd(8), groupdel(8),
567   logoutd(8), nologin(8), vipw(8): added new cs man pages, (by Miroslav Kure
568   <kurem@upcase.inf.upol.cz>)
569 - login.defs(5): default UMASK if not specified in login.defs is 022
570   (pointed by Peter Vrabec <pvrabec@redhat.com>),
571 - useradd(8): better document that -d will not add the user's home directory
572   if it does not already exist (http://bugs.debian.org/154996),
573 - nologin(8) man pages added (merge 478_nologin.8.xml Debian patch).
574
575 shadow-4.0.13 -> shadow-4.0.14                                          03-01-2006
576
577 *** general:
578 - fixes in handling login.defs: $MAIL_FILE is used in userdel and usermod,
579   $MD5_CRYPT_ENAB is used by crypt_make_salt, which is used by chpasswd,
580   gpasswd and newusers.
581   Both variables moved to PAM not dependent (447_missing_login.defs_variables
582   Debian patch),
583 - chage: fix chage display when the last change field is set to 0.
584   This is consistent with PAM (merge 427_chage_expiry_0 Debian patch),
585 - su: if an password is expired, su should propose to change this password
586   (fixed http://bugs.debian.org/321384),
587 - login: added auditing support (based on Fedora patch for login from util-linux),
588 - useradd: merge PUG fixes from RedHat patch,
589 - nologin: new program,
590 - vipw: added a "quiet" mode (http://bugs.debian.org/190252),
591 - newgrp: added auditing support (by Steve Grubb <sgrubb@redhat.com>),
592 - switch over to a new logging function (by Steve Grubb <sgrubb@redhat.com>),
593 - userdel: fix incorrect audit record in userdel
594   (https://bugzilla.redhat.com/bugzilla/174392),
595 - userdel: remove the user's group unless it is not really a user-private group
596   for better PUG support (based on FC patch),
597 - userdel: make the -f option force the removal of the user's group (even if it
598   is the primary group of another user)
599   (merge 453_userdel_-f_removes_group Debian patch),
600 - usermod: rewrited for use getopt_long() (Christian Perrier <bubulle@kheops.frmug.org>),
601 - grpck: fixed segmentation fault on using -s when /etc/gshadow is empty (fix by
602   Tomasz Lemiech <szpajder@staszic.waw.pl>),
603 - passwd: remove handle -f, -g and -s options.
604 - added handle -s/--shell, -m/-p/preserve-environment options like GNU su
605   (based on patches from Debian submited by
606   Nicolas François <nicolas.francois@centraliens.net>)
607 - su: export $USER and $SHELL as well as $HOME (http://bugs.debian.org/11003 and
608   http://bugs.debian.org/11189),
609 - su, vipw: rewrited for use getopt_long(),
610 - su: log successful/failed through syslog (http://bugs.debian.org/190215),
611 - updated translations: ca, cs, da, eu, fi, fr, it, pl, pt, ru, sv, tl, vi,
612 - new translations: gl.
613 *** documentation:
614 - added es, ko vigr(8) and vipw(8), hu lastlog(8), ko vipw(8), zh_CN su(1),
615   zh_TW chpasswd(8) and su(1),
616 - added tr man pages: chage(1), chfn(1), groupadd(8), groupdel(8), groupmod(8),
617   login(1), passwd(1), passwd(5), shadow(5), su(1) useradd(8), userdel(8),
618   usermod(8),
619 - passwd5): added es, hu, pt_BR, zh_CN zh_TW translations,
620 - added full set (up to date) fr man pages
621   (by Nicolas François <nicolas.francois@centraliens.net>),
622 - pwck(1): document -q option,
623 - WARNING: all translated man pages are now in UFT-8,
624 - added full set of ru man pages (by Yuri Kozlov <kozlov.y@gmail.com>),
625 - login(1): better explain the respective roles of login, init and getty with regards
626   to the utmp file (merge 440_manpages-login.1 Debian patch),
627 - login(1): document how to initiate a trusted path on linux
628   (http://bugs.debian.org/305600),
629 - userdel(8): document the -f option; document the group removal behavior (merge
630   455_userdel.8.xml Debian patch),
631 - groupadd(8), useradd(8): document that useradd/groupadd refuse adding entries already in an
632   external database (http://bugs.debian.org/282184),
633 - updated it groupdel(8), passwd(1), pwconv(8), useradd(8), userdel(8), usermod(8) man pages
634   (merge 205_it-manpages Debian patch),
635 - added fi chfn(1), chsh(1), passwd(1), su(1),
636 - newusers(8): added it translation,
637 - newgrp(1): added de, es, zh_CN, zh_TW translations.
638
639 shadow-4.0.12 -> shadow-4.0.13                                          10-10-2005
640
641 *** general:
642 - chage: removed duplicated pam_start(),
643 - chfn, chsh: finished PAM support usin pam_start() and co.,
644 - userdel: userdel should not remove the group which is primary for someone else
645   (fix by Nicolas François <nicolas.francois@centraliens.net>
646   http://bugs.debian.org/295416),
647 - login: use "%c" in strftime() output (based on patch from
648   http://bugs.debian.org/89902 by Christian Perrier <bubulle@debian.org>),
649 - fixedlib/commonio.c: don't assume selinux is enabled if is_selinux_enabled()
650   returns -1 (merge isSelinuxEnabled FC patch by Jeremy Katz <katzj@redhat.com>),
651 - login, su (non-PAM case): fixed setup max address space limits (added missing break
652   statement in case) spoted by Lasse Collin <lasse.collin@tukaani.org>,
653 - auditing support added. Patch prepared by Peter Vrabec <pvrabec@redhat.com> basing
654   on work by Steve Grubb from http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159215
655   Now auditing support have commands: chage, gpasswd, groupadd, groupdel, groupmod,
656   useradd, userdel, usermod.
657 - chage, chfn, chsh, passwd: change to use new selinux API for
658   selinux_check_passwd_access() (patch from Fedora by Dan Walsh <dwalsh@redhat.com>),
659 - use #ident preprocesor directive istead RCID macro with content similar
660   to example described in ident(1) man page (modern compilers like latest GCC
661   removes not used functions by global optimization).
662   So "ident /usr/bin/passwd" will show again some useable informations
663 - su: fixed twice copy enviroment which causes auth problems
664   (bug was introduced in 4.0.12; fix by Nicolas François <nicolas.francois@centraliens.net>),
665 - chage: differentiate the different failure causes by the exit value
666   This will permit to adduser Debian script to detect if chage failed because the
667   system doesn't have shadowed passwords (fix for http://bugs.debian.org/317012),
668 - merge 010_more-i18ned-messages Debian patch which adds i18n support for few
669   more messages (orginaly patch was prepared by Guillem Jover <guillem@debian.org>),
670 - lastlog: added handle -b option which allow print only lastlog records older than
671   specified DAYS (fix by <miles@lubin.us>),
672 - chpasswd, gpasswd, newusers: fixed libmisc/salt.c for use login.defs::MD5_CRYPT_ENAB
673   only if PAM support is disabled (fix by John Gatewood Ham <zappaman@buraphalinux.org>),
674 - passwd: rewrited for use getopt_long(),
675 - newgrp: when newgrp process sits between parent and child shells, it should
676   propagate STOPs from child to parent and CONTs from parent to child,
677   otherwise e.g. bash's "suspend" command won't work
678   Fixed Debian http://bugs.debian.org/314727
679 - updated translations: da, es, fr, pt, ro, ru.
680 *** documentation:
681 - chsh(1), groupadd(8), newusers(8), pwconv(8), useradd(8), userdel(8), usermod(8):
682   added missing references to /etc/login.defs and login.defs(5)
683   (Christian Perrier <bubulle@kheops.frmug.org>),
684 - passwd(5): rewrited based on work by Greg Wooledge <greg@wooledge.org>
685   http://bugs.debian.org/328113
686 - login(1): added securetty(5) to SEE ALSO section
687   (fixed Debian bug http://bugs.debian.org/325773),
688 - groupadd(8), useradd(8): fix regular expression describing alloved login/group
689   names (pointed by Nicolas François <nicolas.francois@centraliens.net>)
690   (correct is [a-z_][a-z0-9_-]*[$]),
691 - groupadd(8), useradd(8): documents in CAVEATS section the limitations shadow
692   places on user and group names (fix by Mike Frysinger <vapier@gentoo.org>).
693 - chage(1), groupadd(8): document -h,--help option.
694
695 shadow-4.0.11.1 -> shadow-4.0.12                                        22-08-2005
696
697 *** general:
698 - newgrp, login: remove using login.defs::CLOSE_SESSIONS variable and allways 
699   close PAM session,
700 - fixed configure.in: realy enable shadow group support by default (pointed by 
701   Greg Schafer <gschafer@zip.com.au> and Peter Vrabec <pvrabec@redhat.com>),
702 - login.defs: removed handle QMAIL_DIR variable,
703 - login: allow regular user to login on read-only root file system (not only for root)
704   Patch by Nicolas François <nicolas.francois@centraliens.net>
705   Fix for http://bugs.debian.org/52069
706 - gpasswd, grpck, grpconv, grpuconv: added flushing group nscd cache,
707 - pwck, pwconv: added flushing passwd nscd cache,
708 - usermod: fixed handle -p option (patch by Peter Vrabec <pvrabec@redhat.com>),
709 - chage: use -1 as value for disable password inactivity, expiration date and
710   checking an password validation.
711   Based on patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
712   https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=109499
713   https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=137498
714   and on 427_chage_expiry_0 Debian patch (fix for http://bugs.debian.org/78961)
715 - useradd: do not copy files from skel directory if home directory exist and write
716   warning message about not copying skel files
717   Patch by Peter Vrabec <pvrabec@redhat.com> which fixes:
718   https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143150
719   https://bugzilla.redhat.com/beta/show_bug.cgi?id=158574
720   https://bugzilla.redhat.com/beta/show_bug.cgi?id=80242
721 - su: ignore SIGINT while authenticating. A ^C could defeat the waiting
722   period and permit brute-force attacks (fixed http://bugs.debian.org/288827),
723 - uClibc fixes (by Martin Schlemmer <azarah@nosferatu.za.org>):
724   added require ngettext (added [need-ngettext] to AM_GNU_GETTEXT() parameters)
725   and stub prototype for ngettext() in lib/prototypes.h (neccessary if shadow
726   compiled with disabled NLS support)
727 - groupadd: rewrited for use getopt_long(),
728 - groupadd, groupdel, groupmod, userdel: do OPENLOG() before pam_start(),
729 - groupadd: fixed double OPENLOG(),
730 - removed lib/{grpack,gspack,pwpack,sppack}.c and prototypes from lib/prototypes.h
731   (outdated),
732 - newusers: added flushing passwd and group nscd caches,
733 - passwd, pwunconv, userdel, vipw: remove flushing shadow nscd cache (nscd do not caches
734   shadow map),
735 - pwck: now pwck OPENLOG with correct name ("pwck" instead "pwsk")
736   (fix by Alexander Gattin <arg@online.com.ua>),
737 - pwck, grpck: replace all puts() with printf() - it fixes problems with extra blank
738   lines printed in some messages
739   (fix by Alexander Gattin <arg@online.com.ua>),
740 - passwd: use separated message "Password set to expire." instead "Password changed."
741   on "passwd -e" (fix by Christian Perrier <bubulle@debian.org),
742 - updated translations: cs, de, fi, fr, nl, pl, pt, ru, sk.
743 *** documentation:
744 - regenerate all roff man pages using DocBook XSLT Stylesheets 1.69.1,
745 - usermod(8): give the correct range for system users (0-999 instead of 0-99),
746   (http://bugs.debian.org/286258)
747 - chage(8): better description -1 value passwd in -E, -I and -M options,
748 - regenerate all roff man pages using DocBook XSLT Stylesheets 1.69.0.
749
750 shadow-4.0.11 -> shadow-4.0.11.1                                        21-07-2005
751
752 *** general:
753 - fixed configure.in: now is possible build shadow with enabled/disabled shadow group
754   support (thanks for report symptoms of the bug to Greg Schafer <gschafer@zip.com.au>),
755 - updated translations: sv.
756
757 shadow-4.0.10 -> shadow-4.0.11                                          18-07-2005
758
759 *** general:
760 - su: ignore SIGINT while authenticating. A ^C could defeat the waiting period and
761   permit brute-force attacks. Also ignore SIGQUIT.
762   Fixed: http://bugs.debian.org/52372 and http://bugs.debian.org/288827
763 - useradd: rewrited for use getopt_long(),
764 - newgrp: add fix for handle splitted NIS groups: extends the functionality that,
765   if the requested group is given, all groups of the same GID are tested for
766   membership of the requesting user.
767   (fix by Christian Mudra <C.Mudra@science-computing.de>)
768 - fix nscd_flush_cache(): for some reason doing the INVALIDATE call with two
769   write()'s fails. Do one writev() call instead.
770   http://bugs.gentoo.org/show_bug.cgi?id=80413
771   (submited by Martin Schlemmer <azarah@gentoo.org>)
772 - merge nscd-socket-path patch from Fedora: newer glibc's have a different nscd socket
773   location (/var/run/nscd/socket instead /var/run/.nscd_socket),
774 - S/Key support is back,
775 - usermod: added -a option. This flag can only be used in conjunction with the -G
776   option. It cause usermod to append user to the current supplementary group list.
777   (patch by Peter Vrabec <pvrabec@redhat.com>) 
778 - chage: added missing \n in error messages,
779 - useradd, groupadd: change -O option to -K and document it in man page,
780 - su, sulogin, login: fixed erroneous warning messages when used with PAM about some
781   login.defs variables (fix by DJ Lucas <dj@linuxfromscratch.org>),
782 - autoconf:
783 -- stop with error message if crypt() not found,
784 -- remove --with{,out}-libcrypt switch,
785 -- move all autoheader templates from acconfig.h to configure.in,
786 - login: setup limits and umask (using login.defs ULIMITS and UMASK variables) only when
787   PAM support is disabled (it is task for pam_limits and pam_umask modules),
788 - sulogin, login: use SYSLOG macro instead syslog() which saves the locale, sets the
789   locale to C, sends the message and restores the locale
790   (fix by Nicolas François <nicolas.francois@centraliens.net>).
791 - updated translations: cs, da, de, es, fi, pl, pt, ro, ru, sk.
792 *** documentation:
793 - pwck(8): document -q option (based on Debian patch for fix http://bugs.debian.org/309408)
794 - pwck(8): rewrited OPTIONS section and better SYNOPSIS,
795 - lastlog(8): document that lastlog is a sparse file, and don't need to be rotated
796   http://bugs.debian.org/219321
797 - login(8): better explain the respective roles of login, init and getty with regards
798   to the utmp file (based on 441_manpages-shadow.5 Debian patch),
799 - shadowconfig(8): removed (will be maintained in Debian shadow pkg repository),
800 - groupadd(8): document -o option,
801 - in SEE ALLSO section in groupadd(8), groupdel(8), groupmod(8), userdel(8), usermod(8)
802   added refer to gpasswd(8) (suggested by Mike Frysinger <vapier@gentoo.org>).
803
804 shadow-4.0.9 -> shadow-4.0.10                                           28-06-2005
805
806 *** general:
807 - mkpasswd: removed,
808 - userdel: now deletes user groups from /etc/gshdow as well as /etc/group.
809   Fix by Nicolas François <nicolas.francois@centraliens.net>.
810   http://bugs.debian.org/99442
811 - usermod: when relocating a user's home directory, don't fail and remove the new
812   home directory if we can't remove the old home directory for some
813   reason; the results can be spectularly poort if, for instance, only
814   the rmdir() fails. Patch prepared by Timo Lindfors <lindi-spamtrap@newmail.com>.
815   http://bugs.debian.org/166369
816 - su: fix syslogs to be less ambiguous. Use old:new format instead of old-new
817   because '-' can appear in usernames
818   http://bugs.debian.org/213592
819 - removed not used now libmisc/setup.c,
820 - login: use also UTMPX API instead UTMP on failure (login was affected for this
821   when shadow was builded without PAM support)
822   patch by Nicolas François <nicolas.francois@centraliens.net>
823 - login: the PAM session needs to be closed as root, thus before change_uid()
824   http://bugs.debian.org/53570 http://bugs.debian.org/195048 http://bugs.debian.org/211884
825 - login: made login's -f option also able to use the username after -- if none
826   was passed as it's optarg
827   http://bugs.debian.org/53702 
828 - login: check for hushed login and pass PAM_SILENT if true,
829   http://bugs.debian.org/48002
830 - login: fixed username on succesful login (was using the normal username,
831   when it should have used pam_user) http://bugs.debian.org/47819
832 - remove using SHADOWPWD #define so now shadow is allways builded with shadow
833   passwowd support,
834 - chage: rewrited for use getopt_long(),
835 - updated translations: ca, cs, da, fi, pl, ru, zh_TW.
836 *** documentation:
837 - most of the man pages now are generated from XML files so in case submiting any
838   chages to this resources please make diff to XML files,
839 - chfn: give more details about the influence of login.defs on what's allowed to
840   users.
841
842 shadow-4.0.8 -> shadow-4.0.9                                            23-05-2005
843
844 *** general:
845 - passwd: fixed segfault in non-PAM connfiguration
846   (submited by Greg Schafer <gschafer@zip.com.au>),
847 - newgrp: fixed NULL pointer dereference - getlogin() and ttyname() can
848   return NULL which is not checked (http://bugs.debian.org/162303),
849 - updated translations: ro, ru,
850 - added new translations: vi,
851 - lib/getdef.c: leaves the table as it is, and changes from the binary search to
852   a sequential one (Lucas Correia Villa Real <lucasvr@gobolinux.org>),
853 - lastlog: fixed --help message (s,--login,--user,) http://bugs.debian.org/249611.
854
855 shadow-4.0.7 -> shadow-4.0.8                                            26-04-2005
856
857 *** general:
858 - remove not working OPIE and SKEY support,
859 - chage, useradd, usermod: reduce multiple OPENLOG() calls,
860 - passwd: fix #61313 Debian bug: "passwd -S root" (as a normal user) should not
861   display "You may not change the password for root.",
862 - vipw: fixed race condition (Debian #242407 bug; fix by Alexander Gattin
863   <arg@online.com.ua>),
864 - configure.in: add using AC_GNU_SOURCE macro for kill compilation warnings about
865   implicit declaration of function `fseeko',
866 - faillog: changed faillog record display format for allow fit in 80 columns all
867   faillog atributies,
868 - removed NDBM code (unused),
869 - fixed use of SU_WHEEL_ONLY in su. Now su realy is avalaible for wheel group
870   members. Thanks to Mike Frysinger <vapier@gentoo.org> for report:
871   http://bugs.gentoo.org/show_bug.cgi?id=80345
872 - drop never finished kerberos and des_rpc support (for kerberos support back firs
873   must be prepared modularization),
874 - fixed UTMP path detection (by Kelledin <kelledin@users.sf.net>),
875 - useradd: rewrited group count to dynamic (by John Newbigin
876   <jnewbigin@ict.swin.edu.au>),
877 - login: fixed create lastlog entry fo users never loged in on non-PAM
878   variant of login (fix by <oracular@ziplip.com>),
879 - remove handle login.defs::NOLOGIN_STR (never used),
880 - useradd: fixes a potential security problem when mailbox is created in
881   useradd.
882   Patch and comment by Koblinger Egmont <egmont@uhulinux.hu>:
883   Only two arguments are passed to the open() call though it expects three
884   because O_CREAT is present. Hence the permission of the file first becomes
885   some random garbage found on the stack, and an attacker can perhaps open
886   this file and hold it open for reading or writing before the proper
887   fchmod() is executed. (Actually, we could also pass the final "mode" to
888   the open() call and then save the consequent fchmod().)
889 - SELinux changes: added changes in chage, chfn, chsh, passwd for allow
890   construct more grained user password/accuunt properties on SELinux
891   policies level. Patch originally based on RH changes (submited by Chris
892   PeBenito <pebenito@gentoo.org>),
893 - added SELinux changes: in libmisc/copydir.c (based on Fedora patch),
894 - updated translations: cs, da, es, eu, fi, fr, it, ko, nl, pl, pt, sk, uk,
895 - added new translations: tl,
896 - reindent all source code using -l80,
897 *** documentation:
898 - it man pages (by Danilo Piazzalunga <danilopiazza@libero.it>):
899 -- updated: chfn.1, chsh.1, groups.1, grpck.8, grpconv.8,
900    grpunconv.8, id.1, lastlog.8, login.1, newgrp.1, pwunconv.8, shadow.5,
901    vigr.8, vipw.8,
902 -- new: chage.1, chpasswd.8, expiry.1, faillog.5, faillog.8, getspnam.3,
903    logoutd.8, porttime.5, pwck.8, shadow.3, shadowconfig.8, su.1,
904 - passwd(1): fix #160477 Debian bug: improve -S output description,
905 - newgrp(1): fix #251926, #166173, #113191 Debian bugs: explain why editing /etc/group   
906   (without gshadow) doesn't permit to use newgrp,
907 - newgrp(1): newgrp uses /bin/sh (not bash),
908 - faillog(8): updated after rewrited faillog command for use getopt_long(),
909 - login(1): removed fragment about abilities pass enviroment variables in login prompt,
910 - gshadow(5): new file (by Nicolas Nicolas François <nicolas.francois@centraliens.net>),
911 - usermod(8): fixed #302388 Debian bug: added separated -o option description,
912
913 shadow-4.0.6 -> shadow-4.0.7                                            26-01-2005
914
915 - updated translations: da, es, fi, it, nl, pl, pt,
916 - added zh_TW translation (from Debian resources),
917 - remove unused now files in lib/ directory,
918 - switch faillog to use getopt_long(),
919 - added de vigr(8), vipw(8) man pages (from Debian resources),
920 - added ro, sq translations (from Debian resources),
921 - fixed large file support in lastlog and faillog:
922 -- added AC_SYS_LARGEFILE macro to autoconf,
923 -- use fseeko() instead fseek() and remove casting file offsets to unsigned
924    long.
925 - lastlog:
926 -- rewrited source code using the same style as in chpasswd.c,
927 -- open lastlog file after finish parse comman line optiomns
928    (now --help otput can be displayd for users without lastlog
929    file read permission),
930 -- cleanups in lastlog(8) man page using the same style as in
931    chpasswd(8).
932 - chpasswd:
933 -- switch chpasswd to use getopt_long() and adds a --md5 option
934    (by Ian Gulliver <ian@penguinhosting.net>),
935 -- rewrited chpasswd(8) man page.  
936
937 shadow-4.0.5 -> shadow-4.0.6                                            08-11-2004
938
939 - su: fixed adding of pam_env env variables to enviroment
940   (Martin Schlemmer <azarah@nosferatu.za.org>),
941 - autoconf: fixed filling MAIL_SPOOL_DIR and MAIL_SPOOL_FILE variables
942   which was allways empty (Gregorio Guidi <g.guidi@sns.it>),
943 - realuy closse security bug in libmisc/pwdcheck.c,
944 - added missing template/example PAM service config files for chfn, chsh and
945   userdel,
946 - do not translate variable names from /etc/default/useradd during
947   "useradd -D".
948
949 shadow-4.0.4.1 -> shadow-4.0.5                                          27-10-2004
950
951 - change libmisc to private static library,
952 - added SELinux support (basing on patch from Gentoo),
953 - chage: more verbose/human readable -l output. This output is much more
954   beter for send directly via email for each users as message with account
955   status (for example as message with warning about account/password expiration),
956 - login: fixed handle -f option: now it works correctly without specify "-h
957   <host>" if open login session localy is required (thanks for help
958   investigate bug for Krzysztof Kotlenga),
959 - userdel: when removing a user with userdel, userdel was always exits with 1 (fixed).
960   Based on http://bugs.gentoo.org/show_bug.cgi?id=66687,
961 - useradd: added handle /etc/defaults/useradd::CREATE_MAIL_SPOOL={yes|no}.
962   Now on adding user account can be also created empty user mail spool.
963   Curent code handle only mailbox.
964   TODO: add handle create user mail spool in maildir format.
965 - useradd: when placing symlinks into /etc/skel copy_tree of
966   libmisc/copydir.c will properly create the symlink in the destination
967   directory but not change the ownership to the target user/group. This
968   makes httpd Option SymlinkIfOwnerMatch break for default weg pages
969   including symlinks placed into /etc/skel/public_html for example.
970   http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=66819
971 - su: add pam_open_session() support. If builded without PAM support
972   propagate $DISPLAY and $XAUTHORITY enviroment variables.
973   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
974 - applied 036_pam_access_with_preauth.patch Debian patch submited by Bjorn
975   Torkelsson <Bjorn.Torkelsson@hpc2n.umu.se>: add support for PAM account
976   management to restrict access using pam_access when login is invoked with -f.
977 - applied Owl patches by Solar Designer <solar@openwall.com>:
978   shadow-4.0.4.1-owl-pam-auth.diff:
979     Moved the PAM authentication in user management commands after
980     command-line parsing, made it use separate service names for each command.
981     Use constant strings rather than argv[0] for syslog ident in the user
982     management commands,
983   shadow-4.0.4.1-owl-tmp.diff:
984     Remove using mktemp() if mkstemp() prototype not found (use allways mkstemp()),
985   shadow-4.0.4.1-owl-check-reads.diff:
986     Add checking for read errors in commonio and vipw/vigr (not doing so could
987     result in data loss when the records are written back),
988 - fixed securirty bug in libmisc/pwdcheck.c which allow unauthorized
989   account properties modification.
990   Affected tools: chfn and chsh.
991   Bug was discovered by Martin Schulze <joey@infodrom.org>.
992 - added it translation (by Danilo Piazzalunga <danilopiazza@libero.it>),
993 - added sk translation (by Peter Mann <Peter.Mann@tuke.sk>, submited by Christian
994   Perrier <bubulle@kheops.frmug.org>),
995 - added es translation (by Ruben Porras <nahoo82@telefonica.net>),
996 - updated ko translation (by Changwoo Ryu <cwryu@debian.org>),
997 - added fi translation (by Tommi Vainikainen <thv@iki.fi>),
998 - new translations: bs, ca, da, eu, he, id, nb, nl, nn, pt, pt_BR, tr,
999   zh_CN (stolen from Debian),
1000 - remove adduser(8) roff include man page to useradd(8).
1001
1002 shadow-4.0.4 => shadow-4.0.4.1                                          14-01-2004
1003 - bug fixes in automake files for generate correct tar ball on "make dist":
1004   added mising "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am.
1005
1006 shadow-4.0.3 => shadow-4.0.4                                            14-01-2004      
1007
1008 *** general:
1009 - added missing information about -f options in groupadd usage mesage
1010   (document this also in man page),
1011 - removed TCFS support (tcfs is dead),
1012 - convert all po/*.po files to utf-8,
1013 - one TODO entry gone: fix nscd flushing databases on change (use
1014   per service flushing method instead HUPing nscd process),
1015 - removed old AUTH_METHODS dependent code,
1016 - chage: now all code depend on SHADOWPWD. If shadow will not be configured
1017   on autoconf level for using shadow possword chage is olny stub which
1018   informs "chage not configured for shadow password support."
1019 - dpasswd: removed,
1020 - login: remove handle login.defs::DIALUPS_CHECK_ENAB code,
1021 - login: remove handle login.defs::NO_PASSWORD_CONSOLE code,
1022 - ALL tools, libraries: remove old SVR4, SVR4_SI86_EUA BSD_QUOTA and ATT_AGE
1023   dependent code,
1024 - ALL: ready for gettext 0.11.5, automake 1.7.4, autoconf 2.57,
1025 - logoutd, userd: handle also utmpx if avalaile,
1026 - newgrp: fix for non-PAM version
1027   Use CLOSE_SESSIONS depending code only when USE_PAM.
1028   The problem was reported by Mattias Webjorn Eriksson using Slackware
1029   8.1 and reproduced it using slackware-current (9.0beta) (fix submited by
1030   Simon Williams <simon@no-dns-yet.org.uk>),
1031 - fix in too_many_failures() function: incorrect if() condition in non-PAM
1032   dependent code in fail login handling (fixed by Krzysztof
1033   Oledzki <ole@ans.pl>),
1034 *** documentation:
1035 - install groups(1) man page (moved from EXTRA_DIST to man_MANS),
1036 - removed pwauth(8), d_passwd(5), dialups(5) man pages,
1037 - remove text about password aging from passwd(5) (based on Debian changes),
1038 - document useradd and groupadd -M option in en and pl man pages
1039   (by Jakub Mikusek <mick3y@o.k.pl>).
1040 - added ru passwd(1) man page from KSI resources,
1041 - added es man pages found in Conectiva distribution resources,
1042 - added chch(1), chfn(1) man pages from chinese man pages translation
1043   project,
1044 - added id(1) man page czech man pages translation project,
1045 - updated ja man pages and added expiry(1),
1046 - removed old doc/ANNOUNCE,
1047 - updated german passwd(1), chsh(1) and login(1) man page and added chfn(1)
1048   (by Josef Spillner <josef@ggzgamingzone.org>),
1049 - many other cleanups and unifications in man pages.
1050
1051 shadow-4.0.2 => shadow-4.0.3                                             13-03-2002
1052
1053 - added variouse cs, de, fr, id, it, ko man pages found mainly in national
1054   man pages translations projects (this documents are not synced with
1055   current en version but you know .. "Documentations is lik sex. When it is
1056   good it very very good. Whet it is bad it is better than nothing."). Any
1057   changes for syncing this are welcome and for anyone who will want maintain
1058   this documents directly I can give cvs write access to project resources.
1059 - added new de translation (by Frank Schmid <frank@cs-schmid.de>).
1060 - fixed building --with-shared: swapped utent (in src/login.c and
1061   libmisc/utmp.c) and pwent (in libmisc/suauth.c and src/su.c)
1062   definition/extern (by Dimitar Zhekov <jimmy@is-vn.bg>).
1063 - minor changes and updates in man pages (also merged
1064   shadow-4.0.0-owl-man.patch by Solar Designer <solar@openwall.com>).
1065
1066 shadow-4.0.1 => shadow-4.0.2                                             17-02-2002
1067
1068 - resolve many fuzzy translations also all this which may cause problems on
1069   displaing long uid/gid,
1070 - allow use "$" on ending in cereated by useradd usermname accounts for allow
1071   create machine acounts for samba (thanks to Jerome Borsboom
1072   <borsboom@tch.fgg.eur.nl> for point this problem in 4.0.1),
1073 - fix small but ugly bug in configure.in in libpam_mics library detection.
1074
1075 shadow-4.0.0 => shadow-4.0.1
1076
1077 - added ability to log session closes in newgrp
1078   (Joseph Parmelee <jparmele@wildbear.com>),
1079 - add -pcs to .indent.pro file and reindent all code in src/,
1080 - remove "\n" from all SYSLOG() messages,
1081 - finish integrate AGING code into SHADOWPW,
1082 - remove handle old HAVE_USERSEC_H code,
1083 - updated ja and added hu man pages,
1084 - applied patches by Solar Designer <solar@openwall.com>:
1085   shadow-4.0.0-owl-chage-drop-priv.diffd
1086   shadow-4.0.0-owl-chage-ro-no-lock.diff:
1087     Added locks which are needed when doing r/w accesses, not when running
1088     as root.  If root does read-only, there's no lock needed. Added missing
1089     "#include <errno.h>" for above (me).
1090   shadow-4.0.0-owl-warnings.diff
1091     Olny one fix from this patch was aplayd because other was fixed few days
1092     before :)
1093   shadow-4.0.0-owl-check_names.diff
1094     Merge only prat this patch with checking login name matching; checking
1095     is login string isn't longer than possible it will be good prepare using
1096     probably _POSIX_LOGIN_NAME_MAX from <bits/posix1_lim.h>,
1097   shadow-4.0.0-owl-chage-drop-priv.diff
1098   shadow-4.0.0-owl-pam-auth.diff
1099     Merge part with reorder initialize PAM and checkin is chage is runed by
1100     root or not - now chage can be runed from non-root account for checking
1101     by user own account information (if PAM enabled).
1102 - fixes for handle/print correctly 32bit uid/gid (Thorsten Kukuk <kukuk@suse.de>),
1103 - implemented functions for better reloading the nscd cache (per NSS map)
1104   (Thorsten Kukuk <kukuk@suse.de>),
1105 - fixed warnings "not used but defined" on compile using gcc 3.0.x 
1106   (bulletpr00ph <bullet@users.sourceforge.net>),
1107 - added ja, ko translations found in SuSE,
1108 - added symlinks: newgrp -> sg, vipw -> vigr,
1109 - added vigr(1) man page as roff .so link to vipw(1),
1110 - added sg(1) man page as roff .so link to newgrp(1),
1111 - installed fix for SEGV when using pwck -s on /etc/passwd file with
1112   empty lines in it.
1113   
1114 shadow-20001016 => shadow-4.0.0                                          06-01-2002
1115
1116 - fix bug discovered and fixed by Marcel Ritter
1117   <Marcel.Ritter@rrze.uni-erlangen.de>
1118   Due to a big buffer size in lib/commonio.c this error does only appear
1119   if a line gets longer than 4096 bytes (there are probably very few people
1120   stumbling across this).
1121   Ths bug can be exposed by trashing /etc/groups file using useradd with script:
1122         #!/bin/sh
1123         typeset -i NUM
1124         NUM=0
1125         groupadd demogroup
1126         while [ $NUM -le 1000 ]; do
1127            useradd -g demogroup -G demogroup -p "NONE" user$NUM
1128            NUM=$NUM+1
1129         done
1130 - remove limit 32 to groups per user by (the same user can belong to
1131   more than 32 groups) by use sysconf(_SC_NGROUPS_MAX) instead constant
1132   NGROUPS_MAX (patch by Radu Constantin Rendec <radu.rendec@ines.ro>)
1133   NOTE: it probably need testing on other system for add
1134   some condition for using sysconf(_SC_NGROUPS_MAX) or NGROUPS_MAX constant,
1135 - added -s option to {pw,grp}ck to sort checked files by UID/GID,
1136 - drop detecting is pam_strerror() need one or two arguments. Instead using
1137   PAM_STRERROR() macro use directly pam_strerror() function with two
1138   arguments. pam_strerror() with one argument is obsoleted,
1139 - adde ja man pages (probably some man pages need update),
1140 - much better automake support,
1141 - added pt_BR man pages for gpasswd(1), groupadd(8), groupdel(8),
1142   groupmod(8), shadow(5) (man pages for other nations also are welcome),
1143 - mamny small fixes and updates nad improvements in man pages,
1144 - aplayed Debian patch to man pages for shadowconfig,
1145 - remove limit to 6 chars logged tty name (012_libmisc_sulog.c.diff Debian
1146   patch).
1147
1148 shadow-20001012 -> shadow-20001016:
1149 - conditionaly disabled body reload_nscd() because not every
1150   version of nscd can handle it (this can be enabled by define
1151   ENABLE_NSCD_SIGHUP) (Marek MichaÅ‚kiewicz  <marekm@linux.org.pl>)
1152 - fixes on autoconf/automake level for dist target,
1153 - Julianne F. Haugh new contact adress.
1154
1155 shadow-20000902 => shadow-20001012
1156
1157 - removed /redhat directory with obsoleted files (partialy rewrited spec
1158   file is now in root directory),
1159 - aplayed shadow-19990827-group.patch patch from RH wich prevents adduser
1160   overwrite previously existing groups in adduser,
1161 - added PAM support for chage (bind to "chage" PAM config file) also
1162   added PAM support for all other small tools like chpasswd, groupadd,
1163   groupdel, groupmod, newusers, useradd, userdel, usermod (bind to common 
1164   "shadow" PAM config file) - this modificaytions mainly based on
1165   modifications prepared by Janek RÄ™kojarski <baggins@pld.org.pl>,
1166 - many small fixes and improvments in automake (mow "make dist"
1167   works correctly),
1168 - added cs translation (Jiri Pavlovsky <Jiri.Pavlovsky@ff.cuni.cz>).
1169
1170 shadow-20000826 => shadow-20000902
1171
1172 This is probably the last release from me.
1173 Tomasz Kloczko <kloczek@rudy.mif.pg.gda.pl> is the new maintainer.
1174 Good luck!
1175
1176 (I'm still interested to know what is going on with this package,
1177 which is fairly important to many Linux distributions, so please
1178 Cc: marekm@linux.org.pl in any related discussions - just don't
1179 expect me to respond quickly...)
1180
1181 Previous warning still applies - be careful!
1182
1183 - applied some of the Red Hat patches (revised slightly), thanks to
1184   Bernhard Rosenkraenzer <bero@redhat.de>: fix for truncated long
1185   lines (>8K) in /etc/group, send SIGHUP to nscd (caching daemon
1186   in glibc 2.1.x) after changing anything, add usermod -L and -U
1187   options, remove LOG_CONS from openlog(), chage -d and -E handles
1188   dates in yyyy-mm-dd format ('/' is not required)
1189 - various cleanups
1190
1191 shadow-19990827 => shadow-20000826
1192
1193 WARNING: this release is not tested (other than that it compiles for me),
1194 please be careful.  Previous release was a year ago, so it is really time
1195 to release something and start looking for a new, better maintainer...
1196 (I've been extremely busy recently.  Credit for most of the real work,
1197 such as complete PAM support, should go to Ben Collins <bcollins@debian.org>
1198 who maintains this package for Debian.)
1199
1200 - merged most of the changes from Debian (not all of them yet, PAM support
1201   should be complete but is not tested - need to upgrade to potato first)
1202 - added Polish translations of manual pages from PLD
1203 - change sulog() to not depend on global variables oldname, name
1204 - try to not follow symbolic links when deleting files recursively
1205   in userdel (still not perfect, safest to do it in single user mode)
1206 - removed workarounds for ancient (pre-ANSI) C compilers - use gcc!
1207   (a few ANSI C constructs were used already, and no one complained)
1208 - updated author's e-mail address (jfh@bga.com -> jfh@austin.ibm.com)
1209
1210 shadow-19990709 => shadow-19990827
1211
1212 - upgrade to autoconf-2.13, automake-1.4, libtool-1.3.3
1213 - i18n: added French translation by Vincent Renardias <vincent@ldsol.com>
1214 - i18n: added Swedish translation by Kristoffer BrÃ¥nemyr <ztion@swipnet.se>
1215 - logoutd no longer reads /etc/logoutd.mesg at startup - instead, read
1216   it when sending to luser's tty (no need to reload with SIGHUP)
1217 - added support for "usergroups" feature often found in Linux distributions
1218   (if USERGROUPS_ENAB in login.defs set to "yes", uid != 0, uid == gid, and
1219   username == groupname, then set umask to 002 instead of 022)
1220 - Debian: pwck and grpck are now run from a daily cron job (root will
1221   receive an e-mail if something is wrong), and at system startup
1222 - added support for setting umask in /etc/limits
1223 - when using OPIE, re-prompt with echo on after empty password was entered
1224 - GETPASS_ASTERISKS now run time configurable (login.defs)
1225 - getpass() now uses stdin and stderr (not stdout) if it can't open /dev/tty
1226 - getpass() allows all input to be erased using Control-U, and beeps when
1227   too many characters are entered
1228 - removed obsolete sgtty support, in 1999 everyone should have termios :)
1229 - Debian: tar wrapper no longer needed to build packages as non-root user
1230   (install libtricks, and use "dpkg-buildpackage -rfakeroot" instead)
1231 - Debian: changes for GNU Hurd by Marcus Brinkmann <brinkmd@debian.org>:
1232   dpkg-architecture, cross compilation, only build passwd, add
1233   etc/login.defs.hurd conffile, conditionalize CBAUD
1234 - newgrp sets $HOME before running the new shell
1235 - both "sg group command" (usage message) and "sg group -c command"
1236   (man page) work, updated both the usage message and the man page :)
1237 - i18n: added missing _() for some translatable strings
1238
1239 shadow-19990607 => shadow-19990709
1240
1241 - added PAM support to chfn and chsh (thanks to Thorsten Kukuk)
1242 - fixed a bug in newgrp if the user is in >= 17 groups
1243 - added @LIBSKEY@ to LDADD for all programs (for some reason,
1244   almost all programs need it if skey/opie support is enabled)
1245 - changed grpconv/grpunconv to compile with --disable-shadowgrp
1246 - changed faillog to do something (assume -p) with no options specified
1247 - updated version of the udbachk passwd/shadow/group file integrity
1248   checker (contrib/udbachk.v012.tgz)
1249
1250 shadow-19990307 => shadow-19990607
1251
1252 - upgraded to libtool-1.2, latest config.{guess,sub}
1253 - added missing #include "defines.h" in libmisc/login_desrpc.c - thanks
1254   to almost everyone for reporting it :-)
1255 - moved PAM-related defines to pam_defs.h
1256 - added some braces to if/else to avoid egcs warnings
1257 - started adding PAM support to login (based on util-linux, not finished yet)
1258 - changed "!" to "x" for pw_passwd in src/newusers.c
1259 - a few more Y2K fixes
1260 - added contrib/udbachk.tgz (passwd/shadow/group file integrity checker),
1261   thanks to Sami Kerola
1262 - Debian: made /etc/{limits,login.access,login.defs,porttime,securetty}
1263   files all mode 0600 (Bug#38729 - login: /etc/limits is world readable)
1264 - updated mailing list information (moved again, now hosted by SuSE),
1265   updated README.mirrors, other minor documentation updates
1266 - made getpass work with redirected stdin
1267 - new readpass echoing asterisks disabled by default by popular demand
1268   (can be enabled at compile time: ./configure --enable-readpass)
1269 - the random number of asterisks in readpass is now more random
1270   (random number generator initialization was missing)
1271 - commented out --enable-md5crypt (obsolete) in configure.in
1272 - when checking for libskey, link with -lcrypt if libcrypt is available
1273   (otherwise the configure test for libskey fails - libskey needs libcrypt)
1274 - added Package/Version ident strings (so you can use the RCS "ident"
1275   command to check any binary, which version of shadow it comes from)
1276
1277 shadow-981228 => shadow-19990307
1278
1279 - added support for setting process priority in /etc/limits
1280 - i18n: updated Greek translation
1281 - i18n: added Polish translation by Arkadiusz Miskiewicz
1282 - documented the -p option in useradd.8 and usermod.8 man pages
1283 - some "const" gcc warning fixes
1284 - attempt to fix lib/snprintf.c compilation problems
1285 - added restart/reload/force-reload to /etc/init.d/logoutd (found by lintian)
1286 - always require password for root logins (even with NO_PASSWORD_CONSOLE)
1287 - workaround for RedHat's CREATE_HOME feature in /etc/login.defs
1288 - changed to Y2K compatible version numbering
1289 - more Y2K fixes, use the ISO 8601 date format (yyyy-mm-dd) for default
1290   values of user-entered dates (you can still enter dates in any format
1291   supported by GNU date)
1292 - oops, added doc/README.nls to list of files to distribute
1293 - added missing sanitize_env() call to src/login.c
1294 - debian/rules installs /bin/login non-setuid by default, just in case...
1295 - build Debian packages with cracklib support (depends on cracklib-runtime)
1296
1297 shadow-980724 => shadow-981228
1298
1299 - login now clears the username in argv[] (in case someone types the
1300   password instead of username, by mistake)
1301 - i18n support, Greek translation (Nikos Mavroyanopoulos), see README.nls
1302 - updated author's e-mail address (jfh@tab.com -> jfh@bga.com)
1303 - new getpass() replacement that displays *'s (Pavel Machek)
1304 - no password required when logging in from ttys listed under
1305   NO_PASSWORD_CONSOLE in login.defs (Pavel Machek)
1306 - fixed limits code so RLIMIT_AS should work
1307 - upgraded to Debian 2.0
1308 - built a new machine (P2 350MHz, 64MB RAM) so the thing can be compiled
1309   in reasonable time again
1310 - upgraded to automake-1.3, libtool-1.0h (also new config.guess and
1311   config.sub that work on i686)
1312 - usermod fixed to handle group names starting with digits (not recommended)
1313
1314 shadow-980626 => shadow-980724
1315
1316 - security: login no longer gives you a root shell if setgid()
1317   or initgroups() or setuid() fails for any reason, discovered
1318   by Ted Hickman <thickman@sy.net>
1319 - remove libshadow.so -> libshadow.so.x.x symlink after install
1320 - a few int -> uid_t type cleanups
1321 - fail immediately (don't retry) in *_lock() if euid != 0
1322 - added sample PAM config files etc/pam.d/{passwd,su}
1323 - preliminary PAM support in su (untested - use at your own risk,
1324   comments and patches welcome!)
1325 - cleanup and more comments in OPIE code (Algis Rudys)
1326 - added support for TCFS (Transparent Cryptographic File System)
1327   (use ./configure --with-libtcfs, see http://tcfs.dia.unisa.it/
1328   for more info), thanks to Aniello Del Sorbo
1329
1330 shadow-980529 => shadow-980626
1331
1332 - fixed bug in commonio_lock() (infinite recursion if lckpwdf() not
1333   used and database cannot be locked), thanks to Jonathan Hankins
1334 - fixed bug in copy_tree() (NUL-terminate readlink() results),
1335   thanks to Lutz Schwalowsky
1336 - no need to press Enter after Ctrl-C to interrupt password prompt
1337 - removed a few harmless gcc warnings
1338 - secure RPC login disabled if <rpc/key_prot.h> not found (glibc 2.0)
1339 - faillog.8: changed /usr/adm -> /var/log
1340 - pwconv.8: documented that it may fail on invalid password files
1341
1342 shadow-980417 => shadow-980529
1343
1344 - fixed "interesting" strzero() bug introduced by me in 980417:
1345   strzero(cp) didn't work as intended (the macro used a local
1346   variable called "cp" - oops...); Leonard N. Zubkoff was the
1347   first person to report it - thanks!
1348 - fixed usermod -e to accept empty argument (like useradd),
1349   thanks to Martin Bene
1350 - several changes from Debian 980403-0.2, see debian/changelog
1351 - added contrib/shadow-anonftp.patch (not yet merged, sorry...)
1352   thanks to Calle Karlsson
1353
1354 shadow-980403 => shadow-980417
1355
1356 - fixed login session limits (again - broken since 980130)
1357 - more symbolic constants for exit status values
1358 - fixed logoutd to work with 8-character usernames in utmp
1359   (no room for terminating NUL!)
1360 - various fixes to make the code more glibc2-friendly
1361 - updated doc/cracklib26.diff (fix for empty gecos, etc.)
1362 - updated the files in redhat/ from shadow-utils-970616-11.src.rpm
1363   (RH 5.0 updates)
1364
1365 shadow-980130 => shadow-980403
1366
1367 - security: su now creates the sulog file (if enabled and doesn't
1368   already exist) with umask 077
1369 - hopefully removed arbitrary group size limits (not yet for
1370   shadow groups though - sgetsgent() still needs a rewrite,
1371   but I don't want to delay this release any longer...)
1372 - fixed NULL dereference in groupmod -n
1373
1374 shadow-971215 => shadow-980130
1375
1376 - Debian binary packages can be built without root privileges
1377   (tar wrapper - debian/tar.c)
1378 - new subdir "redhat" (needs more work, see redhat/README)
1379 - in several places, exit(127) if exec fails with ENOENT, and
1380   exit(126) on other errors (as in ksh and bash)
1381 - renamed getpass() and md5_crypt() to libshadow_* to avoid name
1382   conflicts with libc functions - md5_crypt() is also in libcrypt.a
1383   on Linux/PPC, thanks to Anton Gluck <gluc@midway.uchicago.edu>
1384 - handle crypt() returning NULL (possible according to Single Unix
1385   Spec) more gracefully (exit instead of SIGSEGV)
1386 - fixed bug in putgrent() that showed up when realloc() moved the
1387   buffer while expanding it, thanks to Floody <flood@evcom.net>
1388 - fixed bug in login session limits (with a limit set to N logins,
1389   only N-1 logins were allowed), thanks to Floody <flood@evcom.net>
1390 - upgraded to libtool-1.0h (now recognizes GNU ld on Debian 1.3.1)
1391 - newer config.guess and config.sub (should work on x86 for x > 5)
1392 - removed doc/automake-1.0.diff (obsoleted by automake-1.2)
1393 - added doc/cracklib26.diff (some patches for cracklib-2.6)
1394 - documented more (not all yet) login.defs(5) settings
1395 - replaced more exit status numeric values with #defines
1396 - shadow-utils.spec now generated from shadow-utils.spec.in
1397   (so I don't have to edit version numbers for every new release)
1398 - groupadd -f option, based on RedHat's shadow-utils-970616-9 patch
1399   ("force" - exit(0) if the group already exists); other RedHat-
1400   specific options not added yet (best done in a perl script that
1401   runs useradd/usermod/groupadd - see Debian's adduser-3.x)
1402 - added -O option (override login.defs values) to useradd and groupadd
1403 - if usermod can't update the group file(s), exit(10) but update the
1404   password file(s) anyway (as documented by Solaris man page)
1405 - useradd should no longer set sp_expire to the current date (oops)
1406 - configure.in: added --enable-desrpc, check for gethostbyname in libc
1407   before trying libnsl (necessary for Solaris; not for Linux or Irix,
1408   even though libnsl may be present), fixed pw_age/pw_comment/pw_quota
1409   detection, setpgrp vs. setpgid, other minor tweaks
1410 - various */Makefile.am tweaks
1411 - login.defs: added FAKE_SHELL - program to run instead of the login
1412   shell, with the real shell in argv[0] (Frank Denis)
1413 - login.defs: ignore case in yes/no settings
1414 - more E_* defines instead of hardcoded numbers for exit()
1415 - added sanitize_env() for setuid programs
1416 - login_desrpc() checks for getnetname() errors
1417 - new password is not "too similar" if it is long enough
1418 - replacement strstr() was static, no one noticed :-)
1419 - {pw,spw}_lock() and {pw,spw}_unlock() track the lock count and call
1420   lckpwdf() and ulckpwdf() as needed, *_lock_first() hack removed
1421 - login sets $REMOTEHOST for remote logins
1422 - added newgrp -l option (Single Unix Spec, same as "-")
1423 - EXPERIMENTAL shared lib support using libtool (libshadow.so saves about
1424   200K of disk space on Linux/x86), enabled by default if supported by
1425   the system, use ./configure --disable-shared if it causes any problems.
1426   Warning: libshadow.so is intended for internal use by this package
1427   only - binary compatibility with future releases is not guaranteed.
1428   There should be no need to link any other programs with libshadow.so -
1429   the libshadow.so -> libshadow.so.x.x symlink is unnecessary.
1430 - pam_strerror() takes one or two arguments, depending on the Linux-PAM
1431   version (!) - added check to configure; fixed do_pam_passwd prototype
1432 - libmisc/login_access.c should compile on Linux/PPC and Solaris
1433 - added information about the new ftp site to doc/README.mirrors
1434
1435 shadow-971001 => shadow-971215
1436
1437 - added workaround for NYS libc 5.3.12 (RedHat 4.2) bug to grpck
1438 - updated the RPM .spec file
1439 - renamed rlogin() to do_rlogin() to avoid Linux/PPC build problem
1440   (glibc defines something else named "rlogin" in utmpbits.h ?)
1441 - added MD5 checksums in Debian packages
1442 - added -p and -g options to vipw (edit the password or group file
1443   respectively, regardless of the command name in argv[0])
1444 - removed old DBM support (NDBM code is still there)
1445 - fixed a bug in gpasswd: current username was incorrectly identified as
1446   "root" because of setuid(0) done too early.  It may be a security hole
1447   when using shadow groups - if "root" is listed as a group administrator,
1448   any user can add/remove members in that group.  Thanks to Jesse Thilo.
1449 - gpasswd now logs which user (root or group admin) made the changes
1450 - passwd now uses $PATH to search for the chfn, chsh, gpasswd commands
1451 - newgrp and add_groups() allocate supplementary group lists dynamically
1452 - moved check_shell() from src/chsh.c to libmisc/chkshell.c
1453 - CHFN_RESTRICT in login.defs can now specify exactly which fields may be
1454   changed by regular users (any combination of letters "frwh")
1455 - fixed contrib/pwdauth.c segfault with non-existent usernames
1456 - minor change in lib/getdef.c to handle quotes better (Juergen Heinzl)
1457 - new date parsing code (from GNU date) used by useradd, usermod, chage
1458 - upgraded to automake-1.2, added libtool-0.7 (no libshadow.so yet)
1459 - converted code to ANSI C, added ansi2knr (untested - use gcc!)
1460 - fixed useradd -G segfault (one '*' that shouldn't be there)
1461 - allow 8-bit characters in chfn
1462 - added support for RLIMIT_AS (max address space) in libmisc/limits.c
1463 - changed the handling of NIS plus entries in password files
1464 - some more tweaking in various debian/* files
1465 - logoutd uses getutent() instead of reading utmp file directly
1466 - fixed lckpwdf() called twice (and failing) when changing password
1467   if the user is not listed in /etc/shadow (Mike Pakovic)
1468 - erase and kill characters left unchanged if not defined in login.defs
1469
1470 shadow-970616 => shadow-971001
1471
1472 - Debian: mkpasswd no longer installed (dbm files not supported)
1473 - chpasswd checks for shadow/non-shadow at run time, too
1474 - added chpasswd -e (input file with encrypted passwords) - Jay Soffian
1475 - changed libmisc/login_access.c as suggested by Dave Hagewood
1476 - replaced sprintf() with snprintf() in several places
1477 - added lib/snprintf.[ch] (from XFree86) for systems without snprintf()
1478 - minor tweaks in contrib/adduser.c (/usr/local -> /usr)
1479 - non-root users can only run su with a terminal on stdin
1480 - temporarily disabled DES_RPC because getsecretkey() causes login to hang
1481   for 5 minutes on at least one RH 4.0 system.  Not sure if this is a bug
1482   in libc, or system misconfiguration.  Needs further investigation.
1483 - check for strerror() and -lrpcsvc (should compile on SunOS again)
1484 - fixed free() called twice in libmisc/mail.c
1485 - added information about mirror sites (doc/README.mirrors)
1486 - updated pwconv.8 and pwunconv.8 man pages
1487 - "make install" now installs pwconv, pwunconv, grpconv, grpunconv
1488 - pwauth.8 no longer installed (AUTH_METHODS not supported by default)
1489 - corrected su.1 man page ($SHELL not used)
1490 - no need for --with-md5crypt if the MD5-based crypt() is already in libc
1491   (or another library specified in /etc/ld.so.preload - Linux ld.so 1.8.0+)
1492 - cleaned up PASS_MAX in getpass() (127 always assumed)
1493 - default editor for vipw changed from /bin/ae to a real editor :)
1494
1495 shadow-970601 => shadow-970616
1496
1497 - fixed execlp call (missing NULL) in src/vipw.c
1498 - vipw now preserves permissions on edited files
1499 - commented out the xdm-shadow hack in shadowconfig
1500 - improved RedHat spec file (Timo Karjalainen)
1501 - updated mailing list information
1502 - added information about the shadow paper (doc/README.shadow-paper)
1503 - renamed doc/console.c.spec (confused RPM)
1504
1505 shadow-970502-2 => shadow-970601
1506
1507 - fixed a typo in libmisc/mail.c causing login to segfault
1508   if MAIL_CHECK_ENAB=yes (sorry!)
1509 - patches for OPIE support (Algis Rudys) (untested)
1510 - programs that modify /etc/passwd or /etc/shadow will use
1511   lckpwdf() if available
1512 - now compiles with PAM support! (still untested)
1513 - cosmetic error message changes (prefixed by argv[0]:)
1514
1515 shadow-970216 => shadow-970502-2
1516
1517 - shadow group support fixes (grpconv didn't work - for some
1518   reason, putsgent() returns 1 instead of 0 on success;
1519   now -1 = failure, anything else = success)
1520 - upgraded to autoconf-2.12
1521 - pwconv and pwunconv now follow other UN*X systems and SVID3
1522   (modify files in place), original versions moved to "old"
1523 - scologin.c moved to "old" (it was only for SCO Xenix) so
1524   people stop sending patches for scologin.c gcc warnings :)
1525 - don't use the MD5* functions in libmisc/salt.c (glibc has
1526   the new md5 crypt(), but no <md5.h> and MD5* functions!)
1527 - support for MkLinux, Solaris, JIS, Qmail (Frank Denis)
1528 - "passwd -S -a" now really works
1529 - support for Debian, vipw, a few fixes (Guy Maor)
1530 - src/login.c radius bug fix (Rafal Maszkowski)
1531 - ISSUE_FILE_ENAB -> ISSUE_FILE in the sample /etc/login.defs
1532 - fixes for glibc and DES_RPC (Thorsten Kukuk)
1533 - limits.5 man page (Luca Berra)
1534 - expiry will work setgid shadow too, removed euid 0 check
1535 - added check for a64l() to configure (glibc)
1536
1537 shadow-961025 => shadow-970216
1538
1539 - major rewrite of *io.c (no more 4 copies of almost identical code)
1540 - use fsync() (if available) instead of sync() when updating password files
1541 - use fchmod() and fchown() if available
1542 - keep the NIS "plus on a line by itself" entries at end of passwd/group
1543 - configure checks location of passwd/chfn/chsh programs (/usr/bin or /bin)
1544 - passwd -S -a: list information about all users (root only)
1545 - passwd -k: change only expired passwords
1546 - passwd -q: quiet mode
1547 - first attempt at PAM support in passwd
1548 - passwd updates the non-shadow password if /etc/shadow exists but the
1549   user has no shadow password
1550 - passwd logs who changed the password, added hook to allow non-root
1551   administrators who can change passwords (not implemented yet)
1552 - su sets $HOME even without the "-" option (suggested by Joey Hess)
1553 - added -p (set encrypted password) option to useradd and usermod
1554   (idea from hpux10 - undocumented option used internally by SAM)
1555 - useradd -D -e does the right thing (set default expiration date)
1556 - USERDEL_CMD in login.defs instead of hardcoded {ATRM,CRONTAB}_COMMAND
1557   because there are just too many systems that need different commands
1558 - removed #ifdef FAILLOG_LOCKTIME (now always enabled), warning: the
1559   faillog file format has been changed (somewhere between 960129 and
1560   960810), please truncate the old file (if any) to zero length
1561 - ISSUE_FILE (may be different from /etc/issue) instead of ISSUE_FILE_ENAB
1562 - wtmp, lastlog, faillog file location guessed by configure
1563 - separate checks for invalid user and group names, max username length
1564   based on struct utmp (it's not always 8 characters)
1565 - pwck and grpck now check for invalid user/group names
1566 - pwck -q (quiet, report only serious problems) option added
1567 - separate cleaner sgetpwent() without the NIS magic
1568 - NIS entries ignored (never changed) by *io.c, pwck, grpck
1569 - various code cleanups
1570 - new get_my_pwent() function for getting my own username, uid etc.
1571 - faillog opens the file read-write if possible (even if not root)
1572 - passwd -S allowed for normal users (for their own uid only)
1573 - handle the case of login denied to passwordless accounts better
1574   ("Login incorrect" without "Password:" prompt looks strange)
1575 - corrected author information and removed a copyright restriction
1576
1577 shadow-960925 => shadow-961025
1578
1579 - fixed a few typos in shadow group code
1580 - don't check for names starting with 'r' to determine if the shell
1581   is restricted, use /etc/shells instead (for the "rc" shell)
1582 - removed extra definition of LASTLOG_FILE in configure.in
1583 - expiry no longer segfaults if no /etc/shadow
1584 - userdel -r "can't remove mailbox" warning no longer printed on success
1585 - useradd exit codes changed to match hpux10 man page
1586 - fixed possible fd leak etc. in file locking code (lib/commonio.c)
1587
1588 shadow-960920 => shadow-960925
1589
1590 - bug fixes to the new environment code using malloc
1591 - use hardcoded names instead of basename(argv[0]) for openlog() in programs
1592   that users can run (chage, chfn, chsh, gpasswd, login, newgrp, passwd, su)
1593 - small fix to isexpired(), and use it in passwd as well
1594 - use strftime() and strptime() if available
1595 - added chmod 600 /etc/passwd- at the end of pwconv5 (backup file may
1596   contain encrypted passwords!)
1597 - pass size to change_field (chage, chfn, chsh) instead of assuming BUFSIZ
1598   (nothing bad happened yet, just a cleanup)
1599 - gpasswd should work with both shadow and non-shadow group passwords
1600 - detect unsupported options if no shadow (gpasswd, useradd, usermod)
1601 - passwd -e for sunos4 (ATT_AGE), untested
1602 - read environment from file (ENVIRON_FILE in login.defs), idea from ssh
1603 - small fix to l64a()
1604 - passwd prints a message after password successfully changed (for things
1605   like poppassd which run passwd and expect some output)
1606 - passwd logs if password was changed by root (as opposed to a luser)
1607 - passwd uses current uid if no username argument and getlogin() fails
1608
1609 shadow-960910 => shadow-960920
1610
1611 - use malloc for environment variables, no more MAXENV (Juergen Heinzl)
1612 - newusers should work with both shadow and non-shadow passwords
1613   (still left to do: chpasswd, gpasswd)
1614 - login-static no longer compiled by default
1615 - more SYSLOG() macros
1616
1617 shadow-960810 => shadow-960910
1618
1619 - updated README.linux to point to the new ftp site
1620 - chfn and chsh optionally (CHFN_AUTH) prompt for password like util-linux
1621 - man pages now closer to LDP standards (Ivan Nejgebauer)
1622 - newgrp uses SYSLOG_SG_ENAB (not SU) as in the /etc/login.defs comments
1623 - obscure.c fixed to compile with HAVE_LIBCRACK
1624 - cosmetic message changes in age.c
1625 - utmp open error check fixed in utmp.c
1626 - grpunconv added (Michael Meskes)
1627 - login reports invalid login time, not "Login incorrect" (Ivan Nejgebauer)
1628 - logoutd sets OPOST before writing to the tty (Ivan Nejgebauer)
1629 - sulogin: don't use syslog(), other minor changes (Ivan Nejgebauer)
1630 - passwords can be changed if sp_max == -1 (now considered infinity)
1631 - usermod: don't use sizeof(struct lastlog) when writing to faillog (ugh)
1632 - started replacing lots of #ifdef USE_SYSLOG with cleaner macros
1633 - contrib/rpasswd.c added (Joshua Cowan)
1634 - PASS_MAX is 127 with MD5_CRYPT (not just for Linux - sunos4 too...)
1635 - workarounds for a RedHat NYS libc getspnam() bug (if /etc/shadow
1636   doesn't exist, it succeeds and returns sp_lstchg==0 instead of -1).
1637
1638 shadow-960129 => shadow-960810
1639
1640 - automake, configure checks for libcrypt and libcrack (Janos Farkas)
1641 - added --enable-shadowgrp to configure (shadow groups disabled by default)
1642 - should compile on SunOS 4.1.x - but it does NOT mean that it works :-)
1643 - login sets HUSHLOGIN=TRUE or FALSE (for shell startup scripts etc.)
1644 - hopefully removed all the rcsid warnings
1645 - contrib/atudel perl script to remove at jobs (thanks to Brian Gaeke)
1646 - resource limits (Cristian Gafton)
1647 - workaround for buggy init/getty(?) leaving junk in ut_host on RedHat
1648 - more fixes in man pages
1649 - pwck and grpck no longer suggest to run mkpasswd if *DBM not compiled in
1650 - most programs (groupadd, groupdel, groupmod, grpck, login, passwd, pwck,
1651   su, useradd, userdel, usermod) should now work with both shadow and
1652   non-shadow passwords/groups (check for /etc/shadow and /etc/gshadow at
1653   run time); a few programs still left to do
1654 - mailbox mv/chown/rm in usermod/userdel (suggested by Cristian Gafton)
1655 - new contrib/adduser.c from Chris Evans
1656 - lots of other minor changes
1657 - source tree reorganization, GNU autoconf, portability cleanups
1658 - basename() renamed to Basename() to avoid name space confusion
1659 - new programs to create /etc/shadow and /etc/gshadow: pwconv5, grpconv
1660 - newgrp cleanup and a few fixes
1661 - useradd uses PASS_MAX_DAYS, PASS_MIN_DAYS and PASS_WARN_AGE
1662 - don't make the first group member the group admin by default
1663   (define FIRST_MEMBER_IS_ADMIN to get the old gpasswd behaviour)
1664 - password aging constants, NGROUPS_MAX and syslog stuff in only one
1665   place (defines.h) instead of repeating it in all source files...
1666 - added userdel -r safety check (refuse to remove the home directory
1667   if it would result in removing some other user's home directory)
1668 - usermod -u now correctly checks for non-unique uid (unless -o)
1669 - sync() after updating password files, just to be more safe
1670 - "make install" should install /etc/login.defs if it doesn't exist
1671 - new option to control what happens if we can't cd to the home directory
1672   (DEFAULT_HOME in /etc/login.defs)
1673 - enter the home directory as the user, not as root (for NFS etc.)
1674 - added check for Slackware bugs (nobody UID -1) in pwck and grpck
1675 - new CONSOLE_GROUPS feature (thanks to pacman@tardis.mars.net), it is
1676   possible to add specified groups (floppy etc.) for console logins
1677 - new faillog feature: lock account for specified (per-user) time since
1678   the last failure after exceeding the failure limit
1679 - new man pages (gpasswd.1, login.access.5, suauth.5)
1680 - fixes in man pages, renamed *.4 to *.5
1681 - new "contrib" directory (two adduser programs)
1682 - changed some "system" to "feature" #ifdefs (autoconf someday...)
1683 - sulogin no longer requires to be run from init, should work from rc
1684   scripts too
1685 - changes to prevent unshadowing with libc SHADOW_COMPAT (get info
1686   using xx_locate(), modify it and call xx_update(), don't write back
1687   anything returned by getpwnam() etc.)
1688 - stupid bug fixed in lastlog.c
1689 - don't move non-directories in "usermod -m"
1690 - don't log unknown usernames (passwords mistyped for usernames) (lmain.c)
1691 - macros to get around ancient compilers which don't like prototypes
1692 - make more use of "const" (not everywhere yet)
1693 - added #ifdef AUTH_METHODS - very few people use administrator defined
1694   authentication methods because many programs are not aware of them;
1695   not supporting them makes the code simpler
1696 - new "save" and "restore" Makefile targets, thanks to Rafal Maszkowski
1697 - sgetgrent() in libshadow.a is optional, some versions of libc have it,
1698   see HAVE_SGETGRENT in config.h (grent.c)
1699 - don't use continued lines in /etc/group, the standard getgr*() functions
1700   don't support that (grent.c)
1701 - removed the third main() argument (according to libc docs, not allowed by
1702   POSIX.1 - use environ instead) (lmain.c, smain.c, newgrp.c, sulogin.c)
1703 - login access control (lmain.c, login_access.c)
1704 - added copyright notice to login_access.c (from logdaemon-5.0)
1705 - detailed su access control (smain.c, suauth.c) - thanks to Chris Evans
1706 - added closelog() in su before executing the shell (smain.c)
1707 - getting current user name changed (smain.c)
1708 - "x" instead of "*" in pw_passwd, consistent with pwconv (useradd.c)
1709 - getpass() shouldn't return NULL except on errors (getpass.c)
1710 - moved isexpired() to isexpired.c (now part of libshadow.a) from age.c
1711 - SunOS4-like passwd -e (force change on next login) (isexpired.c, passwd.c)
1712 - can use shadow support in new versions of Linux libc instead of libshadow.a,
1713   see HAVE_SHADOWPWD, HAVE_SHADOWGRP in config.h.linux (shadow.c, gshadow.c)
1714 - "no shadow password" not logged, the same /bin/login should work with both
1715   shadow and non-shadow passwords (lmain.c)
1716 - some cleanup in various places (lmain.c, passwd.c)
1717 - new program to verify username/password pairs, for xlock etc.; it is not
1718   installed by default, read the comments first (pwdauth.c)
1719 - authentication programs run with empty environment for safety (pwauth.c)
1720 - added missing fstat error checks (faillog.c, lastlog.c, setup.c, *io.c)
1721 - common code separated from *io.c (commonio.c)
1722 - ownership and permissions on password files are now preserved (we may try
1723   to make more use of setgid and setuid non-root programs in the future)
1724 - added (untested) MD5-based crypt() from FreeBSD (md5crypt.c), see
1725   MD5_CRYPT in config.h.linux and MD5_CRYPT_ENAB in login.defs.linux
1726 - termios/termio/sgtty macros cleaned up a bit
1727
1728 shadow-951218 => shadow-960129
1729
1730 Emergency bug fix release - no new features since 951218.  There are many
1731 new changes, but this bug really can't wait until they are tested.
1732
1733 Probably all previous versions of the shadow suite have a serious bug which
1734 makes it possible to overwrite the stack by entering very long username at
1735 the login prompt.  This can give root access to any remote user!
1736
1737 Changed the maximum size in login.c from BUFSIZ (1024) to 32 (to match
1738 size of the array in lmain.c).  Aaargh!!!
1739
1740 shadow-951203 => shadow-951218
1741
1742 Changes:
1743 - Linux utmp handling fixes (utmp.c)
1744 - last failure date printing fixes (failure.c)
1745 - minor fix to compile with USE_CRACKLIB (obscure.c)
1746 - eliminated the use of snprintf (env.c, lmain.c, login.c, shell.c, smain.c)
1747 - basename.c added, replacing duplicated code in various places
1748 - "su -" runs the shell with '-' in argv[0] again (smain.c)
1749 - removing at/cron jobs cleaned up (userdel.c)
1750 - /etc/gshadow should not be world-readable (sgroupio.c)
1751 - if fflush() failed, files were not closed (*io.c)
1752 - login prompt is now "hostname login: " on Linux (lmain.c, login.c)
1753 - "save" and "restore" targets commented out (don't work) (Makefile.linux)
1754 - some minor cleanups for gcc -Wall (unused variables etc.)
1755 - removed README.FIRST (copyrights are OK now)
1756 - updated ANNOUNCE, README.linux, WISHLIST
1757 - as suggested, converted to RCS
1758
1759 shadow-3.3.2-951127 => shadow-951203-jfh
1760
1761 Changes:
1762 - Added the BSD-style copyright to all of the files.  Any files with the
1763   old copyright have multiple copyright holders and need to be cleanroomed
1764   to produce BSD-style copyrightable files, or I need to get the consent
1765   of the others to change the copyright.
1766 - Changed the ANNOUNCE file to not refer to the README.FIRST file.  Now
1767   that all of the files should have the correct copyright there is no need
1768   to refer to that e-mail message.
1769 - Changes SCCS strings to "%W% %U% %G%".  Marek needs to either convert to
1770   RCS or check into SCCS and then checkout.  I'd suggest using RCS ;-)
1771
1772   jfh@rpp386.cactus.org
1773
1774 shadow-3.3.2-951106 => shadow-951127
1775
1776 Note: for now this code only supports Linux.  All the #ifdef's are there
1777 (and will be; support for at least SunOS 4.1.x would be nice) but:
1778 - I had to fix some potential security problems resulting from sloppy
1779   coding (no bounds checking), and it was easier for me to use snprintf()
1780   (not available on many systems, unfortunately), I'll fix that later.
1781   Old versions of Linux libc don't have snprintf() either, and the one
1782   in libbsd.a ignores the max size - don't use it!  (libc-4.6.27 is OK)
1783 - I am lazy and only updated Makefile.linux and config.h.linux this time
1784 - I don't have root access to non-Linux systems (this means no testing)
1785 - this code needs some major reorganization, which will (hopefully)
1786   make porting easier
1787
1788 Changes:
1789 - some code cleanup, prototypes.h, defines.h, Makefile and config.h changes
1790 - login can be statically linked (not that I think it's a good idea, better
1791   fix the telnetd, but paranoid people will like it :-)
1792 - login is installed non-setuid by default
1793 - check for NULL from getpass()
1794 - wipe cleartext password from getpass() when no longer needed (pwauth.c)
1795 - use standard "Password: " prompt by default (pwauth.c)
1796 - hopefully fixed bogus sigaction() stuff (Linux only) (getpass.c)
1797 - oops, setrlimit wants bytes, ulimit wants 512-byte units (lmain.c)
1798 - Linux has <lastlog.h>
1799 - print ll_host on Linux too (lmain.c)
1800 - size checking in various places (setuid root programs, argh!)
1801 - preserve TERM from getty (lmain.c)
1802 - don't ignore SIGHUP (lmain.c)
1803 - :%s/setenv/set_env/g (setenv(3) conflict) (env.c, lmain.c, login.c)
1804 - remove LD_xxx (env.c)
1805 - use bzero() instead of memset() for BSD portability and less #ifdef's
1806   (if the system has no bzero(), implement it as a macro using memset())
1807 - the above fixes wrong order of memset() parameters (log.c)
1808 - use getutent/pututline instead of doing it by hand (utmp.c)
1809 - added the new settings to login.defs.linux
1810 - added login_access.c to the distribution (not used yet)
1811
1812 ==========
1813
1814 shadow-3.3.2 => shadow-3.3.2-951106
1815
1816 - added dummy pad.c and #ifdef'ed out references to pad_auth (pwauth.c)
1817 - malloc/strdup error checking, hopefully no more core dumps...
1818 - define HAVE_RLIMIT instead of HAVE_ULIMIT for Linux (config.h.linux)
1819 - changed pathnames on Linux to conform to new FSSTND (/var/log etc.)
1820 - larger buffer for cipher, for md5 crypt() if and when (encrypt.c, passwd.c)
1821 - use POSIX termios whenever possible on Linux
1822 - list.c, removed add_list/del_list from gpmain.c, user{add,del,mod}.c
1823 - strtoday.c, removed duplicates from chage.c, useradd.c, usermod.c
1824 - login -h only for root (lmain.c)
1825 - login -r not needed for Linux (lmain.c)
1826 - sample login.defs modified for Linux (login.defs.linux)
1827 - swapped chfn USAGE and ADMUSAGE (chfn.c)
1828 - added -u to passwd usage (passwd.c)
1829 - no #! check necessary for Linux (shell.c)
1830 - define OLD_CRON for some old incompatible Linux distributions (userdel.c)
1831 - PASS_MAX is now 127 (not 8) for Linux (getpass.c)
1832 - LOGIN_RETRIES, LOGIN_TIMEOUT, PASS_CHANGE_TRIES are no longer compiled in,
1833   can now be set in login.defs, old values are used as defaults (lmain.c)
1834 - unique uid/gid selection now more robust (useradd.c, groupadd.c)
1835 - UID_MIN, UID_MAX, GID_MIN, GID_MAX in login.defs (useradd.c, groupadd.c)
1836 - CRACKLIB_DICTPATH no longer compiled in, can be set in login.defs (passwd.c)
1837 - PASS_ALWAYS_WARN: warn about weak passwords even for root (passwd.c)
1838 - PASS_MAX_LEN, check truncated passwords again (obscure.c)
1839 - check for weak passwords too if previous password was empty (obscure.c)
1840 - CHFN_RESTRICT: don't let users change their full names (chfn.c)
1841 - Linux has getusershell(), use it (chsh.c)
1842 - check if the new shell is executable by the user (chsh.c)
1843 - sleep before printing "Login incorrect", not the other way around (lmain.c)
1844 - don't be picky about utmp only if any of -rfh flags given (lmain.c)
1845 - do "wheel group" more like BSD does (smain.c)
1846 - use getlogin() in su (smain.c)
1847 - UMASK from login.defs defaults to 077, not 0 (lmain.c, newusers.c)
1848 - #undef HAS_ATRM for Linux until atrm can do what we need (config.h.linux)
1849 - Linux has most commands in /usr/bin, not /bin (age.c, passwd.c, userdel.c)
1850 - ULIMIT from login.defs works on systems using setrlimit() too (lmain.c)
1851 - LOGIN_STRING should work now (pwauth.c, getdef.c)
1852 - kludge to avoid conflict with Linux <shadow.h> (gshadow.h)
1853 - mv Makefile Makefile.xenix ; mv config.h config.h.xenix - so that they are
1854   not lost when you copy the right ones to Makefile and config.h
1855
1856 ==========
1857
1858 shadow-3.3.2
1859
1860 Original version, received directly from the author.