Compare commits

..

349 Commits
1.990 ... 1.995

Author SHA1 Message Date
iliajie
88aadc1c4a Revert "Fix to use reload over restart when possible"
This reverts commit c41c8119e3.
2022-06-25 15:50:16 +03:00
iliajie
404310f230 Fix styling 2022-06-23 23:46:34 +03:00
Ilia
521ede5a3b Update CHANGELOG.md (1.995) 2022-06-23 12:38:31 +03:00
Ilia
1805d78e05 Fix Cron messages styling 2022-06-23 01:55:47 +03:00
Ilia
737a51de57 Fix not to display links when changing bind 2022-06-23 01:15:43 +03:00
Ilia
18e2a871e7 Fix missing restart command 2022-06-22 22:10:40 +03:00
Ilia
fdc9e6e2d8 Fix to trim last empty space when present too (for comma) 2022-06-22 20:04:46 +03:00
Ilia
c28b994534 Fix to check if there are results for proper comma position 2022-06-22 19:47:24 +03:00
Ilia
d918c517bd Update CHANGELOG.md ; merge and drop old CHANGELOG 2022-06-22 00:49:31 +03:00
Ilia
c0acf5685a No extra line breaks 2022-06-21 17:24:57 +03:00
Jamie Cameron
71db92eb6e Merge branch 'master' of github.com:webmin/webmin 2022-06-20 08:42:59 -07:00
Jamie Cameron
d0e0a1c193 Always update the status file at 0% 2022-06-20 08:42:30 -07:00
Ilia
0f6d15a408 Merge pull request #1671 from unknown10777/master
Added and corrected some translations
2022-06-19 22:33:17 +03:00
unknown10777
95d8b7af06 Modify and added some translations 2022-06-20 02:24:26 +08:00
unknown10777
588e25b7da Update zh 2022-06-20 02:23:24 +08:00
Jamie Cameron
a0e89e55a3 Merge branch 'master' of github.com:webmin/webmin 2022-06-18 23:56:46 -07:00
Jamie Cameron
e81916651b Set useful environment variables for pre and post scripts https://forum.virtualmin.com/t/backup-command-to-run-after-backup-script-problem/115454/22 2022-06-18 23:55:27 -07:00
Ilia
bb4e00df03 Fix to ignore initial release even if passed 2022-06-19 02:09:55 +03:00
Ilia
15834e406d Fix to pass only main version (without minor) 2022-06-19 01:48:57 +03:00
Jamie Cameron
dea6e79362 Merge pull request #1669 from webmin/dev/installation-password-hashing
Add support for `yescrypt` and `sha512` upon installation; fix other bug
2022-06-18 15:00:44 -07:00
Ilia
ecc8be2826 Fix not to add more digits
cd1ae41ad5 (commitcomment-76428145)
2022-06-19 00:23:18 +03:00
Ilia
a21626bd21 Fix salt length 2022-06-19 00:08:49 +03:00
Ilia
ebfb5dbae1 Fix to pass salt as a param
https://github.com/webmin/webmin/pull/1669#discussion_r901011310
2022-06-19 00:07:42 +03:00
Ilia
defa41f0b3 Fix indent
https://github.com/webmin/webmin/pull/1669#discussion_r901010274
2022-06-18 23:41:26 +03:00
Ilia
cd1ae41ad5 Fix to imporve randomness of the salt
https://github.com/webmin/webmin/pull/1669#discussion_r901011178
2022-06-18 23:35:55 +03:00
Ilia
5c7d31a1be Fix to rely on internal restarts/reloads
d357005cba (commitcomment-76425852)
2022-06-18 23:04:24 +03:00
Jamie Cameron
b5ce93bcac Add flag to force key re-generation https://github.com/virtualmin/virtualmin-gpl/issues/406 2022-06-18 12:47:11 -07:00
Jamie Cameron
005568c133 Merge branch 'master' of github.com:webmin/webmin 2022-06-18 11:04:26 -07:00
Jamie Cameron
1024adc6af Fix addition of --nofork arg 2022-06-18 11:03:59 -07:00
Ilia
1b78cf2656 Alerts vs text for filters 2022-06-18 11:55:32 +03:00
Jamie Cameron
5063d29ac8 When restarting, don't fork again 2022-06-17 15:54:44 -07:00
Ilia
38d35762c4 Fix to info alert 2022-06-17 23:07:07 +03:00
Ilia
a567dfd906 Fix typo 2022-06-17 21:06:29 +03:00
Ilia
cb1ec4ff1e Fix filter module messaging 2022-06-17 21:04:40 +03:00
Jamie Cameron
4075611f56 Merge branch 'master' of github.com:webmin/webmin 2022-06-15 22:27:32 -07:00
Jamie Cameron
61b95d6944 Escape untrusted path_info 2022-06-15 21:32:09 -07:00
Ilia
9d36b7c0e4 Fix to use API to check on command 2022-06-16 00:58:31 +03:00
Ilia
5c894525f1 Fix not to print passwords in terminal 2022-06-16 00:58:05 +03:00
Ilia
1993606809 Default to enable auto-detection of hashing format in setup.pl 2022-06-16 00:57:27 +03:00
Ilia
b0b0c11028 Add support for yescrypt and sha512 in setup.pl script 2022-06-16 00:56:50 +03:00
Ilia
4aa2154d42 Fix unix_crypt not to fail false positively 2022-06-16 00:45:16 +03:00
Ilia
e20ebc2da9 Default to enable auto-detection of hashing format in setup.sh 2022-06-15 23:30:27 +03:00
Ilia
e68b0a161c Add support for yescrypt and sha512 in setup.sh script 2022-06-15 23:29:12 +03:00
Ilia
9785382828 Fix support for contemporary salts 2022-06-15 23:27:04 +03:00
Ilia
6402eb9e9b Add stdout support for passwd sub-command based on system hash type 2022-06-15 19:57:54 +03:00
Ilia
f8758d663d Fix Usermin restart with systemd 2022-06-15 13:32:57 +03:00
Ilia
6c793a06f2 Fix not to print at line N when dying 2022-06-15 04:13:16 +03:00
Ilia
300c957a79 Merge pull request #1667 from webmin/dev/new-webmin-server-command
Add new `webmin server` command to control `miniserv`
2022-06-15 04:08:19 +03:00
Ilia
b25d2fe02f Add new webmin server command to control miniserv 2022-06-15 04:04:01 +03:00
Ilia
3862848b42 Fix reload script for systemd in /etc/webmin 2022-06-15 03:18:12 +03:00
Ilia
0b43242c44 Fix not to log to systemd while waiting 2022-06-15 01:33:48 +03:00
Ilia
70395aab02 Fix to solve Webmin systemd ongoing issues 2022-06-15 01:00:10 +03:00
Ilia
603b5029bc Add to support Restart= and RestartSec= for systemd 2022-06-15 00:06:34 +03:00
Ilia
9c35578d2e Add get_systemd_unit_pid API 2022-06-14 23:19:17 +03:00
Ilia
be1cac6b95 Unroll systemd reload for now 2022-06-14 21:56:10 +03:00
Ilia
eff6c31b7f Fix to actually perform a restart (not reload) 2022-06-14 15:21:14 +03:00
Ilia
6eeda08219 Fix Fail2Ban regex lazy over greedy; fix base styling 2022-06-14 15:00:50 +03:00
Ilia
722c2bf663 Fix how Usermin is restarted/reloaded 2022-06-14 02:02:10 +03:00
Ilia
ababa1ff72 Check if init module available before using 2022-06-14 01:24:39 +03:00
Ilia
6f61ab1373 Fix to remove OOM controls 2022-06-13 22:27:11 +03:00
Ilia
171840ff50 Fix to check if Webmin/Usermin systemd unit was setup
d357005cba (comments)
2022-06-13 11:58:14 +03:00
Ilia
7f71a4b8f8 Add missed patch to address XSS (in Usermin) 2022-06-13 11:38:58 +03:00
Ilia
3885ea27c2 Add separate AlmaLinux and Rocky Linux configs for Dovecot 2022-06-13 11:37:28 +03:00
Jamie Cameron
d357005cba Systemctl cannot be assumed to work just because it is installed, because the webmin action may not have been setup 2022-06-12 21:42:03 -07:00
Jamie Cameron
48e72094df New webmin version 2022-06-11 16:44:50 -07:00
Ilia
2dd1060263 Merge remote-tracking branch 'origin/master' 2022-06-11 17:57:24 +03:00
Ilia
7f541f90b9 Fix not to switch to your self 2022-06-11 17:57:06 +03:00
Jamie Cameron
7e8b940077 Merge branch 'master' of github.com:webmin/webmin 2022-06-10 22:49:49 -07:00
Jamie Cameron
24d1a476fb Assume NVME always supports SMART https://forum.virtualmin.com/t/nvme-to-usb-using-realtek-rtl9210b-and-smart-status-issue/115527/14 2022-06-10 22:49:08 -07:00
Ilia
5c3e239534 Fix to check if init module is available 2022-06-10 14:31:43 +03:00
Jamie Cameron
3ce2843b1d Merge pull request #1664 from webmin/dev/reload-over-restart
Fix to use reload over restart when possible
2022-06-09 17:46:14 -07:00
Ilia
c41c8119e3 Fix to use reload over restart when possible 2022-06-09 15:00:31 +03:00
Jamie Cameron
743bb67414 Fix check if firewalld is installed but not running 2022-06-08 21:30:43 -07:00
Jamie Cameron
e83ab6d83d Always auto-detect drive type https://forum.virtualmin.com/t/nvme-to-usb-using-realtek-rtl9210b-and-smart-status-issue/115527/4 2022-06-08 19:47:13 -07:00
Jamie Cameron
96c6a227e8 Move all sessions link to end of table 2022-06-08 19:21:54 -07:00
Jamie Cameron
0b1d2885d4 Move actions to a separate column 2022-06-08 19:20:30 -07:00
Jamie Cameron
7ec58b13d4 Merge pull request #1659 from webmin/dev/systemd-improvements
Dev/systemd improvements
2022-06-08 16:19:21 -07:00
Ilia
be8952db22 Merge remote-tracking branch 'origin/master' 2022-06-09 00:26:30 +03:00
Ilia
7df055e668 Fix BIND config for FreeBSD 12 2022-06-09 00:26:18 +03:00
Ilia
597682f9ae Fix to use absolute path 2022-06-08 20:42:36 +03:00
Jamie Cameron
d55fc76bf6 Include command in lsof result 2022-06-07 22:01:21 -07:00
Ilia
9daf01dfcb Reload miniserv using systemctl reload 2022-06-07 23:14:33 +03:00
Ilia
04ee7e9c08 Fix systemd webmin.service file; lower priority 2022-06-07 23:13:55 +03:00
Ilia
43052c7b50 One more space please 2022-06-07 10:58:19 +03:00
Ilia
c2d26f1c13 Fix bad typo 2022-06-07 10:54:13 +03:00
Ilia
36d051f12f Fix Recent Logins dashboard links 2022-06-07 10:51:00 +03:00
Ilia
f1f27bd334 No deepcopy; no pid no filename 2022-06-05 00:50:41 +03:00
Ilia
31895cd662 Revert "No deepcopy; no pid no filename"
This reverts commit eba4feb39b.

