Included here are some of the patches from the shadow-utils-970616-9
source rpm (RedHat 5.0).  This needs more work, and I only have 4.2
(hint hint).  If you have any suggestions regarding this package,
please contact me.  Perhaps the necessary changes can be included
in the standard sources - shadow-utils.spec is there for a reason :-)
(hint: rpm -ta shadow-xxxx.tar.gz).  Or perhaps I can give some
suggestions...
									
One suggestion for the shadow-utils-970616-9 patch: instead of
adding new (sometimes quite distribution-specific) options to
useradd (and symlinking adduser -> useradd), I'd suggest to use
a program or script that implements the distribution-specific
UID allocation etc. and runs useradd to do all the dirty work
(modifying password files etc.).  Also, please don't change the
default behaviour of useradd - create the home directory only if
the -m option is specified).  I'd like to keep useradd simple,
and compatible with other implementations (the user* and group*
commands are quite similar to the commands with the same names
found on many commercial UN*X systems).

I'd suggest to take a look at the adduser-3.x package from the
Debian distribution.  It's a perl script, which shouldn't be too
hard to modify to suit RedHat's requirements.  It runs programs
from the shadow suite to do the password file modifications, is
reasonably user friendly, and configurable.

Comments?

--marekm
