Fix user and non-user facing typos
This commit is contained in:
parent
033189dc42
commit
3e6142f098
@ -6,7 +6,7 @@
|
|||||||
* Add support to `yescrypt` password hashing scheme
|
* Add support to `yescrypt` password hashing scheme
|
||||||
* Add new _System Logs Viewer_ (logviewer) module
|
* Add new _System Logs Viewer_ (logviewer) module
|
||||||
* Add new `webmin server` sub-command
|
* Add new `webmin server` sub-command
|
||||||
* Add to set enviromental variables in Filesystem Backup module
|
* Add to set environmental variables in Filesystem Backup module
|
||||||
* Fix upload tracker issues with large uploads
|
* Fix upload tracker issues with large uploads
|
||||||
* Fix NVMe drives status support
|
* Fix NVMe drives status support
|
||||||
* Fix AlmaLinux support
|
* Fix AlmaLinux support
|
||||||
|
@ -30,7 +30,7 @@ Webmin can be installed in two different ways:
|
|||||||
<kbd>Note: It is highly recommended to [add repository](https://doxfer.webmin.com/Webmin/Installation) to your system for having automatic updates.</kbd>
|
<kbd>Note: It is highly recommended to [add repository](https://doxfer.webmin.com/Webmin/Installation) to your system for having automatic updates.</kbd>
|
||||||
|
|
||||||
2. By downloading, extracting [source file](https://prdownloads.sourceforge.net/webadmin/webmin-1.995.tar.gz), and running [_setup.sh_](http://www.webmin.com/tgz.html) script, with no arguments, which will setup to run it directly from this directory, or with a command-line argument, such as targeted directory.
|
2. By downloading, extracting [source file](https://prdownloads.sourceforge.net/webadmin/webmin-1.995.tar.gz), and running [_setup.sh_](http://www.webmin.com/tgz.html) script, with no arguments, which will setup to run it directly from this directory, or with a command-line argument, such as targeted directory.
|
||||||
<kbd>Note: If you are installing Webmin [on Windows](http://www.webmin.com/windows.html) system, you must run the command `perl setup.pl` instead. The Windows version depends on several programs, and modules that may not be part of the standard distribution. You will need _process.exe_ commmand, _sc.exe_ command, and _Win32::Daemon_ Perl module.</kbd>
|
<kbd>Note: If you are installing Webmin [on Windows](http://www.webmin.com/windows.html) system, you must run the command `perl setup.pl` instead. The Windows version depends on several programs, and modules that may not be part of the standard distribution. You will need _process.exe_ command, _sc.exe_ command, and _Win32::Daemon_ Perl module.</kbd>
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
Complete set of documentation for Webmin and all of its modules can be found at out [Wiki page](https://doxfer.webmin.com/Webmin/Main_Page).
|
Complete set of documentation for Webmin and all of its modules can be found at out [Wiki page](https://doxfer.webmin.com/Webmin/Main_Page).
|
||||||
|
@ -145,7 +145,7 @@ $self->{'name'} = $name;
|
|||||||
}
|
}
|
||||||
|
|
||||||
=head2 get_name()
|
=head2 get_name()
|
||||||
Returns the name for indentifying this table in HTML
|
Returns the name for identifying this table in HTML
|
||||||
=cut
|
=cut
|
||||||
sub get_name
|
sub get_name
|
||||||
{
|
{
|
||||||
|
@ -402,7 +402,7 @@ $self->{'name'} = $name;
|
|||||||
}
|
}
|
||||||
|
|
||||||
=head2 get_name()
|
=head2 get_name()
|
||||||
Returns the name for indentifying this table in HTML
|
Returns the name for identifying this table in HTML
|
||||||
=cut
|
=cut
|
||||||
sub get_name
|
sub get_name
|
||||||
{
|
{
|
||||||
@ -628,7 +628,7 @@ else {
|
|||||||
|
|
||||||
=head2 make_url(sortcol, sortdir, paging, page, [no-searchargs], [no-pagearg])
|
=head2 make_url(sortcol, sortdir, paging, page, [no-searchargs], [no-pagearg])
|
||||||
Returns a link to this table's page, with the defaults for the various state
|
Returns a link to this table's page, with the defaults for the various state
|
||||||
fields overriden by the parameters (where defined)
|
fields overridden by the parameters (where defined)
|
||||||
=cut
|
=cut
|
||||||
sub make_url
|
sub make_url
|
||||||
{
|
{
|
||||||
|
@ -1293,7 +1293,7 @@ class QWebWSGIServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer):
|
|||||||
""" QWebWSGIServer
|
""" QWebWSGIServer
|
||||||
qweb_wsgi_autorun(wsgiapp,ip='127.0.0.1',port=8080,threaded=1)
|
qweb_wsgi_autorun(wsgiapp,ip='127.0.0.1',port=8080,threaded=1)
|
||||||
A WSGI HTTP server threaded or not and a function to automatically run your
|
A WSGI HTTP server threaded or not and a function to automatically run your
|
||||||
app according to the environement (either standalone, CGI or FastCGI).
|
app according to the environment (either standalone, CGI or FastCGI).
|
||||||
|
|
||||||
This feature is called QWeb autorun. If you want to To use it on your
|
This feature is called QWeb autorun. If you want to To use it on your
|
||||||
application use the following lines at the end of the main application
|
application use the following lines at the end of the main application
|
||||||
@ -1303,7 +1303,7 @@ class QWebWSGIServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer):
|
|||||||
qweb.qweb_wsgi_autorun(your_wsgi_app)
|
qweb.qweb_wsgi_autorun(your_wsgi_app)
|
||||||
|
|
||||||
this function will select the approriate running mode according to the
|
this function will select the approriate running mode according to the
|
||||||
calling environement (http-server, FastCGI or CGI).
|
calling environment (http-server, FastCGI or CGI).
|
||||||
"""
|
"""
|
||||||
def __init__(self, wsgiapp, ip, port, threaded=1, log=1):
|
def __init__(self, wsgiapp, ip, port, threaded=1, log=1):
|
||||||
BaseHTTPServer.HTTPServer.__init__(self, (ip, port), QWebWSGIHandler)
|
BaseHTTPServer.HTTPServer.__init__(self, (ip, port), QWebWSGIHandler)
|
||||||
|
@ -1298,7 +1298,7 @@ elsif ($type eq "DMARC") {
|
|||||||
[ 's', $text{'value_dmarcfos'} ] ]));
|
[ 's', $text{'value_dmarcfos'} ] ]));
|
||||||
}
|
}
|
||||||
elsif ($type eq "NSEC3PARAM") {
|
elsif ($type eq "NSEC3PARAM") {
|
||||||
# NSEC records have a hash type, flags, number of interations, salt
|
# NSEC records have a hash type, flags, number of iterations, salt
|
||||||
# length and salt
|
# length and salt
|
||||||
print &ui_table_row($text{'value_NSEC3PARAM1'},
|
print &ui_table_row($text{'value_NSEC3PARAM1'},
|
||||||
&ui_select("value0", $v[0] || 1,
|
&ui_select("value0", $v[0] || 1,
|
||||||
@ -1689,7 +1689,7 @@ return $chroot.$_[0];
|
|||||||
}
|
}
|
||||||
|
|
||||||
# has_ndc(exclude-mode)
|
# has_ndc(exclude-mode)
|
||||||
# Returns 2 if rndc is installed, 1 if ndc is instaled, or 0
|
# Returns 2 if rndc is installed, 1 if ndc is installed, or 0
|
||||||
# Mode 2 = try ndc only, 1 = try rndc only, 0 = both
|
# Mode 2 = try ndc only, 1 = try rndc only, 0 = both
|
||||||
sub has_ndc
|
sub has_ndc
|
||||||
{
|
{
|
||||||
@ -3715,7 +3715,7 @@ return wantarray ? @rv : $rv[0];
|
|||||||
}
|
}
|
||||||
|
|
||||||
# compute_dnssec_key_size(algorithm, def-mode, size)
|
# compute_dnssec_key_size(algorithm, def-mode, size)
|
||||||
# Given an algorith and size mode (0=entered, 1=average, 2=big), returns either
|
# Given an algorithm and size mode (0=entered, 1=average, 2=big), returns either
|
||||||
# 0 and an error message or 1 and the corrected size
|
# 0 and an error message or 1 and the corrected size
|
||||||
sub compute_dnssec_key_size
|
sub compute_dnssec_key_size
|
||||||
{
|
{
|
||||||
@ -4055,7 +4055,7 @@ sub dt_resign_zone
|
|||||||
}
|
}
|
||||||
|
|
||||||
# dt_zskroll_zone(zone-name)
|
# dt_zskroll_zone(zone-name)
|
||||||
# Initates a zsk rollover operation for the zone
|
# Initiates a zsk rollover operation for the zone
|
||||||
sub dt_zskroll_zone
|
sub dt_zskroll_zone
|
||||||
{
|
{
|
||||||
my ($d) = @_;
|
my ($d) = @_;
|
||||||
@ -4068,7 +4068,7 @@ sub dt_zskroll_zone
|
|||||||
}
|
}
|
||||||
|
|
||||||
# dt_kskroll_zone(zone-name)
|
# dt_kskroll_zone(zone-name)
|
||||||
# Initates a ksk rollover operation for the zone
|
# Initiates a ksk rollover operation for the zone
|
||||||
sub dt_kskroll_zone
|
sub dt_kskroll_zone
|
||||||
{
|
{
|
||||||
my ($d) = @_;
|
my ($d) = @_;
|
||||||
|
@ -518,7 +518,7 @@ if ($in{'new'}) {
|
|||||||
my $rname = &make_reverse_name($in{'value0'}, $in{'type'},
|
my $rname = &make_reverse_name($in{'value0'}, $in{'type'},
|
||||||
$revconf);
|
$revconf);
|
||||||
if ($revrec && $in{'rev'} == 2) {
|
if ($revrec && $in{'rev'} == 2) {
|
||||||
# Upate the existing reverse for the domain
|
# Update the existing reverse for the domain
|
||||||
&lock_file(&make_chroot($revrec->{'file'}));
|
&lock_file(&make_chroot($revrec->{'file'}));
|
||||||
&modify_record($revrec->{'file'}, $revrec,
|
&modify_record($revrec->{'file'}, $revrec,
|
||||||
$rname, $revrec->{'ttl'}, "IN", "PTR",
|
$rname, $revrec->{'ttl'}, "IN", "PTR",
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
# (c) https://github.com/gnadelwartz, 2020
|
# (c) https://github.com/gnadelwartz, 2020
|
||||||
#
|
#
|
||||||
# DISPLAY mising strings from one langfile:
|
# DISPLAY missing strings from one langfile:
|
||||||
#
|
#
|
||||||
# ./compare_lang.sh module/lang/xx
|
# ./compare_lang.sh module/lang/xx
|
||||||
#
|
#
|
||||||
@ -36,7 +36,7 @@ while read message
|
|||||||
do
|
do
|
||||||
# skip empty lines
|
# skip empty lines
|
||||||
[ "$message" == "" ] && continue
|
[ "$message" == "" ] && continue
|
||||||
# skip comments, __noref and log_* messsages
|
# skip comments, __noref and log_* messages
|
||||||
if [[ "$message" == "#"* ]] || [[ "$message" == "__norefs"* ]] || [[ "$message" == "log_"* ]]; then
|
if [[ "$message" == "#"* ]] || [[ "$message" == "__norefs"* ]] || [[ "$message" == "log_"* ]]; then
|
||||||
echo "skip $message" 1>&2
|
echo "skip $message" 1>&2
|
||||||
continue
|
continue
|
||||||
|
@ -12,7 +12,7 @@ DHCPD ACL subsystem</h1></center>
|
|||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
TARGETS:</h3>
|
TARGETS:</h3>
|
||||||
The main goals of acl subsystem is providing a powerfull,
|
The main goals of acl subsystem is providing a powerful,
|
||||||
flexible and extendable mechanism for access control of different objects
|
flexible and extendable mechanism for access control of different objects
|
||||||
in dhcpd configuration. This objects are shared networks, subnets, groups
|
in dhcpd configuration. This objects are shared networks, subnets, groups
|
||||||
of hosts and hosts.
|
of hosts and hosts.
|
||||||
@ -40,7 +40,7 @@ a whole object set of given type.
|
|||||||
<br>Global write
|
<br>Global write
|
||||||
<br> Per-object permissions give you a more flexible
|
<br> Per-object permissions give you a more flexible
|
||||||
way of access control. Per-object permissions acl exists for every object
|
way of access control. Per-object permissions acl exists for every object
|
||||||
individual object. Today only hosts and subnets per-object acls are impemented.
|
individual object. Today only hosts and subnets per-object acls are implemented.
|
||||||
<br>Per-object read
|
<br>Per-object read
|
||||||
<br>Per-object write
|
<br>Per-object write
|
||||||
<br> Acl subsystem can operate in 4 different security
|
<br> Acl subsystem can operate in 4 different security
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<header>DHCPd ACL subsystem</header>
|
<header>DHCPd ACL subsystem</header>
|
||||||
|
|
||||||
<h3>TARGETS:</h3>
|
<h3>TARGETS:</h3>
|
||||||
The main goal of the ACL subsystem is providing a powerfull, flexible and
|
The main goal of the ACL subsystem is providing a powerful, flexible and
|
||||||
extendable access control mechanism for different objects in the DHCPd
|
extendable access control mechanism for different objects in the DHCPd
|
||||||
configuration. These objects are shared networks, subnets, groups of hosts
|
configuration. These objects are shared networks, subnets, groups of hosts
|
||||||
and hosts. <p>
|
and hosts. <p>
|
||||||
@ -31,7 +31,7 @@ type:
|
|||||||
|
|
||||||
Per-object permissions give you a more flexible way of access control.
|
Per-object permissions give you a more flexible way of access control.
|
||||||
Per-object permissions ACL exist for every individual object. Today
|
Per-object permissions ACL exist for every individual object. Today
|
||||||
per-object ACLs are impemented only for hosts and subnets:
|
per-object ACLs are implemented only for hosts and subnets:
|
||||||
<ul type=circle>
|
<ul type=circle>
|
||||||
<li>Per-object read</li>
|
<li>Per-object read</li>
|
||||||
<li>Per-object write</li>
|
<li>Per-object write</li>
|
||||||
|
@ -5,7 +5,7 @@ This is the directory being exported to the clients listed in the
|
|||||||
<br>
|
<br>
|
||||||
Instead of mounting a number of distinct exports, an NFSv4 client sees the NFSv4 server's exports as existing inside a single filesystem, called the NFSv4 pseudofilesystem.<br>
|
Instead of mounting a number of distinct exports, an NFSv4 client sees the NFSv4 server's exports as existing inside a single filesystem, called the NFSv4 pseudofilesystem.<br>
|
||||||
So for NFSv4, this directory is firsly mounted (with <tt>mount --bind</tt>) in the NFSv4 Pseudofilesystem, the pseudofilesystem is exported (if it wasn't), then the directory.<br>
|
So for NFSv4, this directory is firsly mounted (with <tt>mount --bind</tt>) in the NFSv4 Pseudofilesystem, the pseudofilesystem is exported (if it wasn't), then the directory.<br>
|
||||||
It is preferable to export this directory without hidding it, so the client will be able to move in it without mounting it.<br>
|
It is preferable to export this directory without hiding it, so the client will be able to move in it without mounting it.<br>
|
||||||
<br>
|
<br>
|
||||||
Unlike other NFS servers, Linux supports the re-exporting of a directory that has been NFS mounted from
|
Unlike other NFS servers, Linux supports the re-exporting of a directory that has been NFS mounted from
|
||||||
another host, and the exporting of a directory that contains mount points for other filesystems.
|
another host, and the exporting of a directory that contains mount points for other filesystems.
|
||||||
|
@ -5,7 +5,7 @@ This is the directory being exported to the clients listed in the
|
|||||||
<br>
|
<br>
|
||||||
Instead of mounting a number of distinct exports, an NFSv4 client sees the NFSv4 server's exports as existing inside a single filesystem, called the NFSv4 pseudofilesystem.<br>
|
Instead of mounting a number of distinct exports, an NFSv4 client sees the NFSv4 server's exports as existing inside a single filesystem, called the NFSv4 pseudofilesystem.<br>
|
||||||
So for NFSv4, this directory is firsly mounted (with <tt>mount --bind</tt>) in the NFSv4 Pseudofilesystem, the pseudofilesystem is exported (if it wasn't), then the directory.<br>
|
So for NFSv4, this directory is firsly mounted (with <tt>mount --bind</tt>) in the NFSv4 Pseudofilesystem, the pseudofilesystem is exported (if it wasn't), then the directory.<br>
|
||||||
It is preferable to export this directory without hidding it, so the client will be able to move in it without mounting it.<br>
|
It is preferable to export this directory without hiding it, so the client will be able to move in it without mounting it.<br>
|
||||||
<br>
|
<br>
|
||||||
Unlike other NFS servers, Linux supports the re-exporting of a directory that has been NFS mounted from
|
Unlike other NFS servers, Linux supports the re-exporting of a directory that has been NFS mounted from
|
||||||
another host, and the exporting of a directory that contains mount points for other filesystems.
|
another host, and the exporting of a directory that contains mount points for other filesystems.
|
||||||
|
@ -670,7 +670,7 @@ public class FileManager extends Applet
|
|||||||
new PreviewWindow(this, f);
|
new PreviewWindow(this, f);
|
||||||
}
|
}
|
||||||
else if (b == refresh_b) {
|
else if (b == refresh_b) {
|
||||||
// Refesh the selected directory (and thus any subdirs)
|
// Refresh the selected directory (and thus any subdirs)
|
||||||
if (d == null) return;
|
if (d == null) return;
|
||||||
d.refresh();
|
d.refresh();
|
||||||
show_files(d.file);
|
show_files(d.file);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Hierarchy
|
// Hierarchy
|
||||||
// An AWT component for displaying a tree-like heirachy, with each node
|
// An AWT component for displaying a tree-like hierarchy, with each node
|
||||||
// having an icon and a name. This heirachy can be expanded or contracted
|
// having an icon and a name. This hierarchy can be expanded or contracted
|
||||||
// by the user.
|
// by the user.
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
|
@ -9,7 +9,7 @@ after_cmd=Command to run after changing rules,3,None
|
|||||||
before_apply_cmd=Command to run before applying configuration,3,None
|
before_apply_cmd=Command to run before applying configuration,3,None
|
||||||
after_apply_cmd=Command to run after applying configuration,3,None
|
after_apply_cmd=Command to run after applying configuration,3,None
|
||||||
force_init=Always start firewall from init script on Debian,1,1-Yes,0-No
|
force_init=Always start firewall from init script on Debian,1,1-Yes,0-No
|
||||||
filter_chain=Comma sepeated list of regexes to filter out chains not managed by firewall,0
|
filter_chain=Comma seperated list of regexes to filter out chains not managed by firewall,0
|
||||||
iface=Network interface to activate firewall on,3,Automatic
|
iface=Network interface to activate firewall on,3,Automatic
|
||||||
line2=IPv4 configuration,11
|
line2=IPv4 configuration,11
|
||||||
save_file=File to save/edit <tt>IPv4</tt> rules,3,Use operating system or Webmin default
|
save_file=File to save/edit <tt>IPv4</tt> rules,3,Use operating system or Webmin default
|
||||||
|
@ -454,7 +454,7 @@ if ($config{'after_cmd'}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# run_before_apply_command()
|
# run_before_apply_command()
|
||||||
# Runs the before-applying command, if any. If it failes, returns the error
|
# Runs the before-applying command, if any. If it fails, returns the error
|
||||||
# message output
|
# message output
|
||||||
sub run_before_apply_command
|
sub run_before_apply_command
|
||||||
{
|
{
|
||||||
|
@ -213,7 +213,7 @@ else {
|
|||||||
if ($config{'filter_chain'}) {
|
if ($config{'filter_chain'}) {
|
||||||
foreach $filter (split(',', $config{'filter_chain'})) {
|
foreach $filter (split(',', $config{'filter_chain'})) {
|
||||||
if($c =~ /^$filter$/) {
|
if($c =~ /^$filter$/) {
|
||||||
# not managed by firewall, do not dispaly or modify
|
# not managed by firewall, do not display or modify
|
||||||
print "<em>".$text{'index_filter_chain'}."</em><br>\n";
|
print "<em>".$text{'index_filter_chain'}."</em><br>\n";
|
||||||
next CHAIN;
|
next CHAIN;
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ if (&get_product_name() eq 'webmin' && # For Webmin
|
|||||||
'icon' => '/images/mail-small.gif' });
|
'icon' => '/images/mail-small.gif' });
|
||||||
}
|
}
|
||||||
|
|
||||||
# Show refesh modules link, for master admin
|
# Show refresh modules link, for master admin
|
||||||
if (&foreign_available("webmin")) {
|
if (&foreign_available("webmin")) {
|
||||||
push(@leftmenu, { 'type' => 'item',
|
push(@leftmenu, { 'type' => 'item',
|
||||||
'desc' => $text{'main_refreshmods'},
|
'desc' => $text{'main_refreshmods'},
|
||||||
|
@ -199,7 +199,7 @@ if ($action eq 'create' || $action eq 'delete' || $action eq 'modify') {
|
|||||||
$ref = 1;
|
$ref = 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
# Only refesh if showing unread count
|
# Only refresh if showing unread count
|
||||||
if (defined(&mailbox::should_show_unread) &&
|
if (defined(&mailbox::should_show_unread) &&
|
||||||
&mailbox::should_show_unread($folder)) {
|
&mailbox::should_show_unread($folder)) {
|
||||||
$ref = 1;
|
$ref = 1;
|
||||||
|
@ -12,7 +12,7 @@ for each connection and their recommended settings are listed below :
|
|||||||
<dd>A short name for this connection with no spaces.
|
<dd>A short name for this connection with no spaces.
|
||||||
<dt><b>At IPsec startup</b>
|
<dt><b>At IPsec startup</b>
|
||||||
<dd>If <b>Add connection</b> is chosen, this connection will only be established
|
<dd>If <b>Add connection</b> is chosen, this connection will only be established
|
||||||
when explicity started. If <b>Start connection</b> is chosen then it will
|
when explicitly started. If <b>Start connection</b> is chosen then it will
|
||||||
be launched as soon as the IPsec server is started. The former option is
|
be launched as soon as the IPsec server is started. The former option is
|
||||||
best for tunnels to remote systems that are only periodically active, while
|
best for tunnels to remote systems that are only periodically active, while
|
||||||
the latter is suitable for permanent VPN links.
|
the latter is suitable for permanent VPN links.
|
||||||
@ -22,7 +22,7 @@ for each connection and their recommended settings are listed below :
|
|||||||
<dd>Should also be left set to <b>Default</b>.
|
<dd>Should also be left set to <b>Default</b>.
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
Addtional information must be supplied for the systems on either end of the
|
Additional information must be supplied for the systems on either end of the
|
||||||
connection. This must be the same on both systems, although generally the
|
connection. This must be the same on both systems, although generally the
|
||||||
<b>Local</b> and <b>Remote</b> details are swapped so that the settings for
|
<b>Local</b> and <b>Remote</b> details are swapped so that the settings for
|
||||||
this host are always in the <b>Local or left system's settings</b> section.
|
this host are always in the <b>Local or left system's settings</b> section.
|
||||||
|
@ -16,11 +16,11 @@
|
|||||||
# Available Functions #
|
# Available Functions #
|
||||||
# *jroll_over #
|
# *jroll_over #
|
||||||
# -This gives you simple mouse over functions on graphics #
|
# -This gives you simple mouse over functions on graphics #
|
||||||
# and includea a link. #
|
# and include a link. #
|
||||||
# -Usage = &jroll_over("url", "name", "border", "imgoff", "imgon"); #
|
# -Usage = &jroll_over("url", "name", "border", "imgoff", "imgon"); #
|
||||||
# *jimg_preload #
|
# *jimg_preload #
|
||||||
# -Preloads any number of given images. #
|
# -Preloads any number of given images. #
|
||||||
# -Usage = &jimg_preload("image/1.gif", "imgage/u.gif"); #
|
# -Usage = &jimg_preload("image/1.gif", "image/u.gif"); #
|
||||||
# *jimg_update #
|
# *jimg_update #
|
||||||
# -Updates any image on your page that has a name #
|
# -Updates any image on your page that has a name #
|
||||||
# -Usage = &jimg_update("imgname", "image/toload.gif"); #
|
# -Usage = &jimg_update("imgname", "image/toload.gif"); #
|
||||||
@ -144,7 +144,7 @@ sub jalert {
|
|||||||
print "</SCRIPT>\n";
|
print "</SCRIPT>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
#opens a specified url in a seprate window
|
#opens a specified url in a separate window
|
||||||
sub jwindow {
|
sub jwindow {
|
||||||
my ($url, $name, $width, $height) = @_;
|
my ($url, $name, $width, $height) = @_;
|
||||||
if (!$width) { $width = "300"; }
|
if (!$width) { $width = "300"; }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<header>LDAP Search Bases</header>
|
<header>LDAP Search Bases</header>
|
||||||
|
|
||||||
An LDAP server's databsae is organized heirarchially, typically with
|
An LDAP server's database is organized heirarchially, typically with
|
||||||
different branches in the tree for users, groups and other services. This
|
different branches in the tree for users, groups and other services. This
|
||||||
page allows you to select where in the LDAP database to search for
|
page allows you to select where in the LDAP database to search for
|
||||||
different types of information, and how deep to search for each. <p>
|
different types of information, and how deep to search for each. <p>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<header>LDAP Browser</header>
|
<header>LDAP Browser</header>
|
||||||
|
|
||||||
This page provides a simple way of exporing the data in the currently
|
This page provides a simple way of exporing the data in the currently
|
||||||
configured LDAP server. It is useful for fining where in the heirarchy
|
configured LDAP server. It is useful for fining where in the hierarchy
|
||||||
users and groups are stored, so that they can be correctly entered on
|
users and groups are stored, so that they can be correctly entered on
|
||||||
the <b>LDAP Search Bases</b> page. <p>
|
the <b>LDAP Search Bases</b> page. <p>
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<header>Browse Database</header>
|
<header>Browse Database</header>
|
||||||
|
|
||||||
This page allows you to navigate through the heirarchy of objects in your
|
This page allows you to navigate through the hierarchy of objects in your
|
||||||
LDAP database, create and remove objects, and edit their attributes.
|
LDAP database, create and remove objects, and edit their attributes.
|
||||||
The DN for the object being managed is always shown in the <b>Browsing</b>
|
The DN for the object being managed is always shown in the <b>Browsing</b>
|
||||||
field - to quickly navigate to another object, enter a new DN and click <b>
|
field - to quickly navigate to another object, enter a new DN and click <b>
|
||||||
Show</b>. To move up the heirarchy, click on <b>Browse Parent</b>. <p>
|
Show</b>. To move up the hierarchy, click on <b>Browse Parent</b>. <p>
|
||||||
|
|
||||||
The rest of the page is divided into two tabs :
|
The rest of the page is divided into two tabs :
|
||||||
<dl>
|
<dl>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<header>Global Options</header>
|
<header>Global Options</header>
|
||||||
|
|
||||||
The rotation options on this page apply to all log files, unless overriden
|
The rotation options on this page apply to all log files, unless overridden
|
||||||
by settings under a particular log. This allows you to define a common
|
by settings under a particular log. This allows you to define a common
|
||||||
schedule, maximum size or number of old logs to keep for all files on your
|
schedule, maximum size or number of old logs to keep for all files on your
|
||||||
system. Commonly used fields on this page include :<p>
|
system. Commonly used fields on this page include :<p>
|
||||||
|
@ -20,7 +20,7 @@ old copies are kept and so on. You can edit the options for a log by clicking
|
|||||||
on its filename, or add a new log file using the link at the bottom or top
|
on its filename, or add a new log file using the link at the bottom or top
|
||||||
of the table. <p>
|
of the table. <p>
|
||||||
|
|
||||||
Many Linux distribtions include <tt>logrotate</tt> as standard, and come with
|
Many Linux distributions include <tt>logrotate</tt> as standard, and come with
|
||||||
configurations for rotating the logs of included servers like Apache and
|
configurations for rotating the logs of included servers like Apache and
|
||||||
Squid. So even if you have never used this module before, many log files
|
Squid. So even if you have never used this module before, many log files
|
||||||
may already be listed on the main page. Often
|
may already be listed on the main page. Often
|
||||||
|
@ -4,7 +4,7 @@ index_eprograms=The majordomo directory $1 does not exist. Maybe your <a href='$
|
|||||||
index_eversion=Your majordomo version is not supported by Webmin. Only versions 1.94 and above are supported.
|
index_eversion=Your majordomo version is not supported by Webmin. Only versions 1.94 and above are supported.
|
||||||
index_eversion2=The Majordomo version file $1 was not found under the programs directory $2. Maybe your <a href='$3'>module configuration</a> is incorrect, or majordomo is not installed.
|
index_eversion2=The Majordomo version file $1 was not found under the programs directory $2. Maybe your <a href='$3'>module configuration</a> is incorrect, or majordomo is not installed.
|
||||||
index_emdomdir=The <tt>$1</tt> variable in your majordomo config file is set to <tt>$2</tt>, which does not exist.
|
index_emdomdir=The <tt>$1</tt> variable in your majordomo config file is set to <tt>$2</tt>, which does not exist.
|
||||||
index_esendmail=The <tt>$1</tt> seting of your modul configuration is set to <tt>$2</tt>, which does not exist. Maybe your <a href='$3'>module configuration</a> is incorrect, or no mailer deamon is installed.
|
index_esendmail=The <tt>$1</tt> seting of your modul configuration is set to <tt>$2</tt>, which does not exist. Maybe your <a href='$3'>module configuration</a> is incorrect, or no mailer daemon is installed.
|
||||||
index_esendmail2=Sendmail is either not installed or not properly set up on your system. Check the <a href=$2>Sendmail module</a> configuration.
|
index_esendmail2=Sendmail is either not installed or not properly set up on your system. Check the <a href=$2>Sendmail module</a> configuration.
|
||||||
index_epostfix=Postfix is either not installed or not properly set up on your system. Check the <a href='$1'>Postfix module</a> configuration.
|
index_epostfix=Postfix is either not installed or not properly set up on your system. Check the <a href='$1'>Postfix module</a> configuration.
|
||||||
index_esendmail3=The Sendmail Webmin module needed to manage aliases is not installed.
|
index_esendmail3=The Sendmail Webmin module needed to manage aliases is not installed.
|
||||||
|
@ -5221,7 +5221,7 @@ sub disconnect_userdb
|
|||||||
{
|
{
|
||||||
my ($str, $h) = @_;
|
my ($str, $h) = @_;
|
||||||
if ($str =~ /^(mysql|postgresql):/) {
|
if ($str =~ /^(mysql|postgresql):/) {
|
||||||
# DBI disconnnect
|
# DBI disconnect
|
||||||
$h->disconnect();
|
$h->disconnect();
|
||||||
}
|
}
|
||||||
elsif ($str =~ /^ldap:/) {
|
elsif ($str =~ /^ldap:/) {
|
||||||
|
@ -198,9 +198,9 @@ graph indicate failure.
|
|||||||
<B>Monitor suppression</B>.
|
<B>Monitor suppression</B>.
|
||||||
|
|
||||||
If it is set to "m",
|
If it is set to "m",
|
||||||
then the dependency expression will be evaulated
|
then the dependency expression will be evaluated
|
||||||
before the monitor for the service is about to run.
|
before the monitor for the service is about to run.
|
||||||
If the evaulation succeeds, then the monitor
|
If the evaluation succeeds, then the monitor
|
||||||
will be run. Otherwise, the monitor will not
|
will be run. Otherwise, the monitor will not
|
||||||
be run and the status of the service will remain
|
be run and the status of the service will remain
|
||||||
the same.
|
the same.
|
||||||
@ -338,7 +338,7 @@ the
|
|||||||
keyword, followed by an optional
|
keyword, followed by an optional
|
||||||
<B>exit</B>
|
<B>exit</B>
|
||||||
|
|
||||||
parmeter, and arguments which are interpreted the same as
|
parameter, and arguments which are interpreted the same as
|
||||||
the
|
the
|
||||||
<B>monitor</B>
|
<B>monitor</B>
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ while(<CONF>) {
|
|||||||
push(@rv, $str);
|
push(@rv, $str);
|
||||||
}
|
}
|
||||||
elsif (/^(\s*)(\S+)\s*(.*)$/) {
|
elsif (/^(\s*)(\S+)\s*(.*)$/) {
|
||||||
# Normal directive, possibly in a heirachy
|
# Normal directive, possibly in a hierarchy
|
||||||
local $str = { 'name' => $2,
|
local $str = { 'name' => $2,
|
||||||
'values' => [ split(/\s+/, $3) ],
|
'values' => [ split(/\s+/, $3) ],
|
||||||
'value' => $3,
|
'value' => $3,
|
||||||
|
@ -28,7 +28,7 @@ while(<FSTAB>) {
|
|||||||
if ($p[2] eq "proc" || $p[2] eq "procfs") { $p[2] = $p[0] = "proc"; }
|
if ($p[2] eq "proc" || $p[2] eq "procfs") { $p[2] = $p[0] = "proc"; }
|
||||||
elsif ($p[2] eq "swap") { $p[1] = "swap"; }
|
elsif ($p[2] eq "swap") { $p[1] = "swap"; }
|
||||||
elsif ($p[2] eq "smbfs") {
|
elsif ($p[2] eq "smbfs") {
|
||||||
# Need to get nsmb.conf options, covert share and extract user
|
# Need to get nsmb.conf options, convert share and extract user
|
||||||
$p[0] = lc($p[0]);
|
$p[0] = lc($p[0]);
|
||||||
local $noptions = &read_nsmb($p[0]);
|
local $noptions = &read_nsmb($p[0]);
|
||||||
local %options;
|
local %options;
|
||||||
@ -47,7 +47,7 @@ while(<FSTAB>) {
|
|||||||
$rv[$i]->[5] = "yes";
|
$rv[$i]->[5] = "yes";
|
||||||
@o = split(/,/ , $p[3] eq "defaults" ? "" : $p[3]);
|
@o = split(/,/ , $p[3] eq "defaults" ? "" : $p[3]);
|
||||||
if (($j = &indexof("noauto", @o)) >= 0) {
|
if (($j = &indexof("noauto", @o)) >= 0) {
|
||||||
# filesytem is not mounted at boot
|
# filesystem is not mounted at boot
|
||||||
splice(@o, $j, 1);
|
splice(@o, $j, 1);
|
||||||
$rv[$i]->[5] = "no";
|
$rv[$i]->[5] = "no";
|
||||||
}
|
}
|
||||||
@ -182,7 +182,7 @@ while(<CMD>) {
|
|||||||
if ($p[2] eq "procfs" || $p[1] eq "procfs") { $p[1] = $p[2] = "proc"; }
|
if ($p[2] eq "procfs" || $p[1] eq "procfs") { $p[1] = $p[2] = "proc"; }
|
||||||
elsif ($p[2] eq "mfs") { $p[1] =~ s/:.*$//; }
|
elsif ($p[2] eq "mfs") { $p[1] =~ s/:.*$//; }
|
||||||
elsif ($p[2] eq "smbfs") {
|
elsif ($p[2] eq "smbfs") {
|
||||||
# Need to get nsmb.conf options, covert share and extract user
|
# Need to get nsmb.conf options, convert share and extract user
|
||||||
$p[1] = lc($p[1]);
|
$p[1] = lc($p[1]);
|
||||||
local $noptions = &read_nsmb($p[1]);
|
local $noptions = &read_nsmb($p[1]);
|
||||||
local %options;
|
local %options;
|
||||||
|
@ -101,7 +101,7 @@ while(<FSTAB>) {
|
|||||||
$rv[$i]->[5] = "yes";
|
$rv[$i]->[5] = "yes";
|
||||||
@o = split(/,/ , $p[3] eq "defaults" ? "" : $p[3]);
|
@o = split(/,/ , $p[3] eq "defaults" ? "" : $p[3]);
|
||||||
if (($j = &indexof("noauto", @o)) >= 0) {
|
if (($j = &indexof("noauto", @o)) >= 0) {
|
||||||
# filesytem is not mounted at boot
|
# filesystem is not mounted at boot
|
||||||
splice(@o, $j, 1);
|
splice(@o, $j, 1);
|
||||||
$rv[$i]->[5] = "no";
|
$rv[$i]->[5] = "no";
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@ while(<FSTAB>) {
|
|||||||
$rv[$i]->[5] = "yes";
|
$rv[$i]->[5] = "yes";
|
||||||
@o = split(/,/ , $p[3] eq "defaults" ? "" : $p[3]);
|
@o = split(/,/ , $p[3] eq "defaults" ? "" : $p[3]);
|
||||||
if (($j = &indexof("noauto", @o)) >= 0) {
|
if (($j = &indexof("noauto", @o)) >= 0) {
|
||||||
# filesytem is not mounted at boot
|
# filesystem is not mounted at boot
|
||||||
splice(@o, $j, 1);
|
splice(@o, $j, 1);
|
||||||
$rv[$i]->[5] = "no";
|
$rv[$i]->[5] = "no";
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@ while(<FSTAB>) {
|
|||||||
$rv[$i]->[5] = "yes";
|
$rv[$i]->[5] = "yes";
|
||||||
@o = split(/,/ , $p[3] eq "defaults" ? "" : $p[3]);
|
@o = split(/,/ , $p[3] eq "defaults" ? "" : $p[3]);
|
||||||
if (($j = &indexof("noauto", @o)) >= 0) {
|
if (($j = &indexof("noauto", @o)) >= 0) {
|
||||||
# filesytem is not mounted at boot
|
# filesystem is not mounted at boot
|
||||||
splice(@o, $j, 1);
|
splice(@o, $j, 1);
|
||||||
$rv[$i]->[5] = "no";
|
$rv[$i]->[5] = "no";
|
||||||
}
|
}
|
||||||
|
@ -128,7 +128,7 @@ sub apply_interface
|
|||||||
}
|
}
|
||||||
|
|
||||||
# deactivate_interface(&details)
|
# deactivate_interface(&details)
|
||||||
# Deactive an interface
|
# Deactivate an interface
|
||||||
sub deactivate_interface
|
sub deactivate_interface
|
||||||
{
|
{
|
||||||
#TODO2: determine how to deactivate an interface
|
#TODO2: determine how to deactivate an interface
|
||||||
|
@ -340,7 +340,7 @@ if ($cfg->{'gateway6'}) {
|
|||||||
push(@options6, [ "gateway", $cfg->{'gateway6'} ]);
|
push(@options6, [ "gateway", $cfg->{'gateway6'} ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
# Add, update or delete IPv6 inteface
|
# Add, update or delete IPv6 interface
|
||||||
my $method = $cfg->{'auto6'} ? "manual" : "static";
|
my $method = $cfg->{'auto6'} ? "manual" : "static";
|
||||||
if (!$found6 && @options6) {
|
if (!$found6 && @options6) {
|
||||||
# Need to add IPv6 block
|
# Need to add IPv6 block
|
||||||
|
@ -119,7 +119,7 @@ if ($iface->{'virtual'} eq '') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# deactivate_interface(&details)
|
# deactivate_interface(&details)
|
||||||
# Deactive an interface
|
# Deactivate an interface
|
||||||
sub deactivate_interface
|
sub deactivate_interface
|
||||||
{
|
{
|
||||||
my ($iface) = @_;
|
my ($iface) = @_;
|
||||||
@ -297,7 +297,7 @@ else {
|
|||||||
my @boot = &boot_interfaces();
|
my @boot = &boot_interfaces();
|
||||||
my ($old) = grep { $_->{'fullname'} eq $_[0]->{'fullname'} } @boot;
|
my ($old) = grep { $_->{'fullname'} eq $_[0]->{'fullname'} } @boot;
|
||||||
if (!$old && $_[0]->{'virtual'} ne '') {
|
if (!$old && $_[0]->{'virtual'} ne '') {
|
||||||
# A new virtual interface .. pick a virtual number automaticlly
|
# A new virtual interface .. pick a virtual number automatically
|
||||||
my $b;
|
my $b;
|
||||||
$_[0]->{'virtual'} = 0;
|
$_[0]->{'virtual'} = 0;
|
||||||
foreach $b (&boot_interfaces()) {
|
foreach $b (&boot_interfaces()) {
|
||||||
|
@ -74,7 +74,7 @@ $act{$_[0]->{'fullname'}} = $_[0];
|
|||||||
}
|
}
|
||||||
|
|
||||||
# deactivate_interface(&details)
|
# deactivate_interface(&details)
|
||||||
# Deactive an interface
|
# Deactivate an interface
|
||||||
sub deactivate_interface
|
sub deactivate_interface
|
||||||
{
|
{
|
||||||
my %act;
|
my %act;
|
||||||
|
@ -69,7 +69,7 @@ sub activate_interface
|
|||||||
}
|
}
|
||||||
|
|
||||||
# deactivate_interface(&details)
|
# deactivate_interface(&details)
|
||||||
# Deactive an interface
|
# Deactivate an interface
|
||||||
sub deactivate_interface
|
sub deactivate_interface
|
||||||
{
|
{
|
||||||
local %act;
|
local %act;
|
||||||
|
@ -131,7 +131,7 @@ if ($a->{'ether'}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# deactivate_interface(&details)
|
# deactivate_interface(&details)
|
||||||
# Deactive an interface
|
# Deactivate an interface
|
||||||
sub deactivate_interface
|
sub deactivate_interface
|
||||||
{
|
{
|
||||||
local $a = $_[0];
|
local $a = $_[0];
|
||||||
@ -764,7 +764,7 @@ foreach $b (&boot_interfaces()) {
|
|||||||
foreach $a (&active_interfaces()) {
|
foreach $a (&active_interfaces()) {
|
||||||
next if ($a->{'name'} eq 'lo0');
|
next if ($a->{'name'} eq 'lo0');
|
||||||
if (!$done{$a->{'fullname'}} && !$a->{'zone'}) {
|
if (!$done{$a->{'fullname'}} && !$a->{'zone'}) {
|
||||||
&deactive_interface($a);
|
&deactivate_interface($a);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ if ($a->{'ether'}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# deactivate_interface(&details)
|
# deactivate_interface(&details)
|
||||||
# Deactive an interface
|
# Deactivate an interface
|
||||||
sub deactivate_interface
|
sub deactivate_interface
|
||||||
{
|
{
|
||||||
local $cmd;
|
local $cmd;
|
||||||
|
@ -21,7 +21,7 @@ return $rv;
|
|||||||
}
|
}
|
||||||
|
|
||||||
# get_client_config()
|
# get_client_config()
|
||||||
# Returns a hash ref containg details of the client's NIS settings
|
# Returns a hash ref containing details of the client's NIS settings
|
||||||
sub get_client_config
|
sub get_client_config
|
||||||
{
|
{
|
||||||
local $nis;
|
local $nis;
|
||||||
|
@ -16,7 +16,7 @@ return $rv;
|
|||||||
}
|
}
|
||||||
|
|
||||||
# get_client_config()
|
# get_client_config()
|
||||||
# Returns a hash ref containg details of the client's NIS settings
|
# Returns a hash ref containing details of the client's NIS settings
|
||||||
sub get_client_config
|
sub get_client_config
|
||||||
{
|
{
|
||||||
local $nis;
|
local $nis;
|
||||||
|
@ -16,7 +16,7 @@ return $rv;
|
|||||||
}
|
}
|
||||||
|
|
||||||
# get_client_config()
|
# get_client_config()
|
||||||
# Returns a hash ref containg details of the client's NIS settings
|
# Returns a hash ref containing details of the client's NIS settings
|
||||||
sub get_client_config
|
sub get_client_config
|
||||||
{
|
{
|
||||||
local $nis = { 'broadcast' => 1 };
|
local $nis = { 'broadcast' => 1 };
|
||||||
|
@ -16,7 +16,7 @@ return $rv;
|
|||||||
}
|
}
|
||||||
|
|
||||||
# get_client_config()
|
# get_client_config()
|
||||||
# Returns a hash ref containg details of the client's NIS settings
|
# Returns a hash ref containing details of the client's NIS settings
|
||||||
sub get_client_config
|
sub get_client_config
|
||||||
{
|
{
|
||||||
local $nis;
|
local $nis;
|
||||||
|
@ -16,7 +16,7 @@ return $rv;
|
|||||||
}
|
}
|
||||||
|
|
||||||
# get_client_config()
|
# get_client_config()
|
||||||
# Returns a hash ref containg details of the client's NIS settings
|
# Returns a hash ref containing details of the client's NIS settings
|
||||||
sub get_client_config
|
sub get_client_config
|
||||||
{
|
{
|
||||||
local $nis;
|
local $nis;
|
||||||
|
@ -16,7 +16,7 @@ return $rv;
|
|||||||
}
|
}
|
||||||
|
|
||||||
# get_client_config()
|
# get_client_config()
|
||||||
# Returns a hash ref containg details of the client's NIS settings
|
# Returns a hash ref containing details of the client's NIS settings
|
||||||
sub get_client_config
|
sub get_client_config
|
||||||
{
|
{
|
||||||
local $nis;
|
local $nis;
|
||||||
|
@ -17,7 +17,7 @@ return $rv;
|
|||||||
}
|
}
|
||||||
|
|
||||||
# get_client_config()
|
# get_client_config()
|
||||||
# Returns a hash ref containg details of the client's NIS settings
|
# Returns a hash ref containing details of the client's NIS settings
|
||||||
sub get_client_config
|
sub get_client_config
|
||||||
{
|
{
|
||||||
local $nis;
|
local $nis;
|
||||||
|
@ -15,7 +15,7 @@ return $rv;
|
|||||||
}
|
}
|
||||||
|
|
||||||
# get_client_config()
|
# get_client_config()
|
||||||
# Returns a hash ref containg details of the client's NIS settings
|
# Returns a hash ref containing details of the client's NIS settings
|
||||||
sub get_client_config
|
sub get_client_config
|
||||||
{
|
{
|
||||||
local $nis;
|
local $nis;
|
||||||
|
@ -17,7 +17,7 @@ return $rv;
|
|||||||
}
|
}
|
||||||
|
|
||||||
# get_client_config()
|
# get_client_config()
|
||||||
# Returns a hash ref containg details of the client's NIS settings
|
# Returns a hash ref containing details of the client's NIS settings
|
||||||
sub get_client_config
|
sub get_client_config
|
||||||
{
|
{
|
||||||
local $nis;
|
local $nis;
|
||||||
|
@ -16,7 +16,7 @@ return $rv;
|
|||||||
}
|
}
|
||||||
|
|
||||||
# get_client_config()
|
# get_client_config()
|
||||||
# Returns a hash ref containg details of the client's NIS settings
|
# Returns a hash ref containing details of the client's NIS settings
|
||||||
sub get_client_config
|
sub get_client_config
|
||||||
{
|
{
|
||||||
local $nis;
|
local $nis;
|
||||||
|
@ -102,7 +102,7 @@ if (&get_product_name() eq 'webmin' && # For Webmin
|
|||||||
'icon' => '/images/mail-small.gif' });
|
'icon' => '/images/mail-small.gif' });
|
||||||
}
|
}
|
||||||
|
|
||||||
# Show refesh modules link, for master admin
|
# Show refresh modules link, for master admin
|
||||||
if (&foreign_available("webmin")) {
|
if (&foreign_available("webmin")) {
|
||||||
push(@leftmenu, { 'type' => 'item',
|
push(@leftmenu, { 'type' => 'item',
|
||||||
'desc' => $text{'main_refreshmods'},
|
'desc' => $text{'main_refreshmods'},
|
||||||
|
@ -666,7 +666,7 @@ unlink($available_cache_file.'1');
|
|||||||
}
|
}
|
||||||
|
|
||||||
# list_for_mode(mode, nocache)
|
# list_for_mode(mode, nocache)
|
||||||
# If not is 'updates' or 'security', return just updates. Othewise, return
|
# If not is 'updates' or 'security', return just updates. Otherwise, return
|
||||||
# all available packages.
|
# all available packages.
|
||||||
sub list_for_mode
|
sub list_for_mode
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<header>Body Checks</header>
|
<header>Body Checks</header>
|
||||||
|
|
||||||
The optional header checks table allows email to be redirected based on the contents of the mesage body. Each entry in the table has a POSIX regular expression on the left-hand side, and an action on the right. <p>
|
The optional header checks table allows email to be redirected based on the contents of the message body. Each entry in the table has a POSIX regular expression on the left-hand side, and an action on the right. <p>
|
||||||
|
|
||||||
The regular expression can be something like :<br>
|
The regular expression can be something like :<br>
|
||||||
<tt>/make.money.fast/</tt><br>
|
<tt>/make.money.fast/</tt><br>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/local/bin/perl
|
#!/usr/local/bin/perl
|
||||||
# delete_queue.cgi
|
# delete_queue.cgi
|
||||||
# Delete multiple mail messsages from the queue
|
# Delete multiple mail messages from the queue
|
||||||
|
|
||||||
require './qmail-lib.pl';
|
require './qmail-lib.pl';
|
||||||
&ReadParse();
|
&ReadParse();
|
||||||
|
@ -357,7 +357,7 @@ return undef;
|
|||||||
|
|
||||||
=head2 run_quotacheck(filesys, args)
|
=head2 run_quotacheck(filesys, args)
|
||||||
|
|
||||||
Runs the quotacheck command on some filesytem, and returns 1 on success or
|
Runs the quotacheck command on some filesystem, and returns 1 on success or
|
||||||
0 on failure. Mainly for internal use when enabling quotas.
|
0 on failure. Mainly for internal use when enabling quotas.
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@ -405,7 +405,7 @@ if ($in{$_[0]."_def"} && !$_[2]) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
elsif ($_[1]) {
|
elsif ($_[1]) {
|
||||||
# Include units, and covert to blocks
|
# Include units, and convert to blocks
|
||||||
return int($in{$_[0]}*$in{$_[0]."_units"}/$_[1]);
|
return int($in{$_[0]}*$in{$_[0]."_units"}/$_[1]);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -489,7 +489,7 @@ if ($raid_mode eq "mdadm") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# convert_raid(&raid, oldcount, newcount, level)
|
# convert_raid(&raid, oldcount, newcount, level)
|
||||||
# Converts a RAID set to a defferent level RAID set
|
# Converts a RAID set to a different level RAID set
|
||||||
sub convert_raid
|
sub convert_raid
|
||||||
{
|
{
|
||||||
if ($raid_mode eq "mdadm") {
|
if ($raid_mode eq "mdadm") {
|
||||||
@ -781,7 +781,7 @@ return 0;
|
|||||||
}
|
}
|
||||||
|
|
||||||
# save_mdadm_monitoring(enabled)
|
# save_mdadm_monitoring(enabled)
|
||||||
# Tries to enable or disable mdadm monitoring. Returns an error mesage
|
# Tries to enable or disable mdadm monitoring. Returns an error message
|
||||||
# if something goes wrong, undef on success
|
# if something goes wrong, undef on success
|
||||||
sub save_mdadm_monitoring
|
sub save_mdadm_monitoring
|
||||||
{
|
{
|
||||||
|
@ -171,7 +171,7 @@ masq_ecannot=You are not allowed to configure masquerading
|
|||||||
masq_domain=Masquerade as domain
|
masq_domain=Masquerade as domain
|
||||||
masq_domains=Domains to be masqueraded
|
masq_domains=Domains to be masqueraded
|
||||||
masq_ndomains=Domains not to masquerade
|
masq_ndomains=Domains not to masquerade
|
||||||
masq_desc1=If a domain is given below, sendmail will alter the <tt>From</tt> address of all outgoing messages to appear to come from that domain. In addition, any email messages passing through your system from one of the hosts or domains listed below will also have their <tt>From</tt> addresses modified in the same way. Note that any domain masquerading defined here can be overriden for specific users using the <a href='$1'>Outgoing Addresses</a> page.
|
masq_desc1=If a domain is given below, sendmail will alter the <tt>From</tt> address of all outgoing messages to appear to come from that domain. In addition, any email messages passing through your system from one of the hosts or domains listed below will also have their <tt>From</tt> addresses modified in the same way. Note that any domain masquerading defined here can be overridden for specific users using the <a href='$1'>Outgoing Addresses</a> page.
|
||||||
masq_desc2=This feature can be useful if you want email from your system to appear to come from your domain name rather than your hostname, or if your system is the mail hub for number of other hosts running their own mailservers.
|
masq_desc2=This feature can be useful if you want email from your system to appear to come from your domain name rather than your hostname, or if your system is the mail hub for number of other hosts running their own mailservers.
|
||||||
masq_err=Failed to save domain masquerading
|
masq_err=Failed to save domain masquerading
|
||||||
masq_edomain='$1' is not a valid domain to masquerade as
|
masq_edomain='$1' is not a valid domain to masquerade as
|
||||||
|
@ -27,7 +27,7 @@ The available options are :
|
|||||||
to reporting. <p>
|
to reporting. <p>
|
||||||
|
|
||||||
<li><b>Hosts to trust multiple logins from</b><br>
|
<li><b>Hosts to trust multiple logins from</b><br>
|
||||||
If the 'Detect multiple similtaneous logins' module is enabled, two or
|
If the 'Detect multiple simultaneous logins' module is enabled, two or
|
||||||
more logins by the same user at the same time from a host not in this
|
more logins by the same user at the same time from a host not in this
|
||||||
list will be reported. <p>
|
list will be reported. <p>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/local/bin/perl
|
#!/usr/local/bin/perl
|
||||||
# Delete serveral servers at once
|
# Delete several servers at once
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -4,7 +4,7 @@ ECHO UNOFFICIAL helper script to guide less experienced users on Windows
|
|||||||
ECHO for information on installing webmin on Windows manually see:
|
ECHO for information on installing webmin on Windows manually see:
|
||||||
ECHO http://www.webmin.com/windows.html
|
ECHO http://www.webmin.com/windows.html
|
||||||
ECHO .
|
ECHO .
|
||||||
ECHO NOTE: Webmin on Windows is community provided and not suppored officially!
|
ECHO NOTE: Webmin on Windows is community provided and not supported officially!
|
||||||
ECHO last reported working insallations was on Windows 8.1
|
ECHO last reported working insallations was on Windows 8.1
|
||||||
ECHO .
|
ECHO .
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ IF %ERRORLEVEL% NEQ 0 (
|
|||||||
SET INSTALL=false
|
SET INSTALL=false
|
||||||
)
|
)
|
||||||
|
|
||||||
:: check if rescource kit is installed
|
:: check if resource kit is installed
|
||||||
WHERE sc >nul 2>&1
|
WHERE sc >nul 2>&1
|
||||||
IF %ERRORLEVEL% NEQ 0 (
|
IF %ERRORLEVEL% NEQ 0 (
|
||||||
ECHO Windows Resource Toolkit is not installed you may not able to run Webmin as a Service!
|
ECHO Windows Resource Toolkit is not installed you may not able to run Webmin as a Service!
|
||||||
@ -91,7 +91,7 @@ IF NOT EXIST %inst_dir% (
|
|||||||
|
|
||||||
|
|
||||||
IF EXIST %INSTALL% (
|
IF EXIST %INSTALL% (
|
||||||
:: install perl module win::deamon if not installed
|
:: install perl module win::daemon if not installed
|
||||||
IF NOT EXIST %perl_path%\site\lib\Win32\Daemon.pm (
|
IF NOT EXIST %perl_path%\site\lib\Win32\Daemon.pm (
|
||||||
ppm install Win32-Daemon
|
ppm install Win32-Daemon
|
||||||
)
|
)
|
||||||
@ -101,7 +101,7 @@ IF EXIST %INSTALL% (
|
|||||||
ECHO Webmin can not installed because of missing prerequisites!
|
ECHO Webmin can not installed because of missing prerequisites!
|
||||||
ECHO see http://www.webmin.com/windows.html for manual installation instructions
|
ECHO see http://www.webmin.com/windows.html for manual installation instructions
|
||||||
ECHO .
|
ECHO .
|
||||||
ECHO If you are able to improve/fix installtion on newer Windows Versions report them pls
|
ECHO If you are able to improve/fix installation on newer Windows Versions report them pls
|
||||||
)
|
)
|
||||||
ECHO .
|
ECHO .
|
||||||
PAUSE
|
PAUSE
|
||||||
|
2
setup.pl
2
setup.pl
@ -423,7 +423,7 @@ else {
|
|||||||
}
|
}
|
||||||
&put_miniserv_config(\%miniserv);
|
&put_miniserv_config(\%miniserv);
|
||||||
|
|
||||||
# Test availble hashing formats
|
# Test available hashing formats
|
||||||
if (&unix_crypt('test', '$y$j9T$waHytoaqP/CEnKFroGn0S/$fxd5mVc2mBPUc3vv.cpqDckpwrWTyIm2iD4JfnVBi26') eq '$y$j9T$waHytoaqP/CEnKFroGn0S/$fxd5mVc2mBPUc3vv.cpqDckpwrWTyIm2iD4JfnVBi26') {
|
if (&unix_crypt('test', '$y$j9T$waHytoaqP/CEnKFroGn0S/$fxd5mVc2mBPUc3vv.cpqDckpwrWTyIm2iD4JfnVBi26') eq '$y$j9T$waHytoaqP/CEnKFroGn0S/$fxd5mVc2mBPUc3vv.cpqDckpwrWTyIm2iD4JfnVBi26') {
|
||||||
$yescryptpass = 1;
|
$yescryptpass = 1;
|
||||||
}
|
}
|
||||||
|
2
setup.sh
2
setup.sh
@ -535,7 +535,7 @@ else
|
|||||||
cat "$wadir/miniserv-conf" >>$cfile
|
cat "$wadir/miniserv-conf" >>$cfile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Test availble hashing formats
|
# Test available hashing formats
|
||||||
yescryptpass=`$perl -e 'print crypt("test", "\\$y\\$j9T\\$waHytoaqP/CEnKFroGn0S/\\$fxd5mVc2mBPUc3vv.cpqDckpwrWTyIm2iD4JfnVBi26") eq "\\$y\\$j9T\\$waHytoaqP/CEnKFroGn0S/\\$fxd5mVc2mBPUc3vv.cpqDckpwrWTyIm2iD4JfnVBi26" ? "1\n" : "0\n"'`
|
yescryptpass=`$perl -e 'print crypt("test", "\\$y\\$j9T\\$waHytoaqP/CEnKFroGn0S/\\$fxd5mVc2mBPUc3vv.cpqDckpwrWTyIm2iD4JfnVBi26") eq "\\$y\\$j9T\\$waHytoaqP/CEnKFroGn0S/\\$fxd5mVc2mBPUc3vv.cpqDckpwrWTyIm2iD4JfnVBi26" ? "1\n" : "0\n"'`
|
||||||
sha512pass=`$perl -e 'print crypt("test", "\\$6\\$Tk5o/GEE\\$zjvXhYf/dr5M7/jan3pgunkNrAsKmQO9r5O8sr/Cr1hFOLkWmsH4iE9hhqdmHwXd5Pzm4ubBWTEjtMeC.h5qv1") eq "\\$6\\$Tk5o/GEE\\$zjvXhYf/dr5M7/jan3pgunkNrAsKmQO9r5O8sr/Cr1hFOLkWmsH4iE9hhqdmHwXd5Pzm4ubBWTEjtMeC.h5qv1" ? "1\n" : "0\n"'`
|
sha512pass=`$perl -e 'print crypt("test", "\\$6\\$Tk5o/GEE\\$zjvXhYf/dr5M7/jan3pgunkNrAsKmQO9r5O8sr/Cr1hFOLkWmsH4iE9hhqdmHwXd5Pzm4ubBWTEjtMeC.h5qv1") eq "\\$6\\$Tk5o/GEE\\$zjvXhYf/dr5M7/jan3pgunkNrAsKmQO9r5O8sr/Cr1hFOLkWmsH4iE9hhqdmHwXd5Pzm4ubBWTEjtMeC.h5qv1" ? "1\n" : "0\n"'`
|
||||||
md5pass=`$perl -e 'print crypt("test", "\\$1\\$A9wB3O18\\$zaZgqrEmb9VNltWTL454R/") eq "\\$1\\$A9wB3O18\\$zaZgqrEmb9VNltWTL454R/" ? "1\n" : "0\n"'`
|
md5pass=`$perl -e 'print crypt("test", "\\$1\\$A9wB3O18\\$zaZgqrEmb9VNltWTL454R/") eq "\\$1\\$A9wB3O18\\$zaZgqrEmb9VNltWTL454R/" ? "1\n" : "0\n"'`
|
||||||
|
@ -1881,7 +1881,7 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# run_before_apply_command()
|
# run_before_apply_command()
|
||||||
# Runs the before-applying command, if any. If it failes, returns the error
|
# Runs the before-applying command, if any. If it fails, returns the error
|
||||||
# message output
|
# message output
|
||||||
sub run_before_apply_command
|
sub run_before_apply_command
|
||||||
{
|
{
|
||||||
|
@ -1531,7 +1531,7 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# run_before_apply_command()
|
# run_before_apply_command()
|
||||||
# Runs the before-applying command, if any. If it failes, returns the error
|
# Runs the before-applying command, if any. If it fails, returns the error
|
||||||
# message output
|
# message output
|
||||||
sub run_before_apply_command
|
sub run_before_apply_command
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<h3>Introduction</h3>
|
<h3>Introduction</h3>
|
||||||
This module allows you to view/modify/update/add SMF services in Solaris
|
This module allows you to view/modify/update/add SMF services in Solaris
|
||||||
10. The main page consists of a listing of services, and you can select a
|
10. The main page consists of a listing of services, and you can select a
|
||||||
specific category, view disabled serivces, sort entries etc. From here you
|
specific category, view disabled services, sort entries etc. From here you
|
||||||
can also launch a wizard-type utility that manages service creation, view
|
can also launch a wizard-type utility that manages service creation, view
|
||||||
the service state, dependencies/dependent, and view property groups/properties
|
the service state, dependencies/dependent, and view property groups/properties
|
||||||
for each service. </p>
|
for each service. </p>
|
||||||
@ -13,7 +13,7 @@ for each service. </p>
|
|||||||
By default, main SMF module window lists the enabled services on the system,
|
By default, main SMF module window lists the enabled services on the system,
|
||||||
showing their states, the FMRI that identifies the service, and the description
|
showing their states, the FMRI that identifies the service, and the description
|
||||||
that is supplied with the service. You can apply state changes to multiple
|
that is supplied with the service. You can apply state changes to multiple
|
||||||
services by checking the desired serivces, and clicking enable/disable etc.
|
services by checking the desired services, and clicking enable/disable etc.
|
||||||
You can also delete the service instances specified, but obviously avoid doing
|
You can also delete the service instances specified, but obviously avoid doing
|
||||||
this for important services. <p>
|
this for important services. <p>
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ you want to change. Clicking on an instance FMRI brings up the dependency/
|
|||||||
dependent trees for that instance. <p>
|
dependent trees for that instance. <p>
|
||||||
|
|
||||||
<h3>Service Creation Wizard</h3>
|
<h3>Service Creation Wizard</h3>
|
||||||
Clicking the "Create New Serivce" button brings up the SMF service creation
|
Clicking the "Create New Service" button brings up the SMF service creation
|
||||||
wizard, which collects the required information to create a new SMF service,
|
wizard, which collects the required information to create a new SMF service,
|
||||||
formats it into a manifest and imports it into the SMF repository. Successful
|
formats it into a manifest and imports it into the SMF repository. Successful
|
||||||
import will result in the service appearing in the main services listing.<p>
|
import will result in the service appearing in the main services listing.<p>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
The information displayed on this page corresponds to the list of
|
The information displayed on this page corresponds to the list of
|
||||||
service property groups for both the service and selected instance.
|
service property groups for both the service and selected instance.
|
||||||
Service-level property groups are displayed since their associated
|
Service-level property groups are displayed since their associated
|
||||||
properties are inherited by the instance unless they are overriden.
|
properties are inherited by the instance unless they are overridden.
|
||||||
Clicking the property group name allows viewing/editing of individual
|
Clicking the property group name allows viewing/editing of individual
|
||||||
properties within the selected property group. Property groups can
|
properties within the selected property group. Property groups can
|
||||||
also be added/deleted here. <p>
|
also be added/deleted here. <p>
|
||||||
|
@ -553,7 +553,7 @@ if (($service_info{'template_common_name'} =~ /.+/) &&
|
|||||||
\@find_replace_array);
|
\@find_replace_array);
|
||||||
}
|
}
|
||||||
|
|
||||||
# subfunction to add dependecy/dependent/exec method/propgroup/prop
|
# subfunction to add dependency/dependent/exec method/propgroup/prop
|
||||||
# information to manifest. if at service level, we look for sinst=service,
|
# information to manifest. if at service level, we look for sinst=service,
|
||||||
# otherwise, look for matches to instance name
|
# otherwise, look for matches to instance name
|
||||||
#
|
#
|
||||||
|
@ -50,7 +50,7 @@ do {
|
|||||||
$failed = 1;
|
$failed = 1;
|
||||||
}
|
}
|
||||||
elsif (/dependency\s+(\S+)\s+.*not up to date/i) {
|
elsif (/dependency\s+(\S+)\s+.*not up to date/i) {
|
||||||
# Needs a dependecy .. so we will need to re-run!
|
# Needs a dependency .. so we will need to re-run!
|
||||||
local $dep = $1;
|
local $dep = $1;
|
||||||
$update = join(" ", &unique(
|
$update = join(" ", &unique(
|
||||||
$dep, split(/\s+/, $update)));
|
$dep, split(/\s+/, $update)));
|
||||||
|
@ -35,7 +35,7 @@ while(<SW>) {
|
|||||||
}
|
}
|
||||||
$title_flag = "";
|
$title_flag = "";
|
||||||
}
|
}
|
||||||
# bundeled products
|
# bundled products
|
||||||
if (/^contents\s+(.*)/) {
|
if (/^contents\s+(.*)/) {
|
||||||
@contents = split(/\./, $1);
|
@contents = split(/\./, $1);
|
||||||
$packages{$i,'name'} = "$name.$contents[0]";
|
$packages{$i,'name'} = "$name.$contents[0]";
|
||||||
|
@ -31,7 +31,7 @@ if (!$pinfo[7]) {
|
|||||||
&ui_hidden("version", $pinfo[4]).
|
&ui_hidden("version", $pinfo[4]).
|
||||||
&ui_hidden("search", $in{'search'}));
|
&ui_hidden("search", $in{'search'}));
|
||||||
} else {
|
} else {
|
||||||
# Show botton to install
|
# Show button to install
|
||||||
print &ui_buttons_row("install_pack.cgi",
|
print &ui_buttons_row("install_pack.cgi",
|
||||||
$text{'IPKG_install_package'},
|
$text{'IPKG_install_package'},
|
||||||
$text{'IPKG_install_packagedesc'},
|
$text{'IPKG_install_packagedesc'},
|
||||||
|
@ -22,7 +22,7 @@ if ($in{'filter'}) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# prcoess openall / closeall actions
|
# process openall / closeall actions
|
||||||
if ( $in{'mode'} eq "closeall" ) {
|
if ( $in{'mode'} eq "closeall" ) {
|
||||||
&save_heiropen([ ]);
|
&save_heiropen([ ]);
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Functions for FreeBSD ports / package management
|
# Functions for FreeBSD ports / package management
|
||||||
|
|
||||||
# update_system_install([package], [&in])
|
# update_system_install([package], [&in])
|
||||||
# Install a named package, by buiding the port
|
# Install a named package, by building the port
|
||||||
sub update_system_install
|
sub update_system_install
|
||||||
{
|
{
|
||||||
my ($update, $in) = @_;
|
my ($update, $in) = @_;
|
||||||
|
@ -20,7 +20,7 @@ if ($in{'filter'}) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# prcoess openall / closeall actions
|
# process openall / closeall actions
|
||||||
if ( $in{'mode'} eq "closeall" ) {
|
if ( $in{'mode'} eq "closeall" ) {
|
||||||
&save_heiropen([ ]);
|
&save_heiropen([ ]);
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ The fields present are:
|
|||||||
<p>
|
<p>
|
||||||
<em>Matching..</em> is the address, port, URL, user, etc. that the ACL will be matching to.
|
<em>Matching..</em> is the address, port, URL, user, etc. that the ACL will be matching to.
|
||||||
<p>
|
<p>
|
||||||
<b>Proxy restrictions</b>: Proxy restrictions are rules that either allow or deny a given request based on whether its ACL matches the specifics of the reuqest. There are three fields in this box.
|
<b>Proxy restrictions</b>: Proxy restrictions are rules that either allow or deny a given request based on whether its ACL matches the specifics of the request. There are three fields in this box.
|
||||||
<p>
|
<p>
|
||||||
<em>Action</em> is either <em>allow</em> or <em>deny</em>.
|
<em>Action</em> is either <em>allow</em> or <em>deny</em>.
|
||||||
<p>
|
<p>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<p>
|
<p>
|
||||||
<b>Pool class</b>
|
<b>Pool class</b>
|
||||||
<br>
|
<br>
|
||||||
This defines the class type of the pool. Each delay pool can have a class selected from classes 1, 2 or 3. The classes have the following meanings: "1-Aggregate", "2-Aggregate and Individual", "3-Aggregate, Individual, and Network". The simplest, class 1, specifies a bandwidth that all clients to which this pool belongs cannot surpass. Class 2 specifies both an aggregate bandwidth and a bandwidth that each individual can use, creating a heirarchy of limits where all individuals combined must fit into the aggregate while each individual is limited by the individual limit. Finally, Class 3 specifies an aggregate and individual bandwith in addition to a network bandwidth which applies to an entire subnet. Class 3 is usually only useful on very large networks that have more than one network subnet.
|
This defines the class type of the pool. Each delay pool can have a class selected from classes 1, 2 or 3. The classes have the following meanings: "1-Aggregate", "2-Aggregate and Individual", "3-Aggregate, Individual, and Network". The simplest, class 1, specifies a bandwidth that all clients to which this pool belongs cannot surpass. Class 2 specifies both an aggregate bandwidth and a bandwidth that each individual can use, creating a hierarchy of limits where all individuals combined must fit into the aggregate while each individual is limited by the individual limit. Finally, Class 3 specifies an aggregate and individual bandwidth in addition to a network bandwidth which applies to an entire subnet. Class 3 is usually only useful on very large networks that have more than one network subnet.
|
||||||
<p>
|
<p>
|
||||||
Limits can be specified in any unit preferred, though it will be saved to the Squid configuration file in bytes. The first field is the average throughput that will be allotted to the pool, while the second is the size of the bucket used, which roughly corresponds to a burstable bandwidth maximum.
|
Limits can be specified in any unit preferred, though it will be saved to the Squid configuration file in bytes. The first field is the average throughput that will be allotted to the pool, while the second is the size of the bucket used, which roughly corresponds to a burstable bandwidth maximum.
|
||||||
<p>
|
<p>
|
||||||
|
@ -232,7 +232,7 @@ if ($info->{'disk_total'} && &show_section('disk')) {
|
|||||||
'chart' => [ $total, $total-$free ] });
|
'chart' => [ $total, $total-$free ] });
|
||||||
}
|
}
|
||||||
|
|
||||||
# Warnings about filesytems running now on space
|
# Warnings about filesystems running low on space
|
||||||
if ($info->{'disk_fs'} && &show_section('disk')) {
|
if ($info->{'disk_fs'} && &show_section('disk')) {
|
||||||
foreach my $fs (@{$info->{'disk_fs'}}) {
|
foreach my $fs (@{$info->{'disk_fs'}}) {
|
||||||
next if (!$fs->{'total'});
|
next if (!$fs->{'total'});
|
||||||
|
@ -102,7 +102,7 @@ Parameters:
|
|||||||
pull a released version, default: -release:latest
|
pull a released version, default: -release:latest
|
||||||
-file
|
-file
|
||||||
pull only the given file(s) or dir(s)/ from repo
|
pull only the given file(s) or dir(s)/ from repo
|
||||||
dir has to be specified with trailling '/'
|
dir has to be specified with trailing '/'
|
||||||
file or dir/ must not start with a slash and
|
file or dir/ must not start with a slash and
|
||||||
must not contain '../'
|
must not contain '../'
|
||||||
-h
|
-h
|
||||||
@ -384,7 +384,7 @@ fi
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
##################
|
##################
|
||||||
# pull specifed files only
|
# pull specified files only
|
||||||
shift
|
shift
|
||||||
FILES="$*"
|
FILES="$*"
|
||||||
for file in ${FILES}
|
for file in ${FILES}
|
||||||
|
@ -27,7 +27,7 @@ print "<td>",&ui_textbox("pc", undef, 50, 1, undef, $ff),"</td> </tr>\n";
|
|||||||
print "</table></center>\n";
|
print "</table></center>\n";
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
|
|
||||||
# Find the location of the user's upload progess file
|
# Find the location of the user's upload progress file
|
||||||
if ($in{'uid'}) {
|
if ($in{'uid'}) {
|
||||||
@uinfo = getpwuid($in{'uid'});
|
@uinfo = getpwuid($in{'uid'});
|
||||||
$upfile = "$uinfo[7]/.tmp/upload.$id";
|
$upfile = "$uinfo[7]/.tmp/upload.$id";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<header>Maxmimum days</header>
|
<header>Maximum days</header>
|
||||||
This is the maxmimum number of days allowed between password changes.
|
This is the maximum number of days allowed between password changes.
|
||||||
After this time has elapsed, the user will be propted to enter a new
|
After this time has elapsed, the user will be propted to enter a new
|
||||||
password at login.
|
password at login.
|
||||||
<hr>
|
<hr>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<header>Maxmimum weeks</header>
|
<header>Maximum weeks</header>
|
||||||
This is the maxmimum number of weeks allowed between password changes.
|
This is the maximum number of weeks allowed between password changes.
|
||||||
After this time has elapsed, the user will be prompted to enter a new
|
After this time has elapsed, the user will be prompted to enter a new
|
||||||
password at login.
|
password at login.
|
||||||
<hr>
|
<hr>
|
||||||
|
@ -319,9 +319,9 @@ acl_ucreate=Can create new users?
|
|||||||
acl_uid=UIDs for new or modified users
|
acl_uid=UIDs for new or modified users
|
||||||
acl_umultiple=More than one user can have the same UID
|
acl_umultiple=More than one user can have the same UID
|
||||||
acl_uuid=UIDs of existing users can be changed
|
acl_uuid=UIDs of existing users can be changed
|
||||||
acl_ugroups=Allowed groups for new or modifed users
|
acl_ugroups=Allowed groups for new or modified users
|
||||||
acl_all=All
|
acl_all=All
|
||||||
acl_shells=Allowed shells for new or modifed users
|
acl_shells=Allowed shells for new or modified users
|
||||||
acl_any=Any
|
acl_any=Any
|
||||||
acl_listed=Listed..
|
acl_listed=Listed..
|
||||||
acl_home=Home directories must be under
|
acl_home=Home directories must be under
|
||||||
|
@ -2453,7 +2453,7 @@ foreach $g (@$groups) {
|
|||||||
local $members = join(" ", split(/,/, $g->{'members'}));
|
local $members = join(" ", split(/,/, $g->{'members'}));
|
||||||
local @cols;
|
local @cols;
|
||||||
if ($anyedit && ($g->{'noedit'} || !$access{'gdelete'})) {
|
if ($anyedit && ($g->{'noedit'} || !$access{'gdelete'})) {
|
||||||
# Need an explicity blank first column
|
# Need an explicitly blank first column
|
||||||
push(@cols, "");
|
push(@cols, "");
|
||||||
}
|
}
|
||||||
push(@cols, &group_link($g));
|
push(@cols, &group_link($g));
|
||||||
|
@ -275,7 +275,7 @@ return $str;
|
|||||||
=head2 quote_escape(string, [only-quote])
|
=head2 quote_escape(string, [only-quote])
|
||||||
|
|
||||||
Converts ' and " characters in a string into HTML entities, and returns it.
|
Converts ' and " characters in a string into HTML entities, and returns it.
|
||||||
Useful for outputing HTML tag values.
|
Useful for outputting HTML tag values.
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
sub quote_escape
|
sub quote_escape
|
||||||
@ -425,7 +425,7 @@ return $rv;
|
|||||||
|
|
||||||
Behaves exactly like transname, but returns a filename with current timestamp
|
Behaves exactly like transname, but returns a filename with current timestamp
|
||||||
|
|
||||||
=item filename - Optional filename prefix to preppend
|
=item filename - Optional filename prefix to prepend
|
||||||
|
|
||||||
=item extension - Optional extension for a filename to append
|
=item extension - Optional extension for a filename to append
|
||||||
|
|
||||||
@ -3794,7 +3794,7 @@ return 0;
|
|||||||
|
|
||||||
=head2 foreign_available(module)
|
=head2 foreign_available(module)
|
||||||
|
|
||||||
Returns 1 if some module is installed, and acessible to the current user. The
|
Returns 1 if some module is installed, and accessible to the current user. The
|
||||||
module parameter is the module directory name.
|
module parameter is the module directory name.
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
@ -5614,7 +5614,7 @@ return $_;
|
|||||||
|
|
||||||
=head2 get_module_info(module, [noclone], [forcache])
|
=head2 get_module_info(module, [noclone], [forcache])
|
||||||
|
|
||||||
Returns a hash containg details of the given module. Some useful keys are :
|
Returns a hash containing details of the given module. Some useful keys are :
|
||||||
|
|
||||||
=item dir - The module directory, like sendmail.
|
=item dir - The module directory, like sendmail.
|
||||||
|
|
||||||
@ -11366,7 +11366,7 @@ if ($force ||
|
|||||||
!$main::connect_userdb_cache{$str} ||
|
!$main::connect_userdb_cache{$str} ||
|
||||||
time() - $main::connect_userdb_cache_time{$str} > $timeout) {
|
time() - $main::connect_userdb_cache_time{$str} > $timeout) {
|
||||||
if ($str =~ /^(mysql|postgresql):/) {
|
if ($str =~ /^(mysql|postgresql):/) {
|
||||||
# DBI disconnnect
|
# DBI disconnect
|
||||||
if (!$h->{'AutoCommit'}) {
|
if (!$h->{'AutoCommit'}) {
|
||||||
$h->commit();
|
$h->commit();
|
||||||
}
|
}
|
||||||
@ -12124,7 +12124,7 @@ sub webmin_user_can_rpc
|
|||||||
{
|
{
|
||||||
my $u = $base_remote_user;
|
my $u = $base_remote_user;
|
||||||
my %access = &get_module_acl($u, "");
|
my %access = &get_module_acl($u, "");
|
||||||
return 1 if ($access{'rpc'} == 1); # Can make arbitary RPC calls
|
return 1 if ($access{'rpc'} == 1); # Can make arbitrary RPC calls
|
||||||
return 0 if ($access{'rpc'} == 0); # Cannot make RPCs
|
return 0 if ($access{'rpc'} == 0); # Cannot make RPCs
|
||||||
|
|
||||||
# Assume that standard admin usernames
|
# Assume that standard admin usernames
|
||||||
|
@ -43,7 +43,7 @@ message_dir=Entering dir
|
|||||||
message_alldir=Entering any dir
|
message_alldir=Entering any dir
|
||||||
message_classes=Classes to display for
|
message_classes=Classes to display for
|
||||||
message_readme=README files
|
message_readme=README files
|
||||||
message_update=When to display last modifed date
|
message_update=When to display last modified date
|
||||||
message_greeting=Greeting level
|
message_greeting=Greeting level
|
||||||
message_full=Hostname and version
|
message_full=Hostname and version
|
||||||
message_brief=Hostname
|
message_brief=Hostname
|
||||||
|
Loading…
x
Reference in New Issue
Block a user