Wrong branch!
2022-06-05 00:47:56 +03:00
Ilia
eba4feb39b No deepcopy; no pid no filename 2022-06-05 00:47:07 +03:00
Jamie Cameron
b7468b611c Merge branch 'master' of github.com:webmin/webmin 2022-06-04 11:11:46 -07:00
Jamie Cameron
3e20c9436d Add config option for file to add new directives to https://github.com/virtualmin/virtualmin-gpl/issues/398 2022-06-04 11:08:50 -07:00
Jamie Cameron
1108601b07 Merge pull request #1655 from webmin/dev/new-journald-module
Add new System Logs Viewer (`logviewer`) module
2022-06-04 08:10:58 -07:00
Jamie Cameron
6be052cdc9 Merge pull request #1654 from webmin/dev/set-webmin-to-use-system-default-hashing
Add Webmin to support system default hashing format
2022-06-03 16:26:40 -07:00
Ilia
64bad303b5 Paths in unit service file must be configurable 2022-06-03 21:45:28 +03:00
Ilia
95dcc4cd88 Add API to return cached theme info 2022-06-03 16:38:56 +03:00
Ilia
6ca7489a46 Fix missing ExecReload command 2022-06-03 14:54:06 +03:00
Ilia
849c7613ad Yet, must be killed and will triger auto-restart 2022-06-03 14:38:01 +03:00
Ilia
517c43c39b Lower reload time but make sure it's not auto-restarted on force reload 2022-06-03 14:09:34 +03:00
Ilia
4d48f6ef72 Fix OOMPolicy for Webmin processes 2022-06-03 13:59:25 +03:00
Ilia
f662edb814 Fix miniserv restart with systemd 2022-06-03 13:14:06 +03:00
Ilia
9f6a651a79 Fix change bind port redirects 2022-06-03 04:44:58 +03:00
Ilia
299b747738 Disable subroutine redefined warnings to prevent log polution (2) 2022-06-02 15:30:02 +03:00
Ilia
d598c43371 Disable subroutine redefined warnings to prevent log polution 2022-06-02 15:28:14 +03:00
Ilia
bb39025bac Fix to check if init module is available
Users in Usermin cannot start/restart the service
2022-06-02 12:02:34 +03:00
Jamie Cameron
8985485aff Fix rocky linux label https://github.com/webmin/webmin/issues/1658 2022-05-31 21:06:29 -07:00
Ilia
56660dc4f2 Fix flag type 2022-05-31 23:18:35 +03:00
Ilia
e40bd76eba Fix filenames for AlmaLinux configs 2022-05-31 21:50:36 +03:00
Ilia
05bb47c28b Fix missing call to init module 2022-05-31 19:22:06 +03:00
Ilia
871a402868 Fix Dovecot start, stop and restart commands 2022-05-31 19:15:07 +03:00
Ilia
a9e35b7369 Add support to display syslog-ng logs 2022-05-31 15:50:50 +03:00
Jamie Cameron
974c705b33 Start of work on RAID LV creation 2022-05-30 17:14:25 -07:00
Jamie Cameron
e9e968b140 Merge pull request #1652 from webmin/dev/passwd-yescrypt
Add support for `yescrypt` password hashing scheme
2022-05-30 15:26:24 -07:00
Ilia
fd223e7933 Revert "Fix not to show as config option yescrypt when not supported"
This reverts commit f431aaafde.
2022-05-30 23:45:39 +03:00
Ilia
88c6e06c03 Add support to list and view all syslog logs 2022-05-30 15:53:37 +03:00
Ilia
d225a991e4 Fix label order 2022-05-30 13:50:55 +03:00
Ilia
b6877be1c1 Fix priority messages naming; fix sorting; fix display 2022-05-30 13:45:43 +03:00
Jamie Cameron
4bfe897054 Merge branch 'master' of github.com:webmin/webmin 2022-05-29 22:14:34 -07:00
Jamie Cameron
a966382709 Use ui_link instead of manually created hrefs 2022-05-29 22:12:13 -07:00
Ilia
f431aaafde Fix not to show as config option yescrypt when not supported 2022-05-30 01:35:39 +03:00
Ilia
3a7dda67cd Warn syslog and syslog-ng user that systemd-journald is found 2022-05-30 01:07:32 +03:00
Ilia
c9b1db30e2 Add logviewer to default modules list 2022-05-30 00:41:33 +03:00
Ilia
c3ba4a9557 Add new System Logs Viewer (logviewer) module 2022-05-30 00:41:12 +03:00
Ilia
4028399d4c Fix to force system detection hashing format 2022-05-29 14:32:05 +03:00
Ilia
db0c5d1d76 Fix CLI tool to consider default system hashing format 2022-05-29 14:04:06 +03:00
Ilia
3aa792f73d Allow foreign callers to force system detection of hashing format 2022-05-29 13:44:38 +03:00
Ilia
3b850af7c0 Add Webmin to support system default hashing format 2022-05-29 12:58:16 +03:00
Ilia
636a8a304d Fix comment 2022-05-29 12:47:46 +03:00
Jamie Cameron
8f9e1cbfc5 Merge pull request #1649 from webmin/dev/user-modes-tester
Add unobtrusive way to test if user is privileged; separate RPC logic
2022-05-28 13:42:28 -07:00
Ilia
e500398a23 Fix to fall back to /etc/redhat-release for Alma and Rocky 2022-05-28 23:35:32 +03:00
Ilia
7f2d442374 No caching as potentially a mode can change during the call 2022-05-28 23:12:30 +03:00
Ilia
5ac4bdde17 Add validate_password support 2022-05-28 23:09:29 +03:00
Ilia
dae7f8a397 Fix error message 2022-05-28 23:01:11 +03:00
Ilia
5df581e103 Fix to simplify mode test 2022-05-28 22:16:31 +03:00
Ilia
16e8f9ea9d Cache mode 2022-05-28 21:31:19 +03:00
Ilia
547fc9caf6 Add support for yescrypt password hashing scheme
https://sourceforge.net/p/webadmin/discussion/55377/thread/01e65be3f9/
2022-05-28 19:26:32 +03:00
Ilia
20bfc7785e Add standard admins; fix comments 2022-05-26 14:23:55 +03:00
Ilia
aa23ccf6e0 Fix webmin_user_can_rpc to have fallback admin users 2022-05-26 14:09:10 +03:00
Ilia
d102f80290 Separate Mail and Safe users; add convenience sub webmin_user_is 2022-05-26 14:04:48 +03:00
Ilia
26fa48623c Add unobtrusive way to test if user is privileged; separate RPC 2022-05-25 14:42:07 +03:00
Jamie Cameron
9477ea298d Merge pull request #1641 from webmin/dev/fix-admin-check
Fix admin check
2022-05-23 13:26:54 -07:00
Jamie Cameron
c4a5148f2b New version bump 2022-05-23 13:23:00 -07:00
Ilia
3f3b5bdf9c Fix admin check 2022-05-23 22:02:48 +03:00
Jamie Cameron
57c659d90a New version bump 2022-05-20 22:15:02 -07:00
Jamie Cameron
0117718f12 Merge branch 'master' of github.com:webmin/webmin 2022-05-19 20:56:48 -07:00
Jamie Cameron
68e1627eb7 Function to create a raid LV 2022-05-19 20:54:13 -07:00
Ilia
975362519a Display Release notes link for Ubuntu, Alma and Rocky 2022-05-20 00:43:29 +03:00
Ilia
05ff9c3619 Add more space before first link/button 2022-05-19 23:41:59 +03:00
Ilia
e91303b630 Update comment 2022-05-18 20:12:08 +03:00
Ilia
77e7db787a Fix systemd get root 2022-05-18 20:08:51 +03:00
Ilia
0e33aaa18d Fix var_dump filename 2022-05-15 13:17:35 +03:00
Jamie Cameron
88ec3a05cb 00~Report an error if updating the DNS records fails 2022-05-14 14:05:53 -07:00
Jamie Cameron
6a2334bf8b Factor out check for root-ish user into a separate function https://github.com/webmin/webmin/issues/1635 2022-05-14 11:38:03 -07:00
Jamie Cameron
3a6426858d Always quote 2022-05-13 23:50:45 -07:00
Jamie Cameron
8ed3bedbaa Merge branch 'master' of github.com:webmin/webmin 2022-05-11 21:22:05 -07:00
Jamie Cameron
b32cb7b0ba Figure out next run time in monthly mode https://github.com/webmin/authentic-theme/issues/1596 2022-05-11 21:21:59 -07:00
Ilia
bd383b0e78 Fix missing column in Fail2ban (File list) 2022-05-12 01:47:33 +03:00
Ilia
326ce82aa0 Support Squid v5.x 2022-05-11 00:27:27 +03:00
Ilia
25373eef90 Add All sessions button to list all currently logged in sessions 2022-05-10 13:10:03 +03:00
Ilia
031806f29c Display session delete and view log buttons on the dashboard 2022-05-10 12:02:24 +03:00
Jamie Cameron
fb993f22f8 Fix checking for remote host 2022-05-09 22:11:02 -07:00
Ilia
8404ff7d22 Show No password! in red 2022-05-08 00:37:23 +03:00
Jamie Cameron
385ccdf43f Use common function to check init script status, rather than looking for a file 2022-05-07 13:08:35 -07:00
Jamie Cameron
1a24cbc8ef Make the error message less confusing when just enabling an action 2022-05-07 12:21:43 -07:00
Jamie Cameron
6dc0a32013 Merge branch 'master' of github.com:webmin/webmin 2022-05-07 12:17:29 -07:00
Jamie Cameron
38dc8cdf4f We don't need to freeze and thaw on reload, as we do it before and after editing 2022-05-07 12:16:15 -07:00
Jamie Cameron
ac64ea08c0 Merge pull request #1632 from maykoli/dev/fix-sensors-fan-info
Fix sensors fans info parsing missing
2022-05-07 12:08:57 -07:00
Maykol
0196d33f7e Fix sensors fans information not saved in some cases 2022-05-07 13:18:03 +02:00
Ilia
c6e2df146a Fix to suppress error not command output 2022-05-06 20:17:51 +03:00
Jamie Cameron
3e01c24434 Suppress output in the right place 2022-05-01 17:31:01 -07:00
Jamie Cameron
a47ea3f4c5 New version bump 2022-04-30 16:33:23 -07:00
Jamie Cameron
6caa73858f Merge branch 'master' of github.com:webmin/webmin 2022-04-30 15:30:02 -07:00
Jamie Cameron
944886caea Licence is actually BSD-3 2022-04-30 15:29:50 -07:00
Ilia
3aa1dea739 Change mode for webmin-systemd to non exec 2022-04-30 16:53:13 +03:00
Ilia
6b629a4317 Fix to check if value exists first 2022-04-30 12:19:56 +03:00
Jamie Cameron
e0ea538216 Merge pull request #1628 from webmin/dev/postinstall-procedures
Dev/postinstall procedures
2022-04-27 20:50:20 -07:00
Jamie Cameron
802d58aa81 Change to dated-based serial by default https://github.com/virtualmin/virtualmin-gpl/issues/387 2022-04-26 19:07:59 -07:00
Jamie Cameron
066bb9cf37 Merge branch 'master' of github.com:webmin/webmin 2022-04-26 18:56:19 -07:00
Jamie Cameron
d54fa9028b Network line sometimes has 'metric XXX' in it https://github.com/virtualmin/virtualmin-pro/issues/25 2022-04-26 18:56:04 -07:00
Ilia
df7579a78a Fix to display as table for BIND and MySQL on these distros too 2022-04-27 00:00:47 +03:00
Ilia
5c04d35456 Print no bold 2022-04-26 01:53:30 +03:00
Ilia
d865737a45 Fix to hide scripts that mustn't be run directly; fix bugs 2022-04-25 17:04:01 +03:00
Ilia
dfbf80b3b1 Call force reload as restart-by-force-kill to make better sense 2022-04-25 15:36:50 +03:00
Ilia
e84bb09b81 Fix command presence test
https://github.com/webmin/webmin/pull/1628#discussion_r857203773
2022-04-25 13:46:31 +03:00
Ilia
17164f80b1 More warning messages updates 2022-04-24 17:46:53 +03:00
Ilia
14eacee616 Make warning message look better on Debian 2022-04-24 17:42:33 +03:00
Ilia
c026a53cf5 Add missing done 2022-04-24 12:48:32 +03:00
Ilia
08d7aae99c Fix new line 2022-04-24 11:41:26 +03:00
Ilia
1209e27531 Remove old code (sync with master) 2022-04-24 11:39:22 +03:00
Ilia
7e632d7769 This is atboot.pl not updateboot.pl 2022-04-24 11:21:13 +03:00
Jamie Cameron
0b3d63f5ef Delete the dsset- file even if DNS tools aren't being used 2022-04-23 21:47:01 -07:00
Jamie Cameron
6b43c981b8 Preserve key files when disabling DNSSEC 2022-04-23 18:23:17 -07:00
Ilia
fbed333160 Fix type - WARN instead of ERROR 2022-04-23 23:51:49 +03:00
Ilia
ad91683ffa Don't do cleaning, it will happen by the package manager 2022-04-23 23:50:00 +03:00
Jamie Cameron
f54022bff4 Make sure extra slaves are actually IPs https://forum.virtualmin.com/t/dns-secondary-slave/114752/9 2022-04-23 12:43:26 -07:00
Jamie Cameron
e51ff18396 Remove special-case replacement of stop script to fix an old bug 2022-04-23 12:34:18 -07:00
Jamie Cameron
579d377fad Map type lmdb is also editable https://sourceforge.net/p/webadmin/bugs/5558/ 2022-04-23 12:25:09 -07:00
Ilia
5ad6251cbd Fix setup.pl to accommodate latest changes with setup.sh 2022-04-23 21:58:22 +03:00
Jamie Cameron
714ac1242b Merge branch 'master' of github.com:webmin/webmin 2022-04-23 11:51:35 -07:00
Jamie Cameron
0c43244890 Just use systemctl if possible 2022-04-23 11:51:30 -07:00
Ilia
0dea6e0746 Fix to only test the command presence 2022-04-23 21:03:03 +03:00
Ilia
52cc3c5458 Fix links creation 2022-04-23 21:01:58 +03:00
Ilia
4d3dc79a43 Be explicit when Webmin cannot be restarted in those rare cases 2022-04-23 17:28:22 +03:00
Ilia
ee8e260664 Fail proof way of stopping Webmin server 2022-04-23 16:44:52 +03:00
Ilia
468945a74d Don't assume default 2022-04-23 15:48:56 +03:00
Ilia
6b3deb4d72 Remove stray PAM on uninstall 2022-04-23 15:14:01 +03:00
Ilia
3696c8ac74 We must clear the mess for systemd 2022-04-23 03:56:41 +03:00
Ilia
c1d660a996 This will be cleared by uninstall 2022-04-23 03:56:18 +03:00
Ilia
d8cd3c8ac8 Just remove commented out earlier 2022-04-23 03:36:38 +03:00
Ilia
da71f1dd3c Add After 2022-04-23 02:52:34 +03:00
Ilia
da3b4c6296 Clear systemd and do uninstall silently 2022-04-23 02:45:04 +03:00
Ilia
ba321fcd7e Remove sysconfig/daemons and don't clear rc*.d 2022-04-23 02:21:54 +03:00
Ilia
4b9895b334 Add sec check 2022-04-23 02:20:55 +03:00
Ilia
dd1927b54c Drop new file 2022-04-23 02:18:16 +03:00
Ilia
6846bfdda4 Update boot properly 2022-04-23 02:17:25 +03:00
Ilia
d3ad394bd8 Always update systemd script 2022-04-23 02:03:09 +03:00
Ilia
eeeae8a2f6 Fix indent 2022-04-23 01:20:32 +03:00
Ilia
9079d6121a Use recommended /etc/systemd/system by default 2022-04-23 01:14:19 +03:00
Ilia
05ed0be573 Fix systemd script generation for manual installs 2022-04-23 01:06:24 +03:00
Ilia
bc3da3462b Don't restart on failure 2022-04-23 00:34:27 +03:00
Ilia
98d3a1d984 Further revert back for RPM 2022-04-23 00:18:39 +03:00
Ilia
e0ece6d26b Partially revert incorrect assumptions in centralized startup 2/2 2022-04-23 00:13:39 +03:00
Ilia
3b722daa81 Enable service only after script is ready 2022-04-22 23:58:02 +03:00
Ilia
9b7e14d781 No need to store variable 2022-04-22 23:44:20 +03:00
Ilia
b70a9f9917 Enable only when switching to new systemd mode 2022-04-22 23:43:44 +03:00
Ilia
c466274443 Switch to creating centralized startup service in setup.sh 1/2 2022-04-22 17:17:01 +03:00
Ilia
8f3b2e350f Prevent fixing already fixed stop script 2022-04-22 15:05:17 +03:00
Ilia
5640bd6028 Remove creating init.d on package creation time 2022-04-22 14:42:04 +03:00
Ilia
574c5a39b4 Unroll previous changes 2022-04-22 14:41:14 +03:00
Ilia
68042ecec6 Fix systemctl test 2022-04-22 13:58:30 +03:00
Ilia
d7e04f64f7 Fix lost language block 2022-04-21 20:40:27 +03:00
Ilia
349741ce88 Fix generated scripts mod 2022-04-21 19:00:05 +03:00
Ilia
64c14c7975 Clear generated files upon installation 2022-04-21 17:06:41 +03:00
Ilia
13619825d9 Fix to properly deal with both init.d and systemd systems
a3680e0173 (r71796872)
2022-04-21 14:25:13 +03:00
Ilia
a3680e0173 Add support for native systemd webmin.service unit 2022-04-21 03:55:33 +03:00
Ilia
e1abbd61e3 Add extra euid check 2022-04-20 04:01:12 +03:00
Ilia
02e523b402 Fix to use native commands on systemd systems 2022-04-20 03:40:07 +03:00
Ilia
0c892589c9 Fix force-reload command 2022-04-19 20:20:09 +03:00
Ilia
b7f0d3f017 Remove obsolete code 2022-04-19 19:48:21 +03:00
Ilia
2b793e35d9 Avoid printing to STDOUT, print to webmin-setup.out when necessary 2022-04-19 18:16:24 +03:00
Ilia
1089bc8fb5 Fix STDOUT prints 2022-04-19 17:04:02 +03:00
Ilia
33bdfd423d Fix CentOS Stream Linux name 2022-04-18 19:01:42 +03:00
Ilia
d20ef75660 Merge remote-tracking branch 'origin/master' 2022-04-18 16:48:14 +03:00
Ilia
65008bfd09 Fix AlmaLinux name 2022-04-18 16:10:13 +03:00
Jamie Cameron
be4f3fdf69 New version bump 2022-04-17 19:41:18 -07:00
Jamie Cameron
a4ef1ee32a Merge branch 'master' of github.com:webmin/webmin 2022-04-17 19:38:33 -07:00
Ilia
5b53d2ae89 Fix checkbox to change in other modules 2022-04-18 00:38:41 +03:00
Ilia
6b08bdc8fb Fix URL bug 2022-04-18 00:35:35 +03:00
Jamie Cameron
8adb861694 Make sure new JAR is readable 2022-04-13 21:31:55 -07:00
Jamie Cameron
59989c888c Add extra check for firewalld module 2022-04-12 21:24:08 -07:00
Jamie Cameron
b0da3b6df3 Use INTERFACESv4 variable if defined https://sourceforge.net/p/webadmin/bugs/5556/ 2022-04-12 20:56:24 -07:00
Ilia
c9b5950efb Fix styling for consistency 2022-04-13 01:20:22 +03:00
Ilia
50e81d121c Fix a comment 2022-04-13 01:00:59 +03:00
Ilia
9b07f4c329 Fix to quotemeta commands 2022-04-13 00:57:59 +03:00
Ilia
73bb6c1eb4 Fix to remove perm ban; better logging; refactor 2022-04-12 21:34:05 +03:00
Ilia
e5ceaed8a7 Update comment 2022-04-12 20:17:31 +03:00
Jamie Cameron
5121ca0c4e Merge pull request #1624 from webmin/dev/fail2ban-jails-status-and-actions
Add jails status and actions 1/2 #1623
2022-04-11 21:38:42 -07:00
Ilia
a90e3077b5 Fix FirewallD translations 2022-04-12 02:29:29 +03:00
Ilia
977c4388ce Revert "Fix to try so solve branch conflict"
This reverts commit ac8cd2d152.
2022-04-12 02:24:58 +03:00
Ilia
ac8cd2d152 Fix to try so solve branch conflict 2022-04-12 02:23:14 +03:00
Ilia
1dca1ff4f7 Fix apply interface button 2022-04-12 02:13:57 +03:00
Ilia
bebbea8ebd Update wording and translations; better button color triggers 2022-04-12 01:10:49 +03:00
Ilia
3cbc170648 Fix default limit 2022-04-12 00:45:46 +03:00
Ilia
a38d1a0831 Add support for deleting rich rules; add IPs extraction limit 2022-04-12 00:41:35 +03:00
Ilia
6ebfbfbe94 Unless firewalld restart Fail2ban bans break and fail to work 2022-04-11 20:32:25 +03:00
Ilia
e2de5c5206 Fix to use language keys 2022-04-11 20:12:41 +03:00
Ilia
20c13c6d43 If FirewallD isn't running, don't fail and show start button 2022-04-11 19:53:10 +03:00
Ilia
7e58447ff0 Add List FirewallD Rules button to main page 2022-04-11 19:33:52 +03:00
Ilia
4cf9599089 Consider passed zone 2022-04-11 19:33:21 +03:00
Ilia
d68581243a Fix align, go back button and comments 2022-04-11 16:20:39 +03:00
Ilia
025bc7aeeb Add FirewallD rich and direct rules listing 1/2 #1622 2022-04-11 16:09:53 +03:00
Ilia
a7b09da991 Fix formatting 2022-04-11 13:55:59 +03:00
Ilia
094b330db1 Fix whitespace 2022-04-11 13:08:23 +03:00
Ilia
b0aee8b23b Merge pull request #1625 from webmin/dev/updated-translations
Updated translations (stray)
2022-04-11 11:52:42 +03:00
Ilia
2beca9ba98 Update translations 2022-04-11 11:51:21 +03:00
Jamie Cameron
86f26e2fd3 UI for editing max process lifetime 2022-04-10 19:43:13 -07:00
Jamie Cameron
7fbc37709b Merge branch 'master' of github.com:webmin/webmin 2022-04-10 18:15:22 -07:00
Jamie Cameron
365932d538 Add option to kill stuck processes https://forum.virtualmin.com/t/webmin-process-stay-here-forever/114607/23 2022-04-10 18:14:51 -07:00
Ilia
d521bec9a3 Fix wording and update translations 2022-04-11 03:56:54 +03:00
Ilia
bec2833eca Fix to not teletype jails name 2022-04-11 03:52:27 +03:00
Ilia
00b14be0a9 Update translations (new files) 2022-04-11 03:49:41 +03:00
Ilia
ac21ad3991 Update translations 2022-04-11 03:49:18 +03:00
Ilia
80dab78b23 Fix wording 2022-04-11 03:44:38 +03:00
Ilia
869c1575a0 Fix string 2022-04-11 03:43:49 +03:00
Ilia
b8e5075a63 Fix formatting 2022-04-11 03:40:50 +03:00
Ilia
2f5f372608 Fix to check if firewalld is used 2022-04-11 03:02:52 +03:00
Ilia
9fd80674c2 Fix to use – instead as it looks better 2022-04-11 02:41:32 +03:00
Ilia
a8569d62f0 Fix indent 2022-04-11 02:31:53 +03:00
Ilia
a9bbd5f01b Fix to handle no value case 2022-04-11 02:28:39 +03:00
Ilia
1c7a18f08f Add jails status and actions 2/2 #1623 2022-04-11 01:10:27 +03:00
Ilia
916600aa6d Add jails status and actions 1/2 #1623 2022-04-10 18:50:26 +03:00
Ilia
15ec454fee Add improved var_dump functionality 2022-04-10 16:29:23 +03:00
Jamie Cameron
acb503960a Make it clearer that having no interfaces selected means the zone applies to all 2022-04-09 22:07:06 -07:00
Ilia
cf4607b693 Ports can be a range 2022-04-10 03:10:20 +03:00
Jamie Cameron
18260a6399 Merge pull request #1621 from webmin/dev/firewalld-services-description
Add support for displaying service ports/protocols
2022-04-09 16:56:05 -07:00
Ilia
76adececf5 Display ports in parenthesis 2022-04-10 02:53:43 +03:00
Ilia
2fd31cdd38 Fix not to make protocol cell a link (for consistency) 2022-04-10 00:55:06 +03:00
Ilia
7994b5e62d Add description when editing service; change output for multi ports 2022-04-10 00:49:22 +03:00
Ilia
57e71aff37 Add support for displaying service ports/protocols 2022-04-10 00:29:02 +03:00
Jamie Cameron
6146c5faad Pass along type from confirmation form https://sourceforge.net/p/webadmin/bugs/5554/ 2022-04-09 13:22:33 -07:00
Jamie Cameron
31505d3136 Don't show as installed if firewalld is in use 2022-04-09 13:19:27 -07:00
Jamie Cameron
4a1c447cd1 Fix typo 2022-04-09 13:16:55 -07:00
Jamie Cameron
1028304a15 Re-factor function to detect external firewall 2022-04-09 13:05:28 -07:00
Ilia
f8334bd51e Add few small styling improvements 2022-04-09 22:23:41 +03:00
Jamie Cameron
cd85984507 Merge branch 'master' of github.com:webmin/webmin 2022-04-04 21:45:13 -07:00
Jamie Cameron
cc0c4c6e49 RSS is a better measure of size than VSS 2022-04-04 21:45:02 -07:00
Ilia
3b566b214e Fix Kali and Parrot base version 2022-04-01 16:44:08 +03:00
Ilia
157b119265 Fix more tabs 2022-04-01 16:39:37 +03:00
Ilia
64e79505ee Fix tab 2022-04-01 16:38:41 +03:00
Ilia
d54e497085 Add Parrot OS support
https://sourceforge.net/p/webadmin/discussion/600155/thread/2b857cfb2b/?limit=25
2022-04-01 16:10:27 +03:00
Ilia
d941cbf5c0 Update translations 2022-04-01 16:09:57 +03:00
Jamie Cameron
a80024fe70 Handle case where <IfModeule prefork.c> is used 2022-03-31 22:35:40 -07:00
Jamie Cameron
d9f6f41340 Merge branch 'master' of github.com:webmin/webmin 2022-03-31 22:34:41 -07:00
Jamie Cameron
4a8ae7cb91 pg_hba.conf can be under a versioned subdirectory on other distros too 2022-03-31 22:34:33 -07:00
Ilia
1dcc0f164e Fix possibly missing attachment name in mail queues 2022-03-31 23:44:22 +03:00
Jamie Cameron
1243cd0441 pg_hba.conf can be under a versioned subdirectory https://github.com/webmin/webmin/issues/1615 2022-03-30 19:40:24 -07:00
Jamie Cameron
b9cbbc8026 Don't suppress error output https://github.com/webmin/webmin/issues/1612 2022-03-30 19:35:37 -07:00
Jamie Cameron
2b4367634c systemd daemon needs restart before running init scripts 2022-03-30 09:34:09 -07:00
Jamie Cameron
6e26e4a20e Merge branch 'master' of github.com:webmin/webmin 2022-03-29 19:51:30 -07:00
Jamie Cameron
32baf0039f daemon-reload is needed before init scripts work https://github.com/webmin/webmin/issues/1612 2022-03-29 19:37:49 -07:00
Ilia
086bd55ddd Add support for configuring internal redirects using UI #1588 2022-03-29 23:21:54 +03:00
Jamie Cameron
5201cbe0e6 Fix setup output path 2022-03-28 23:05:09 -07:00
Jamie Cameron
9fb000e9c6 Minor code cleanup 2022-03-27 09:21:16 -07:00
Jamie Cameron
4a12e37f9a Merge branch 'master' of github.com:webmin/webmin 2022-03-27 09:19:54 -07:00
Ilia
d19b5e20f3 Fix rsyslog get pid
Directly affects Ubuntu 20.04+ and Debian 10+
2022-03-27 15:41:08 +03:00
Jamie Cameron
aac695dc8a Merge branch 'master' of github.com:webmin/webmin 2022-03-26 12:42:58 -07:00
Jamie Cameron
32953d7ffa Local SMTP might require SSL 2022-03-26 11:13:01 -07:00
Ilia
919691b461 Fix MySQL Japanese translations 2022-03-26 00:48:21 +02:00
Jamie Cameron
075bec56d2 Merge pull request #1613 from cnotin/patch-1
Fix "compatability" typo in mysql english
2022-03-25 15:39:32 -07:00
Clément Notin
f7cbfb3c0e Fix "compatability" typo in mysql english 2022-03-25 22:48:46 +01:00
Ilia
d8dcb320dd Merge branch 'master' of github.com:webmin/webmin 2022-03-25 00:18:51 +02:00
Ilia
628e4b3b18 Fix contact until really changed 2022-03-24 23:26:14 +02:00
Jamie Cameron
151ee23f3b Merge branch 'master' of github.com:webmin/webmin 2022-03-23 19:21:35 -07:00
Jamie Cameron
b69b538d61 Fix handling of keys in allow-transfer https://github.com/webmin/webmin/issues/1611 2022-03-23 19:02:10 -07:00
Ilia
a7790c5fc7 Fix to escape even static params 2022-03-22 11:09:41 +02:00
Ilia Rostovtsev
1066fd79af Fix GPG fingerprint extraction 2022-03-21 23:22:45 +02:00
Ilia Rostovtsev
6519246aef Add ability to update the key's contacts 2022-03-21 22:45:59 +02:00
Ilia Rostovtsev
5662ee9062 Fix missed escape for @ 2022-03-21 22:01:30 +02:00
Ilia Rostovtsev
69c3247d34 Add new email for GPG setup 2022-03-21 21:43:56 +02:00
Ilia Rostovtsev
7deaf553c4 Update contacts 2022-03-21 21:00:15 +02:00
Ilia Rostovtsev
a2a09dfc47 Fix RHEL BIND config 2022-03-18 23:58:05 +02:00
Jamie Cameron
9f53cbf783 Merge pull request #1610 from marclaporte/patch-1
Fix a typo
2022-03-14 20:50:21 -07:00
Marc Laporte
f3fccdb917 Fix a typo 2022-03-14 23:19:00 -04:00
Jamie Cameron
17f79c94b2 Fix check for syslog-ng being running https://github.com/webmin/webmin/issues/1606 2022-03-11 12:09:01 -08:00
Jamie Cameron
97e9da2645 Fix syslog-ng path again 2022-03-11 12:05:02 -08:00
Jamie Cameron
cef983f4f2 Always update to NSEC3 records if the type changed https://sourceforge.net/p/webadmin/bugs/5552/ 2022-03-11 10:30:46 -08:00
Jamie Cameron
3d3c6e9ef5 Merge branch 'master' of github.com:webmin/webmin 2022-03-11 10:24:25 -08:00
Jamie Cameron
40cbc1787b Show key algorithm 2022-03-11 10:22:33 -08:00
Ilia Rostovtsev
543107dfcd Fix typo in called function name https://github.com/webmin/webmin/issues/1608 2022-03-11 16:20:14 +02:00
Jamie Cameron
aee4c546e6 Fix syslog-ng PID file path https://github.com/webmin/webmin/issues/1606 2022-03-09 17:55:03 -08:00
1018 changed files with 9457 additions and 1837 deletions

