summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKarel Zak2013-02-13 13:49:05 +0100
committerKarel Zak2013-02-13 13:49:05 +0100
commit456857a49ab02d6f4b5be4884ec050f6b572f62b (patch)
tree5ab56fa3a3f0e7cca91707b25966be68d861cd95 /tools
parentchsh-chfn: fix bugs, improve compilation (diff)
downloadkernel-qcow2-util-linux-456857a49ab02d6f4b5be4884ec050f6b572f62b.tar.gz
kernel-qcow2-util-linux-456857a49ab02d6f4b5be4884ec050f6b572f62b.tar.xz
kernel-qcow2-util-linux-456857a49ab02d6f4b5be4884ec050f6b572f62b.zip
build-sys: add config-gen.d stuff for chsh-chfn
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tools')
-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 000000000..9bb6bfe49
--- /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 000000000..fba4264d1
--- /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 000000000..f859f5897
--- /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