summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2013-02-13 13:49:05 +0100
committerKarel Zak <kzak@redhat.com>2013-02-13 13:49:05 +0100
commit456857a49ab02d6f4b5be4884ec050f6b572f62b (patch)
tree5ab56fa3a3f0e7cca91707b25966be68d861cd95
parentd86918b6eb854de38a6e02b81466fcc0419cef98 (diff)
downloadutil-linux-456857a49ab02d6f4b5be4884ec050f6b572f62b.tar.gz
build-sys: add config-gen.d stuff for chsh-chfn
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--tools/config-gen.d/chfnsh-libuser.conf5
-rw-r--r--tools/config-gen.d/chfnsh-no-password.conf6
-rw-r--r--tools/config-gen.d/chfnsh-pam.conf6
3 files changed, 17 insertions, 0 deletions
diff --git a/tools/config-gen.d/chfnsh-libuser.conf b/tools/config-gen.d/chfnsh-libuser.conf
new file mode 100644
index 00000000..9bb6bfe4
--- /dev/null
+++ b/tools/config-gen.d/chfnsh-libuser.conf
@@ -0,0 +1,5 @@
+include:audit.conf
+include:selinux.conf
+
+--enable-chfn-chsh
+--with-user
diff --git a/tools/config-gen.d/chfnsh-no-password.conf b/tools/config-gen.d/chfnsh-no-password.conf
new file mode 100644
index 00000000..fba4264d
--- /dev/null
+++ b/tools/config-gen.d/chfnsh-no-password.conf
@@ -0,0 +1,6 @@
+include:audit.conf
+include:selinux.conf
+
+--enable-chfn-chsh
+--disable-chfn-chsh-password
+--without-user
diff --git a/tools/config-gen.d/chfnsh-pam.conf b/tools/config-gen.d/chfnsh-pam.conf
new file mode 100644
index 00000000..f859f589
--- /dev/null
+++ b/tools/config-gen.d/chfnsh-pam.conf
@@ -0,0 +1,6 @@
+include:audit.conf
+include:selinux.conf
+
+--enable-chfn-chsh
+--enable-chfn-chsh-password
+--without-user