Webmin.acl modules for root

2 posts / 0 new
Last post
#1 Fri, 11/29/2019 - 07:51
dowell22

Webmin.acl modules for root

I'm trying Virtualmin with automated config management and I'm looking at directly modifying config files at /etc/webmin (not exactly sure if this a good way though).

I noticed that module selection in webmin.acl differs for root and virtual-server users. Root has listed all other available modules even if they are disabled, while other users only have the enabled ones.

Modifying root: with only the enabled ones seem to work but I don't know if there are side effects for this? Is there any?

Sat, 11/30/2019 - 00:45
dowell22

OK, so I'll be doing the API-way instead. Directly modifying config files may not be the best way forward for future release compatibility.

I'm not sure if the official Webmin-API 1.0 is still good as it was last updated 11 years ago (based from github), so I just made a simple wrapper to preload libs.

By the way, I don't think API references in doxfer.webmin.com is updated, list_themes() is not found in webmin-lib.pl. I'm using perldoc for this time.

Topic locked