aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux/runuser.pamd
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2015-09-29 17:43:19 +0800
committerChen Qi <Qi.Chen@windriver.com>2015-09-29 17:57:08 +0800
commitf435d139003ffcac05e8079fad8fe42c1a473f9c (patch)
treec0f5954f9c989791329d4797901a1f072a3bff4a /meta/recipes-core/util-linux/util-linux/runuser.pamd
parent4a1dec5c61f73e7cfa430271ed395094bb262f6b (diff)
downloadopenembedded-core-contrib-ChenQi/runuser-pam.tar.gz
util-linux: add runuser PAM config files to fix runuser errorChenQi/runuser-pam
The runuser command fails with below error message, add proper PAM config files to fix the problem. The config files are borrowed from CentOS 7.0 release. runuser: Failure setting user credentials Signed-off-by: Shan Hai <shan.hai@windriver.com> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux/runuser.pamd')
-rw-r--r--meta/recipes-core/util-linux/util-linux/runuser.pamd4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux/runuser.pamd b/meta/recipes-core/util-linux/util-linux/runuser.pamd
new file mode 100644
index 0000000000..48d133b9e7
--- /dev/null
+++ b/meta/recipes-core/util-linux/util-linux/runuser.pamd
@@ -0,0 +1,4 @@
+auth sufficient pam_rootok.so
+session optional pam_keyinit.so revoke
+session required pam_limits.so
+session required pam_unix.so