fixed rights of home directory
This commit is contained in:
parent
40550aa1c4
commit
6c841b8f11
|
@ -135,6 +135,7 @@ if ($< == 0 ) { # we are root
|
||||||
system '/usr/sbin/useradd.local', $user[0]; # run useradd-script
|
system '/usr/sbin/useradd.local', $user[0]; # run useradd-script
|
||||||
system 'chmod', '-R', $vals[3], $user[7]; # Edit chmod rights
|
system 'chmod', '-R', $vals[3], $user[7]; # Edit chmod rights
|
||||||
}
|
}
|
||||||
|
system 'chmod', $vals[3], $user[7]; # Edit chmod rights
|
||||||
$return = "INFO,Lamdaemon ($hostname),Home directory created (" . $user[7] . ").";
|
$return = "INFO,Lamdaemon ($hostname),Home directory created (" . $user[7] . ").";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue