From 1da86f28b28dba616450e95090df5d49b72b7b1e Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 27 Apr 2006 14:43:52 +0000 Subject: [PATCH] apply Tim's patch --- lam/lib/lamdaemon.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/lamdaemon.pl b/lam/lib/lamdaemon.pl index ac9c222b..089ce2df 100755 --- a/lam/lib/lamdaemon.pl +++ b/lam/lib/lamdaemon.pl @@ -117,7 +117,7 @@ if ($< == 0 ) { # we are root } if (! -e $user[7]) { system 'mkdir', '-m', '0755', $user[7]; # Create homedir itself - system ("(cd /etc/skel && tar cf - .) | (cd $user[7] && tar xf -)"); # Copy /etc/sekl into homedir + system ("(cd /etc/skel && tar cf - .) | (cd $user[7] && tar xmf -)"); # Copy /etc/sekl into homedir system 'chown', '-hR', "$user[2]:$user[3]" , $user[7]; # Change owner to new user if (-e '/usr/sbin/useradd.local') { system '/usr/sbin/useradd.local', $user[0]; # run useradd-script