DO NOT USE THE PACKAGES IN THIS SECTION, THEY HAVE SECURITY PROBLEMS
The original Shadow Suite was written by
John F. Haugh II.
There are several versions that have been used on Linux systems:
shadow-3.3.1is the original.
shadow-3.3.1-2is Linux specific patch made by Florian La Roche <email@example.com> and contains some further enhancements.
shadow-mkwas specifically packaged for Linux.
shadow-mk package contains the
John F. Haugh II with the
installed, a few fixes made by
Mohan Kokal <firstname.lastname@example.org>
that make installation a lot easier, a patch by
Joseph R.M. Zbiciak
login1.c (login.secure) that eliminates the -f, -h security
holes in /bin/login, and some other miscellaneous patches.
shadow.mk package was the previously recommended
package, but should be replaced due to a security problem with the
There are security problems with Shadow versions 3.3.1, 3.3.1-2,
and shadow-mk involving the
login program. This
involves not checking the length of a login name. This causes the buffer to
overflow causing crashes or worse. It has been rumored that this buffer
overflow can allow someone with an account on the system to use this bug and
the shared libraries to gain root access. I won't discuss exactly
how this is possible because there are a lot of Linux systems that are
affected, but systems with these Shadow Suites installed, and
most pre-ELF distributions without the Shadow Suite
For more information on this and other Linux security issues, see the Linux Security home page (Shared Libraries and login Program Vulnerability)
The only recommended Shadow Suite is still in BETA testing, however
the latest versions are safe in a production environment and don't contain a
The package uses the following naming convention:
YYMMDDis the issue date of the Suite.
This version will eventually be Version 3.3.3 when it is released from Beta testing, and is maintained by Marek Michalkiewicz <email@example.com>. It's available as: shadow-current.tar.gz.
The following mirror sites have also been established:
You should use the currently available version.
You should NOT use a version older than
they also have the
login security problem discussed above.
When this document refers to the Shadow Suite I am referring to the this package. It is assumed that this is the package that you are using.
For reference, I used
shadow-960129 to make these installation
If you were previously using
shadow-mk, you should upgrade to this
version and rebuild everything that you originally compiled.
The Shadow Suite contains replacement programs for:
su, login, passwd, newgrp, chfn, chsh, and id
The package also contains the new programs:
chage, newusers, dpasswd, gpasswd, useradd, userdel, usermod, groupadd,
groupdel, groupmod, groups, pwck, grpck, lastlog, pwconv, and pwunconv
Additionally, the library:
libshadow.a is included for writing and/or
compiling programs that need to access user passwords.
Also, manual pages for the programs are also included.
There is also a configuration file for the login program which will be