%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,mail,shell_exec,system,proc_open,popen,ini_alter,dl,proc_close,curl_exec,curl_multi_exec,readfile,parse_ini_file,escapeshellarg,escapeshellcmd,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,mail,php_uname,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/cluster-useradmin/ |
Upload File : |
#!/usr/bin/perl # sync_form.cgi # Display a form for creating some or all missing users and groups on # some or all servers require './cluster-useradmin-lib.pl'; &ui_print_header(undef, $text{'sync_title'}, ""); print "$text{'sync_desc'}<p>\n"; print &ui_form_start("sync.cgi", "post"); print &ui_table_start($text{'sync_hosts'}, undef, 2); # Hosts to sync print &ui_table_row($text{'sync_hosts'}, &create_on_input(1, 1)); # Users to sync print &ui_table_row($text{'sync_users'}, &ui_radio_table("users_mode", 0, [ [ 1, $text{'sync_uall'} ], [ 0, $text{'sync_unone'} ], [ 2, $text{'sync_usel'}, &ui_users_textbox("usel") ], [ 3, $text{'sync_unot'}, &ui_users_textbox("unot") ], [ 4, $text{'sync_uuid'}, &ui_textbox("uuid1", "", 6)." - ". &ui_textbox("uuid2", "", 6) ], [ 5, $text{'sync_ugid'}, &ui_group_textbox("ugid") ], ])); # Groups to sync print &ui_table_row($text{'sync_groups'}, &ui_radio_table("groups_mode", 0, [ [ 1, $text{'sync_gall'} ], [ 0, $text{'sync_gnone'} ], [ 2, $text{'sync_gsel'}, &ui_groups_textbox("gsel") ], [ 3, $text{'sync_gnot'}, &ui_groups_textbox("gnot") ], [ 4, $text{'sync_ggid'}, &ui_textbox("ggid1", "", 6)." - ". &ui_textbox("ggid2", "", 6) ], ])); # Test mode? print &ui_table_row($text{'sync_test'}, &ui_yesno_radio("test", 0)); # Create home dir? print &ui_table_row($text{'sync_makehome'}, &ui_yesno_radio("makehome", 1)); # Copy home dir files? print &ui_table_row($text{'sync_copy'}, &ui_yesno_radio("copy_files", 1)); # Create in other modules? print &ui_table_row($text{'sync_others'}, &ui_yesno_radio("others", 1)); print &ui_table_end(); print &ui_form_end([ [ undef, $text{'sync_ok'} ] ]); &ui_print_footer("", $text{'index_return'});