support rights setting for homedir

This commit is contained in:
Roland Gruber 2008-03-09 11:58:46 +00:00
parent 1d1ca8ec12
commit c6c9947dc6
1 changed files with 2 additions and 1 deletions

View File

@ -122,6 +122,7 @@ if ($< == 0 ) { # we are root
if (-e '/usr/sbin/useradd.local') {
system '/usr/sbin/useradd.local', $user[0]; # run useradd-script
}
system 'chmod', $vals[3], $user[7]; # Edit chmod rights
}
else {
$return = "ERROR,Lamdaemon,Homedirectory already exists.:$return";