summaryrefslogtreecommitdiff
path: root/strata/foundation
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-11 18:03:20 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-11 18:03:20 +0000
commit1319309d3ff4eb85cb0e7e6cb178cb56ff116524 (patch)
tree30b39b6ac88978cca4f773ea48c1a3dc41f5e185 /strata/foundation
parent39de88a671ad3ab0109be82aa6f3ff976fde934e (diff)
parent543f65bbe27cd5f9579776193725a802fc26a47e (diff)
downloaddefinitions-1319309d3ff4eb85cb0e7e6cb178cb56ff116524.tar.gz
Merge branch 'baserock/franred/fix-pam-sudo-error'
Reviewed-by: Javier Jardón <javier.jardon@codethink.co.uk> Reviewed-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk>
Diffstat (limited to 'strata/foundation')
-rw-r--r--strata/foundation/linux-pam.morph13
1 files changed, 13 insertions, 0 deletions
diff --git a/strata/foundation/linux-pam.morph b/strata/foundation/linux-pam.morph
new file mode 100644
index 00000000..27d0a8a3
--- /dev/null
+++ b/strata/foundation/linux-pam.morph
@@ -0,0 +1,13 @@
+name: linux-pam
+kind: chunk
+build-system: autotools
+post-install-commands:
+# sudo command is expecting this file.
+- |
+ install -D -m 0644 /proc/self/fd/0 <<'EOF' "$DESTDIR"/etc/pam.d/other
+ #%PAM-1.0
+ auth required pam_unix.so
+ account required pam_unix.so
+ password required pam_unix.so
+ session required pam_unix.so
+ EOF