I couldn't find menu option for BIND DNS Server under Webmin > Servers on a freshly installed CentOS 7.x dedicated server with Virtualmin setup script executed successfully, so I thought maybe BIND was not somehow installed by Virtualmin setup script and installed it manually via Webmin Configuration > Webmin Modules page. Unfortunately it didn't bring the menu item under the Webmin > Servers, so I tried just to append the "bind8/?xnavigation=1" in the browser's address bar and, viola, the BIND DNS Server configuration page was there intact.
So everything (including Bind) on the server is working just fine, except I can't figure out why I don't see the menu option for Bind under the Webmin > Servers. I made sure it is assigned to the Server's category on the webmin/edit_assignment.cgi?xnavigation=1 page. I'd appreciate any hints on how to resolve this issue.
Comments
Submitted by JamieCameron on Sun, 12/16/2018 - 13:04 Comment #1
Check if it appears under Webmin > Unused Modules. If BIND was installed after Webmin / Virtualmin, it may not have been detected yet.
If so, there is a "refresh modules" link on the left menu.
Submitted by yngens on Fri, 12/21/2018 - 19:00 Comment #2
Interestingly, there is none of Unused Modules or Refresh Modules on this server. Probably because I've just created a Unix user and then replaced
root
in/etc/webmin/webmin.acl
since https://www.virtualmin.com/node/58356 has not been yet addressed.Anyway, I've just typed the address https://server:10000/webmin/refresh_modules.cgi?xnavigation=1 in URL and finally the BIND DNS Server appeared under the Services menu.
Which addresses the initially reported issue, however there are new questions. Could you please try to answer each of them:
1) I've fresh-installed Virtualmin on a dedicated server today and again I see:
Why Virtualmin installation script could be failing setting up Bind.
2) Why the Unused Modules or Refresh Modules menus could be missing? Is root user is must for CentOS?
3) Is there CLI command to refresh modules?
Submitted by JamieCameron on Fri, 12/21/2018 - 23:19 Comment #3
Webmin does assume by default that the master admin user is called
root
oradmin
.. I assume you chose a different name?You can force a refresh by deleting
/var/webmin/module.infos.cache
Submitted by yngens on Thu, 05/16/2019 - 15:37 Comment #4
That's a real bummer as for security reasons we wanted to assign custom admin names to each of our Virtualmin server. Any malicious party would try
root
andadmin
first, so why make their nasty job easier?! I believe the system should be re-designed to accept any custom username for the maser admin user.Submitted by JamieCameron on Sat, 12/22/2018 - 18:57 Comment #5
You can grant permissions that would normally be for "root" or "admin" only by going to Webmin -> Webmin Users -> your-custom-admin-user -> Permissions for all modules.
Submitted by honesta on Sun, 12/23/2018 - 01:37 Comment #6
You be surprised. Some VPS reset your password upon reboot. I have one vps which requires to set passwords x-lenght long, and it screws up all my nicely laid plans.. I ssh root@server and passwd all I want - upon reboot the root password is back to what I am forced to set in the VPS control panel.
While I was experimenting with CentOS I could add users to wheel all day long - none but root could log into Webmin.
You might want to make absolutely certain: is it the VPS, is it the OS, is it Webmin, or is it you?
Sometimes it is the Cloud OS the VPS vendor is using - issues you see have nothing to do with your Linux guest OS or with Webmin.
Submitted by yngens on Thu, 05/16/2019 - 15:38 Comment #7
Just for future references: the problem with missing Bind is solved on issue #64974.