support rights setting for homedir
This commit is contained in:
parent
1d1ca8ec12
commit
c6c9947dc6
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue