aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux/runuser-l.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-l.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-l.pamd')
-rw-r--r--meta/recipes-core/util-linux/util-linux/runuser-l.pamd3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux/runuser-l.pamd b/meta/recipes-core/util-linux/util-linux/runuser-l.pamd
new file mode 100644
index 0000000000..4b368ccf5d
--- /dev/null
+++ b/meta/recipes-core/util-linux/util-linux/runuser-l.pamd
@@ -0,0 +1,3 @@
+auth include runuser
+session optional pam_keyinit.so force revoke
+session include runuser