Compare commits

..

243 Commits
1.991 ... 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
454 changed files with 3450 additions and 1278 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 @iliajie 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.991.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

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

@@ -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

@@ -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>

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>

183
bin/server Executable file
View File

@@ -0,0 +1,183 @@
#!/usr/bin/env perl
# server - control Webmin web-server
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
{
my %opt;
GetOptions('help|h' => \$opt{'help'},
'command|x=s' => \$opt{'command'},
'config|c=s' => \$opt{'config'});
# If username passed as regular param
my $cmd = scalar(@ARGV) == 1 && $ARGV[0];
$cmd = $opt{'command'} if ($opt{'command'});
if ($cmd !~ /^(status|start|stop|restart|reload|force-restart|force-reload|kill)$/) {
$cmd = undef;
}
# Show usage
pod2usage(0) if ($opt{'help'} || !$cmd);
# Assign defaults
$opt{'config'} ||= "/etc/webmin";
$opt{'cmd'} = $cmd;
# Catch kill signal
my $sigkill = sub {
system("stty echo");
print "\n^C";
print "\n";
exit 1;
};
$SIG{INT} = \&$sigkill;
# Run change password command
run(\%opt);
return 0;
}
exit main(\@ARGV) if !caller(0);
sub run
{
my ($o) = @_;
my $conf_check = sub {
my ($configs) = @_;
foreach my $config (@{$configs}) {
if (!-r $config) {
say BRIGHT_RED, "Error: ", RESET, "Failed to read Webmin essential config file: ", BRIGHT_YELLOW, $config,
RESET, " doesn't exist";
exit 1;
}
}
};
root($o->{'config'}, \&$conf_check);
my $service = ($o->{'config'} =~ /usermin/ ? 'usermin' : 'webmin');
my $systemctlcmd = `which systemctl`;
$systemctlcmd =~ s/\s+$//;
if ($o->{'cmd'} =~ /^(start|stop|restart|reload)$/) {
my $rs = system("$o->{'config'}/$o->{'cmd'} $service");
exit $rs;
}
if ($o->{'cmd'} =~ /^(kill|force-kill)$/) {
my $rs;
if (-x $systemctlcmd) {
$rs = system("$systemctlcmd stop $service");
$rs = system("$systemctlcmd kill -s SIGTERM $service");
}
$rs = system("$o->{'config'}/.stop-init --kill >/dev/null 2>&1 $service");
exit $rs;
}
if ($o->{'cmd'} =~ /^(force-reload|force-restart)$/) {
my $rs = system("$o->{'config'}/restart-by-force-kill $service");
exit $rs;
}
if ($o->{'cmd'} =~ /^(status)$/) {
my $rs;
if (-x $systemctlcmd) {
$rs = system("$systemctlcmd status $service");
} else {
$rs = system("service $service status");
}
exit $rs;
}
exit 0;
}
sub root
{
my ($config, $conf_check) = @_;
my $mconf = "$config/miniserv.conf";
$conf_check->([$mconf]);
open(my $CONF, "<", $mconf);
my $root;
while (<$CONF>) {
if (/^root=(.*)/) {
$root = $1;
}
}
close($CONF);
# Does the Webmin root exist?
if ($root) {
die BRIGHT_RED, "Error: ", BRIGHT_YELLOW, $root, RESET, " is not a directory\n" unless (-d $root);
} else {
# Try to guess where Webmin lives, since config file didn't know.
die BRIGHT_RED, "Error: ", RESET, "Unable to determine Webmin installation directory\n";
}
return $root;
}
1;
=pod
=head1 NAME
server
=head1 DESCRIPTION
This program allows you to control Webmin web-server
=head1 SYNOPSIS
webmin server [command]
webmin [command]
=head1 OPTIONS
=over
=item --help, -h
Print this usage summary and exit.
Examples of usage:
- webmin server status
- webmin server restart
- webmin server --config /usr/local/etc/webmin --command start
- webmin status
- webmin restart
=item --config, -c
Specify the full path to the Webmin configuration directory. Defaults to C</etc/webmin>
=item --command, -x
Available commands:
- status
- start
- stop
- restart
- reload
- force-restart
- force-reload
- kill
Alias commands:
- force-restart | force-reload
- kill | force-kill
=back
=head1 LICENSE AND COPYRIGHT
Copyright 2022 Jamie Cameron <jcameron@webmin.com>
Joe Cooper <joe@virtualmin.com>
Ilia Rostovtsev <ilia@virtualmin.com>

View File

@@ -136,7 +136,7 @@ Set a configuration directive in either C<miniserv.conf> (the core Webmin config
=head1 SYNOPSIS
set-config [options] [--module] --option <option-name> --value <value>
webmin set-config [options] [--module] --option <option-name> --value <value>
=head1 OPTIONS
@@ -180,6 +180,5 @@ already exist in the file, and was added)
=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

