From 88869fff66ce9150180d4e0c8dd81c8ca56c4a01 Mon Sep 17 00:00:00 2001 From: David Shea Date: Thu, 20 Aug 2015 14:17:08 -0400 Subject: [PATCH] Add enough of shadow-utils to create new user accounts. Yes user accounts, some account management --- share/runtime-cleanup.tmpl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index 74cf9a8b..b7464fa8 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -37,8 +37,13 @@ append etc/selinux/config "" removefrom fedora-release --allbut /etc/os-release /usr/lib/os-release \ /usr/lib/os.release.d/* removepkg fedora-release-rawhide -## no user accounts = no account management -removepkg usermode usermode-gtk passwd shadow-utils + +## keep enough of shadow-utils to create accounts +removefrom shadow-utils --allbut /usr/bin/chage /usr/sbin/chpasswd \ + /usr/sbin/groupadd /usr/sbin/useradd + +## remove other account management tools +removepkg usermode usermode-gtk passwd ## no services to turn on/off (keep the /etc/init.d link though) removefrom chkconfig --allbut /etc/init.d ## Miscellanous unnecessary gpg program