Compare commits

...

180 Commits
1.995 ... 1.999

Author SHA1 Message Date
Jamie Cameron
2238995092 New version bump 2022-08-04 02:23:26 -07:00
iliajie
f7397080bc Merge remote-tracking branch 'origin/master' 2022-08-03 17:17:59 +03:00
iliajie
debf1673d9 Update CHANGELOG.md 2022-08-03 17:17:45 +03:00
Jamie Cameron
9fbf8de8db Merge pull request #1710 from webmin/dev/fix-get-slaves-ipv6
Fix get slave IPv6 address
2022-08-02 15:52:05 -07:00
Jamie Cameron
522d2e0d1b Merge pull request #1709 from webmin/dev/fix-miniserv-message-on-reloads
Fix `miniserv` message sent on reloads
2022-08-02 15:33:47 -07:00
iliajie
382ba23135 Fix to use a new set svg icons for servers 2022-08-03 01:19:51 +03:00
iliajie
6fc9dbe9c6 Update CHANGELOG.md 2022-08-03 00:49:01 +03:00
iliajie
b22b3ac2db Fix Oracle Linux support 2022-08-02 23:56:38 +03:00
iliajie
6ce312f734 Fix get slave IPv6 address 2022-08-02 13:51:15 +03:00
iliajie
7265005c53 Fix miniserv message sent on reloads 2022-08-02 13:34:12 +03:00
Jamie Cameron
d43fc5fa32 Allow IPv6 addresses for slaves https://forum.virtualmin.com/t/i-need-some-information/116013/37 2022-08-02 03:26:00 -07:00
Jamie Cameron
effc1ec35f Link to release notes without release version, because we only use the release for re-packaging 2022-08-02 02:48:50 -07:00
iliajie
1b932d8706 Fix Webmin release note message 2022-08-02 00:01:58 +03:00
Jamie Cameron
5c6f6d488d Show link to release notes https://github.com/webmin/webmin/issues/1707 2022-08-01 13:45:31 -07:00
iliajie
fc4f6af8e4 Fix Ubuntu release notes links 2022-08-01 23:13:26 +03:00
iliajie
739184c178 Fix version parsing to avoid warnings
(`Argument "22.04.1" isn't numeric in int`)
2022-08-01 22:17:07 +03:00
iliajie
bbc2db2d13 Fix numeric comparisons https://github.com/webmin/authentic-theme/issues/1612 2022-08-01 21:59:29 +03:00
Jamie Cameron
5c2e599cb8 Merge pull request #1708 from webmin/dev/useradmin-stricter-home-dir-perms
Fix home directory stricter default permissions
2022-08-01 11:13:06 -07:00
iliajie
58cbbc776a Fix home directory stricter default permissions 2022-08-01 21:12:03 +03:00
Jamie Cameron
16cb136a8e Merge pull request #1702 from webmin/dev/fix-time-module
Fix to hide time selection for Linux systems
2022-08-01 11:01:48 -07:00
iliajie
e6ec53f8e8 Keys don't need a return anymore 2022-08-01 20:13:51 +03:00
iliajie
b82dccd101 Fix to reserve hidden config option in a right (simpler) way 2022-08-01 20:12:32 +03:00
iliajie
ca61aa9ce5 Merge remote-tracking branch 'origin/master' 2022-08-01 19:35:43 +03:00
Jamie Cameron
143052b3a7 Merge branch 'master' of github.com:webmin/webmin 2022-08-01 09:16:40 -07:00
iliajie
25c27ce6c0 Update icons (use vector) for Servers Index module 2022-08-01 18:35:17 +03:00
iliajie
713272e726 Fix to support SVG icons for servers 2022-08-01 18:11:56 +03:00
iliajie
2f0981a7d4 Fix to use config_pre_load either way 2022-08-01 16:19:09 +03:00
iliajie
5723410156 Fix not to use config_preserve sub 2022-08-01 16:15:17 +03:00
iliajie
3c96c396f2 Fix to send HUP signal on reload instead 2022-08-01 14:55:45 +03:00
iliajie
bab5b7bc9f Fix to display fail2ban.local even if empty #1661 2022-08-01 00:18:45 +03:00
iliajie
d1d958bd6e Update list of dependencies 2022-07-31 22:05:42 +03:00
Jamie Cameron
f87a247327 Interface filenames can have a dash in them https://github.com/webmin/webmin/issues/1705 2022-07-31 09:46:02 -07:00
iliajie
626c625571 OpenSSH deprecated UsePrivilegeSeparation staring 7.5 (years ago)
... making it mandatory - https://www.openssh.com/txt/release-7.5
2022-07-30 13:30:27 +03:00
iliajie
5b359e9043 Fix not to display edit manually button if forbidden 2022-07-30 04:02:31 +03:00
iliajie
32507142ae Fix not to print edit manually icon if forbidden 2022-07-30 03:51:11 +03:00
iliajie
dcf97d83af Fix to preserve only if option is found in old config 2022-07-30 01:22:45 +03:00
iliajie
1bb7128ef2 Fix to use a new API to preserve existing config options (when hidden) 2022-07-30 01:03:22 +03:00
iliajie
e620256af4 Fix to revert change for testing config order 2022-07-30 01:02:15 +03:00
iliajie
de3b01d083 Add to preserve hidden config options 2022-07-30 01:00:59 +03:00
iliajie
42020b6598 Fix to hide time selection for Linux systems 2022-07-29 23:54:40 +03:00
iliajie
3de1f1ba2f Update CHANGELOG.md 2022-07-27 02:55:35 +03:00
iliajie
efa37b1c87 Update CHANGELOG.md (1.998) 2022-07-27 02:24:04 +03:00
iliajie
8f65e8f47a Fix default stop command for systemd units 2022-07-26 17:47:43 +03:00
Jamie Cameron
e4368046c8 New version bump 2022-07-24 14:01:52 -07:00
Jamie Cameron
76ce2c603f Merge branch 'master' of github.com:webmin/webmin 2022-07-24 13:10:43 -07:00
Jamie Cameron
b1e11d360d Fix version detection to deal with numbers like 3.14 https://forum.virtualmin.com/t/modsec-audit-log-impervious-to-log-file-rotation-settings/116142/4 2022-07-24 13:10:15 -07:00
Jamie Cameron
0d4ec2698f Merge pull request #1697 from webmin/dev/fdisk-improvements
Add `fdisk` GPT improvements
2022-07-24 13:04:42 -07:00
iliajie
5ea16f73b0 Handle the case when mode is set to fdisk and parted installed 2022-07-23 15:43:58 +03:00
iliajie
7aa4b6add0 Fix not to print redundant if warning already printed 2022-07-23 15:14:01 +03:00
iliajie
c984f3b57f Fix to display GPT with fdisk but don't edit 2022-07-23 15:04:31 +03:00
iliajie
ae05b815b2 Fix to display extent graphs in percents to fill nicely 2022-07-23 14:22:20 +03:00
iliajie
06cc942706 Add fdisk GPT improvements 2022-07-23 02:28:35 +03:00
Jamie Cameron
a10f4973c2 Merge branch 'master' of github.com:webmin/webmin 2022-07-22 12:09:20 -07:00
Jamie Cameron
8f84f1ebd4 Better handle out of order lines https://forum.virtualmin.com/t/perl-execution-error-when-trying-to-edit-an-lvm-through-webmin/116129 2022-07-22 12:06:34 -07:00
iliajie
d416eace1b Fix PHPINI Ubuntu module config (where did the tabs go?) 2022-07-22 18:35:47 +03:00
iliajie
9b658f07bc Fix SSH configs 2022-07-22 18:01:09 +03:00
iliajie
81f763d241 Fix Postfix configs 2022-07-22 15:20:50 +03:00
iliajie
a7dac2e806 Fix new line 2022-07-22 14:59:20 +03:00
Jamie Cameron
ec7d0465d1 Merge branch 'master' of github.com:webmin/webmin 2022-07-21 14:27:06 -07:00
Jamie Cameron
a4235588f4 Add support for unix extensions option https://github.com/webmin/webmin/issues/1695 2022-07-21 14:06:11 -07:00
iliajie
06d2e37273 Update CHANGELOG.md (upcoming 1.998) 2022-07-21 14:32:07 +03:00
Jamie Cameron
2f95f2ac38 Merge pull request #1694 from webmin/dev/apache-list-hosts-in-table
Fix to display hosts in table in Apache module
2022-07-20 13:35:09 -07:00
iliajie
3ca1caf561 Fix to display hosts in table in Apache module 2022-07-20 21:56:34 +03:00
iliajie
7096c0f998 Fix to resolve conflict for #1662 PR 2022-07-20 20:25:10 +03:00
iliajie
0002827690 Fix not to disable warnings for Gray Theme 2022-07-20 20:21:29 +03:00
Jamie Cameron
49cf952932 Merge pull request #1691 from webmin/dev/improve-module-configs
Fix more modules config files
2022-07-20 09:48:09 -07:00
iliajie
058cd60f4d Fix not to change show_list in this PR 2022-07-20 19:33:28 +03:00
Jamie Cameron
eb36da5e42 Merge pull request #1693 from webmin/dev/phpini-configs-master
Add improvements for searching and naming PHP configs (from master)
2022-07-20 09:26:21 -07:00
iliajie
d2480702a1 Add improvements for searching and naming PHP configs (from master) 2022-07-20 17:43:30 +03:00
iliajie
d75edf5e75 Add CentOS Stream Linux support 2022-07-20 14:44:33 +03:00
iliajie
a2110c579d Fix to take away show_list from this PR 2022-07-20 12:43:54 +03:00
iliajie
af868656ea Fix more modules config files 2022-07-20 03:39:23 +03:00
Jamie Cameron
ed5291bf40 Merge branch 'master' of github.com:webmin/webmin 2022-07-18 09:30:03 -07:00
Jamie Cameron
36f1e4aef3 Use cron default path https://sourceforge.net/p/webadmin/bugs/5571/ 2022-07-18 09:29:15 -07:00
Jamie Cameron
c1ad870830 Merge pull request #1690 from webmin/dev/bind-configs
Fix BIND configs for modern distros
2022-07-17 14:52:57 -07:00
iliajie
7f0d7fe741 Add missing dnssec_period option 2022-07-17 22:31:49 +03:00
iliajie
98b8b7e9c6 Fix not to touch dnssectools in this PR 2022-07-17 22:29:15 +03:00
iliajie
fa4b624187 Remove for Usermin only, as Webmin runs uninstalls 2022-07-17 21:10:47 +03:00
iliajie
af58e37bea Fix to run uninstalls conditionally 2022-07-17 21:02:18 +03:00
iliajie
6e00a54538 Merge remote-tracking branch 'origin/master' 2022-07-17 18:55:30 +03:00
iliajie
e0a5c4e507 Clear manifest files too 2022-07-17 15:51:28 +03:00
Jamie Cameron
8d78254db7 Don't bother with a test mount, as we don't know all the mount options https://github.com/webmin/webmin/issues/1688 2022-07-16 21:31:12 -07:00
Jamie Cameron
c2de5f067f Merge branch 'master' of github.com:webmin/webmin 2022-07-16 16:54:51 -07:00
Jamie Cameron
1b655f3646 Correct AlmaLinux name 2022-07-16 16:54:44 -07:00
iliajie
32798e18a4 Fix error message paddings 2022-07-17 01:00:27 +03:00
iliajie
c996a14450 Fix BIND configs for modern distros 2022-07-17 00:49:31 +03:00
Jamie Cameron
226620c7c4 Merge branch 'master' of github.com:webmin/webmin 2022-07-13 22:58:40 -07:00
Jamie Cameron
13aa152b18 Fix eval test https://github.com/webmin/webmin/issues/1685 2022-07-13 22:58:23 -07:00
iliajie
a6cb4c8041 Update CHANGELOG.md 2022-07-13 15:50:20 +03:00
Jamie Cameron
102364858c New version bump 2022-07-12 20:46:54 -07:00
iliajie
bd2fe56af8 Fix to remove /var/webmin too on uninstall 2022-07-13 01:52:54 +03:00
iliajie
75705b4788 Fix to stop service before removing 2022-07-13 01:05:58 +03:00
iliajie
1d50fc1218 Fix text 2022-07-13 00:39:21 +03:00
Jamie Cameron
559f866f40 Merge pull request #1687 from webmin/dev/uninstall-usermin-systemd-service
Fix to uninstall `systemd` Usermin unit properly
2022-07-12 14:33:51 -07:00
iliajie
f2586084b6 Fix to uninstall systemd Usermin unit properly 2022-07-13 00:30:11 +03:00
Jamie Cameron
16dfea1f98 Merge pull request #1686 from webmin/dev/fix-restarts-from-1.994
Fix restarts from 1.994 (final)
2022-07-12 12:52:06 -07:00
iliajie
6e347b00e1 Fix formatting 2022-07-12 21:42:44 +03:00
iliajie
ef9c4b80b2 Fix typo exit -> echo 2022-07-12 21:41:53 +03:00
iliajie
529df9ea9b Fix restarts for real 2022-07-12 21:39:14 +03:00
Jamie Cameron
d8e91f731e Command to show in the UI should not be escaped, but the actual command must be 2022-07-10 16:59:09 -07:00
Jamie Cameron
13f7bf9621 Command to show in the UI should not be escaped, but the actual command must be 2022-07-10 16:51:57 -07:00
iliajie
48bb329a60 Update translations 2022-07-11 02:37:53 +03:00
iliajie
d792d4ee7c Fix to use even shorter and later we'll use from input 2022-07-09 21:52:22 +03:00
iliajie
bb357fb2d1 Fix not to make string length that large not to break themes 2022-07-09 21:43:09 +03:00
iliajie
5200f5bc09 Add truncated string length to be configurable 2022-07-09 21:14:05 +03:00
iliajie
a951570ab9 Fix truncated string length 2022-07-09 20:36:22 +03:00
Ilia
4f2ee79dde Merge pull request #1683 from unknown10777/master
Delete machine translations
2022-07-08 22:15:57 +03:00
unknown10777
2aa7178bea Update module.info.zh 2022-07-09 03:04:05 +08:00
unknown10777
4fe7587d17 Delete module.info.zh.auto 2022-07-09 03:01:05 +08:00
unknown10777
764295eb76 Delete module.info.zh.auto 2022-07-09 02:59:45 +08:00
iliajie
760d4392ed Print bottom update button only if not in viewport https://github.com/webmin/authentic-theme/issues/1605#issue-1298478251 2022-07-08 12:31:26 +03:00
Jamie Cameron
c648f1225b Merge pull request #1682 from webmin/dev/fix-webmin-restarts-installed-from-source
Fix Webmin restarts when installed from source
2022-07-07 15:03:30 -07:00
iliajie
18e02fc163 Run pre and post install 2022-07-07 17:44:48 +03:00
iliajie
ceb3f4b669 Fix earlier introduced bugs for Solaris systems 2022-07-07 17:44:20 +03:00
iliajie
3bb6b0b992 Fix equality operator that fails in sh (works in bash) 2022-07-07 13:52:56 +03:00
Jamie Cameron
f3be18aa28 Show real PVs for raid LVs 2022-07-05 13:38:37 -07:00
Jamie Cameron
29c036da6e Show number of mirrors 2022-07-05 13:25:37 -07:00
Jamie Cameron
05f0b11c2f Volume counts don't include the parity disk 2022-07-05 12:52:47 -07:00
Jamie Cameron
c86947fd72 Merge branch 'master' of github.com:webmin/webmin 2022-07-05 12:28:26 -07:00
Jamie Cameron
79ea36b1fc Type needs to be striped for raid0 2022-07-05 12:28:16 -07:00
iliajie
81da9fdf6f Fix to use latest release to propose download 2022-07-05 21:45:14 +03:00
iliajie
8377a50a1a Add releases assets link for download 2022-07-05 16:41:35 +03:00
iliajie
2b87fc925a Fix makedebian.pl for Usermin 2022-07-05 03:07:05 +03:00
Jamie Cameron
9c0d35238b Fix a perl error 2022-07-03 19:04:05 -07:00
Jamie Cameron
546ddeb227 Merge pull request #1677 from webmin/reprise/fix-webmin-restarts-on-upgrades
Reprise: Fix Webmin restarts on upgrades
2022-07-03 15:56:31 -07:00
iliajie
6f5bb3947f Fix not to call SIGSTOP and SIGCONT for now 2022-07-04 01:00:12 +03:00
iliajie
37ac053942 Rename to README-zh.md ; fix the link 2022-07-04 00:40:27 +03:00
Jamie Cameron
5310d92d72 Merge branch 'master' of github.com:webmin/webmin 2022-07-03 14:36:11 -07:00
Jamie Cameron
babc9eac60 Add fallback in case PATH is somehow not set 2022-07-03 14:35:37 -07:00
iliajie
4b0303b6ae Update link to a new README-zh-cn.md file 2022-07-04 00:35:36 +03:00
iliajie
f1baf00879 Update README.md contributors 2022-07-04 00:30:02 +03:00
iliajie
d78a9a60c5 Revert "Update README.md contributors"
This reverts commit d3691a433f.
2022-07-04 00:29:19 +03:00
iliajie
d3691a433f Update README.md contributors 2022-07-04 00:28:00 +03:00
Ilia
356f707750 Merge pull request #1678 from unknown10777/master
Adds few zh-cn translations and a zh-cn version of readme.
2022-07-04 00:23:52 +03:00
unknown10777
db56a1caef Add entry to zh-cn version readme 2022-07-04 05:06:12 +08:00
unknown10777
ea01d751db localized translation 2022-07-04 05:04:09 +08:00
unknown10777
bbd430d0f1 Rename zh.auto to zh 2022-07-04 04:01:32 +08:00
unknown10777
6e2f8fca62 Update zh.auto 2022-07-04 04:01:07 +08:00
unknown10777
3100f87aa8 Delete module.info.zh.auto 2022-07-04 03:52:18 +08:00
unknown10777
e0bd9cd6fb Update module.info.zh 2022-07-04 03:51:56 +08:00
unknown10777
f3d5f01fcf Update module.info.zh 2022-07-04 03:50:38 +08:00
unknown10777
c38c46a38b Update zh 2022-07-04 03:35:51 +08:00
unknown10777
9e36ec65f1 Correct confusing translations
I apologize for confusing translations
2022-07-04 03:30:34 +08:00
unknown10777
37f799ecc8 Update zh
Iam sorry that some of them are confusing in Webmin
2022-07-04 03:08:38 +08:00
iliajie
7376c73a08 Fix setup.sh 2022-07-03 12:56:58 +03:00
iliajie
5dd812c47a Fix setup.sh 2022-07-03 12:56:50 +03:00
iliajie
b6660b1251 Fix makerpm.pl 2022-07-03 12:56:15 +03:00
iliajie
b96a499100 Fix makedebian.pl 2022-07-03 12:55:59 +03:00
iliajie
63a2e3e8bc Revert "Add kill command fall-back (just in case)"
This reverts commit 6a68cc8149.
2022-07-03 02:19:36 +03:00
Jamie Cameron
6b470c0290 Merge branch 'master' of github.com:webmin/webmin 2022-07-02 15:04:36 -07:00
Jamie Cameron
0872ecbfcf Log something on shutdown 2022-07-02 15:04:29 -07:00
iliajie
6a68cc8149 Add kill command fall-back (just in case) 2022-07-03 00:03:55 +03:00
iliajie
5f97294c50 Merge remote-tracking branch 'origin/master' 2022-07-02 23:51:30 +03:00
iliajie
56a7221290 Fix to check on kill command for systemd unit file 2022-07-02 23:51:12 +03:00
Jamie Cameron
349f02ad34 Devel version bump 2022-07-02 13:47:45 -07:00
iliajie
673b00f4ad Fix reload command 2022-07-02 23:44:54 +03:00
Jamie Cameron
612293154d Use actual path to the kill command 2022-07-02 13:38:31 -07:00
Jamie Cameron
2136fea0f2 Use actual path to the kill command 2022-07-02 13:37:42 -07:00
iliajie
9656298c85 Revert "Fix no /usr/bin/kill command too"
This reverts commit af177a69ba.
2022-07-02 23:35:21 +03:00
Jamie Cameron
9bbbf04a9e Use the correct path to the kill command 2022-07-02 13:33:34 -07:00
iliajie
af177a69ba Fix no /usr/bin/kill command too 2022-07-02 23:31:56 +03:00
iliajie
46365302f5 Merge branch 'master' of github.com:webmin/webmin 2022-07-02 23:17:47 +03:00
iliajie
f73a595d91 Fix key size for miniserv.pem 2022-07-02 23:15:01 +03:00
Jamie Cameron
e4b4fbcc6a Some systems (like Ubuntu 18) don't have the kill command in /usr/bin 2022-07-02 13:14:56 -07:00
Jamie Cameron
02e0d43f4e Don't stop webmin in setup.sh when it's already stopped beforehand 2022-07-02 12:31:20 -07:00
iliajie
e2f273d887 Fix webmin sub-commands are warnings friendly 2022-07-02 15:52:41 +03:00
Jamie Cameron
85553b8136 Merge branch 'master' of github.com:webmin/webmin 2022-07-01 21:59:57 -07:00
Jamie Cameron
e01579dfd1 javascript: can use different HTML entities 2022-07-01 21:59:10 -07:00
iliajie
3137198008 Fix not to print redundant format (can be seen from a filename) 2022-06-30 23:35:28 +03:00
iliajie
6b45fdb91a Fix to remove pointless alias sub-commands 2022-06-30 13:37:21 +03:00
iliajie
d0ed6f944e Fix pointless warnings flooding error log 2022-06-30 13:08:38 +03:00
iliajie
ff5d73b12c Fix seperated -> separated
https://github.com/webmin/webmin/pull/1674
2022-06-29 16:10:07 +03:00
Ilia
ff588f300f Merge pull request #1674 from luzpaz/typos
Fix user and non-user facing typos
2022-06-29 16:07:27 +03:00
iliajie
bbc46bbf09 Fix password format detection on FreeBSD systems 2022-06-29 15:26:09 +03:00
luz paz
3e6142f098 Fix user and non-user facing typos 2022-06-29 07:17:11 -04:00
Jamie Cameron
033189dc42 Handle case where substitution doesn't exist 2022-06-27 23:03:29 -07:00
Jamie Cameron
6e8351b0ed Use standard functions 2022-06-27 22:44:40 -07:00
Jamie Cameron
1095ef4308 Use any kind of bootup action, not just an init script 2022-06-26 14:13:40 -07:00
iliajie
945a8ac212 Fix to revert Dovecot start/stop commands to use init 2022-06-27 00:04:31 +03:00
iliajie
4123d03922 Fix to use init script config name 2022-06-26 23:29:37 +03:00
871 changed files with 4408 additions and 583 deletions

