⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edit_sync.cgi

📁 Unix下基于Web的管理工具
💻 CGI
字号:
#!/usr/local/bin/perl# edit_sync.cgi# Allow the user to edit auto updating of Samba accounts by useradminrequire './samba-lib.pl';&header("User Synchronisation", "");print "<hr>\n";print "Webmin can be configured so that changes to the Unix user\n";print "list will automatically be applied to the Samba user list.\n";print "This will only work when the <tt>Users, Groups and Passwords</tt>\n";print "Webmin module is used to add, delete or change users. <p>\n";print "<form action=save_sync.cgi>\n";printf "<input type=checkbox name=add value=1 %s>\n",	$config{'sync_add'} ? "checked" : "";print "Add a Samba user when a Unix user is added<p>\n";printf "<input type=checkbox name=change value=1 %s>\n",	$config{'sync_change'} ? "checked" : "";print "Change the Samba user when a Unix user is changed<p>\n";printf "<input type=checkbox name=delete value=1 %s>\n",	$config{'sync_delete'} ? "checked" : "";print "Delete the Samba user when a Unix user is deleted<p>\n";print "<input type=submit value=Apply></form>\n";print "<hr>\n";&footer("", "share list");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -