summaryrefslogtreecommitdiff
path: root/oddjob-mkhomedir-0.0.1
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-09-29 22:26:56 -0400
committerB Stack <bgstack15@gmail.com>2019-09-29 22:26:56 -0400
commit8a1335cb4cff407e55f21888584ad77a52efc825 (patch)
tree2f242997bed5175cadbd555faa9a52dc0c70557a /oddjob-mkhomedir-0.0.1
parentMerge branch 'openssl-ffs-bump' into 'master' (diff)
downloadstackrpms-8a1335cb4cff407e55f21888584ad77a52efc825.tar.gz
stackrpms-8a1335cb4cff407e55f21888584ad77a52efc825.tar.bz2
stackrpms-8a1335cb4cff407e55f21888584ad77a52efc825.zip
add stub dpkg for oddjob-mkhomedir
Diffstat (limited to 'oddjob-mkhomedir-0.0.1')
-rw-r--r--oddjob-mkhomedir-0.0.1/README-oddjob-mkhomedir.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/oddjob-mkhomedir-0.0.1/README-oddjob-mkhomedir.md b/oddjob-mkhomedir-0.0.1/README-oddjob-mkhomedir.md
new file mode 100644
index 0000000..c454a3d
--- /dev/null
+++ b/oddjob-mkhomedir-0.0.1/README-oddjob-mkhomedir.md
@@ -0,0 +1,7 @@
+# Introduction
+This oddjob-mkhomedir-0.0.1 directory is a dummy, which is designed to be installed on a Devuan system so you can install freeipa-client.
+This is the "source" contents that will be used to build a dpkg from the oddjob-mkhomedir/ directory in this same source tree.
+
+To actually make home directories upon user first login:
+
+ tf=/etc/pam.d/common-session ; ! grep -q 'mkhomedir' "${tf}" && { thisline="$(( $( grep -nE 'session\s+optional' "${tf}" | head -n1 | awk -F':' '{print $1}' ) - 0 ))" ; awk -v thisline="$thisline" 'NR == (thisline) {print "session optional pam_mkhomedir.so"; } {print;}' "${tf}" > "${tf}.2" ; test -f "${tf}.2" && mv "${tf}.2" "${tf}" ; }
bgstack15