239
CHANGELOG
View File

@@ -1,239 +0,0 @@
---- Changes since 1.140 ----
Fixed a security hole that allowed any user to view the configuration of any module, even those that they should not have access to.
Fixed a security hole that could allow an attacker to lock valid users by sending a bogus username or password.
---- Changes since 1.150 ----
Updated the setup.sh script to use MD5 password encryption by default, on systems where Perl supports it.
Fixed a security hole in the maketemp.pl script, used to create the /tmp/.webmin directory at install time. If an un-trusted user creates this directory before Webmin is installed, he could create in it a symbolic link pointing to a critical file on the system, which would be overwritten when Webmin writes to the link filename (CVE bug CAN-2004-0559).
When PAM is used for Unix authentication, expired passwords are now detected and the user is prompted to select a new password (if this feature is enabled on the Webmin Configuration module).
Make all functions in ui-lib.pl themable, allowing themes to have more detailed control over modules that make use of this library.
Updated all modules to call ui_print_header instead of calling header and printing <hr>, so that themes can avoid the <hr>. Also updated the MSC theme to do this.
---- Changes since 1.160 ----
Added support for Solaris 10.
Included several additional translations for various languages and modules.
Added support for config- files that allow a range of OS version numbers, and used this to reduce the number of standard config files.
---- Changes since 1.170 ----
When installing a module from the command line, by it will be granted to the same users who receive new modules when Webmin is upgraded. By default, this is root and admin.
Added basic support for multiple root directories, so that Webmin modules can be separated into core and third-party on the filesystem.
When installing or upgrading Webmin, password timeouts are now enabled by default. This protects against brute-force password guessing attacks.
---- Changes since 1.180 ----
All subheadings have been reduced in size when using the default MSC theme.
All modules now use a new API for writing to configuration files, which ensures that the file does not get written to or truncated if the system is out of disk space.
---- Changes since 1.200 ----
On Solaris systems that support RBAC, available modules and access rights can now be derived from RBAC for selected users. This can be enabled on a per-user or per-module basic in the Webmin Users module.
---- Changes since 1.210 ----
Added a new Global ACL control option to limit a user to read-only mode. This does not yet support all modules, but in those that are supported any changes the user makes will simply not take effect.
Restarting of Webmin is now much faster in some modules that do not need a full configuration reload, due to the addition of a function that justs tells miniserv.pl to re-read its config file.
---- Changes since 1.220 ----
Added basic support for running Webmin on Windows system with ActiveState Perl installed. The new setup.pl install script must be used, as the setup.sh shell script cannot run on Windows.
Fixed a bug that could allow a remote attack if the option to use full PAM conversations is enabled.
Improved the Webmin RPM to not lose the /etc/webmin directory when upgrading from an RPM by another vendor (like Mandrake or DAG).
---- Changes since 1.230 ----
Replaced all calls to the crypt() function with new code that will use the Crypt::UnixCrypt Perl modules on systems for with crypt() is broken.
---- Changes since 1.240 ----
Fixed a possible security hole caused by a bug in Perl.
---- Changes since 1.260 ----
Proxy settings made in the Webmin Configuration module are passed on to programs Webmin calls via the http_proxy and ftp_proxy environment variables.
Added automatically created UTF-8 translations for simplified and traditional Chinese.
---- Changes since 1.270 ----
Updated almost all modules that use tables to use the new ui_columns functions. This allows themes to do highlighting when a row is moved over or selected.
Added a new 'Simple Blue' theme, which uses fewer images and does table row highlighting.
Changed the way that Webmin log diff files are stored, so that they are categorized by action and not all in one huge directory.
---- Changes since 1.280 ----
Fixed security holes that allow remote read access to any file on the server for which the path is known.
---- Changes since 1.290 ----
SELinux security contexts are preserved on files safely modified by Webmin's write-and-rename code.
Added xmlrpc.cgi program, which provides an XML-RPC interface to all Webmin module functions.
Tested and improved support for Fedora 5.
---- Changes since 1.300 ----
Fixed the rare bug about renaming the .webmintmp file.
---- Changes since 1.310 ----
Module configuration files can now be named based on the real operating system types, such as config-Ubuntu-Linux, which would be used in preference to config-debian-linux.
When a large file is uploaded, it is no longer read into memory by miniserv.pl.
Update the code that fetches mirror sites from Sourceforge, to handle their new website design.
Changed the default theme for all installs to the new framed blue theme.
Updated all rows of links (like select all, invert selection, add something) above tables to use a separator between links.
Added caching for sudo capable user checks, to avoid excessive slow calls to sudo.
Fixed a memory leak when running under ActiveState Perl on Windows.
---- Changes since 1.320 ----
Fixed XSS bugs in chooser.cgi.
If the operating system is upgraded after Webmin is installed, a button is displayed on the main page to update Webmin's view of the current OS.
Improved the tabs API to add an option to put a box around the visible tab, and whitespace around tabs.
If listening on all specified IP addresses fails, Webmin will fall back to accepting connections on any address.
All Module Config pages are now generating using new ui-lib.pl code, for easier theming.
Added a global access control option to set the Unix user the file browser lists directories as.
---- Changes since 1.330 ----
Added more ui-lib.pl functions for hidden page sections.
Fixed another XSS bug in chooser.cgi.
The Webmin function to get the system's hostname now reads a file instead of calling the hostname comment, which is faster.
Added an ACL option to the file chooser for additional directories to allow access to.
Changed the way sizes are displayed, to use a format like 1.32 GB or 8 kB.
Removed letter images (used by the old theme), and forced the standard header function to always use text titles.
Added support for Slam64 Linux.
---- Changes since 1.340 ----
Added Redhat Enterprise release 5 support.
Requests to the /unauthenticated URL can never execute CGI programs, to provide an extra layer of security against URL escaping attacks.
Fixed XSS bugs in pam_login.cgi.
---- Changes since 1.370 ----
Hid the Jabber and Security Sentries modules by default, as the underlying software is no longer supported.
On Linux systems, sped up the function for finding processes so that it no longer has to launch 'ps' - instead, it reads /proc directly.
When read_file_lines is used to read a file, the Unix or Windows newlines will be preserved when it is written out.
---- Changes since 1.380 ----
Added a search box to the left frame of the blue theme, for finding modules, config options, help pages and text.
All images, CSS and other static content served by Webmin has an HTTP Expires for 1 week in the future, to improve cachability.
Lock files are automatically removed when the process creating them exits.
NetBSD 4.0 support.
Italian and Catalan translations contributed for many modules, thanks to Giovanni and Jaume Badiella.
Changed the error message that appears when Webmin detects a link from another web page, and removed the button to allow the link (which was unreliable anyway).
---- Changes since 1.390 ----
Links from unknown referers are now blocked by default, to prevent XSS attacks. This may break browsers that don't supply a Referer: HTTP header.
---- Changes since 1.400 ----
Big Czech translation updates, thanks to Petr Vanek and the Czech translation team.
All popups in Webmin are now XSS-safe, and thus do not need protection from unknown referers which prevented them from working in some browsers.
All Webmin session IDs are now stored MD5 hashed, to prevent sessions from being captured if the sessiondb DBM is somehow read by an attacker.
Many Dutch updates, thanks to Gandyman.
MD5 encryption for Webmin and Unix passwords can be used on systems that have either the MD5 or Digest::MD5 perl module, or support it in the crypt() function.
---- Changes since 1.410 ----
Many Korean updates, thanks to JoungKyun Kim.
More Dutch updates, thanks to Gandyman.
Added a debugging log file, which records all files read and written, commands run and more. This can be enabled in the Webmin Configuration module.
---- Changes since 1.420 ----
Many Greek translation updates, thanks to Vagelis Koutsomitros.
Catalan translation updates by Jaume Badiella.
Many Dutch translation contributions by Gandyman.
---- Changes since 1.430 ----
A large Croatian translation update, thanks to Domagoj Bikic.
When a user whose password is close to expiry or has already expired logs in, a warning will be displayed on Webmin's first page.
Many Japanese translation updates, thanks to Kazuya Masuda.
---- Changes since 1.440 ----
Russian translation updates, thanks to Anton Statutov.
Webmin's serialization functions can now handle objects, which allows them to be passed as parameters to remote function calls. Both caller and recipient must have the object's class installed though.
Converted commands in the core web-lib-funcs.pl API file to POD format, and added more details about each function.
---- Changes since 1.450 ----
Added a language option for UK english, and converted words in the default Webmin language to US english.
Major Dutch translation updates, thanks to Gandyman.
Catalan translation updates by Jaume Badiella.
Converted all core modules to use the new WebminCore perl module instead of web-lib.pl. This significantly improves memory use and load time in code that uses functions from multiple modules, asssuming they have all been converted.
---- Changes since 1.470 ----
Catalan translation updates by Jaume Badiella.
Added an UTF-8 encoding of the Russian translation, thanks to shavlukov@gmail.com.
French translation updates by ButterflyOfFire.
Dutch translation updates by Gandyman.
Dramatically improved Webmin's search function, to include links to pages that help or UI text comes from. Also changed the layout of results to a more Webmin-ish style.
---- Changes since 1.480 ----
Catalan translation updates by Jaume Badiella.
Dutch translation updates, thanks to Gandyman.
Beginnings of a Basque translation, thanks to Mireia Lezea.
---- Changes since 1.500 ----
Czech translation updates, thanks to Karel Hudan.
The Webmin RPM now preserves the /etc/webmin directory when un-installed and then re-installed.
Added a robots.txt file to block indexing of Webmin by search engines.
The Webmin search box can now be disabled in the Webmin Users module, under "Permissions for all modules".
Brazillian Portuguese translation updates for several modules, thanks to Djavan Fagundes.
---- Changes since 1.510 ----
Dutch translation updates, thanks to Gandyman.
Polish translation updates, thanks to Dariusz Dêbowski.
---- Changes since 1.520 ----
Catalan translation updates by Jaume Badiella.
---- Changes since 1.530 ----
Sped up the loading of language files by pre-caching them in memory when Webmin is started, and not performing sub-string substitutions in most modules.
Added support for Pardus Linux, thanks to Kaan Ozdincer.
Major Dutch updates, thanks to Gandyman.
Majoe French translation update, thanks to ButterflyOfFire.
Allow per-language language overrides to be defined, in custom-lang.$code files.
Updated numerous modules to improve support for Debian 6 and Ubuntu 10.10.
If a browser asks for gzip compression, Webmin can now return compressed content either generated dynamically or from a pre-compressed .gz file in the same directory. Dynamic compression depends on the Compress::Zlib perl module.
Added support for Amazon Linux.
---- Changes since 1.550 ----
Catalan updates, thanks to Jaume Badiella.
Italian translation updates, thanks to Andrea Oliveri.
Major German translation updates, thanks to Raymond Vetter.
---- Changes since 1.560 ----
More German translation updates, thanks to Raymond Vetter.
More French translation updates, thanks to ButterflyOfFire.
---- Changes since 1.570 ----
Even more German translation updates, thanks to Raymond Vetter.
Added UTF-8 encodings for languages using the iso-8859-2, like Czech and Polish.
Catalan updates, thanks to Jaume Badiella.
Norwegian translation updates, thanks to Stein-Aksel Basma.
The MySQL, PostgreSQL, Filesystem Backup and Backup Configuration Files modules now all support the use of Webmin variable substitutions in backup paths (like $HOSTNAME) via a new Module Config option.
---- Changes since 1.580 ----
Even more German translation updates, thanks to Raymond Vetter.
More Dutch updates, thanks to Gandyman.
Catalan updates, thanks to Jaume Badiella.
Norwegian updates, thanks to Stein-Aksel Basma.
All languages now have UTF-8 encoded variants, as well as their native character sets.
Added support for Ubuntu 12.04.
---- Changes since 1.590 ----
Even more German translation updates, thanks to Raymond Vetter.
Norwegian updates, thanks to Stein-Aksel Basma.
Dutch translation updates, thanks to Gandyman.
Switch order of command and mode in debug logs to make it clear that "mode=X" is part of the log, not part of the command.
Added the new Gray Framed Theme, and made it the default for new installs.
---- Changes since 1.600 ----
Even more German translation updates, thanks to Raymond Vetter.
Catalan updates, thanks to Jaume Badiella.
---- Changes since 1.610 ----
Norwegian updates, thanks to Stein-Aksel Basma.
Catalan updates, thanks to Jaume Badiella.
Yet more German translation updates, thanks to Raymond Vetter.
Polish translation updates from Piotr Kozica.
---- Changes since 1.620 ----
More German translation updates, thanks to Raymond Vetter.
Polish translation updates from Piotr Kozica.
Norwegian updates, thanks to Stein-Aksel Basma.
Improved FreeBSD 8 and 9 support across multiple modules.
Hungarian translation updates from Balázs Zoltán.
---- Changes since 1.650 ----
More German translation updates, thanks to Raymond Vetter.
Norwegian updates, thanks to Stein-Aksel Basma.
---- Changes since 1.660 ----
More German translation updates, thanks to Raymond Vetter.
Norwegian updates, thanks to Stein-Aksel Basma.
Catalan updates, thanks to Jaume Badiella.
IPv6 access control now match an address exactly, unless a network size is entered.
FTP uploads and downloads to IPv6-only servers now work properly, thanks to support for the EPSV protocol command.
Added a Bahasa Malaysia translation, thanks to Nawawi Jamili, Nizam Adnan and Weldan Jamili.
Added filtering for lists in the user, group and file chooser popups, thanks to a patch from Nawawi Jamili.
---- Changes since 1.670 ----
More German translation updates, thanks to Raymond Vetter.
Norwegian updates, thanks to Stein-Aksel Basma.
Catalan updates, thanks to Jaume Badiella.
Security fixes for XSS attacks in user_chooser.cgi and other scripts.
---- Changes since 1.690 ----
More German translation updates, thanks to Raymond Vetter.
Support for RHEL 7, CentOS 7 and other derivatives in multiple modules.
---- Changes since 1.700 ----
More German translation updates, thanks to Raymond Vetter.
Catalan updates, thanks to Jaume Badiella.
Added additional protected against Shellshock exploits made via the Webmin webserver.
---- Changes since 1.710 ----
SSL v2 and v3 are now disabled by default at Webmin install time, to block the POODLE attack. They can be re-enabled on the SSL Encryption page of the Webmin Configuration module.
---- Changes since 1.720 ----
Deprecated the old blue-theme in favor of the new gray-theme.
Catalan translation updates from Jaume Badiella.
More German translation updates, thanks to Raymond Vetter.
---- Changes since 1.730 ----
More German translation updates, thanks to Raymond Vetter.
Norwegian updates, thanks to Stein-Aksel Basma.
The awesome new Authentic Theme by Ilia Rostovtsev is now included in the Webmin package.
Catalan translation updates from Jaume Badiella.
---- Changes since 1.740 ----
Norwegian updates, thanks to Stein-Aksel Basma.
Catalan translation updates from Jaume Badiella.
More German translation updates, thanks to Raymond Vetter.
---- Changes since 1.750 ----
Norwegian updates, thanks to Stein-Aksel Basma.
Catalan translation updates from Jaume Badiella.
More German translation updates, thanks to Raymond Vetter.
Fixed an XSS bug that allowed xmlrpc.cgi to be abused by a malicious link.
---- Changes since 1.760 ----
For new installs, switched the location of data files in many modules to /var/webmin instead of /etc/webmin.
---- Changes since 1.790 ----
Added a recent logins section to the System Information page.
Major rework of majordomo module, Kay Marquardt
---- Changes since 1.870 ----
German translation updates, thanks to Raymond Vetter.
Catalan translation updates from Jaume Badiella.
Bulgarian translations from Grigor Gatchev.
Added Support for Synology NAS and opkg/ipkg Community Package Manager, Kay Marquardt
Added Support for configuring spam filtering when amvisd is used, Kay Marquardt