@@ -12,6 +12,8 @@ use Term::ANSIColor qw(:constants);
use File::Spec;
use File::Basename;
my $a0 = $ARGV[0];
sub main {
my ( %opt, $subcmd );
GetOptions(
@@ -37,6 +39,7 @@ sub main {
);
$opt{'config'} ||= "/etc/webmin";
$opt{'commands'} = $a0;
my @remain = @ARGV;
# List commands?
@@ -203,7 +206,7 @@ sub run_command {
exit 1;
}
my $command_path = get_command_path($root, $subcmd);
my $command_path = get_command_path($root, $subcmd, $optref);
# Merge the options
# Only handling config, right now...
@@ -223,7 +226,7 @@ sub run_command {
}
sub get_command_path {
my ($root, $subcmd) = @_;
my ($root, $subcmd, $optref) = @_;
# Check for a root-level command (in "$root/bin")
my $command_path;
if ($subcmd) {
@@ -256,11 +259,13 @@ sub get_command_path {
}
}
}
if ($command) {
if ($optref->{'commands'} &&
$optref->{'commands'} =~ /^(status|start|stop|restart|reload|force-restart|force-reload|kill)$/) {
exit system("$0 server $optref->{'commands'}");
} elsif ($command) {
return $command;
} else {
die RED, "Unrecognized subcommand: $subcmd", RESET;
die RED, "Unrecognized subcommand: $subcmd", RESET , "\n";
}
}
@@ -325,7 +330,7 @@ sub man_command {
my ($optref, $subcmd) = @_;
my $root = root($optref->{'config'});
my $command_path = get_command_path($root, $subcmd);
my $command_path = get_command_path($root, $subcmd, $optref);
$ENV{'PAGER'} ||= "more";
open(my $PAGER, "|-", "$ENV{'PAGER'}");
@@ -341,7 +346,7 @@ sub man_command {
sub root {
my ($config) = @_;
open(my $CONF, "<", "$config/miniserv.conf") || die RED,
"Failed to open $config/miniserv.conf", RESET;
"Failed to open $config/miniserv.conf", RESET , "\n";
my $root;
while (<$CONF>) {
if (/^root=(.*)/) {
@@ -351,9 +356,9 @@ sub root {
close($CONF);
# Does the Webmin root exist?
if ( $root ) {
die "$root is not a directory. Is --config correct?" unless (-d $root);
die "$root is not a directory. Is --config correct?\n" unless (-d $root);
} else {
die "Unable to determine Webmin installation directory from $ENV{'WEBMIN_CONFIG'}";
die "Unable to determine Webmin installation directory from $ENV{'WEBMIN_CONFIG'}\n";
}
return $root;
@@ -412,14 +417,11 @@ Returns Webmin and other modules and themes versions installed (only those for w
=head1 EXIT CODES
0 on success
non-0 on error
0 on success ; non-0 on error
=head1 LICENSE AND COPYRIGHT
Copyright 2022
Jamie Cameron <jamie@virtualmin.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>

View File

@@ -2226,17 +2226,13 @@ my ($dom, $view) = @_;
my ($out, $ex);
if ($view) {
# Reload a zone in a view
&try_cmd("freeze ".quotemeta($dom)." IN ".quotemeta($view));
$out = &try_cmd("reload ".quotemeta($dom)." IN ".quotemeta($view));
$ex = $?;
&try_cmd("thaw ".quotemeta($dom)." IN ".quotemeta($view));
}
else {
# Just reload one top-level zone
&try_cmd("freeze ".quotemeta($dom));
$out = &try_cmd("reload ".quotemeta($dom));
$ex = $?;
&try_cmd("thaw ".quotemeta($dom));
}
if ($out =~ /not found/i) {
# Zone is not known to BIND yet - do a total reload
@@ -2841,7 +2837,10 @@ foreach my $slave (@slaves) {
grep { $_ ne $slave } @slaves;
}
if ($config{'extra_slaves'}) {
push(@otherslaves, split(/\s+/, $config{'extra_slaves'}));
push(@otherslaves,
grep { $_ ne '' }
map { &to_ipaddress($_) }
split(/\s+/, $config{'extra_slaves'}));
}
if ($moreslaves) {
push(@otherslaves, @$moreslaves);
@@ -3289,12 +3288,13 @@ else {
}
}
# create_dnssec_key(&zone|&zone-name, algorithm, size, single-key)
# create_dnssec_key(&zone|&zone-name, algorithm, size, single-key,
# [force-regen])
# Creates a new DNSSEC key for some zone, and places it in the same directory
# as the zone file. Returns undef on success or an error message on failure.
sub create_dnssec_key
{
my ($z, $alg, $size, $single) = @_;
my ($z, $alg, $size, $single, $force) = @_;
my $fn = &get_keys_dir($z);
$fn || return "Could not work keys directory!";
my $dom = $z->{'members'} ? $z->{'values'}->[0] : $z->{'name'};
@@ -3327,29 +3327,59 @@ else {
$zonesize = $size;
}
# Create the zone key
my $out = &backquote_logged(
"cd ".quotemeta($fn)." && ".
"$config{'keygen'} -a ".quotemeta($alg)." -b ".quotemeta($zonesize).
" -n ZONE $rand_flag $dom 2>&1");
if ($?) {
kill('KILL', $pid) if ($pid);
return $out;
# Check if there are saved keys, and if so use them
my @savedkeys = grep { $_->{'saved'} } &get_dnssec_key($z, 1);
my $out;
if (@savedkeys && $force) {
# Delete any saved keys, to force re-generation
foreach my $key (@savedkeys) {
foreach my $f ('publicfile', 'privatefile') {
if (ref($key) && $key->{$f} && $key->{'saved'}) {
&unlink_file($key->{$f});
}
}
}
@savedkeys = ( );
}
# Create the key signing key, if needed
if (!$single) {
$out = &backquote_logged(
"cd ".quotemeta($fn)." && ".
"$config{'keygen'} -a ".quotemeta($alg)." -b ".quotemeta($size).
" -n ZONE -f KSK $rand_flag $dom 2>&1");
kill('KILL', $pid) if ($pid);
if ($?) {
return $out;
if (@savedkeys) {
# Rename back the saved key files
foreach my $key (@savedkeys) {
foreach my $f ('publicfile', 'privatefile') {
if (ref($key) && $key->{$f} && $key->{'saved'}) {
my $origfile = $key->{$f};
$origfile =~ s/\.saved$//;
&rename_file($key->{$f}, $origfile);
}
}
}
}
else {
kill('KILL', $pid) if ($pid);
# Create the zone key
$out = &backquote_logged(
"cd ".quotemeta($fn)." && ".
"$config{'keygen'} -a ".quotemeta($alg).
" -b ".quotemeta($zonesize).
" -n ZONE $rand_flag $dom 2>&1");
if ($?) {
kill('KILL', $pid) if ($pid);
return $out;
}
# Create the key signing key, if needed
if (!$single) {
$out = &backquote_logged(
"cd ".quotemeta($fn)." && ".
"$config{'keygen'} -a ".quotemeta($alg).
" -b ".quotemeta($size).
" -n ZONE -f KSK $rand_flag $dom 2>&1");
kill('KILL', $pid) if ($pid);
if ($?) {
return $out;
}
}
else {
kill('KILL', $pid) if ($pid);
}
}
# Get the new keys
@@ -3455,20 +3485,27 @@ return "Re-signing failed : $err" if ($err);
return undef;
}
# delete_dnssec_key(&zone|&zone-name)
# delete_dnssec_key(&zone|&zone-name, [save-key])
# Deletes the key for a zone, and all DNSSEC records
sub delete_dnssec_key
{
my ($z) = @_;
my ($z, $savekey) = @_;
my $fn = &get_zone_file($z);
$fn || return "Could not work out records file!";
my $dom = $z->{'members'} ? $z->{'values'}->[0] : $z->{'name'};
# Remove the key
my @keys = &get_dnssec_key($z);
my @keys = &get_dnssec_key($z, 1);
foreach my $key (@keys) {
foreach my $f ('publicfile', 'privatefile') {
&unlink_file($key->{$f}) if (ref($key) && $key->{$f});
if (ref($key) && $key->{$f}) {
if ($savekey && !$key->{'saved'}) {
&rename_file($key->{$f}, $key->{$f}.".saved");
}
else {
&unlink_file($key->{$f});
}
}
}
}
@@ -3613,19 +3650,20 @@ if ($keyrec) {
}
}
# get_dnssec_key(&zone|&zone-name)
# get_dnssec_key(&zone|&zone-name, [include-saved])
# Returns a list of hashes containing details of a zone's keys, or an error
# message. The KSK is always returned first.
sub get_dnssec_key
{
my ($z) = @_;
my ($z, $saved) = @_;
my $dir = &get_keys_dir($z);
my $dom = $z->{'members'} ? $z->{'values'}->[0] : $z->{'name'};
my %keymap;
opendir(ZONEDIR, $dir);
foreach my $f (readdir(ZONEDIR)) {
if ($f =~ /^K\Q$dom\E\.\+(\d+)\+(\d+)\.key$/) {
if ($f =~ /^K\Q$dom\E\.\+(\d+)\+(\d+)\.key(\.saved)?$/) {
# Found the public key file .. read it
next if ($3 && !$saved);
$keymap{$2} ||= { };
my $rv = $keymap{$2};
$rv->{'publicfile'} = "$dir/$f";
@@ -3646,9 +3684,11 @@ foreach my $f (readdir(ZONEDIR)) {
$rv->{'publictext'} = &read_file_contents("$dir/$f");
while($rv->{'publictext'} =~ s/^;.*\r?\n//) { };
$rv->{'publictext'} = format_dnssec_public_key($rv->{'publictext'});
$rv->{'saved'} = $3 ? 1 : 0;
}
elsif ($f =~ /^K\Q$dom\E\.\+(\d+)\+(\d+)\.private$/) {
elsif ($f =~ /^K\Q$dom\E\.\+(\d+)\+(\d+)\.private(\.saved)?$/) {
# Found the private key file
next if ($3 && !$saved);
$keymap{$2} ||= { };
my $rv = $keymap{$2};
$rv->{'privatefile'} = "$dir/$f";
@@ -4132,7 +4172,7 @@ sub dt_genkrf
}
# dt_delete_dnssec_state()
# dt_delete_dnssec_state(&zone)
# Delete all DNSSEC-Tools meta-data for a given zone
sub dt_delete_dnssec_state
{
@@ -4192,6 +4232,11 @@ sub dt_delete_dnssec_state
&dt_rollerd_restart();
&restart_bind();
} else {
# Just delete the dsset- file
my $z_dir = $z_chroot;
$z_dir =~ s/\/[^\/]+$//;
&unlink_file($z_dir."/dsset-".$dom.".");
}
return undef;

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=service named start
stop_cmd=service named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=service named start
stop_cmd=service named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=service named start
stop_cmd=service named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=service named start
stop_cmd=service named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=/etc/rc.d/init.d/named start
stop_cmd=/etc/rc.d/init.d/named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named8
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=/etc/rc.d/init.d/named start
stop_cmd=/etc/rc.d/init.d/named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/bind/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/bind/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/bind/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -0,0 +1,43 @@
soa_style=1
named_path=/usr/local/sbin/named
named_conf=/usr/local/etc/namedb/named.conf
show_list=1
records_order=0
max_zones=50
rev_def=0
support_aaaa=1
allow_comments=0
allow_wild=1
allow_long=0
master_ttl=1
whois_cmd=whois
short_names=0
updserial_def=0
updserial_on=1
updserial_man=1
ndc_cmd=ndc
forwardzonefilename_format=ZONE.hosts
reversezonefilename_format=ZONE.rev
rev_must=0
ipv6_mode=1
allow_underscore=1
by_view=0
confirm_zone=1
confirm_rec=0
no_chroot=0
relative_paths=0
rndc_cmd=rndc
no_pid_chroot=0
soa_start=0
rndc_conf=/usr/local/etc/namedb/rndc.conf
rndcconf_cmd=rndc-confgen
largezones=0
checkzone=named-checkzone
keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
force_random=0
spf_record=0
pid_file=/var/run/named/pid
dnssec_info=1

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/local/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
rev_def=0
max_zones=50

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/namedb/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/namedb/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/bind/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
named_path=/usr/sbin/named
named_conf=/etc/named/named.conf
soa_style=0
show_list=0
soa_style=1
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
named_path=/usr/sbin/named
named_conf=/etc/named.conf
soa_style=0
show_list=0
soa_style=1
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,8 +1,8 @@
pid_file=/var/run/named/named.pid
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=service named start
stop_cmd=service named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=service named start
stop_cmd=service named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=/etc/init.d/named start
stop_cmd=/etc/init.d/named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/namedb/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=/etc/rc.d/init.d/named start
stop_cmd=/etc/rc.d/init.d/named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=/etc/rc.d/init.d/named start
stop_cmd=/etc/rc.d/init.d/named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,4 +1,4 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/bind/named.conf
named_group=/usr/sbin/named
@@ -6,7 +6,7 @@ named_usr=/usr/sbin/named
zones_file=/etc/bind/named.conf
pid_file=/var/run/named.pid
start_cmd=service bind start
show_list=0
show_list=1
records_order=0
max_zones=50
rev_def=0

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=/etc/rc.d/init.d/named start
stop_cmd=/etc/rc.d/init.d/named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=/etc/rc.d/init.d/named start
stop_cmd=/etc/rc.d/init.d/named stop

View File

@@ -1,7 +1,7 @@
soa_style=0
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=0
show_list=1
records_order=0
start_cmd=/etc/rc.d/init.d/named start
stop_cmd=/etc/rc.d/init.d/named stop

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