$text{'razor_doing'}\n"; $cmd = "$config{'razor_admin'} -create -register"; $cmd .= " -user ".quotemeta($in{'user'}) if (!$in{'user_def'}); $cmd .= " -pass ".quotemeta($in{'pass'}) if (!$in{'pass_def'}); $out = &backquote_command( "(cd ".quotemeta($remote_user_info[7])." && $cmd) 2>&1 $out\n"; if (!$? && !-r "$remote_user_info[7]/.razor/identity") { # Also need to run razor-report once $cmd = $config{'razor_admin'}; $cmd =~ s/-admin$/-report/g; $cmd .= "&1"; $out = &backquote_command( "(cd ".quotemeta($remote_user_info[7])." && $cmd) 2>&1 $out\n"; } if ($? || !-r "$remote_user_info[7]/.razor/identity") { print "$text{'razor_failed'}
\n"; } else { print "$text{'razor_done'}
\n"; } &ui_print_footer("", $text{'index_return'});