View File

@@ -1,7 +1,64 @@
## Changelog
#### 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
* Fix upload tracker issues with large uploads
* Fix NVMe drives status support
* Fix AlmaLinux support
* Fix BIND config for FreeBSD 12 on initial setup
#### Version 1.994 (May 22, 2022)
This release fixes a security issue in versions 1.991 and below. All systems with less-privileged Webmin users are recommended to upgrade as soon as possible.
#### Version 1.991 (April 18, 2022)
This is mainly a bugfix release for issues found since 1.990.
#### Version 1.990 (March 3, 2022)
This release contains a critical security fix, an updated theme, and a bunch of other small features and improvements. We recommend that all systems with untrusted Webmin users upgrade immediately!
#### Version 1.983 (December 26, 2021)
This release is mostly bugfixes for issues found in 1.983.
#### Version 1.983 (December 4, 2021)
These releases are mostly bugfixes for issues found in 1.982.
#### Version 1.982 (November 26, 2021)
This release includes the latest Authentic theme, support for archive extraction and folder uploads in the File Manager module, automatic formatting of the Apache config, translation updates, and many more small features and bugfixes.
#### Version 1.981 (August 28, 2021)
This is just a bugfix for issues found in version 1.980.
#### Version 1.980 (August 22, 2021)
This release includes numerous small bugfixes, a theme update, translation fixes, support for Rocky and Alma Linuxes, and a new API for changing password.
#### Version 1.979 (June 15, 2021)
This release fixes several bugs found in 1.974, updates the Authentic theme, adds 2FA support in Usermin, and fixes a security bug in the Network Configuration module.
#### Version 1.974 (May 1, 2021)
Mostly a bugfix release, but it also contains a security for users who installed using the `setup.pl` script (which is not common).
#### Version 1.972 (March 1, 2021)
This is mainly a bugfix release for issues with Let's Encrypt and a few other modules.
#### Version 1.970 (January 6, 2021)
This release updates the theme, fixes a Windows security issue, updates the CA cert for Let's Encrypt, and improves translations.
#### Version 1.962 (November 11, 2020)
These are bugfix releases for 2-factor signin and other small issues.
#### Version 1.960 (October 19, 2020)
This release improves MySQL user management, updates the theme UI, fixes parsing of complex Netplan configs, removes the dependency on apt-show-versions and much much more.
#### Version 1.953 (July 5, 2020)
This release adds automatic translations for all languages in UTF-8, updates the Authentic theme, adds support for Postfix SNI certs and Chrony, caching for LDAP lookups, and a huge number of bugfixes and minor features.
#### Version 1.941 (January 16, 2020)
This release updates the built-in Let's Encrypt client, adds support for creating "safe-mode" Webmin users, support for CAA records in the BIND module, and the ability to search Postfix maps. It also updates the Authentic Theme to the latest version, which includes numerous improvements to the File Manager and overall UI.
This release updates the built-in Let's Encrypt client, adds support for creating "safe-mode" Webmin users, support for CAA records in the BIND module, and the ability to search Postfix maps. It also updates the Authentic theme to the latest version, which includes numerous improvements to the File Manager and overall UI.
#### Version 1.930 (August 18, 2019)
These updates fix a [security vulnerability](http://webmin.com/security.html) and should be installed IMMEDIATELY by all users. Although it is not exploitable in a Webmin install with the default configuration, upgrading is strongly recommended.
@@ -19,10 +76,10 @@ This version includes wildcard Let's Encrypt SSL cert support, theme and transla
This version includes Ubuntu 18 network config support, translation updates, multiple theme and file manager updates, BIND freeze/thaw support, support for more Linux distributuions, and a bunch of other bugfixes and small improvements.
#### Version 1.880 (March 16, 2018)
This version includes German, Catalan and Bulgarian translation updates, a new version of the Authentic Theme, support for directly editing the MySQL and PostgreSQL config files, Let's Encrypt bugfixes, more control over system status email notifications, and more.
This version includes German, Catalan and Bulgarian translation updates, a new version of the Authentic theme, support for directly editing the MySQL and PostgreSQL config files, Let's Encrypt bugfixes, more control over system status email notifications, and more.
#### Version 1.870 (December 08, 2018)
This release includes many translation updates, fixes for Let's Encrypt support, UI cleanups, and most importantly a new major version of the Authentic Theme.
This release includes many translation updates, fixes for Let's Encrypt support, UI cleanups, and most importantly a new major version of the Authentic theme.
#### Version 1.860 (October 10, 2017)
This release includes Let's Encrypt DNS fixes, Majordomo module improvements, XSS security bugfixes, translation updates, a new version of the theme, and more.
@@ -34,10 +91,307 @@ This release includes Let's Encrypt fixes, Majordomo module improvements, Firewa
This major release includes a large theme update, XSS security fixes, per-domain SSL cert support, thin-provisioned LVM support, Let's Encrypt improvements, translation updates, and the usual gang of bugfixes. Also available is Usermin 1.710, which contains many of the same updates.
#### Version 1.830 (December 29, 2016)
This is mainly a bugfix release, but also contains some translation updates, the latest version of the Authentic Theme, fixes related to Let's Encrypt and LDAP client support, and SElinux and file attribute support in the file manager.
This is mainly a bugfix release, but also contains some translation updates, the latest version of the Authentic theme, fixes related to Let's Encrypt and LDAP client support, and SElinux and file attribute support in the file manager.
#### Version 1.820 (October 3, 2016)
This updated includes a bunch of bugfixes (particularly in the BIND module), translation updates, the ability to download a MySQL backup, Let's Encrypt improvements, and more.
#### Version 1.810 (August 8, 2016)
This updated includes the latest Authentic Theme, a new IPv6 Firewall module for Linux, Webmin actions logging improvements, Let's Encrypt API fixes and a bunch of other small updates and bugfixes.
This updated includes the latest Authentic theme, a new IPv6 Firewall module for Linux, Webmin actions logging improvements, Let's Encrypt API fixes and a bunch of other small updates and bugfixes.
#### Version 1.800
* German translation updates, thanks to Raymond Vetter.
* Catalan translation updates from Jaume Badiella.
* Bulgarian translations from Grigor Gatchev.
* Added Support for Synology NAS and opkg/ipkg Community Package Manager, Kay Marquardt
* Added Support for configuring spam filtering when amvisd is used, Kay Marquardt
#### Version 1.790
* Added a recent logins section to the System Information page.
* Major rework of majordomo module, Kay Marquardt
#### Version 1.760
* For new installs, switched the location of data files in many modules to /var/webmin instead of /etc/webmin.
#### Version 1.750
* Norwegian updates, thanks to Stein-Aksel Basma.
* Catalan translation updates from Jaume Badiella.
* More German translation updates, thanks to Raymond Vetter.
* Fixed an XSS bug that allowed xmlrpc.cgi to be abused by a malicious link.
#### Version 1.740
* Norwegian updates, thanks to Stein-Aksel Basma.
* Catalan translation updates from Jaume Badiella.
* More German translation updates, thanks to Raymond Vetter.
#### Version 1.730
* More German translation updates, thanks to Raymond Vetter.
* Norwegian updates, thanks to Stein-Aksel Basma.
* The awesome new Authentic Theme by @iliajie is now included in the Webmin package.
* Catalan translation updates from Jaume Badiella.
#### Version 1.720
* Deprecated the old blue-theme in favor of the new gray-theme.
* Catalan translation updates from Jaume Badiella.
* More German translation updates, thanks to Raymond Vetter.
#### Version 1.710
* SSL v2 and v3 are now disabled by default at Webmin install time, to block the POODLE attack. They can be re-enabled on the SSL Encryption page of the Webmin Configuration module.
#### Version 1.700
* More German translation updates, thanks to Raymond Vetter.
* Catalan updates, thanks to Jaume Badiella.
* Added additional protected against Shellshock exploits made via the Webmin webserver.
#### Version 1.690
* More German translation updates, thanks to Raymond Vetter.
* Support for RHEL 7, CentOS 7 and other derivatives in multiple modules.
#### Version 1.670
* More German translation updates, thanks to Raymond Vetter.
* Norwegian updates, thanks to Stein-Aksel Basma.
* Catalan updates, thanks to Jaume Badiella.
* Security fixes for XSS attacks in `user_chooser.cgi` and other scripts.
#### Version 1.660
* More German translation updates, thanks to Raymond Vetter.
* Norwegian updates, thanks to Stein-Aksel Basma.
* Catalan updates, thanks to Jaume Badiella.
* IPv6 access control now match an address exactly, unless a network size is entered.
* FTP uploads and downloads to IPv6-only servers now work properly, thanks to support for the EPSV protocol command.
* Added a Bahasa Malaysia translation, thanks to Nawawi Jamili, Nizam Adnan and Weldan Jamili.
* Added filtering for lists in the user, group and file chooser popups, thanks to a patch from Nawawi Jamili.
#### Version 1.650
* More German translation updates, thanks to Raymond Vetter.
* Norwegian updates, thanks to Stein-Aksel Basma.
#### Version 1.620
* More German translation updates, thanks to Raymond Vetter.
* Polish translation updates from Piotr Kozica.
* Norwegian updates, thanks to Stein-Aksel Basma.
* Improved FreeBSD 8 and 9 support across multiple modules.
* Hungarian translation updates from Balázs Zoltán.
#### Version 1.610
* Norwegian updates, thanks to Stein-Aksel Basma.
* Catalan updates, thanks to Jaume Badiella.
* Yet more German translation updates, thanks to Raymond Vetter.
* Polish translation updates from Piotr Kozica.
#### Version 1.600
* Even more German translation updates, thanks to Raymond Vetter.
* Catalan updates, thanks to Jaume Badiella.
#### Version 1.590
* Even more German translation updates, thanks to Raymond Vetter.
* Norwegian updates, thanks to Stein-Aksel Basma.
* Dutch translation updates, thanks to Gandyman.
* Switch order of command and mode in debug logs to make it clear that "mode=X" is part of the log, not part of the command.
* Added the new Gray Framed Theme, and made it the default for new installs.
#### Version 1.580
* Even more German translation updates, thanks to Raymond Vetter.
* More Dutch updates, thanks to Gandyman.
* Catalan updates, thanks to Jaume Badiella.
* Norwegian updates, thanks to Stein-Aksel Basma.
* All languages now have UTF-8 encoded variants, as well as their native character sets.
* Added support for Ubuntu 12.04.
#### Version 1.570
* Even more German translation updates, thanks to Raymond Vetter.
* Added UTF-8 encodings for languages using the iso-8859-2, like Czech and Polish.
* Catalan updates, thanks to Jaume Badiella.
* Norwegian translation updates, thanks to Stein-Aksel Basma.
* The MySQL, PostgreSQL, Filesystem Backup and Backup Configuration Files modules now all support the use of Webmin variable substitutions in backup paths (like $HOSTNAME) via a new Module Config option.
#### Version 1.560
* More German translation updates, thanks to Raymond Vetter.
* More French translation updates, thanks to ButterflyOfFire.
#### Version 1.550
* Catalan updates, thanks to Jaume Badiella.
* Italian translation updates, thanks to Andrea Oliveri.
* Major German translation updates, thanks to Raymond Vetter.
#### Version 1.530
* Speed up the loading of language files by pre-caching them in memory when Webmin is started, and not performing sub-string substitutions in most modules.
* Added support for Pardus Linux, thanks to Kaan Ozdincer.
* Major Dutch updates, thanks to Gandyman.
* Majoe French translation update, thanks to ButterflyOfFire.
* Allow per-language language overrides to be defined, in custom-lang.$code files.
* Updated numerous modules to improve support for Debian 6 and Ubuntu 10.10.
* If a browser asks for gzip compression, Webmin can now return compressed content either generated dynamically or from a pre-compressed .gz file in the same directory. Dynamic compression depends on the Compress::Zlib perl module.
* Added support for Amazon Linux.
#### Version 1.520
* Catalan translation updates by Jaume Badiella.
#### Version 1.510
* Dutch translation updates, thanks to Gandyman.
* Polish translation updates, thanks to Dariusz Dêbowski.
#### Version 1.500
* Czech translation updates, thanks to Karel Hudan.
* The Webmin RPM now preserves the /etc/webmin directory when un-installed and then re-installed.
* Added a robots.txt file to block indexing of Webmin by search engines.
* The Webmin search box can now be disabled in the Webmin Users module, under "Permissions for all modules".
* Brazillian Portuguese translation updates for several modules, thanks to Djavan Fagundes.
#### Version 1.480
* Catalan translation updates by Jaume Badiella.
* Dutch translation updates, thanks to Gandyman.
* Beginnings of a Basque translation, thanks to Mireia Lezea.
#### Version 1.470
* Catalan translation updates by Jaume Badiella.
* Added an UTF-8 encoding of the Russian translation, thanks to shavlukov@gmail.com.
* French translation updates by ButterflyOfFire.
* Dutch translation updates by Gandyman.
* Dramatically improved Webmin's search function, to include links to pages that help or UI text comes from. Also changed the layout of results to a more Webmin-ish style.
#### Version 1.450
* Added a language option for UK english, and converted words in the default Webmin language to US english.
* Major Dutch translation updates, thanks to Gandyman.
* Catalan translation updates by Jaume Badiella.
* Converted all core modules to use the new WebminCore perl module instead of `web-lib.pl`. This significantly improves memory use and load time in code that uses functions from multiple modules, asssuming they have all been converted.
#### Version 1.440
* Russian translation updates, thanks to Anton Statutov.
* Webmin's serialization functions can now handle objects, which allows them to be passed as parameters to remote function calls. Both caller and recipient must have the object's class installed though.
* Converted commands in the core `web-lib-funcs.pl` API file to POD format, and added more details about each function.
#### Version 1.430
* A large Croatian translation update, thanks to Domagoj Bikic.
* When a user whose password is close to expiry or has already expired logs in, a warning will be displayed on Webmin's first page.
* Many Japanese translation updates, thanks to Kazuya Masuda.
#### Version 1.420
* Many Greek translation updates, thanks to Vagelis Koutsomitros.
* Catalan translation updates by Jaume Badiella.
* Many Dutch translation contributions by Gandyman.
#### Version 1.410
* Many Korean updates, thanks to JoungKyun Kim.
* More Dutch updates, thanks to Gandyman.
* Added a debugging log file, which records all files read and written, commands run and more. This can be enabled in the Webmin Configuration module.
#### Version 1.400
* Big Czech translation updates, thanks to Petr Vanek and the Czech translation team.
* All popups in Webmin are now XSS-safe, and thus do not need protection from unknown referers which prevented them from working in some browsers.
* All Webmin session IDs are now stored MD5 hashed, to prevent sessions from being captured if the sessiondb DBM is somehow read by an attacker.
* Many Dutch updates, thanks to Gandyman.
* MD5 encryption for Webmin and Unix passwords can be used on systems that have either the MD5 or Digest::MD5 perl module, or support it in the crypt() function.
#### Version 1.390
* Links from unknown referers are now blocked by default, to prevent XSS attacks. This may break browsers that don't supply a Referer: HTTP header.
#### Version 1.380
* Added a search box to the left frame of the blue theme, for finding modules, config options, help pages and text.
* All images, CSS and other static content served by Webmin has an HTTP Expires for 1 week in the future, to improve cachability.
* Lock files are automatically removed when the process creating them exits.
* NetBSD 4.0 support.
* Italian and Catalan translations contributed for many modules, thanks to Giovanni and Jaume Badiella.
* Changed the error message that appears when Webmin detects a link from another web page, and removed the button to allow the link (which was unreliable anyway).
#### Version 1.370
* Hid the Jabber and Security Sentries modules by default, as the underlying software is no longer supported.
* On Linux systems, sped up the function for finding processes so that it no longer has to launch 'ps' - instead, it reads /proc directly.
* When `read_file_lines` is used to read a file, the Unix or Windows newlines will be preserved when it is written out.
#### Version 1.340
* Added Redhat Enterprise release 5 support.
* Requests to the /unauthenticated URL can never execute CGI programs, to provide an extra layer of security against URL escaping attacks.
* Fixed XSS bugs in `pam_login.cgi`.
#### Version 1.330
* Added more `ui-lib.pl` functions for hidden page sections.
* Fixed another XSS bug in chooser.cgi.
* The Webmin function to get the system's hostname now reads a file instead of calling the hostname comment, which is faster.
* Added an ACL option to the file chooser for additional directories to allow access to.
* Changed the way sizes are displayed, to use a format like 1.32 GB or 8 kB.
* Removed letter images (used by the old theme), and forced the standard header function to always use text titles.
* Added support for Slam64 Linux.
#### Version 1.320
* Fixed XSS bugs in chooser.cgi.
* If the operating system is upgraded after Webmin is installed, a button is displayed on the main page to update Webmin's view of the current OS.
* Improved the tabs API to add an option to put a box around the visible tab, and whitespace around tabs.
* If listening on all specified IP addresses fails, Webmin will fall back to accepting connections on any address.
* All Module Config pages are now generating using new `ui-lib.pl` code, for easier theming.
* Added a global access control option to set the Unix user the file browser lists directories as.
#### Version 1.310
* Module configuration files can now be named based on the real operating system types, such as config-Ubuntu-Linux, which would be used in preference to config-debian-linux.
* When a large file is uploaded, it is no longer read into memory by `miniserv.pl`.
* Update the code that fetches mirror sites from Sourceforge, to handle their new website design.
* Changed the default theme for all installs to the new framed blue theme.
* Updated all rows of links (like select all, invert selection, add something) above tables to use a separator between links.
* Added caching for sudo capable user checks, to avoid excessive slow calls to sudo.
* Fixed a memory leak when running under ActiveState Perl on Windows.
#### Version 1.300
* Fixed the rare bug about renaming the .webmintmp file.
#### Version 1.290
* SELinux security contexts are preserved on files safely modified by Webmin's write-and-rename code.
* Added xmlrpc.cgi program, which provides an XML-RPC interface to all Webmin module functions.
* Tested and improved support for Fedora 5.
#### Version 1.280
* Fixed security holes that allow remote read access to any file on the server for which the path is known.
#### Version 1.270
* Updated almost all modules that use tables to use the new `ui_columns` functions. This allows themes to do highlighting when a row is moved over or selected.
* Added a new 'Simple Blue' theme, which uses fewer images and does table row highlighting.
* Changed the way that Webmin log diff files are stored, so that they are categorized by action and not all in one huge directory.
#### Version 1.260
* Proxy settings made in the Webmin Configuration module are passed on to programs Webmin calls via the `http_proxy` and `ftp_proxy` environment variables.
* Added automatically created UTF-8 translations for simplified and traditional Chinese.
#### Version 1.240
* Fixed a possible security hole caused by a bug in Perl.
#### Version 1.230
* Replaced all calls to the crypt() function with new code that will use the Crypt::UnixCrypt Perl modules on systems for with crypt() is broken.
#### Version 1.220
* Added basic support for running Webmin on Windows system with ActiveState Perl installed. The new `setup.pl` install script must be used, as the setup.sh shell script cannot run on Windows.
* Fixed a bug that could allow a remote attack if the option to use full PAM conversations is enabled.
* Improved the Webmin RPM to not lose the /etc/webmin directory when upgrading from an RPM by another vendor (like Mandrake or DAG).
#### Version 1.210
* Added a new Global ACL control option to limit a user to read-only mode. This does not yet support all modules, but in those that are supported any changes the user makes will simply not take effect.
* Restarting of Webmin is now much faster in some modules that do not need a full configuration reload, due to the addition of a function that justs tells `miniserv.pl` to re-read its config file.
#### Version 1.200
* On Solaris systems that support RBAC, available modules and access rights can now be derived from RBAC for selected users. This can be enabled on a per-user or per-module basic in the Webmin Users module.
#### Version 1.180
* All subheadings have been reduced in size when using the default MSC theme.
* All modules now use a new API for writing to configuration files, which ensures that the file does not get written to or truncated if the system is out of disk space.
#### Version 1.170
* When installing a module from the command line, by it will be granted to the same users who receive new modules when Webmin is upgraded. By default, this is root and admin.
* Added basic support for multiple root directories, so that Webmin modules can be separated into core and third-party on the filesystem.
* When installing or upgrading Webmin, password timeouts are now enabled by default. This protects against brute-force password guessing attacks.
#### Version 1.160
* Added support for Solaris 10.
* Included several additional translations for various languages and modules.
* Added support for config- files that allow a range of OS version numbers, and used this to reduce the number of standard config files.
#### Version 1.150
* Updated the setup.sh script to use MD5 password encryption by default, on systems where Perl supports it.
* Fixed a security hole in the `maketemp.pl` script, used to create the /tmp/.webmin directory at install time. If an un-trusted user creates this directory before Webmin is installed, he could create in it a symbolic link pointing to a critical file on the system, which would be overwritten when Webmin writes to the link filename (CVE bug CAN-2004-0559).
* When PAM is used for Unix authentication, expired passwords are now detected and the user is prompted to select a new password (if this feature is enabled on the Webmin Configuration module).
* Make all functions in `ui-lib.pl` themable, allowing themes to have more detailed control over modules that make use of this library.
* Updated all modules to call `ui_print_header` instead of calling header and printing `<hr>`, so that themes can avoid the `<hr>`. Also updated the MSC theme to do this.
#### Version 1.140
* Fixed a security hole that allowed any user to view the configuration of any module, even those that they should not have access to.
* Fixed a security hole that could allow an attacker to lock valid users by sending a bogus username or password.

View File

@@ -29,7 +29,7 @@ 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);
<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.990.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>
## Documentation
@@ -44,7 +44,7 @@ Complete set of documentation for Webmin and all of its modules can be found at
### Contributors
* [Joe Cooper](https://github.com/swelljoe)
* [Ilia Rostovtsev](https://github.com/rostovtsev)
* [Ilia Rostovtsev](https://github.com/iliajie)
* [Kay Marquardt](https://github.com/gnadelwartz)
* [Nawawi Jamili](https://github.com/nawawi) + [57 more..](https://github.com/webmin/webmin/graphs/contributors)

File diff suppressed because one or more lines are too long

View File

@@ -14,6 +14,7 @@ Library for editing webmin users, passwords and access rights.
BEGIN { push(@INC, ".."); };
use strict;
use warnings;
no warnings 'redefine';
use WebminCore;
&init_config();
do 'md5-lib.pl';
@@ -1690,10 +1691,17 @@ elsif ($mode == 2) {
return &encrypt_sha512($pass, $salt);
}
else {
# Use Unix DES
&seed_random();
$salt ||= chr(int(rand(26))+65).chr(int(rand(26))+65);
return &unix_crypt($pass, $salt);
# Try detecting system default first
if (&foreign_available('useradmin')) {
&foreign_require('useradmin');
return &useradmin::encrypt_password($pass, $salt, 1);
}
else {
# Use Unix DES
&seed_random();
$salt ||= chr(int(rand(26))+65).chr(int(rand(26))+65);
return &unix_crypt($pass, $salt);
}
}
}

View File

@@ -13,5 +13,6 @@ my %miniserv;
&get_miniserv_config(\%miniserv);
&delete_session_id(\%miniserv, $in{'id'});
&restart_miniserv();
&redirect("list_sessions.cgi");
&redirect($in{'redirect_ref'} ?
&get_referer_relative() : "list_sessions.cgi");

View File

@@ -5,7 +5,7 @@
use strict;
use warnings;
require './acl-lib.pl';
our (%in, %text, %config, %access, $config_directory, $base_remote_user);
our (%in, %text, %config, %access, $config_directory, $base_remote_user, $remote_user);
&foreign_require("webmin", "webmin-lib.pl");
&ReadParse();
@@ -434,7 +434,7 @@ if ($in{'user'}) {
if (&foreign_available("webminlog")) {
push(@buts, [ "but_log", $text{'edit_log'} ]);
}
if ($access{'switch'} && $main::session_id) {
if ($access{'switch'} && $main::session_id && $in{'user'} ne $remote_user) {
push(@buts, [ "but_switch", $text{'edit_switch'} ]);
}
if ($access{'delete'}) {

View File

@@ -351,6 +351,7 @@ sessions_login=Laaste aktief om
sessions_host=IP adres
sessions_lview=Bekyk logboeke..
sessions_actions=Optrede..
sessions_all=Alle sessies..
sessions_logouts=Toon ook afgemelde sessies..
sessions_state=staat
sessions_this=Hierdie aanmelding

View File

@@ -239,6 +239,7 @@ sessions_login=آخر نشاط في
sessions_host=عنوان IP
sessions_lview=عرض السجلات..
sessions_actions=أجراءات..
sessions_all=كل الجلسات..
sessions_logouts=اعرض أيضًا جلسات تسجيل الخروج..
sessions_state=حالة
sessions_this=هذا تسجيل الدخول

View File

@@ -351,6 +351,7 @@ sessions_login=Апошні раз быў у
sessions_host=IP-адрас
sessions_lview=Прагляд часопісаў..
sessions_actions=Дзеянні..
sessions_all=Усе сеансы..
sessions_logouts=Таксама паказаць выходныя сесіі.
sessions_state=Дзярж
sessions_this=Гэта ўваход

View File

@@ -10,6 +10,8 @@ save_eunixname=Потребителското име '$1' не е потреби
sync_modify=Преименувайте съответстващия потребител на Webmin, когато потребител на Unix е преименуван.
sessions_all=Всички сесии..
sql_nocache0=Кеш връзки към база данни
sql_nocache1=Отворете нова връзка за всяко търсене
sql_timeout_def=Използвайте времето за изчакване на връзката по подразбиране (60 секунди)

View File

@@ -10,6 +10,8 @@ save_eunixname=El nom d'usuari '$1' no és un usuari Unix, per la qual cosa no e
sync_modify=Canvieu el nom de l'usuari Webmin coincident quan es canvia el nom d'un usuari Unix.
sessions_all=Totes les sessions..
sql_nocache0=Connexions de memòria cau a la base de dades
sql_nocache1=Obriu una connexió nova per a cada cerca
sql_timeout_def=Utilitza el temps d'espera de connexió predeterminat (60 segons)

View File

@@ -61,6 +61,7 @@ unix_header=Nastavení ověřování uživatelů Unixu
unix_utable=Povolení uživatelé Unixu
sessions_actions=Akce..
sessions_all=Všechny relace..
sessions_logouts=Zobrazit také odhlášené relace.
sessions_state=Stát
sessions_this=Toto přihlášení

View File

@@ -10,6 +10,8 @@ save_eunixname=Brugernavnet '$1' er ikke en Unix-bruger, og kan derfor ikke brug
sync_modify=Omdøb den matchende Webmin-bruger, når en Unix-bruger omdøbes.
sessions_all=Alle sessioner..
sql_nocache0=Cache-forbindelser til databasen
sql_nocache1=Åbn en ny forbindelse til hvert opslag
sql_timeout_def=Brug standardforbindelse timeout (60 sekunder)

View File

@@ -1,5 +1,7 @@
sync_modify=Benennen Sie den passenden Webmin-Benutzer um, wenn ein Unix-Benutzer umbenannt wird.
sessions_all=Alle Sitzungen..
sql_nocache0=Cache-Verbindungen zur Datenbank
sql_nocache1=Öffnen Sie für jede Suche eine neue Verbindung
sql_timeout_def=Standard-Verbindungszeitlimit verwenden (60 Sekunden)

View File

@@ -10,6 +10,8 @@ save_eunixname=Το όνομα χρήστη '$1' δεν είναι χρήστη
sync_modify=Μετονομάστε τον αντίστοιχο χρήστη Webmin όταν μετονομάζεται ένας χρήστης Unix.
sessions_all=Όλες οι συνεδρίες..
sql_nocache0=Συνδέσεις προσωρινής μνήμης με βάση δεδομένων
sql_nocache1=Ανοίξτε μια νέα σύνδεση για κάθε αναζήτηση
sql_timeout_def=Χρήση προεπιλεγμένου χρονικού ορίου σύνδεσης (60 δευτερόλεπτα)

View File

@@ -351,8 +351,10 @@ sessions_login=Last active at
sessions_host=IP address
sessions_lview=View logs..
sessions_actions=Actions..
sessions_all=All sessions..
sessions_logouts=Also show logged-out sessions..
sessions_state=State
sessions_action=Actions
sessions_this=This login
sessions_in=Logged in
sessions_out=Logged out

View File

@@ -13,6 +13,7 @@ delete_eanonuser=Este usuario se está utilizando para acceder al módulo anóni
sync_modify=Cambie el nombre del usuario de Webmin coincidente cuando se cambie el nombre de un usuario de Unix.
sessions_actions=Comportamiento..
sessions_all=Todas las sesiones..
sessions_logouts=Mostrar también sesiones cerradas.
sessions_state=Estado
sessions_this=Este inicio de sesión

View File

@@ -57,6 +57,7 @@ unix_header=Unix erabiltzailearen autentifikazio ezarpenak
unix_utable=Onartutako Unix erabiltzaileak
sessions_actions=Ekintzak..
sessions_all=Saio guztiak..
sessions_logouts=Erakutsi itxitako saioak ere..
sessions_state=Estatu
sessions_this=Saioa hasiera

View File

@@ -112,6 +112,7 @@ unix_utable=کاربران مجاز Unix
sessions_host=آدرس آی پی
sessions_actions=اقدامات..
sessions_all=تمام جلسات..
sessions_logouts=همچنین جلسات ورود به سیستم را نشان دهید..
sessions_state=دولت
sessions_this=این ورود

View File

@@ -351,6 +351,7 @@ sessions_login=Viimeksi aktiivinen klo
sessions_host=IP-osoite
sessions_lview=Näytä lokit..
sessions_actions=Toiminnot..
sessions_all=Kaikki istunnot..
sessions_logouts=Näytä myös kirjautuneet istunnot..
sessions_state=Osavaltio
sessions_this=Tämä kirjautuminen

View File

@@ -56,6 +56,8 @@ unix_esudomod=Le module Perl $1 nécessaire à l'authentification <tt>sudo</tt>
unix_header=Paramètres d'authentification utilisateur Unix
unix_utable=Utilisateurs Unix autorisés
sessions_all=Toutes les séances..
udeletes_jerr=Échec de l'ajout d'utilisateurs au groupe
pass_header=Options d'application de mot de passe Webmin

View File

@@ -351,6 +351,7 @@ sessions_login=פעיל לאחרונה בשעה
sessions_host=כתובת ה - IP
sessions_lview=הצגת יומנים..
sessions_actions=פעולות..
sessions_all=כל המפגשים..
sessions_logouts=הראה גם הפעלות לא מחוברות..
sessions_state=מדינה
sessions_this=כניסה זו

View File

@@ -62,6 +62,7 @@ unix_header=Unix postavke provjere autentičnosti korisnika
unix_utable=Dopušteni Unix korisnici
sessions_actions=Akcije..
sessions_all=Sve sesije..
sessions_logouts=Prikaži i odjavljene sesije..
sessions_state=država
sessions_this=Ova prijava

View File

@@ -88,6 +88,7 @@ unix_header=Unix felhasználói hitelesítési beállítások
unix_utable=Engedélyezett Unix felhasználók
sessions_actions=Hozzászólások..
sessions_all=Minden ülés..
sessions_logouts=A kijelentkezett munkamenetek megjelenítése is
sessions_state=Állapot
sessions_this=Ez a bejelentkezés

View File

@@ -37,6 +37,7 @@ unix_header=Impostazioni di autenticazione utente Unix
unix_utable=Utenti Unix consentiti
sessions_actions=Azioni..
sessions_all=Tutte le sessioni..
sessions_logouts=Mostra anche sessioni disconnesse.
sessions_state=Stato
sessions_this=Questo login

View File

@@ -59,6 +59,7 @@ unix_header=Unixユーザー認証設定
unix_utable=許可されたUnixユーザー
sessions_actions=行動..
sessions_all=すべてのセッション。
sessions_logouts=ログアウトしたセッションも表示します。
sessions_state=状態
sessions_this=このログイン

View File

@@ -59,6 +59,7 @@ unix_header=유닉스 사용자 인증 설정
unix_utable=허용 된 유닉스 사용자
sessions_actions=행위..
sessions_all=모든 세션..
sessions_logouts=로그 아웃 된 세션도 표시하십시오.
sessions_state=상태
sessions_this=이 로그인

View File

@@ -351,6 +351,7 @@ sessions_login=Paskutinį kartą aktyvus
sessions_host=IP adresas
sessions_lview=Žiūrėti žurnalus..
sessions_actions=Veiksmai..
sessions_all=Visi užsiėmimai..
sessions_logouts=Taip pat rodyti atsijungusius seansus..
sessions_state=Valstybė
sessions_this=Šis prisijungimas

View File

@@ -351,6 +351,7 @@ sessions_login=Pēdējo reizi aktīvs plkst
sessions_host=IP adrese
sessions_lview=Skatīt žurnālus..
sessions_actions=Darbības..
sessions_all=Visas sesijas..
sessions_logouts=Rādīt arī atteikšanās sesijas..
sessions_state=Valsts
sessions_this=Šī pieteikšanās

View File

@@ -13,6 +13,7 @@ delete_eanonuser=Pengguna ini sedang digunakan untuk akses modul tanpa nama
sync_modify=Ganti nama pengguna Webmin yang sepadan apabila pengguna Unix dinamakan semula.
sessions_actions=Tindakan..
sessions_all=Semua sesi..
sessions_logouts=Juga tunjukkan sesi log keluar..
sessions_state=Negeri
sessions_this=Log masuk ini

View File

@@ -351,6 +351,7 @@ sessions_login=L-aħħar attiv fi
sessions_host=Indirizz IP
sessions_lview=Ara zkuk..
sessions_actions=Azzjonijiet..
sessions_all=Is-sessjonijiet kollha..
sessions_logouts=Uri wkoll sessjonijiet illoggjati..
sessions_state=Stat
sessions_this=Dan id-dħul

View File

@@ -36,6 +36,7 @@ unix_header=Unix-instellingen voor gebruikersauthenticatie
unix_utable=Toegestane Unix-gebruikers
sessions_actions=Acties..
sessions_all=Alle sessies..
sessions_logouts=Toon ook uitgelogde sessies..
sessions_state=Staat
sessions_this=Deze login

View File

@@ -1,5 +1,7 @@
sync_modify=Gi nytt navn til den samsvarende Webmin-brukeren når en Unix-bruker får nytt navn.
sessions_all=Alle økter..
sql_nocache0=Cache-tilkoblinger til databasen
sql_nocache1=Åpne en ny forbindelse for hvert oppslag
sql_timeout_def=Bruk standard tilkoblingstimeout (60 sekunder)

View File

@@ -11,6 +11,7 @@ save_eunixname=Nazwa użytkownika „$1” nie jest użytkownikiem systemu Unix,
sync_modify=Zmień nazwę pasującego użytkownika Webmin, gdy zmieniona zostanie nazwa użytkownika Uniksa.
sessions_actions=Działania..
sessions_all=Wszystkie sesje...
sessions_logouts=Pokaż także wylogowane sesje.
sessions_state=Stan
sessions_this=Ten login

View File

@@ -327,6 +327,7 @@ sessions_login=Ativo pela última vez às
sessions_host=endereço de IP
sessions_lview=Ver registros..
sessions_actions=Ações..
sessions_all=Todas as sessões..
sessions_logouts=Mostrar também sessões desconectadas.
sessions_state=Estado
sessions_this=Este login

View File

@@ -55,6 +55,7 @@ unix_header=Configurações de autenticação de usuário Unix
unix_utable=Usuários Unix permitidos
sessions_actions=Ações..
sessions_all=Todas as sessões..
sessions_logouts=Mostrar também sessões desconectadas.
sessions_state=Estado
sessions_this=Este login

View File

@@ -351,6 +351,7 @@ sessions_login=Ultima activitate la
sessions_host=adresa IP
sessions_lview=Vizualizați jurnalele..
sessions_actions=Acțiuni..
sessions_all=Toate sesiunile..
sessions_logouts=Arată, de asemenea, sesiuni deconectate..
sessions_state=Stat
sessions_this=Această autentificare

View File

@@ -59,6 +59,7 @@ unix_header=Настройки аутентификации пользовате
unix_utable=Разрешенные пользователи Unix
sessions_actions=Действия..
sessions_all=Все сеансы..
sessions_logouts=Также показать сеансы выхода из системы.
sessions_state=состояние
sessions_this=Этот логин

View File

@@ -104,6 +104,7 @@ unix_header=Nastavenia overovania používateľov systému Unix
unix_utable=Povolení používatelia Unixu
sessions_actions=Akcia..
sessions_all=Všetky relácie..
sessions_logouts=Zobraziť aj odhlásené relácie.
sessions_state=Štát
sessions_this=Toto prihlásenie

View File

@@ -351,6 +351,7 @@ sessions_login=Nazadnje aktivno ob
sessions_host=IP naslov
sessions_lview=Prikaži dnevnike..
sessions_actions=Ukrepi..
sessions_all=Vse seje..
sessions_logouts=Prikaži tudi odjavne seje.
sessions_state=Država
sessions_this=Ta prijava

View File

@@ -59,6 +59,7 @@ unix_header=Unix inställningar för användarautentisering
unix_utable=Tillåtna Unix-användare
sessions_actions=Handlingar..
sessions_all=Alla sessioner..
sessions_logouts=Visa även utloggade sessioner..
sessions_state=stat
sessions_this=Den här inloggningen

View File

@@ -351,6 +351,7 @@ sessions_login=ใช้งานล่าสุดเวลา
sessions_host=ที่อยู่ IP
sessions_lview=ดูบันทึก..
sessions_actions=การดำเนินการ..
sessions_all=ทุกวาระ..
sessions_logouts=แสดงเซสชันการออกจากระบบด้วย..
sessions_state=สถานะ
sessions_this=เข้าสู่ระบบนี้

View File

@@ -120,6 +120,7 @@ unix_utable=İzin verilen Unix kullanıcıları
sessions_host=IP adresi
sessions_actions=Hareketler..
sessions_all=Tüm oturumlar..
sessions_logouts=Oturumu kapatılmış oturumları da göster..
sessions_state=Durum
sessions_this=Bu giriş

View File

@@ -346,6 +346,7 @@ sessions_login=Останній активний о
sessions_host=IP-адреса
sessions_lview=Переглянути журнали..
sessions_actions=Дії..
sessions_all=Всі сеанси..
sessions_logouts=Показати також сеанси виходу з системи..
sessions_state=Держава
sessions_this=Це логін

View File

@@ -351,6 +351,7 @@ sessions_login=آخری فعال
sessions_host=IP پتہ
sessions_lview=نوشتہ جات دیکھیں..
sessions_actions=عمل..
sessions_all=تمام سیشنز..
sessions_logouts=لاگ آؤٹ سیشن بھی دکھائیں..
sessions_state=حالت
sessions_this=یہ لاگ ان

View File

@@ -351,6 +351,7 @@ sessions_login=Hoạt động lần cuối tại
sessions_host=địa chỉ IP
sessions_lview=Xem các bản ghi..
sessions_actions=Hành động..
sessions_all=Tất cả các phiên..
sessions_logouts=Cũng hiển thị các phiên đăng xuất..
sessions_state=Tiểu bang
sessions_this=Thông tin đăng nhập này

View File

@@ -160,6 +160,7 @@ sessions_login=上次活动时间:
sessions_host=IP地址
sessions_lview=查看日志
sessions_actions=动作..
sessions_all=所有会议..
sessions_logouts=同时显示注销的会话。
sessions_state=州
sessions_this=此登录名

View File

@@ -138,6 +138,7 @@ unix_utable=允許的Unix用戶
sessions_host=IP地址
sessions_actions=動作..
sessions_all=所有會議..
sessions_logouts=還顯示註銷的會話。
sessions_state=州
sessions_this=此登錄名

View File

@@ -28,10 +28,12 @@ if (@logins) {
}
my $html = &ui_columns_start([ $text{'sessions_host'},
$text{'sessions_login'},
$text{'sessions_state'} ]);
$text{'sessions_state'},
$text{'sessions_action'} ]);
my $open = 0;
foreach my $l (@logins) {
my $state;
my $candel = 0;
if ($l->[0] =~ /^\!/) {
$state = $text{'sessions_out'};
}
@@ -41,17 +43,36 @@ if (@logins) {
}
else {
$state = $text{'sessions_in'};
$candel = 1;
if ($l->[2] ne $ENV{'REMOTE_HOST'}) {
$open++;
$state = "<font color=orange>$state</font>";
}
}
$main::theme_allow_make_date = 1;
$html .= &ui_columns_row([ $l->[2],
&make_date($l->[1]),
$state ]);
my @links;
if (&foreign_available("webminlog")) {
push(@links,
&ui_link("@{[&get_webprefix()]}/webminlog/search.cgi?uall=1&mall=1&tall=1&wall=1&fall=1&sid=$l->[3]",
$text{'sessions_lview'}))
}
if ($candel) {
push(@links,
&ui_link("@{[&get_webprefix()]}/acl/delete_session.cgi?id=$l->[3]&redirect_ref=1",
$text{'sessions_kill'}))
}
$html .= &ui_columns_row([
$l->[2],
&make_date($l->[1]),
$state,
&ui_links_row(\@links) ]);
}
$html .= &ui_columns_end();
if (&foreign_available("acl")) {
$html .= &ui_link("@{[&get_webprefix()]}/acl/list_sessions.cgi",
$text{'sessions_all'}, undef,
"title=\"$text{'sessions_title'}\"");
}
push(@rv, { 'type' => 'html',
'desc' => $text{'logins_title'},
'open' => $open,

View File

@@ -124,7 +124,7 @@ foreach my $d (&get_httpd_defines()) {
}
}
while($line = <$fh>) {
chop;
$line =~ s/\r|\n//g;
$line =~ s/^\s*#.*$//g;
if ($line =~ /^\s*<\/(\S+)\s*(.*)>/) {
# end of a container directive. This can only happen in a
@@ -144,6 +144,11 @@ while($line = <$fh>) {
$altmod =~ s/^(\S+)_module$/mod_$1/g;
local $mpmmod = $mod;
$mpmmod =~ s/^mpm_//; $mpmmod =~ s/_module$//;
if ($mod eq "prefork") {
# Special case for all the prefork aliases
($mod, $altmod, $mpmmod) = ("mod_".$mod."_module",
"mod_mpm_".$mod, $mod);
}
if (!$not && $httpd_modules{$mod} ||
$not && !$httpd_modules{$mod} ||
!$not && $httpd_modules{$altmod} ||

View File

@@ -138,32 +138,34 @@ if ($access{'allow'} && $config{'allow_file'}) {
}
# If there is an init script that runs an atd server, show status
&foreign_require("init");
my $init = defined(&get_init_name) ? &get_init_name() : undef;
if ($access{'stop'} && $init) {
print &ui_hr();
print &ui_buttons_start();
if (&foreign_available("init")) {
&foreign_require("init");
my $init = defined(&get_init_name) ? &get_init_name() : undef;
if ($access{'stop'} && $init) {
print &ui_hr();
print &ui_buttons_start();
# Running now?
my $r = &init::status_action($init);
if ($r == 1) {
print &ui_buttons_row("stop.cgi", $text{'index_stop'},
$text{'index_stopdesc'});
# Running now?
my $r = &init::status_action($init);
if ($r == 1) {
print &ui_buttons_row("stop.cgi", $text{'index_stop'},
$text{'index_stopdesc'});
}
elsif ($r == 0) {
print &ui_buttons_row("start.cgi", $text{'index_start'},
$text{'index_startdesc'});
}
# Start at boot?
my $atboot = &init::action_status($init);
print &ui_buttons_row("bootup.cgi", $text{'index_boot'},
$text{'index_bootdesc'}, undef,
&ui_radio("boot", $atboot == 2 ? 1 : 0,
[ [ 1, $text{'yes'} ],
[ 0, $text{'no'} ] ]));
print &ui_buttons_end();
}
elsif ($r == 0) {
print &ui_buttons_row("start.cgi", $text{'index_start'},
$text{'index_startdesc'});
}
# Start at boot?
my $atboot = &init::action_status($init);
print &ui_buttons_row("bootup.cgi", $text{'index_boot'},
$text{'index_bootdesc'}, undef,
&ui_radio("boot", $atboot == 2 ? 1 : 0,
[ [ 1, $text{'yes'} ],
[ 0, $text{'no'} ] ]));
print &ui_buttons_end();
}
&ui_print_footer("/", $text{'index'});

View File

@@ -41,6 +41,9 @@ index_efrom=Ongeldige begindatum en tyd
index_eto=Ongeldige einddatum en tyd
index_err=Verslag kon nie gegenereer word nie
index_usage=Netwerkverkeer <font color=#ff0000>afgelaai</font> en <font color=#0000ff>opgelaai</font>
index_in=Aflaai
index_out=Laai op
index_total=Totaal
index_hhour=Uur
index_hhost=host
index_hday=dag

View File

@@ -41,6 +41,9 @@ index_efrom=تاريخ ووقت البدء غير صالحين
index_eto=تاريخ ووقت انتهاء غير صالحين
index_err=فشل في إنشاء التقرير
index_usage=تم تنزيل حركة مرور الشبكة <font color=#ff0000></font> و <font color=#0000ff>التي تم تحميلها</font>
index_in=تحميل
index_out=تحميل
index_total=المجموع
index_hhour=ساعة
index_hhost=مضيف
index_hday=يوم

View File

@@ -41,6 +41,9 @@ index_efrom=Несапраўдная дата і час пачатку
index_eto=Дата і час канца несапраўдныя
index_err=Не атрымалася стварыць справаздачу
index_usage=Сеткавы трафік <font color=#ff0000>загружаны</font> і <font color=#0000ff>загружаны</font>
index_in=Спампаваць
index_out=Загрузіць
index_total=Усяго
index_hhour=Гадзіна
index_hhost=Гаспадар
index_hday=Дзень

View File

@@ -41,6 +41,9 @@ index_efrom=Невалидна начална дата и час
index_eto=Невалидна крайна дата и час
index_err=Неуспешно генериране на отчет
index_usage=Мрежов трафик <font color=#ff0000>изтеглен</font> и <font color=#0000ff>качен</font>
index_in=Изтегли
index_out=Качване
index_total=Обща сума
index_hhour=час
index_hhost=домакин
index_hday=ден

3
bandwidth/lang/ca.auto Normal file
View File

@@ -0,0 +1,3 @@
index_in=descarregar
index_out=Carrega
index_total=Total

View File

@@ -41,6 +41,9 @@ index_efrom=Neplatné počáteční datum a čas
index_eto=Neplatné datum a čas ukončení
index_err=Generování zprávy se nezdařilo
index_usage=Síťový provoz <font color=#ff0000>staženo</font> a <font color=#0000ff>uploaded</font>
index_in=Stažení
index_out=nahrát
index_total=Celkový
index_hhour=Hodina
index_hhost=Hostitel
index_hday=Den

View File

@@ -41,6 +41,9 @@ index_efrom=Ugyldig startdato og tid
index_eto=Ugyldig slutdato og tid
index_err=Rapporten blev ikke genereret
index_usage=Netværkstrafik <font color=#ff0000>downloadet</font> og <font color=#0000ff>uploadet</font>
index_in=Hent
index_out=Upload
index_total=i alt
index_hhour=Time
index_hhost=Vært
index_hday=Dag

3
bandwidth/lang/de.auto Normal file
View File

@@ -0,0 +1,3 @@
index_in=Download
index_out=Hochladen
index_total=Gesamt

View File

@@ -41,6 +41,9 @@ index_efrom=Μη έγκυρη ημερομηνία και ώρα έναρξης
index_eto=Μη έγκυρη ημερομηνία και ώρα λήξης
index_err=Αποτυχία δημιουργίας αναφοράς
index_usage=Η διακίνηση δικτύου <font color=#ff0000>κατέβασμα</font> και <font color=#0000ff>ανέβηκε</font>
index_in=Κατεβάστε
index_out=Μεταφόρτωση
index_total=Σύνολο
index_hhour=Ωρα
index_hhost=Πλήθος
index_hday=Ημέρα

View File

@@ -2,6 +2,9 @@ index_emod=El módulo Webmin $1 no está instalado en este sistema o no es compa
index_esyslog=Ninguno de los módulos de registros del sistema está instalado en este sistema y es compatible con su sistema operativo. El módulo de monitoreo de ancho de banda no puede funcionar sin uno de ellos.
index_setupdesc2=<b>Advertencia: este módulo registrará TODO el tráfico de red enviado o recibido en la interfaz seleccionada. Esto consumirá una gran cantidad de espacio en disco y tiempo de CPU en una conexión de red rápida.</b>
index_other=Otro ..
index_in=Descargar
index_out=Subir
index_total=Total
setup_eiface=Nombre de interfaz faltante o no válido

View File

@@ -41,6 +41,9 @@ index_efrom=Hasierako data eta ordua baliogabeak
index_eto=Amaiera data eta ordua baliogabea
index_err=Ezin izan da txostena sortu
index_usage=Sareko trafikoa <font color=#ff0000>deskargatu</font> eta <font color=#0000ff>kargatuta</font>
index_in=Deskargatu
index_out=Kargatu
index_total=Guztira
index_hhour=Ordua
index_hhost=ostalaria
index_hday=eguna

View File

@@ -41,6 +41,9 @@ index_efrom=تاریخ و زمان شروع نامعتبر است
index_eto=تاریخ و زمان پایان نامعتبر
index_err=گزارش ایجاد نشد
index_usage=ترافیک شبکه <font color=#ff0000>بارگیری شده</font> و <font color=#0000ff>بارگذاری شد</font>
index_in=دانلود
index_out=بارگذاری
index_total=جمع
index_hhour=ساعت
index_hhost=میزبان
index_hday=روز

View File

@@ -41,6 +41,9 @@ index_efrom=Virheellinen aloituspäivä ja -aika
index_eto=Virheellinen lopetuspäivämäärä ja -aika
index_err=Raportin luonti epäonnistui
index_usage=Verkkoliikenne <font color=#ff0000>ladattu</font> ja <font color=#0000ff>ladattu</font>
index_in=ladata
index_out=Lataa
index_total=Kaikki yhteensä
index_hhour=Tunnin
index_hhost=isäntä
index_hday=Päivä

3
bandwidth/lang/fr.auto Normal file
View File

@@ -0,0 +1,3 @@
index_in=Télécharger
index_out=Télécharger
index_total=Total

View File

@@ -41,6 +41,9 @@ index_efrom=תאריך ושעה התחלה לא חוקיים
index_eto=תאריך ושעת סיום לא חוקיים
index_err=יצירת הדוח נכשלה
index_usage=תעבורת רשת <font color=#ff0000>שהורדה</font> ו <font color=#0000ff>הועלה</font>
index_in=הורד
index_out=העלה
index_total=סך הכל
index_hhour=שעה
index_hhost=מנחה
index_hday=יום

View File

@@ -1,3 +1,6 @@
index_other=Ostali ..
index_in=preuzimanje datoteka
index_out=Učitaj
index_total=Ukupno
setup_eiface=Nedostaje ili nevaljano ime sučelja

View File

@@ -1,4 +1,7 @@
index_esyslog=A Rendszernaplók egyikét sem telepíti erre a rendszerre, és az operációs rendszer nem támogatja. A sávszélesség-figyelő modul nem működhet ezek nélkül.
index_setupdesc2=<b>Figyelem - ez a modul naplózza az összes küldött vagy fogadott hálózati forgalmat a kiválasztott felületen. Ez nagy mennyiségű lemezterületet és CPU-időt fog igénybe venni egy gyors hálózati kapcsolaton.</b>
index_in=Letöltés
index_out=Feltöltés
index_total=Teljes
setup_eiface=Hiányzó vagy érvénytelen felület neve

View File

@@ -41,6 +41,9 @@ index_efrom=Data e ora di inizio non valide
index_eto=Data e ora di fine non valide
index_err=Generazione del rapporto non riuscita
index_usage=Traffico di rete <font color=#ff0000>scaricato</font> e <font color=#0000ff>caricato</font>
index_in=Scarica
index_out=Caricamento
index_total=Totale
index_hhour=Ora
index_hhost=Ospite
index_hday=Giorno

View File

@@ -41,6 +41,9 @@ index_efrom=無効な開始日時
index_eto=無効な終了日時
index_err=レポートを生成できませんでした
index_usage=ネットワークトラフィック<font color=ff0000>ダウンロード済み</font>および<font color=0000ff>アップロード済み</font>
index_in=ダウンロード
index_out=アップロード
index_total=合計
index_hhour=時
index_hhost=ホスト
index_hday=日

View File

@@ -41,6 +41,9 @@ index_efrom=유효하지 않은 시작 날짜 및 시간
index_eto=유효하지 않은 종료 날짜 및 시간
index_err=보고서를 생성하지 못했습니다
index_usage=네트워크 트래픽 <font color=#ff0000>다운로드</font> 및 <font color=#0000ff>업로드</font>
index_in=다운로드
index_out=업로드
index_total=총
index_hhour=시
index_hhost=주최자
index_hday=일

View File

@@ -41,6 +41,9 @@ index_efrom=Netinkama pradžios data ir laikas
index_eto=Netinkama pabaigos data ir laikas
index_err=Nepavyko sugeneruoti ataskaitos
index_usage=Tinklo srautas <font color=#ff0000>atsisiųstas</font> ir <font color=#0000ff>įkeltas</font>
index_in=parsisiųsti
index_out=Įkelti
index_total=Iš viso
index_hhour=Valanda
index_hhost=Priimančioji
index_hday=Diena

View File

@@ -41,6 +41,9 @@ index_efrom=Nederīgs sākuma datums un laiks
index_eto=Nederīgs beigu datums un laiks
index_err=Neizdevās ģenerēt pārskatu
index_usage=Tīkla trafiks <font color=#ff0000>lejupielādēts</font> un <font color=#0000ff>augšupielādēts</font>
index_in=Lejupielādēt
index_out=Augšupielādēt
index_total=Kopā
index_hhour=Stunda
index_hhost=Saimnieks
index_hday=Diena

3
bandwidth/lang/ms.auto Normal file
View File

@@ -0,0 +1,3 @@
index_in=Muat turun
index_out=Muat naik
index_total=Jumlah

View File

@@ -41,6 +41,9 @@ index_efrom=Data u ħin tal-bidu mhux validi
index_eto=Data u ħin li jispiċċaw mhux validi
index_err=Naqas milli jiġġenera rapport
index_usage=It-traffiku tan-netwerk <font color=#ff0000>jitniżżel</font> u <font color=#0000ff>imtella '</font>
index_in=Niżżel
index_out=Upload
index_total=Total
index_hhour=Siegħa
index_hhost=Ospitanti
index_hday=Jum

3
bandwidth/lang/nl.auto Normal file
View File

@@ -0,0 +1,3 @@
index_in=Downloaden
index_out=Uploaden
index_total=Totaal

3
bandwidth/lang/no.auto Normal file
View File

@@ -0,0 +1,3 @@
index_in=nedlasting
index_out=Laste opp
index_total=Total

3
bandwidth/lang/pl.auto Normal file
View File

@@ -0,0 +1,3 @@
index_in=Pobierać
index_out=Wgrywać
index_total=Całkowity

View File

@@ -41,6 +41,9 @@ index_efrom=Data e hora de início inválidas
index_eto=Data e hora de término inválidas
index_err=Falha ao gerar o relatório
index_usage=Tráfego de rede <font color=#ff0000>baixado</font> e <font color=#0000ff>carregado</font>
index_in=Download
index_out=Carregar
index_total=Total
index_hhour=Hora
index_hhost=Hospedeiro
index_hday=Dia

View File

@@ -41,6 +41,9 @@ index_efrom=Data e hora de início inválidas
index_eto=Data e hora de término inválidas
index_err=Falha ao gerar o relatório
index_usage=Tráfego de rede <font color=#ff0000>baixado</font> e <font color=#0000ff>carregado</font>
index_in=Download
index_out=Carregar
index_total=Total
index_hhour=Hora
index_hhost=Hospedeiro
index_hday=Dia

View File

@@ -41,6 +41,9 @@ index_efrom=Data și ora de începere nevalide
index_eto=Data și ora de încheiere nevalide
index_err=Eroare la generarea raportului
index_usage=Traficul de rețea <font color=#ff0000>descărcat</font> și <font color=#0000ff>încărcat</font>
index_in=Descarca
index_out=Încărcați
index_total=Total
index_hhour=Ora
index_hhost=Gazdă
index_hday=Zi

View File

@@ -41,6 +41,9 @@ index_efrom=Неверная дата и время начала
index_eto=Неправильная дата и время окончания
index_err=Не удалось сгенерировать отчет
index_usage=Сетевой трафик <font color=#ff0000>загружен</font> и <font color=#0000ff>загружен</font>
index_in=Скачать
index_out=Загрузить
index_total=Общее
index_hhour=Час
index_hhost=хозяин
index_hday=День

View File

@@ -41,6 +41,9 @@ index_efrom=Neplatný dátum a čas začiatku
index_eto=Neplatný dátum a čas ukončenia
index_err=Nepodarilo sa vygenerovať prehľad
index_usage=Sieťový prenos <font color=#ff0000>stiahnutý</font> a <font color=#0000ff>uploaded</font>
index_in=Stiahnuť ▼
index_out=Nahrať
index_total=Celkom
index_hhour=hodina
index_hhost=Hostiteľ
index_hday=deň

View File

@@ -41,6 +41,9 @@ index_efrom=Neveljaven začetni datum in ura
index_eto=Neveljaven datum in čas zaključka
index_err=Poročila ni bilo mogoče ustvariti
index_usage=Omrežni promet <font color=#ff0000>prenesen</font> in <font color=#0000ff>naložen</font>
index_in=Prenesi
index_out=Naloži
index_total=Skupaj
index_hhour=Ura
index_hhost=Gostitelj
index_hday=Dan

View File

@@ -1,4 +1,7 @@
index_setupdesc2=<b>Varning - den här modulen loggar ALL nätverkstrafik som skickats eller mottagits i det valda gränssnittet. Detta kommer att konsumera en stor mängd diskutrymme och CPU-tid på en snabb nätverksanslutning.</b>
index_other=Övrig ..
index_in=Ladda ner
index_out=Ladda upp
index_total=Total
setup_eiface=Saknas eller ogiltigt gränssnittsnamn

View File

@@ -41,6 +41,9 @@ index_efrom=วันที่และเวลาเริ่มต้นไ
index_eto=วันที่และเวลาสิ้นสุดไม่ถูกต้อง
index_err=ไม่สามารถสร้างรายงาน
index_usage=การรับส่งข้อมูลเครือข่าย <font color=#ff0000>ดาวน์โหลด</font> และ <font color=#0000ff>อัปโหลด</font>
index_in=ดาวน์โหลด
index_out=ที่อัพโหลด
index_total=ทั้งหมด
index_hhour=ชั่วโมง
index_hhost=เจ้าภาพ
index_hday=วัน

View File

@@ -41,6 +41,9 @@ index_efrom=Geçersiz başlangıç tarihi ve saati
index_eto=Geçersiz bitiş tarihi ve saati
index_err=Rapor oluşturulamadı
index_usage=Ağ trafiği <font color=#ff0000>indirildi</font> ve <font color=#0000ff>yüklendi</font>
index_in=İndirmek
index_out=Yüklemek
index_total=Toplam
index_hhour=Saat
index_hhost=evsahibi
index_hday=Gün

View File

@@ -41,6 +41,9 @@ index_efrom=Недійсна дата і час початку
index_eto=Недійсна дата та час закінчення
index_err=Не вдалося створити звіт
index_usage=Мережевий трафік <font color=#ff0000>завантажений</font> та <font color=#0000ff>завантажений</font>
index_in=Завантажити
index_out=Завантажити
index_total=Всього
index_hhour=Година
index_hhost=Господар
index_hday=День

View File

@@ -41,6 +41,9 @@ index_efrom=غلط آغاز اور تاریخ
index_eto=غلط ختم ہونے کی تاریخ اور وقت
index_err=رپورٹ تیار کرنے میں ناکام
index_usage=Network traffic <font color=#ff0000>downloaded</font> and <font color=#0000ff>uploaded</font>
index_in=ڈاؤن لوڈ کریں
index_out=اپ لوڈ کریں۔
index_total=کل
index_hhour=قیامت
index_hhost=میزبان
index_hday=دن

View File

@@ -41,6 +41,9 @@ index_efrom=Ngày và giờ bắt đầu không hợp lệ
index_eto=Ngày và thời gian kết thúc không hợp lệ
index_err=Không thể tạo báo cáo
index_usage=Lưu lượng truy cập mạng <font color=#ff0000>đã tải xuống</font> và <font color=#0000ff>đã tải lên</font>
index_in=Tải xuống
index_out=Tải lên
index_total=Toàn bộ
index_hhour=Giờ
index_hhost=Tổ chức
index_hday=ngày

View File

@@ -41,6 +41,9 @@ index_efrom=无效的开始日期和时间
index_eto=无效的结束日期和时间
index_err=未能生成报告
index_usage=网络流量<font color=ff0000>已下载</font>和<font color=0000ff>已上传</font>
index_in=下载
index_out=上传
index_total=全部的
index_hhour=小时
index_hhost=主办
index_hday=天

View File

@@ -41,6 +41,9 @@ index_efrom=無效的開始日期和時間
index_eto=無效的結束日期和時間
index_err=未能生成報告
index_usage=網絡流量<font color=ff0000>已下載</font>和<font color=0000ff>已上傳</font>
index_in=下載
index_out=上傳
index_total=全部的
index_hhour=小時
index_hhost=主辦
index_hday=天

View File

@@ -129,7 +129,7 @@ Disable proxy-related features in Webmin.
=head1 SYNOPSIS
disable-proxy [options]
webmin disable-proxy [options]
=head1 OPTIONS
@@ -146,14 +146,8 @@ C</etc/webmin>
=back
=head1 EXIT CODES
0 on success
non-0 on error
=head1 LICENSE AND COPYRIGHT
Copyright 2018 Jamie Cameron <jcameron@webmin.com>, Joe Cooper
<joe@virtualmin.com>.
Copyright 2022 Jamie Cameron <jcameron@webmin.com>
Joe Cooper <joe@virtualmin.com>

View File

@@ -87,7 +87,7 @@ second factor (e.g. phone or USB key) has been lost.
=head1 SYNOPSIS
disable-twofactor --user username
webmin disable-twofactor --user username
=head1 OPTIONS
@@ -106,16 +106,13 @@ C</etc/webmin>
Name of the user to disable two-factor authentication for.
=back
=head1 EXIT CODES
0 on successfully replacing configuration options
non-0 on error
=head1 LICENSE AND COPYRIGHT
Copyright 2018 Jamie Cameron <jcameron@webmin.com>, Joe Cooper
<joe@virtualmin.com>.
Copyright 2022 Jamie Cameron <jcameron@webmin.com>
Joe Cooper <joe@virtualmin.com>
Ilia Rostovtsev <ilia@virtualmin.com>

View File

@@ -134,7 +134,7 @@ Configure the Webmin web server to be proxied through another web server, like A
=head1 SYNOPSIS
enable-proxy [options]
webmin enable-proxy [options]
=head1 OPTIONS
@@ -161,14 +161,7 @@ domain.tld)
=back
=head1 EXIT CODES
0 on success
non-0 on error
=head1 LICENSE AND COPYRIGHT
Copyright 2018 Jamie Cameron <jcameron@webmin.com>, Joe Cooper
<joe@virtualmin.com>.
Copyright 2022 Jamie Cameron <jcameron@webmin.com>
Joe Cooper <joe@virtualmin.com>

View File

@@ -1784,7 +1784,7 @@ Manage Webmin/Usermin module language files (lang|ulang|help|config|uconfig|modu
=head1 SYNOPSIS
language-manager [options]
webmin language-manager [options]
=head1 OPTIONS
@@ -1798,35 +1798,35 @@ Examples of usage:
Synchronize all language keys for Apache module, based on template language. Newly added entries to Apache template language file (def. en), will be translated and inserted into all other machine translated language files, while deleted entries will also be removed on all targets (translations), including human translated files. The value for "defines_desc" will be force re-translated and translation will be done in HTML format.
- language-manager -m=apache -kft=defines_desc -kfh=defines_desc
- webmin language-manager -m=apache -kft=defines_desc -kfh=defines_desc
Synchronize all modules' "help/" language files. Newly added files will be translated and already translated, both human and machine translations, will be kept intact.
- language-manager -w=help
- webmin language-manager -w=help
Check for Software Packages module, all matching escaped HTML "&lt;" and "&gt;" entities in template file (def. en), and if found, make sure that translations (including machine translations) for the same key, contain exact escaped HTML entities, as on template string, rather than "<" or ">". Technically, it's possible to check and replace anything on language files using this command.
- language-manager -vf="&lt;:<,&gt;:>" -m=software
- webmin language-manager -vf="&lt;:<,&gt;:>" -m=software
Translate all available languages, using old-time encoding map, for BIND module, using as type "lang" directory, discarding human translations for Hebrew, keeping original value (not translating) for key "mass_desc", and printing verbose output.
- language-manager -x=full -e=map -m=bind8 -w=lang -se=he -ke=mass_desc
- webmin language-manager -x=full -e=map -m=bind8 -w=lang -se=he -ke=mass_desc
Transcode only and rename all modules' "help/" old-time format files. Old files, such as "ja_JP.euc.html", "ko_KR.euc.html", "zh_TW.Big5.html" and "ru_RU.html" will be automatically renamed and/or deleted.
- language-manager -w=help -e=map -ot
- webmin language-manager -w=help -e=map -ot
Only transcode language files, using old-time encoding map, from files being in different encodings, to new style, where all language files are in "utf-8" encoding, for Apache module. No translations will be made, and no ".auto" files will be created.
- language-manager -x=full -e=map -m=apache -ot
- webmin language-manager -x=full -e=map -m=apache -ot
Repare human translated language files, which stored in "utf-8" encoding already but still have HTML entities.
- language-manager -m=virtual-server -t=no,es -x=transcode
- webmin language-manager -m=virtual-server -t=no,es -x=transcode
Test translations for "index_stopmsg,trusted_warning" keys, in Russian and German languages, in BIND module, print on-screen results and exit.
- language-manager -m=bind8 -t=ru,de -kt=index_stopmsg,trusted_warning
- webmin language-manager -m=bind8 -t=ru,de -kt=index_stopmsg,trusted_warning
=item --mode, -x <sync|full|transcode>
@@ -1916,4 +1916,4 @@ Verbosely print processed files and provide detailed output. By detault, verbose
=head1 LICENSE AND COPYRIGHT
Copyright 2020 Ilia Rostovtsev <programming@rostovtsev.io>
Copyright 2022 Ilia Rostovtsev <ilia@virtualmin.com>

View File

@@ -165,7 +165,7 @@ List one or all configuration directives for C<miniserv.conf> or a module C<conf
=head1 SYNOPSIS
list-config [options]
webmin list-config [options]
=head1 OPTIONS
@@ -192,16 +192,11 @@ Specify a single option to display. By default, the entire configuration file wi
Display the description of the option from the module C<config.info> file, instead of it's current value. This option is only available for modules, as miniserv.conf does not have a config.info.
=back
=head1 EXIT CODES
0 on success
non-0 on error
=head1 LICENSE AND COPYRIGHT
Copyright 2018 Jamie Cameron <jcameron@webmin.com>, Joe Cooper
<joe@virtualmin.com>.
Copyright 2022 Jamie Cameron <jcameron@webmin.com>
Joe Cooper <joe@virtualmin.com>

View File

@@ -5,9 +5,12 @@ use strict;
use warnings;
use 5.010;
use File::Basename;
use Getopt::Long;
use Pod::Usage;
use Term::ANSIColor qw(:constants);
use lib (dirname(dirname($0)));
use WebminCore;
sub main
{
@@ -15,7 +18,8 @@ sub main
GetOptions('help|h' => \$opt{'help'},
'config|c=s' => \$opt{'config'},
'user|u=s' => \$opt{'user'},
'password|p=s' => \$opt{'password'});
'password|p=s' => \$opt{'password'},
'stdout|o!' => \$opt{'stdout'});
# If username passed as regular param
my $user = scalar(@ARGV) == 1 && $ARGV[0];
@@ -47,28 +51,11 @@ sub change_password
{
my ($optref) = @_;
my ($minserv_uconf_file, %lusers, @users, %uinfos, %ulines);
my $user = $optref->{'user'};
my $pass = $optref->{'password'};
my $confdif = $optref->{'config'};
my $conf = "$confdif/config";
my $mconf = "$confdif/miniserv.conf";
my $encrypt_password = sub {
my ($pass, $gconfig) = @_;
if ($gconfig->{'md5pass'} == 1) {
# Use MD5 encryption
return &encrypt_md5($pass);
} elsif ($gconfig->{'md5pass'} == 2) {
# Use SHA512 encryption
return &encrypt_sha512($pass);
} else {
# Use Unix DES
srand(time() ^ $$);
return crypt($pass, chr(int(rand(26)) + 65) . chr(int(rand(26)) + 65));
}
};
my $user = $optref->{'user'};
my $pass = $optref->{'password'};
my $confdif = $optref->{'config'};
my $conf = "$confdif/config";
my $mconf = "$confdif/miniserv.conf";
my $conf_check = sub {
my ($configs) = @_;
foreach my $config (@{$configs}) {
@@ -79,11 +66,47 @@ sub change_password
}
}
};
my $root = root($confdif, \&$conf_check);
my $root = root($confdif, \&$conf_check);
my $encrypt_password = sub {
my ($pass, $gconfig, $config) = @_;
my $root = root($confdif, \&$conf_check);
# Load libs
do "$root/acl/md5-lib.pl";
do "$root/web-lib-funcs.pl";
# Use pre-defined encryption (forced by Webmin config)
if (!$optref->{'stdout'} &&
($gconfig->{'md5pass'} == 1 ||
$gconfig->{'md5pass'} == 2))
{
do "$root/acl/md5-lib.pl";
# Use MD5 encryption
return &encrypt_md5($pass) if ($gconfig->{'md5pass'}) == 1;
# Use SHA512 encryption
return &encrypt_sha512($pass) if ($gconfig->{'md5pass'}) == 2;
} else {
# Try detecting system default first
my $module = 'useradmin';
if (-d "$root/$module") {
$ENV{'PERLLIB'} = "$root";
$ENV{'WEBMIN_CONFIG'} = "$confdif";
$ENV{'FOREIGN_ROOT_DIRECTORY'} = "$root/$module";
$ENV{'FOREIGN_MODULE_NAME'} = "$module";
chdir("$root/$module");
require "$root/useradmin/user-lib.pl";
# We need to set third parameter to make sure useradmin's config
# won't be used for hashing format, as we need to auto detect it
return &encrypt_password($pass, undef, 'force_system_detection');
} else {
# Use old Unix DES
srand(time() ^ $$);
return crypt($pass, chr(int(rand(26)) + 65) . chr(int(rand(26)) + 65));
}
}
};
# Check for main config and miniserv config files
&$conf_check([$conf, $mconf]);
@@ -138,7 +161,13 @@ sub change_password
}
# Update with new password and store timestamp
$uinfos{$user}->[0] = &$encrypt_password($pass, \%gconfig);
$uinfos{$user}->[0] = &$encrypt_password($pass, \%gconfig, \%config);
# Print the hash and exit
if ($optref->{'stdout'}) {
say $uinfos{$user}->[0];
exit 0;
}
$uinfos{$user}->[5] = time() if ($uinfos{$user}->[5]);
map {$ulines{$_} = join(":", @{ $uinfos{$_} })} keys %uinfos;
@@ -188,15 +217,15 @@ sub root
=head1 NAME
passwd
passwd
=head1 DESCRIPTION
This program allows you to change the password of a user in the Webmin password file
This program allows you to change the password of a user in the Webmin password file
=head1 SYNOPSIS
passwd [options]
webmin passwd [options]
=head1 OPTIONS
@@ -204,37 +233,32 @@ passwd [options]
=item --help, -h
Print this usage summary and exit.
Print this usage summary and exit.
Examples of usage:
- passwd root
- passwd --user root
- passwd --user root --password ycwyMQRVAZY
- passwd --config /usr/local/etc/webmin --user root --password ycwyMQRVAZY
Examples of usage:
- webmin passwd root
- webmin passwd --user root
- webmin passwd --user root --password ycwyMQRVAZY
- webmin passwd --config /usr/local/etc/webmin --user root --password ycwyMQRVAZY
- webmin passwd --config /usr/local/etc/webmin --user root --password ycwyMQRVAZY --stdout
=item --config, -c
Specify the full path to the Webmin configuration directory. Defaults to C</etc/webmin>
Specify the full path to the Webmin configuration directory. Defaults to C</etc/webmin>
=item --user, -u
Existing Webmin user to change password for
Existing Webmin user to change password for
=item --password, -p
Set new user password. Using this option may be unsecure.
=back
=head1 LICENSE AND COPYRIGHT
Copyright 2021 Jamie Cameron <jcameron@webmin.com>
Joe Cooper <joe@virtualmin.com>
Ilia Rostovtsev <ilia@virtualmin.com>
Copyright 2022 Jamie Cameron <jcameron@webmin.com>
Joe Cooper <joe@virtualmin.com>
Ilia Rostovtsev <ilia@virtualmin.com>

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