aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-17 00:30:19 +0000
committerMichael Scherer <misc@mageia.org>2012-03-17 00:30:19 +0000
commit6e741965325ba3a09275d9e67577945582d7341f (patch)
tree0720a691033f6adec175c78cce32c70de87484a2 /modules/buildsystem/templates
parentea2d95bac02a0db58b0a4c8278521831582bc06f (diff)
downloadpuppet-6e741965325ba3a09275d9e67577945582d7341f.tar
puppet-6e741965325ba3a09275d9e67577945582d7341f.tar.gz
puppet-6e741965325ba3a09275d9e67577945582d7341f.tar.bz2
puppet-6e741965325ba3a09275d9e67577945582d7341f.tar.xz
puppet-6e741965325ba3a09275d9e67577945582d7341f.zip
iremove old script mgacreatehome, deprecated since we use pam directly since 1 year
Diffstat (limited to 'modules/buildsystem/templates')
-rwxr-xr-xmodules/buildsystem/templates/mgacreatehome27
1 files changed, 0 insertions, 27 deletions
diff --git a/modules/buildsystem/templates/mgacreatehome b/modules/buildsystem/templates/mgacreatehome
deleted file mode 100755
index 3c0fc140..00000000
--- a/modules/buildsystem/templates/mgacreatehome
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-# script to create home directory with ssh key
-# takes two arguments :
-# - login
-# - URL for ssh key
-
-test $# -eq 2 || exit 1
-login="$1"
-sshkeyurl="$2"
-sshkeyfile=`mktemp`
-homeroot='/home'
-
-id "$login" || exit 2
-wget -O "$sshkeyfile" "$sshkeyurl" || exit 2
-cat "$sshkeyfile"
-echo "Press enter to validate"
-read z
-
-test ! -d "$homeroot/$login" && cp -a /etc/skel "$homeroot/$login"
-mkdir "$homeroot/$login/.ssh"
-cat "$sshkeyfile" >> "$homeroot/$login/.ssh/authorized_keys"
-rm -f "$sshkeyfile"
-chmod 700 "$homeroot/$login/.ssh"
-chmod 600 "$homeroot/$login/.ssh/authorized_keys"
-chown -R "$login":mga-users "$homeroot/$login"
-