[Ovirt-devel] [PATCH node-image] Add passwd/userlib back in and fix pam to not need cracklib

Perry Myers pmyers at redhat.com
Sun Nov 9 02:51:12 UTC 2008

This will allow the passwd utility to work during node runtime

Signed-off-by: Perry Myers <pmyers at redhat.com>
 common-blacklist.ks |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/common-blacklist.ks b/common-blacklist.ks
index 2fa2d82..4c98ac9 100644
--- a/common-blacklist.ks
+++ b/common-blacklist.ks
@@ -1,4 +1,9 @@
+# -*-Shell-script-*-
+echo "Fixing pam to remove dependency on cracklib"
+sed -i -e '/pam_cracklib/d' -e 's/use_authtok//' /etc/pam.d/system-auth
 echo "Removing excess RPMs"
 RPM="rpm -v -e --nodeps"
@@ -14,7 +19,7 @@ $RPM -e kpartx mkinitrd isomd5sum dmraid python python-libs
 $RPM -e checkpolicy
 # Remove additional RPMs forcefully
-$RPM gamin pm-utils kbd libuser passwd usermode \
+$RPM gamin pm-utils kbd usermode \
     vbetool ConsoleKit hdparm \
     efibootmgr krb5-workstation linux-atm-libs fedora-release-notes \
     slang psmisc gdbm cryptsetup-luks pciutils mtools syslinux db4 \

More information about the ovirt-devel mailing list