|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /proc/self/root/usr/libexec/webmin/sshd/ |
Upload File : |
#!/usr/bin/perl
# edit_sync.cgi
# Display options for the automatic setting up of SSH for new users
require './sshd-lib.pl';
&ui_print_header(undef, $text{'sync_title'}, "");
print "<form action=save_sync.cgi>\n";
print "$text{'sync_desc'}<p>\n";
$sp = " " x 5;
print &ui_checkbox("create", 1, $text{'sync_create'}, $config{'sync_create'}),
"<br>\n";
print $sp,&ui_checkbox("auth", 1, $text{'sync_auth'}, $config{'sync_auth'}),
"<br>\n";
print $sp,&ui_checkbox("pass", 1, $text{'sync_pass'}, $config{'sync_pass'}),
"<br>\n";
print $sp,$text{'sync_type'}," ",
&ui_select("type", $config{'sync_type'},
[ [ "", $text{'sync_auto'} ],
[ "rsa" ], [ "dsa" ], [ "rsa1" ] ]),"<br>\n";
print "<input type=submit value='$text{'save'}'></form>\n";
&ui_print_footer("", $text{'index_return'});