How to disable a feature across all virtualmin domain accounts

Hello,

We have a few features that were enabled by default for all new websites (based on the server templates). Some of these are not used by ANY customer that we have. For security, maintenance & performance, we would like to go ahead & disable these features in virtulamin completely.

One example is aw-stats.

Is there a way that we can remove this feature from all virtualmin domain accounts at once? The Server Templates form won't let us remove the feature from the templates until we've removed it from all domains using the feature. We have a bunch & are hoping there is a way to do them as a batch.

Thanks,

Doug

Status: 
Closed (fixed)

Comments

Howdy -- the easiest way to do that is via the command line.

In your example of awstats, you could use this command:

virtualmin disable-feature --virtualmin-awstats --all-domains

To see all the options you can use, you can run this command:

virtualmin disable-feature

Cool!! We'll give it a whirl. Thanks!

- Doug

Yes, that's the best supported method for making feature changes across multiple domains.

Thanks. Worked perfectly. By the way. I was remembering incorrectly. The form that didn't let me initially disable the feature was "System Settings > Features and Plugins".

However, after disabling on all domains, I was now able to disable the feature without any trouble.

Thanks.

I'm closing this ticket.

- Doug