X7ROOT File Manager
Current Path:
/usr/libexec/webmin/cluster-passwd
usr
/
libexec
/
webmin
/
cluster-passwd
/
📁
..
📄
CHANGELOG
(128 B)
📄
acl_security.pl
(3.62 KB)
📄
change-passwd.pl
(1.84 KB)
📄
cluster-passwd-lib.pl
(4.09 KB)
📄
config
(39 B)
📄
config.info
(160 B)
📄
config.info.ca
(190 B)
📄
config.info.cs
(206 B)
📄
config.info.de
(163 B)
📄
config.info.el
(311 B)
📄
config.info.es
(208 B)
📄
config.info.fr
(220 B)
📄
config.info.hr
(0 B)
📄
config.info.hu
(0 B)
📄
config.info.ms
(187 B)
📄
config.info.nl
(181 B)
📄
config.info.no
(174 B)
📄
config.info.pl
(214 B)
📄
defaultacl
(64 B)
📄
edit_passwd.cgi
(1.44 KB)
📁
images
📄
index.cgi
(1.5 KB)
📁
lang
📄
log_parser.pl
(447 B)
📄
module.info
(205 B)
📄
module.info.af
(0 B)
📄
module.info.af.auto
(118 B)
📄
module.info.ar
(0 B)
📄
module.info.ar.auto
(170 B)
📄
module.info.be
(0 B)
📄
module.info.be.auto
(178 B)
📄
module.info.bg
(0 B)
📄
module.info.bg.auto
(193 B)
📄
module.info.ca
(127 B)
📄
module.info.cs
(31 B)
📄
module.info.cs.auto
(77 B)
📄
module.info.da
(0 B)
📄
module.info.da.auto
(116 B)
📄
module.info.de
(102 B)
📄
module.info.el
(0 B)
📄
module.info.el.auto
(230 B)
📄
module.info.es
(41 B)
📄
module.info.es.auto
(90 B)
📄
module.info.eu
(0 B)
📄
module.info.eu.auto
(123 B)
📄
module.info.fa
(0 B)
📄
module.info.fa.auto
(193 B)
📄
module.info.fi
(0 B)
📄
module.info.fi.auto
(109 B)
📄
module.info.fr
(50 B)
📄
module.info.fr.auto
(95 B)
📄
module.info.he
(0 B)
📄
module.info.he.auto
(142 B)
📄
module.info.hr
(0 B)
📄
module.info.hr.auto
(113 B)
📄
module.info.hu
(40 B)
📄
module.info.hu.auto
(75 B)
📄
module.info.it
(0 B)
📄
module.info.it.auto
(135 B)
📄
module.info.ja
(0 B)
📄
module.info.ja.auto
(151 B)
📄
module.info.ko
(0 B)
📄
module.info.ko.auto
(146 B)
📄
module.info.lt
(0 B)
📄
module.info.lt.auto
(132 B)
📄
module.info.lv
(0 B)
📄
module.info.lv.auto
(107 B)
📄
module.info.ms
(118 B)
📄
module.info.mt
(0 B)
📄
module.info.mt.auto
(117 B)
📄
module.info.nl
(38 B)
📄
module.info.nl.auto
(91 B)
📄
module.info.no
(31 B)
📄
module.info.no.auto
(74 B)
📄
module.info.pl
(112 B)
📄
module.info.pt
(0 B)
📄
module.info.pt.auto
(124 B)
📄
module.info.pt_BR
(0 B)
📄
module.info.pt_BR.auto
(130 B)
📄
module.info.ro
(0 B)
📄
module.info.ro.auto
(122 B)
📄
module.info.ru
(0 B)
📄
module.info.ru.auto
(171 B)
📄
module.info.sk
(0 B)
📄
module.info.sk.auto
(111 B)
📄
module.info.sl
(0 B)
📄
module.info.sl.auto
(104 B)
📄
module.info.sv
(0 B)
📄
module.info.sv.auto
(114 B)
📄
module.info.th
(0 B)
📄
module.info.th.auto
(257 B)
📄
module.info.tr
(0 B)
📄
module.info.tr.auto
(130 B)
📄
module.info.uk
(0 B)
📄
module.info.uk.auto
(183 B)
📄
module.info.ur
(0 B)
📄
module.info.ur.auto
(171 B)
📄
module.info.vi
(0 B)
📄
module.info.vi.auto
(140 B)
📄
module.info.zh
(0 B)
📄
module.info.zh.auto
(94 B)
📄
module.info.zh_TW
(0 B)
📄
module.info.zh_TW.auto
(100 B)
📄
prefs.info
(38 B)
📄
save_passwd.cgi
(1.65 KB)
Editing: acl_security.pl
require 'cluster-passwd-lib.pl'; # acl_security_form(&options) # Output HTML for editing security options for the passwd module sub acl_security_form { print "<tr> <td valign=top><b>$passwd::text{'acl_users'}</b></td> <td colspan=3>\n"; printf "<input type=radio name=mode value=0 %s> %s\n", $_[0]->{'mode'} == 0 ? 'checked' : '', $passwd::text{'acl_mode0'}; printf "<input type=radio name=mode value=3 %s> %s<br>\n", $_[0]->{'mode'} == 3 ? 'checked' : '', $passwd::text{'acl_mode3'}; printf "<input type=radio name=mode value=1 %s> %s\n", $_[0]->{'mode'} == 1 ? 'checked' : '', $passwd::text{'acl_mode1'}; printf "<input name=users1 size=40 value='%s'> %s<br>\n", $_[0]->{'mode'} == 1 ? $_[0]->{'users'} : '', &user_chooser_button("users1", 1); printf "<input type=radio name=mode value=2 %s> %s\n", $_[0]->{'mode'} == 2 ? 'checked' : '', $passwd::text{'acl_mode2'}; printf "<input name=users2 size=40 value='%s'> %s<br>\n", $_[0]->{'mode'} == 2 ? $_[0]->{'users'} : '', &user_chooser_button("users2", 1); printf "<input type=radio name=mode value=4 %s> %s\n", $_[0]->{'mode'} == 4 ? 'checked' : '', $passwd::text{'acl_mode4'}; printf "<input name=low size=8 value='%s'> -\n", $_[0]->{'mode'} == 4 ? $_[0]->{'low'} : ''; printf "<input name=high size=8 value='%s'><br>\n", $_[0]->{'mode'} == 4 ? $_[0]->{'high'} : ''; printf "<input type=radio name=mode value=5 %s> %s\n", $_[0]->{'mode'} == 5 ? 'checked' : '', $passwd::text{'acl_mode5'}; printf "<input name=groups size=20 value='%s'> %s<br>\n", $_[0]->{'mode'} == 5 ? $_[0]->{'users'} : '', &group_chooser_button("groups", 1); printf "%s <input type=checkbox name=sec value=1 %s> %s<br>\n", " " x 5, $_[0]->{'sec'} ? 'checked' : '',$passwd::text{'acl_sec'}; printf "<input type=radio name=mode value=6 %s> %s\n", $_[0]->{'mode'} == 6 ? 'checked' : '', $passwd::text{'acl_mode6'}; printf "<input name=match size=15 value='%s'></td> </tr>\n", $_[0]->{'mode'} == 6 ? $_[0]->{'users'} : ''; print "<tr> <td><b>$passwd::text{'acl_repeat'}</b></td> <td colspan=3>\n"; printf "<input type=radio name=repeat value=1 %s> $passwd::text{'yes'}\n", $_[0]->{'repeat'} ? "checked" : ""; printf "<input type=radio name=repeat value=0 %s> $passwd::text{'no'}</td> </tr>\n", $_[0]->{'repeat'} ? "" : "checked"; print "<td><b>$passwd::text{'acl_others'}</b></td> <td colspan=3>\n"; printf "<input type=radio name=others value=1 %s> $passwd::text{'yes'}\n", $_[0]->{'others'} == 1 ? "checked" : ""; printf "<input type=radio name=others value=2 %s> $passwd::text{'acl_opt'}\n", $_[0]->{'others'} == 2 ? "checked" : ""; printf "<input type=radio name=others value=0 %s> $passwd::text{'no'}</td> </tr>\n", $_[0]->{'others'} == 0 ? "checked" : ""; print "<tr> <td><b>$passwd::text{'acl_old'}</b></td> <td colspan=3>\n"; printf "<input type=radio name=old value=1 %s> $passwd::text{'yes'}\n", $_[0]->{'old'} == 1 ? "checked" : ""; printf "<input type=radio name=old value=2 %s> $passwd::text{'acl_old_this'}\n", $_[0]->{'old'} == 2 ? "checked" : ""; printf "<input type=radio name=old value=0 %s> $passwd::text{'no'}</td> </tr>\n", $_[0]->{'old'} == 0 ? "checked" : ""; } # acl_security_save(&options) # Parse the form for security options for the bind8 module sub acl_security_save { $_[0]->{'mode'} = $in{'mode'}; $_[0]->{'users'} = $in{'mode'} == 1 ? $in{'users1'} : $in{'mode'} == 2 ? $in{'users2'} : $in{'mode'} == 5 ? $in{'groups'} : $in{'mode'} == 6 ? $in{'match'} : undef; $_[0]->{'low'} = $in{'low'}; $_[0]->{'high'} = $in{'high'}; $_[0]->{'repeat'} = $in{'repeat'}; $_[0]->{'old'} = $in{'old'}; $_[0]->{'others'} = $in{'others'}; $_[0]->{'expire'} = $in{'expire'}; $_[0]->{'sec'} = $in{'sec'}; }
Upload File
Create Folder