set-global-feature

Turns on or off some Virtualmin feature or plugin globally This command is the equivalent of the Features and Plugins page in the Virtualmin user interface, as it can be used to enable or disable features and plugins globally. To activate a feature, use the --enable-feature flag followed by a code like web or ftp, as shown by the list-features API command. To turn off a feature, use the --disable-feature flag. In both cases, dependencies will be checked before a change is made, to prevent enabling of features that have missing pre-requisites, or disabling of features that are currently in use.

Turns on or off some Virtualmin feature or plugin globally#

This command is the equivalent of the Features and Plugins page in the Virtualmin user interface, as it can be used to enable or disable features and plugins globally. To activate a feature, use the --enable-feature flag followed by a code like web or ftp, as shown by the list-features API command. To turn off a feature, use the --disable-feature flag. In both cases, dependencies will be checked before a change is made, to prevent enabling of features that have missing pre-requisites, or disabling of features that are currently in use.

To control if a feature or plugin is enabled by default for new domains, use the --default-on or --default-off flags followed by a feature code. Features that are not globally enabled cannot be turned on by default.

Command line help#

virtualmin set-global-feature --enable-feature name
 --disable-feature name
 --default-on name
 --default-off name

Source: https://www.virtualmin.com/docs/development/api-programs/set-global-feature/

  • virtualmin, domain, ftp, user, api, command line, global, feature
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...