[master 1/1] Add enough of shadow-utils to create new user accounts.
dashea
installerbot-noreply at redhat.com
Thu Aug 20 18:18:17 UTC 2015
From: David Shea <dshea at redhat.com>
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 74cf9a8..b7464fa 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
--
To view this commit on github, visit https://github.com/rhinstaller/lorax/commit/cfb314128f5e42c7dcf00155de6a5bbddc478412
More information about the anaconda-patches
mailing list