View File

@@ -1,12 +1,41 @@
## Changelog
#### 1.999 (August 4, 2022)
* Fix to allow IPv6 addresses for slaves in BIND module
* Fix to send `HUP` signal on reload with `systemd`
* Fix icons in Servers Index module for newer distros (Alma and Rocky)
* Fix to remove depricated option `UsePrivilegeSeparation` with OpenSSH 7.5+
* Fix Oracle Linux support
* Fix Ubuntu release notes links
* Add Webmin release note message
* Add latest Authentic [theme update](https://github.com/webmin/authentic-theme/releases/tag/19.99) with number of bug fixes
#### 1.998 (July 25, 2022)
* Fix Apache, BIND, MySQL, ProFTPd and other modules configs on newest distros for new installs
* Fix to use Cron default path when run from UI
* Fix post uninstall cleanups
* Fix version detection bug for Log File Rotation module
* Add improvements to Partitions on Local Disks module
* Add better support for CentOS Stream Linux for new installs
* Add improvements for searching and naming global PHP configs files
* Add support for unix extensions option for Samba module https://github.com/webmin/webmin/issues/1695
* Add latest Authentic [theme update](https://github.com/webmin/authentic-theme/releases/tag/19.98) with various bug fixes and small improvements
#### 1.997 (July 12, 2022)
* Add support for mirror and RAID volumes in LVM module
* Add latest Authentic [theme update](https://github.com/webmin/authentic-theme/releases/tag/19.97) with nice new features in File Manager and other fixes
* Fix more issues with restart when Webmin is upgraded from UI
#### 1.996 (July 4, 2022)
* Fix issues with `systemd` restarting Webmin on upgrade found in 1.995
#### 1.995 (June 23, 2022)
* Add improvements to stability for `systemd` systems
* Add native support to default to system default hashing format
* Add support to `yescrypt` password hashing scheme
* Add new _System Logs Viewer_ (logviewer) module
* 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 NVMe drives status support
* Fix AlmaLinux support

53
README-zh.md Normal file
View File

@@ -0,0 +1,53 @@
## 内容
* [更新日志](https://github.com/webmin/webmin/blob/master/CHANGELOG.md)
* [关于](#关于)
* [安装](#安装)[<img src="https://github.com/webmin-devel/webmin/blob/master/media/download-23x14-stable.png?raw=true" title="稳定版">](http://webmin.com/download.html)[<img src="https://github.com/webmin-devel/webmin/blob/master/media/download-23x14-devel.png?raw=true" title="Development Versions">](http://webmin.com/devel.html)
* [文档](#文档)
* [致谢](#致谢)
* [许可](#许可)
## 关于
**Webmin** 是一个基于网页的类Unix服务器系统管理工具全球安装超过 _1,000,000_ 次(没错,事宝藏!)。有了它,运维快人一步!比如用户,磁盘配额,服务或者配置文件,比如更改,控制开源应用,再比如 BIND DNS Server管理 Apache HTTP Server PHP MySQL 还有[许多许多好东西](https://doxfer.webmin.com/Webmin/Introduction)。
[![Quick UI overview 2021](https://user-images.githubusercontent.com/4426533/114315375-61a1c480-9b07-11eb-9aaf-4aa949a39ab7.png)](https://www.youtube.com/watch?v=daYG6O4AsEw)
可通过安装可定制的模块来扩展可用性。 除此之外,还有另外两个扩展其功能的项目:
* [Virtualmin](https://www.virtualmin.com) 是一个强大的,灵活的,最受欢迎的,最全面的 Linux 和 BSD 系统网络托管控制面板,在全球拥有超过 _150,000次_ 安装。它有开源社区支持的版本以及功能更丰富的Premium版本
* [Usermin](https://github.com/webmin/usermin) 顾名思义,呈现和控制以用户为中心的功能子集,而不是管理员级别的任务。
Webmin 包括 _116_ 个[标准模块](https://doxfer.webmin.com/Webmin/Webmin_Modules),并且至少有同样多的第三方模块。
### 系统要求
Perl 5.10 或更高。
## 安装
Webmin 可以两种方法安装:
1. 下载一个预编译包可用于不同的发行版CentOS, Fedora, SuSE, Mandriva, Debian, Ubuntu, Solaris 和 [其他发行版](http://www.webmin.com/support.html))。[下载页面直达车](http://webmin.com/download.html);
<kbd>注:非常建议[在你的系统添加源](https://doxfer.webmin.com/Webmin/Installation),这样可以自动更新</kbd>
2. 下载并解压[源码](https://prdownloads.sourceforge.net/webadmin/webmin-1.996.tar.gz)然后运行[_setup.sh_](http://www.webmin.com/tgz.html) 脚本,无需任何选项,也就是说会直接安装到当前目录。或者使用命令行参数,例如目标目录。
<kbd>注:如果你正在安装 Webmin [到Windows](http://www.webmin.com/windows.html) 系统上,你必须运行 `perl setup.pl` 命令。Windows 版能否正常运行取决于许多程序,和可能不属于标准发行版的模块。你需要 _process.exe_ 命令, _sc.exe_ 命令,以及 _Win32::Daemon_ Perl 模块。</kbd>
## 文档
完整的 Webmin 还有它所有模块的详细配置都在[维基页面](https://doxfer.webmin.com/Webmin/Main_Page).
## 致谢
### 首席开发者
* [Jamie Cameron](http://www.webmin.com/about.html) [![](https://github.com/webmin-devel/webmin/blob/master/media/linkedin-15x15.png?raw=true)](https://www.linkedin.com/in/jamiecameron2)
### 贡献者
* [Joe Cooper](https://github.com/swelljoe)
* [Ilia Rostovtsev](https://github.com/iliajie)
* [Kay Marquardt](https://github.com/gnadelwartz)
* [Nawawi Jamili](https://github.com/nawawi) + [其他无偿奉献的开发者](https://github.com/webmin/webmin/graphs/contributors)
## 许可
Webmin 基于 [BSD 许可](https://github.com/webmin/webmin/blob/master/LICENCE)发布。

View File

@@ -6,6 +6,8 @@
* [Development](#development)
* [License](#license)
* [中文版](https://github.com/webmin/webmin/blob/master/README-zh.md)
## About
**Webmin** is a web-based system administration tool for Unix-like servers, and services with over _1,000,000_ installations worldwide. Using it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify, and control open-source apps, such as BIND DNS Server, Apache HTTP Server, PHP, MySQL, and [many more](https://doxfer.webmin.com/Webmin/Introduction).
@@ -26,11 +28,11 @@ Perl 5.10 or higher.
## Installation
Webmin can be installed in two different ways:
1. By downloading a pre-built package, available for different distributions (CentOS, Fedora, SuSE, Mandriva, Debian, Ubuntu, Solaris and [other](http://www.webmin.com/support.html)) from our [download page](http://webmin.com/download.html);
1. By downloading a pre-built package, available for different distributions (CentOS, Fedora, SuSE, Mandriva, Debian, Ubuntu, Solaris and [other](http://www.webmin.com/support.html)) under [latest release assets](https://github.com/webmin/webmin/releases/latest) or from our [download page](http://webmin.com/download.html);
<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.
<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>
2. By downloading, extracting [source file](https://prdownloads.sourceforge.net/webadmin/webmin-1.999.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_ command, _sc.exe_ command, and _Win32::Daemon_ Perl module.</kbd>
## 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).
@@ -41,12 +43,14 @@ Complete set of documentation for Webmin and all of its modules can be found at
* [Jamie Cameron](http://www.webmin.com/about.html) [![](https://github.com/webmin-devel/webmin/blob/master/media/linkedin-15x15.png?raw=true)](https://www.linkedin.com/in/jamiecameron2)
### Contributors
* [Joe Cooper](https://github.com/swelljoe)
### Developers
* [Ilia Rostovtsev](https://github.com/iliajie)
* [Joe Cooper](https://github.com/swelljoe)
### Contributors
* [Kay Marquardt](https://github.com/gnadelwartz)
* [Nawawi Jamili](https://github.com/nawawi) + [57 more..](https://github.com/webmin/webmin/graphs/contributors)
* [Nawawi Jamili](https://github.com/nawawi)
* [unknown10777](https://github.com/unknown10777) + [90 more..](https://github.com/webmin/webmin/graphs/contributors)
## License

File diff suppressed because one or more lines are too long

View File

@@ -145,7 +145,7 @@ $self->{'name'} = $name;
}
=head2 get_name()
Returns the name for indentifying this table in HTML
Returns the name for identifying this table in HTML
=cut
sub get_name
{

View File

@@ -402,7 +402,7 @@ $self->{'name'} = $name;
}
=head2 get_name()
Returns the name for indentifying this table in HTML
Returns the name for identifying this table in HTML
=cut
sub get_name
{
@@ -628,7 +628,7 @@ else {
=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
fields overriden by the parameters (where defined)
fields overridden by the parameters (where defined)
=cut
sub make_url
{

View File

@@ -15,6 +15,7 @@ BEGIN { push(@INC, ".."); };
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
use WebminCore;
&init_config();
do 'md5-lib.pl';

View File

@@ -1,6 +1,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
do 'acl-lib.pl';
our (%text, %in);

View File

@@ -1,6 +1,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require 'acl-lib.pl';
our ($config_directory, %gconfig);

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
&ui_print_header(undef, $text{'cert_title'}, "", undef, undef, undef, undef,

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $module_config_directory, $base_remote_user);
&ReadParse();

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);

View File

@@ -1,6 +1,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
do 'acl-lib.pl';
our (%access);

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $config_directory);
&ReadParse();

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
$access{'sync'} && $access{'create'} || &error($text{'convert_ecannot'});

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $base_remote_user);
&ReadParse();

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $base_remote_user);
&ReadParse();

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, %sessiondb);
&ReadParse();

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $base_remote_user);
&ReadParse();

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $base_remote_user);
&ReadParse();

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $base_remote_user, %gconfig);
&ReadParse();

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $config_directory);
&ReadParse();

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
$access{'pass'} || &error($text{'pass_ecannot'});

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %gconfig, %access, $module_name, $module_root_directory);
$access{'rbacenable'} || &error($text{'rbac_ecannot'});

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
$access{'sql'} || &error($text{'sql_ecannot'});

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
$access{'sync'} && $access{'create'} && $access{'delete'} ||

View File

@@ -5,6 +5,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
$access{'unix'} && $access{'create'} && $access{'delete'} ||

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $config_directory, $base_remote_user, $remote_user);
&foreign_require("webmin", "webmin-lib.pl");

View File

@@ -1,6 +1,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
do 'acl-lib.pl';
our ($config_directory);

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $base_remote_user);
&ReadParse();

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, %sessiondb);
$access{'sessions'} || &error($text{'sessions_ecannot'});

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
do 'acl-lib.pl';
our (%text);

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
$access{'pass'} || &error($text{'sql_ecannot'});

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
$access{'pass'} || &error($text{'sql_ecannot'});

View File

@@ -1,6 +1,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require 'acl-lib.pl';
our ($config_directory);

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $base_remote_user, %gconfig,
$config_directory);

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $config_directory);
&ReadParse();

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
$access{'pass'} || &error($text{'pass_ecannot'});

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
$access{'pass'} || &error($text{'sql_ecannot'});

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $module_config_directory);
&ReadParse();

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $base_remote_user);
&foreign_require("webmin");

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
&ReadParse();

View File

@@ -4,6 +4,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $config_directory, $base_remote_user);
&foreign_require("webmin", "webmin-lib.pl");

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
$access{'pass'} || &error($text{'sql_ecannot'});

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, %sessiondb);
&ReadParse();

View File

@@ -1,6 +1,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, $remote_user, %sessiondb, $module_name);
do 'acl-lib.pl';

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $base_remote_user);
&foreign_require("webmin");

View File

@@ -1,6 +1,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
if (!$main::done_foreign_require{"acl","acl-lib.pl"}) {
do "acl-lib.pl";
}

View File

@@ -1293,7 +1293,7 @@ class QWebWSGIServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer):
""" QWebWSGIServer
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
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
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)
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):
BaseHTTPServer.HTTPServer.__init__(self, (ip, port), QWebWSGIHandler)

View File

@@ -3,6 +3,8 @@
# a URL that proxies to it
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
BEGIN { push(@INC, ".."); };
use WebminCore;
@@ -70,6 +72,8 @@ while(1) {
close(TEST2);
use strict "subs";
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
# Show the iframe
print "<center>\n";

View File

@@ -2,6 +2,8 @@
# Proxy an Ajaxterm request to the real port
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
BEGIN { push(@INC, ".."); };
use WebminCore;

View File

@@ -1,4 +1,4 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types

View File

@@ -1,9 +1,9 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types
start_cmd=systemctl start httpd.service
apply_cmd=/usr/sbin/apachectl graceful
apply_cmd=systemctl reload httpd.service
stop_cmd=systemctl stop httpd.service
show_order=0
max_servers=100
@@ -15,5 +15,5 @@ test_apachectl=1
auto_mods=1
show_names=0
allow_virtualmin=0
pid_file=/etc/httpd/run/httpd.pid
pid_file=/run/httpd/httpd.pid
format_config=1

View File

@@ -0,0 +1,19 @@
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types
start_cmd=systemctl start httpd.service
apply_cmd=systemctl reload httpd.service
stop_cmd=systemctl stop httpd.service
show_order=0
max_servers=100
test_config=1
test_manual=0
apachectl_path=/usr/sbin/apachectl
test_always=0
test_apachectl=1
auto_mods=1
show_names=0
allow_virtualmin=0
pid_file=/run/httpd/httpd.pid
format_config=1

View File

@@ -0,0 +1,19 @@
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types
start_cmd=systemctl start httpd.service
apply_cmd=systemctl reload httpd.service
stop_cmd=systemctl stop httpd.service
show_order=0
max_servers=100
test_config=1
test_manual=0
apachectl_path=/usr/sbin/apachectl
test_always=0
test_apachectl=1
auto_mods=1
show_names=0
allow_virtualmin=0
pid_file=/run/httpd/httpd.pid
format_config=1

View File

@@ -1,4 +1,4 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types

View File

@@ -1,4 +1,4 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types

View File

@@ -0,0 +1,23 @@
httpd_dir=/etc/apache2
httpd_path=/usr/sbin/apache2
httpd_conf=/etc/apache2/apache2.conf
mime_types=/etc/mime.types
start_cmd=systemctl start apache2
apply_cmd=systemctl reload apache2
stop_cmd=systemctl stop apache2
show_order=0
max_servers=100
test_config=1
test_manual=0
test_always=0
test_apachectl=1
virt_file=/etc/apache2/sites-available
link_dir=/etc/apache2/sites-enabled
auto_mods=1
defines_file=/etc/apache2/envvars
defines_name=APACHE_ARGUMENTS
apachectl_path=/usr/sbin/apache2ctl
show_names=0
allow_virtualmin=0
format_config=1
show_list=1

View File

@@ -1,9 +1,9 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types
start_cmd=systemctl start httpd.service
apply_cmd=/usr/sbin/apachectl graceful
apply_cmd=systemctl reload httpd.service
stop_cmd=systemctl stop httpd.service
show_order=0
max_servers=100
@@ -15,4 +15,5 @@ test_apachectl=1
auto_mods=1
show_names=0
allow_virtualmin=0
pid_file=/run/httpd/httpd.pid
format_config=1

View File

@@ -68,8 +68,8 @@ print "<table border><tr><td $cb><pre>\n\n";
&show_directives($conf, 0);
print "</pre></td></tr></table>\n";
print "</td></tr>\n";
if ($in{'virt'} || $in{'file'} || defined($in{'idx'})) {
if ($access{'types'} eq '*' &&
($in{'virt'} || $in{'file'} || defined($in{'idx'}))) {
print "<tr>\n";
print "<td><form action=manual_form.cgi>";
print "<input type=submit name=these value='$text{'show_these'}'>";

View File

@@ -1,5 +1,7 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in);
require 'at-lib.pl';

View File

@@ -1,5 +1,7 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our %config;
do 'at-lib.pl';

View File

@@ -1,5 +1,7 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our %access;
do 'at-lib.pl';

View File

@@ -3,6 +3,8 @@
# Create a new at job
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%access, %text, %in);
require './at-lib.pl';

View File

@@ -2,6 +2,8 @@
# Delete or run an at job
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in);
require './at-lib.pl';

View File

@@ -2,6 +2,8 @@
# Delete multiple at jobs
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our(%access, %text, %in);
require './at-lib.pl';

View File

@@ -3,6 +3,8 @@
# Display a command for deletion
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%access, %text, %in);
require './at-lib.pl';

View File

@@ -1,6 +1,8 @@
# freebsd-lib.pl
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
no warnings "redefine";
our (%config);

View File

@@ -7,6 +7,8 @@
# ext_cmd : default command
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%access, %text, %in, %config);
our ($module_name, $remote_user);

View File

@@ -1,6 +1,8 @@
# install_check.pl
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
do 'at-lib.pl';

View File

@@ -1,6 +1,8 @@
# linux-lib.pl
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
no warnings "redefine";
our (%config);

View File

@@ -2,6 +2,8 @@
# Functions for parsing this module's logs
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our %text;
do 'at-lib.pl';

View File

@@ -1,6 +1,8 @@
# macos-lib.pl
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
no warnings "redefine";
our %config;

View File

@@ -2,6 +2,8 @@
# Update allowed or denied At users
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%access, %text, %in);
require './at-lib.pl';

View File

@@ -1,6 +1,8 @@
# solaris-lib.pl
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
no warnings "redefine";
our %config;

View File

@@ -13,6 +13,8 @@ Functions for creating configuration file backups. Some example code :
BEGIN { push(@INC, ".."); };
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
use WebminCore;
our (%text, $module_config_directory, %config);
&init_config();

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './backup-config-lib.pl';
our (%in, %text, %config, $module_config_file);
&ReadParse();

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %config, $no_acl_check);
$no_acl_check++;
require './backup-config-lib.pl';

View File

@@ -1,6 +1,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
do 'backup-config-lib.pl';
sub cgi_args

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './backup-config-lib.pl';
our (%in, %text);
&ReadParse();

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './backup-config-lib.pl';
our (%text, %in, %config);
&ReadParse();

View File

@@ -2,21 +2,21 @@ index_title=备份配置文件
index_emods=系统上没有Webmin模块支持配置备份。
index_dest=备份目的地
index_mods=Webmin模块
index_sched=预定的?
index_sched=计划的?
index_when=是, $1
index_count=$1个模块
index_add=添加新的预定备份。
index_none=尚未定义计划的备份
index_add=添加新的备份计划
index_none=无备份计划
index_header=立即备份配置
index_now=立即备份
index_return=计划备份列表
index_return=备份计划列表
index_return2=备份和还原表格
index_header2=立即还原配置
index_now2=立即还原
index_apply=应用配置?
index_test=仅显示将恢复的内容?
index_jobs=预定备份
index_nostrftime=警告-一些备份作业在其文件名中使用但是在“模块配置”页面上未启用strftime替换。
index_nostrftime=警告-一些备份作业在其文件名中使用“%”但是在“模块配置”页面上未启用strftime替换。
index_tabsched=计划备份
index_tabbackup=立即备份
index_tabrestore=立即还原
@@ -68,7 +68,7 @@ backup_enone2=备份中没有所选模块的文件
backup_epre2=模块 $1拒绝还原 $2
backup_err=备份失败
backup_edest=绝对本地文件丢失或无效
backup_edest=绝对路径的文件丢失或无效
backup_eserver1=FTP服务器丢失或无效
backup_eserver2=SSH服务器丢失或无效
backup_epath=FTP服务器上的绝对路径丢失或无效
@@ -80,7 +80,7 @@ backup_esport=缺少或无效的SSH服务器端口
backup_emods=未选择模块
backup_title=备份配置
backup_doing=开始将模块配置文件备份到 $1 ..
backup_failed=..失败了! $1
backup_failed=了! $1
backup_done=..完成。最终备份大小为 $1其中包含 $2个文件。
restore_err=恢复失败
@@ -88,8 +88,8 @@ restore_emods=未选择模块或其他文件
restore_title=恢复配置
restore_doing=从 $1..开始恢复模块配置文件。
restore_testing=从 $1..中提取备份的内容
restore_failed=..失败了! $1
restore_done=..完成。已还原 $1个文件。
restore_failed=了! $1
restore_done=..完成。已恢复 $1个文件。
restore_done2=..备份中的文件是:
nice_ftp=通过FTP在 $1上的 $2
@@ -109,14 +109,14 @@ log_run_backup=已将 $1个模块备份到 $2
run_title=备份配置
run_doing=正在将 $1个模块备份到 $2 ..
run_ok=..备份成功完成。
run_failed=..备份失败!有关原因,请参上面的错误消息。
run_failed=寄了!请参上面的错误消息。
email_mods=模块备份:
email_mods=备份模块
email_failed=到 $1失败
email_ok=到 $1成功。
email_sfailed=$1的配置备份失败
email_sok=$1的配置备份成功
email_sfailed=$1的配置备份失败
email_sok=$1的配置备份成功
email_final=最终备份文件的大小为 $1
email_pre=运行备份前命令 $1 ..
email_post=运行备份后命令 $1 ..
email_prefailed=备份前命令失败
email_prefailed=备份前执行的命令寄了

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
do 'backup-config-lib.pl';
our (%text);

View File

@@ -0,0 +1,2 @@
desc=备份配置文件
longdesc=进行手动或计划备份、恢复Webmin模块的配置文件

View File

@@ -1,2 +0,0 @@
desc_zh=备份配置文件
longdesc_zh=对Webmin模块管理的配置文件执行手动或计划的备份和还原。

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './backup-config-lib.pl';
our (%in, %text, %config, $module_config_file);
&ReadParseMime();

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './backup-config-lib.pl';
our (%in, %text, $cron_cmd, $module_name);
&ReadParse();

View File

@@ -3,6 +3,8 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require 'backup-config-lib.pl';
sub module_uninstall

View File

@@ -2,6 +2,7 @@
# disable-proxy - Reverse/remove the configuration options set by enable-proxy.
use strict;
use warnings;
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
use 5.010; # Version in CentOS 6

View File

@@ -2,6 +2,7 @@
# disable-twofactor - Disable two-factor authentication for a user.
use strict;
use warnings;
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
use 5.010; # Version in CentOS 6

View File

@@ -3,6 +3,7 @@
# through a proxy.
use strict;
use warnings;
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
use 5.010; # Version in CentOS 6

View File

@@ -3,6 +3,7 @@
use strict;
use warnings;
use 5.014;
use File::Spec;

View File

@@ -3,6 +3,7 @@
# module.
use strict;
use warnings;
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
use 5.010; # Version in CentOS 6

View File

@@ -22,7 +22,7 @@ sub main
# If username passed as regular param
my $cmd = scalar(@ARGV) == 1 && $ARGV[0];
$cmd = $opt{'command'} if ($opt{'command'});
if ($cmd !~ /^(status|start|stop|restart|reload|force-restart|force-reload|kill)$/) {
if ($cmd !~ /^(status|start|stop|restart|reload|force-restart|kill)$/) {
$cmd = undef;
}
@@ -70,7 +70,7 @@ sub run
my $rs = system("$o->{'config'}/$o->{'cmd'} $service");
exit $rs;
}
if ($o->{'cmd'} =~ /^(kill|force-kill)$/) {
if ($o->{'cmd'} =~ /^(kill)$/) {
my $rs;
if (-x $systemctlcmd) {
$rs = system("$systemctlcmd stop $service");
@@ -79,7 +79,7 @@ sub run
$rs = system("$o->{'config'}/.stop-init --kill >/dev/null 2>&1 $service");
exit $rs;
}
if ($o->{'cmd'} =~ /^(force-reload|force-restart)$/) {
if ($o->{'cmd'} =~ /^(force-restart)$/) {
my $rs = system("$o->{'config'}/restart-by-force-kill $service");
exit $rs;
}
@@ -164,15 +164,10 @@ sub root
- start
- stop
- restart
- reload
- force-restart
- force-reload
- reload
- kill
Alias commands:
- force-restart | force-reload
- kill | force-kill
=back
=head1 LICENSE AND COPYRIGHT

View File

@@ -3,6 +3,7 @@
# restart Webmin to apply the change.
use strict;
use warnings;
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
use 5.010; # Version in CentOS 6

View File

@@ -1,5 +1,7 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require 'bind8-lib.pl';
# Globals from bind8-lib.pl

View File

@@ -1,5 +1,7 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
do 'bind8-lib.pl';
# Globals from bind8-lib.pl

View File

@@ -3,8 +3,9 @@
use strict;
use warnings;
use Time::Local;
no warnings 'redefine';
no warnings 'uninitialized';
use Time::Local;
BEGIN { push(@INC, ".."); };
use WebminCore;
@@ -1298,7 +1299,7 @@ elsif ($type eq "DMARC") {
[ 's', $text{'value_dmarcfos'} ] ]));
}
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
print &ui_table_row($text{'value_NSEC3PARAM1'},
&ui_select("value0", $v[0] || 1,
@@ -1689,7 +1690,7 @@ return $chroot.$_[0];
}
# 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
sub has_ndc
{
@@ -2833,13 +2834,14 @@ foreach my $slave (@slaves) {
my @otherslaves;
if ($config{'other_slaves'}) {
@otherslaves = grep { $_ ne '' }
map { &to_ipaddress($_->{'host'}) }
map { &to_ipaddress($_->{'host'}) ||
&to_ip6address($_->{'host'}) }
grep { $_ ne $slave } @slaves;
}
if ($config{'extra_slaves'}) {
push(@otherslaves,
grep { $_ ne '' }
map { &to_ipaddress($_) }
map { &to_ipaddress($_) || &to_ip6address($_) }
split(/\s+/, $config{'extra_slaves'}));
}
if ($moreslaves) {
@@ -3715,7 +3717,7 @@ return wantarray ? @rv : $rv[0];
}
# 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
sub compute_dnssec_key_size
{
@@ -4055,7 +4057,7 @@ sub dt_resign_zone
}
# 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
{
my ($d) = @_;
@@ -4068,7 +4070,7 @@ sub dt_zskroll_zone
}
# 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
{
my ($d) = @_;

View File

@@ -1,5 +1,7 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
do 'bind8-lib.pl';
# Globals from bind8-lib.pl

Some files were not shown because too many files have changed in this diff Show More