summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/sudo/files
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2011-07-20 11:17:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-27 11:54:50 +0100
commit1f7e088f2d570d33c2344e32a05193b37a75ea76 (patch)
treea7c5d61f3ddbe0ad698a98ddfd05859a63ddee5f /meta/recipes-extended/sudo/files
parent7c08305f8008ab322d19d0a0852a851fd44ae510 (diff)
downloadopenembedded-core-1f7e088f2d570d33c2344e32a05193b37a75ea76.tar.gz
openembedded-core-1f7e088f2d570d33c2344e32a05193b37a75ea76.tar.bz2
openembedded-core-1f7e088f2d570d33c2344e32a05193b37a75ea76.zip
sudo: add pam support
According to DISTRO_FEATURES to add pam support for sudo, and import configure file from Fedora. Signed-off-by: Kang Kai <kai.kang@windriver.com>
Diffstat (limited to 'meta/recipes-extended/sudo/files')
-rw-r--r--meta/recipes-extended/sudo/files/sudo.pam6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-extended/sudo/files/sudo.pam b/meta/recipes-extended/sudo/files/sudo.pam
new file mode 100644
index 0000000000..5bc26e7025
--- /dev/null
+++ b/meta/recipes-extended/sudo/files/sudo.pam
@@ -0,0 +1,6 @@
+#%PAM-1.0
+auth include common-auth
+account include common-account
+password include common-password
+session required pam_keyinit.so revoke
+session required pam_limits.so