shadow/redhat
2007-10-07 11:44:32 +00:00
..
Makefile.am [svn-upgrade] Integrating new upstream version, shadow (19990709) 2007-10-07 11:44:02 +00:00
Makefile.in [svn-upgrade] Integrating new upstream version, shadow (20000826) 2007-10-07 11:44:14 +00:00
README [svn-upgrade] Integrating new upstream version, shadow (19990709) 2007-10-07 11:44:02 +00:00
shadow-970616-fix.patch [svn-upgrade] Integrating new upstream version, shadow (19990709) 2007-10-07 11:44:02 +00:00
shadow-970616-glibc.patch [svn-upgrade] Integrating new upstream version, shadow (19990709) 2007-10-07 11:44:02 +00:00
shadow-970616-rh.patch [svn-upgrade] Integrating new upstream version, shadow (19990709) 2007-10-07 11:44:02 +00:00
shadow-970616-utuser.patch [svn-upgrade] Integrating new upstream version, shadow (19990709) 2007-10-07 11:44:02 +00:00
shadow-970616.login.defs [svn-upgrade] Integrating new upstream version, shadow (19990709) 2007-10-07 11:44:02 +00:00
shadow-970616.useradd [svn-upgrade] Integrating new upstream version, shadow (19990709) 2007-10-07 11:44:02 +00:00
shadow-utils-970616.spec [svn-upgrade] Integrating new upstream version, shadow (19990709) 2007-10-07 11:44:02 +00:00
shadow-utils.spec.in [svn-upgrade] Integrating new upstream version, shadow (20000902) 2007-10-07 11:44:32 +00:00

Included here are the patches from the shadow-utils-970616-11.src.rpm
(RedHat 5.0 updates).  I'd like to make it possible to build binary
packages for all Linux distributions "out of the box" from the same
upstream sources.  This needs more work for RedHat 5.0, and I only have
RedHat 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, so that everything can be build with
one simple command (rpm -ta shadow-xxxxxx.tar.gz).
									
One suggestion for the shadow-utils-970616-11 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
called "adduser" that implements the distribution-specific UID/GID
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, which is to 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 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 the requirements of Red Hat, or any other Linux distribution.
It runs programs from the shadow suite to do the actual password file
modifications, is reasonably user friendly, and configurable.

Comments?

--marekm