rpms/shadow-utils/FC-6 shadow-4.0.17-login.defs, 1.1, 1.2 shadow-4.0.17-redhat.patch, 1.1, 1.2 shadow-utils.spec, 1.88, 1.89 sources, 1.15, 1.16

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Dec 6 16:34:40 UTC 2006


Author: pvrabec

Update of /cvs/dist/rpms/shadow-utils/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv24769

Modified Files:
	shadow-4.0.17-login.defs shadow-4.0.17-redhat.patch 
	shadow-utils.spec sources 
Log Message:
 use MD5 encryption by default (#218629).



Index: shadow-4.0.17-login.defs
===================================================================
RCS file: /cvs/dist/rpms/shadow-utils/FC-6/shadow-4.0.17-login.defs,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- shadow-4.0.17-login.defs	5 Aug 2006 15:23:00 -0000	1.1
+++ shadow-4.0.17-login.defs	6 Dec 2006 16:34:37 -0000	1.2
@@ -52,3 +52,7 @@
 # This enables userdel to remove user groups if no members exist.
 #
 USERGROUPS_ENAB yes
+
+# Use MD5 or DES to encrypt password? Red Hat use MD5 by default.
+MD5_CRYPT_ENAB yes
+

shadow-4.0.17-redhat.patch:
 man/chpasswd.8 |    4 +-
 man/groupadd.8 |    7 ++-
 man/newusers.8 |    2 +
 man/useradd.8  |   18 ++++++++-
 src/groupadd.c |   19 ++++++++--
 src/useradd.c  |  103 ++++++++++++++++++++++++++++++++++++++-------------------
 6 files changed, 111 insertions(+), 42 deletions(-)

Index: shadow-4.0.17-redhat.patch
===================================================================
RCS file: /cvs/dist/rpms/shadow-utils/FC-6/shadow-4.0.17-redhat.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- shadow-4.0.17-redhat.patch	17 Jul 2006 11:40:26 -0000	1.1
+++ shadow-4.0.17-redhat.patch	6 Dec 2006 16:34:37 -0000	1.2
@@ -1,5 +1,5 @@
 --- shadow-4.0.17/man/groupadd.8.redhat	2006-06-24 08:11:26.000000000 +0200
-+++ shadow-4.0.17/man/groupadd.8	2006-07-17 11:39:34.000000000 +0200
++++ shadow-4.0.17/man/groupadd.8	2006-12-06 17:19:23.000000000 +0100
 @@ -14,7 +14,7 @@
  groupadd \- create a new group
  .SH "SYNOPSIS"
@@ -25,7 +25,7 @@
  \fB\-h\fR, \fB\-\-help\fR
  Display help message and exit.
 --- shadow-4.0.17/man/useradd.8.redhat	2006-06-24 08:12:17.000000000 +0200
-+++ shadow-4.0.17/man/useradd.8	2006-07-17 11:39:34.000000000 +0200
++++ shadow-4.0.17/man/useradd.8	2006-12-06 17:19:23.000000000 +0100
 @@ -25,7 +25,7 @@
  \fB\-D\fR
  option, the
@@ -93,8 +93,39 @@
  \fI/etc/default/useradd\fR
  Default values for account creation.
  .TP 3n
+--- shadow-4.0.17/man/newusers.8.redhat	2006-07-30 22:54:08.000000000 +0200
++++ shadow-4.0.17/man/newusers.8	2006-12-06 16:31:50.000000000 +0100
+@@ -35,6 +35,8 @@
+ This field will be checked for existence as a directory and a new directory with the same name will be created if it does not already exist. The ownership of the directory will be set to be that of the user being created or updated.
+ .PP
+ This command is intended to be used in a large system environment where many accounts are updated at a single time.
++.PP
++Default encryption algorithm is DES, but this setting can be changed in \fI/etc/login.defs\fR. Red Hat uses MD5 to encrypt passwords by default.
+ .SH "CAVEATS"
+ .PP
+ The input file must be protected since it contains unencrypted passwords.
+--- shadow-4.0.17/man/chpasswd.8.redhat	2006-06-20 16:47:47.000000000 +0200
++++ shadow-4.0.17/man/chpasswd.8	2006-12-06 16:31:50.000000000 +0100
+@@ -24,7 +24,7 @@
+ 
+ \fIuser_name\fR:\fIpassword\fR
+ .PP
+-By default the supplied password must be in clear\-text. Default encryption algorithm is DES. Also the password age will be updated, if present.
++By default the supplied password must be in clear\-text. Default encryption algorithm is DES, but this setting can be changed in \fI/etc/login.defs\fR. Red Hat uses MD5 to encrypt passwords by default. Also the password age will be updated, if present.
+ .PP
+ This command is intended to be used in a large system environment where many accounts are created at a single time.
+ .SH "OPTIONS"
+@@ -40,7 +40,7 @@
+ Display help message and exit.
+ .TP 3n
+ \fB\-m\fR, \fB\-\-md5\fR
+-Use MD5 encryption instead DES when the supplied passwords are not encrypted.
++Use MD5 encryption instead of DES when the supplied passwords are not encrypted.
+ .SH "CAVEATS"
+ .PP
+ Remember to set permissions or umask to prevent readability of unencrypted files by other users.
 --- shadow-4.0.17/src/useradd.c.redhat	2006-06-22 13:30:32.000000000 +0200
-+++ shadow-4.0.17/src/useradd.c	2006-07-17 11:39:34.000000000 +0200
++++ shadow-4.0.17/src/useradd.c	2006-12-06 17:19:23.000000000 +0100
 @@ -81,7 +81,7 @@
  static gid_t def_group = 100;
  static const char *def_gname = "other";
@@ -299,7 +330,7 @@
  	create_mail ();
  
 --- shadow-4.0.17/src/groupadd.c.redhat	2006-06-24 07:52:00.000000000 +0200
-+++ shadow-4.0.17/src/groupadd.c	2006-07-17 11:46:54.000000000 +0200
++++ shadow-4.0.17/src/groupadd.c	2006-12-06 17:19:23.000000000 +0100
 @@ -74,6 +74,7 @@
  static int oflg = 0;		/* permit non-unique group ID to be specified with -g */
  static int gflg = 0;		/* ID value for the new group */


Index: shadow-utils.spec
===================================================================
RCS file: /cvs/dist/rpms/shadow-utils/FC-6/shadow-utils.spec,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- shadow-utils.spec	14 Nov 2006 10:15:30 -0000	1.88
+++ shadow-utils.spec	6 Dec 2006 16:34:37 -0000	1.89
@@ -5,7 +5,7 @@
 Summary: Utilities for managing accounts and shadow password files.
 Name: shadow-utils
 Version: 4.0.17
-Release: 10%{?dist}
+Release: 11%{?dist}
 Epoch: 2
 URL: http://shadow.pld.org.pl/
 Source0: ftp://ftp.pld.org.pl/software/shadow/shadow-%{version}.tar.bz2
@@ -219,6 +219,9 @@
 %{_mandir}/*/man8/faillog.8*
 
 %changelog
+* Wed Dec 06 2006 Peter Vrabec <pvrabec at redhat.com> 2:4.0.17-11
+- use MD5 encryption by default (#218629).
+
 * Tue Nov 14 2006 Peter Vrabec <pvrabec at redhat.com> 2:4.0.17-10
 - fix chpasswd and chgpasswd stack overflow (#213052)
 


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/shadow-utils/FC-6/sources,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- sources	5 Aug 2006 15:19:40 -0000	1.15
+++ sources	6 Dec 2006 16:34:37 -0000	1.16
@@ -1,3 +1,3 @@
 7ebc6a5cd0207246a6b2c9ebf9b30391  shadow-4.0.16-nscd.c
 bc5972a195290533b4c0576276056ed9  shadow-4.0.17.tar.bz2
-7edc1f4d9c1f734b7cb3fd40570e04db  shadow-4.0.17-login.defs
+e91727c55dbafc9915250e31535f13bb  shadow-4.0.17-login.defs




More information about the fedora-cvs-commits mailing list