Panel configuration commands

v-add-user-2fa

Parameters: User

Example usage: v-add-user-2fa admin

v-check-user-2fa

Parameters: User Token

Example usage: v-check-user-2fa admin 493690

v-delete-user-2fa

Parameters: User

Example usage: v-delete-user-2fa admin

v-change-sys-config-value

Parameters: Key Value

Example usage: v-change-sys-config-value VERSION 1.0

v-change-sys-hestia-ssl

Parameters: ssl_dir [RESTART]

Example usage: v-change-hestia-ssl /home/new/dir/path yes

v-change-sys-hostname

Parameters: Hostname

Example usage: v-change-sys-hostname mydomain.tld

v-change-sys-ip-name

Parameters: Ip Ip_name

Example usage: v-change-sys-ip-name 80.122.52.70 acme.com

v-change-sys-ip-nat

Parameters: Ip Nat_ip [RESTART]

Example usage: 185.209.50.140 10.110.104.205

v-change-sys-ip-owner

Parameters: Ip User

Example usage: 91.198.136.14 admin

v-change-sys-ip-status

Parameters: Ip Ip_status

Example usage: 91.198.136.14 yourstatus

v-change-sys-language

Parameters: Language

Example usage: v-change-sys-language ru

v-change-sys-pma

Parameters: Pma

Example usage: v-change-sys-pma trickyurlhere

v-change-sys-port

Parameters: Port

Example usage: v-change-sys-port 5678

v-change-sys-service-config

Parameters: Config Service [RESTART]

Example usage: v-change-sys-service-config /home/admin/dovecot.conf dovecot yes

The function for changing service confguration located at the default system path with the new one.

New configuration should be specified in the first argument. Used for internal purposes most often.

v-change-sys-timezone

Parameters: Timezone

Example usage: v-change-sys-timezone Europe/Berlin

v-change-sys-webmail

Parameters: Webmail

Example usage: v-change-sys-webmail YourtrickyURLhere

v-change-user-contact

Parameters: User Email

Example usage: v-change-user-contact admin admin@yahoo.com

v-change-user-language

Parameters: User Language

Example usage: v-change-user-language admin en

v-change-user-name

Parameters: User Fname Lname

Example usage: v-change-user-name admin John Smith

v-change-user-ns

Parameters: User Ns1 Ns2 [NS3] [NS4] [NS5] [NS6] [NS7] [NS8]

Example usage: v-change-user-ns ns1.domain.tld ns2.domain.tld

v-change-user-package

Parameters: User Package [FORCE]

Example usage: v-change-user-package admin yourpackage

v-change-user-password

Parameters: User Password

Example usage: v-change-user-password admin NewPassword123

v-change-user-shell

Parameters: User Shell

Example usage: v-change-user-shell admin nologin

v-change-user-template

Parameters: User Type Template

Example usage: v-change-user-template admin WEB wordpress

v-delete-domain

Parameters: User Domain

Example usage: v-delete-domain admin domain.tld

v-delete-firewall-ban

Parameters: Ip Chain

Example usage: v-delete-firewall-ban 198.11.130.250 MAIL

v-delete-firewall-chain

Parameters: Chain

Example usage: v-delete-firewall-chain WEB

v-delete-firewall-rule

Parameters: Rule

Example usage: v-delete-firewall-rule SSH_BLOCK

v-delete-letsencrypt-domain

Parameters: User Domain [RESTART]

Example usage: v-delete-letsencrypt-domain admin acme.com yes

v-delete-sys-firewall

Parameters:None

Example usage: v-delete-sys-firewall

v-delete-sys-ip

Parameters: Ip

Example usage: v-delete-sys-ip 212.42.76.210

v-delete-sys-quota

Parameters:None

Example usage:v-delete-sys-quota

v-delete-sys-sftp-jail

Parameters:None

Example usage:

v-delete-user

Example usage: v-delete-user whistler

Parameters: User

v-delete-user-backup

Parameters: User Backup

Example usage: v-delete-user-backup admin.2012-12-21_00-10-00.tar

v-delete-user-backup-exclusions

Parameters: User [SYSTEM]

Example usage: v-delete-user-backup-exclusions admin

v-delete-user-favourites

Parameters: User System Object

Example usage: v-delete-user-favourites admin WEB yourdomain.tld

v-delete-user-ips

Parameters: User

Example usage: v-delete-user-ips admin

v-delete-user-notification

Parameters: User Notification

Example usage: admin "Hello, admin!"

v-delete-user-package

Parameters: Package

Example usage: v-delete-user-package admin palegreen

v-delete-user-sftp-jail

Parameters: User

Example usage: v-delete-user-sftp-jail whistler

v-generate-api-key

Parameters:None

Example usage: v-generate-api-key

v-generate-password-hash

Parameters: Hash-Method Salt Password

Example usage: v-generate-password-hash sha-512 rAnDom_string yourPassWord

v-generate-ssl-cert

Parameters: Domain Email Country State City Org Unit [ALIASES] [FORMAT]

Example usage: v-generate-ssl-cert example.com mail@yahoo.com USA California Monterey ACME.COM IT

v-get-sys-timezone

Parameters: None

Example usage: v-get-sys-timezone

v-get-sys-timezones

Parameters: None

Example usage:v-get-sys-timezones

v-get-user-salt

Parameters: User [IP] [SALT]

Example usage: v-get-user-salt admin

v-get-user-value

Parameters: User Key

Example usage: v-get-user-value admin FNAME

v-list-backup-host

Parameters: Type [FORMAT]

Example usage: v-list-backup-host local

v-list-cron-job

Parameters: User Job [FORMAT]

Example usage: v-list-cron-job admin 7

v-list-cron-jobs

Parameters: User [FORMAT]

Example usage: v-list-cron-jobs admin

v-list-database

Parameters: User Database [FORMAT]

Example usage: v-list-database wp_db

v-list-database-host

Parameters: Type Host [FORMAT]

Example usage: v-list-database-host mysql localhost

v-list-database-hosts

Parameters: None

Example usage: v-list-database-hosts

v-list-database-types

Parameters: None

Example usage: v-list-database-types

v-list-databases

Parameters: User [FORMAT]

Example usage: v-list-databases

v-list-firewall-ban

Parameters: None

Example usage: v-list-firewall-ban

v-list-firewall-rule

Parameters: Rule [FORMAT]

Example usage: v-list-firewall-rule 2

v-list-letsencrypt-user

Parameters: User [FORMAT]

Example usage: v-list-letsencrypt-user admin

v-list-sys-ip

Parameters: Ip [FORMAT]

Example usage: v-list-sys-ip 116.203.78.202

v-list-sys-ips

Parameters: None

Example usage: v-list-sys-ips

v-list-sys-languages

Parameters None

Example usage: v-list-sys-languages

v-list-sys-memory-status

Parameters: None

Example usage: v-list-sys-memory-status

v-list-sys-mysql-config

Parameters: None

Example usage:v-list-mysql-config

v-list-sys-nginx-config

Parameters: None

Example usage: v-list-sys-nginx-config

v-list-sys-pgsql-config

Parameters: None

Example usage: v-list-pgsql-config

v-list-sys-php-config

Parameters: None

Example usage: v-list-sys-php-config

v-list-sys-proftpd-config

Parameters: None

Example usage: v-list-sys-proftpd-config

v-list-sys-rrd

Note: Intended for internal usage

Example usage: v-list-sys-rrd

v-list-sys-spamd-config

Parameters: None

Example usage: v-list-sys-spamd-config

v-list-sys-users

Parameters: None

Example usage: v-list-sys-users

v-list-user-stats

Parameters: User [FORMAT]

Example usage: v-list-users-stats admin

v-list-users

Parameters: None

Example usage: v-list-users

v-rebuild-cron-jobs

Parameters: User [RESTART]

Example usage: v-rebuild-cron-jobs admin yes

v-rebuild-databases

Parameters: User

Example usage: v-rebuild-databases admin

v-rebuild-user

Example usage: v-rebuild-user admin yes

Parameters: User [RESTART]

v-restart-cron

Parameters: None

Example usage: v-restart-cron

v-restart-ftp

Parameters: None

Example usage: v-restart-ftp

v-restart-proxy

Parameters: None

Example usage: v-restart-proxy

v-restart-service

Parameters: Service

Example usage: v-restart-service

v-restart-system

Parameters: Restart

Example usage: v-restart-system yes

v-restore-user

Parameters: User Backup [WEB] [DNS] [MAIL] [DB] [CRON] [UDIR] [NOTIFY]

Example usage: v-restore-user admin 2019-04-22_01-00-00.tar

v-schedule-letsencrypt-domain

Parameters: User Domain [ALIASES]

Example usage: v-schedule-letsencrypt-domain admin example.com www.example.com

v-schedule-user-backup

Parameters: User

Example usage: v-schedule-user-backup admin

v-schedule-user-restore

Parameters: User Backup [WEB] [DNS] [MAIL] [DB] [CRON] [UDIR]

Example usage: v-schedule-user-restore 2019-04-22_01-00-00.tar

v-search-domain-owner

Parameters: Domain [TYPE]

Example usage: v-search-domain-owner acme.com

v-search-object

Parameters: Object [FORMAT]

Example usage: v-search-object example.com json

v-search-user-object

Parameters: User Object [FORMAT]

Example usage: v-search-user-object admin example.com json

v-start-service

Parameters: Service

Example usage: v-start-service mysql

v-stop-firewall

Parameters: None

Example usage:

v-stop-service

Parameters: Service

Example usage: v-stop-service apache2

v-suspend-cron-job

Parameters: User Job [RESTART]

Example usage: v-suspend-cron-job admin 5 yes

v-suspend-cron-jobs

Parameters: User

Example usage:v-suspend-cron-jobs admin

v-suspend-database

Parameters: User Database

Example usage: v-suspend-database admin admin_wordpress_db

v-suspend-database-host

Parameters: Type Host

Example usage: v-suspend-database-host mysql localhost

v-suspend-databases

Parameters: User

Example usage: v-suspend-databases admin

v-suspend-domain

Parameters: User Domain

Example usage: v-suspend-domain admin example.com

v-suspend-firewall-rule

Parameters: Rule

Example usage: v-suspend-firewall-rule 7

v-suspend-user

Parameters: User [RESTART]

Example usage: v-suspend-user alice yes

v-unsuspend-cron-job

Parameters: User Job [RESTART]

Example usage: v-unsuspend-cron-job admin 7 yes

v-unsuspend-cron-jobs

Parameters: User [RESTART]

Example usage: v-unsuspend-cron-jobs admin no

v-unsuspend-database

Parameters: User Database

Example usage: v-unsuspend-database admin mydb

v-unsuspend-database-host

Parameters: Type Host

Example usage: v-unsuspend-database-host mysql localhost

v-unsuspend-databases

Parameters: User

Example usage:

v-unsuspend-domain

Parameters: User Domain

Example usage: v-unsuspend-domain admin acme.com

v-unsuspend-firewall-rule

Parameters: Rule

Example usage: v-unsuspend-firewall-rule 7

v-unsuspend-user

Parameters: User

Example usage: v-unsuspend-user bob

v-update-database-disk

Parameters: User Database

Example usage: v-update-database-disk admin wp_db

v-update-databases-disk

Parameters: User

Example usage: v-update-databases-disk admin

v-update-firewall

Parameters:None

Example usage: v-update-firewall

v-update-host-certificate

Parameters: [USER] [HOSTNAME]

Example usage: v-update-host-certificate admin example.com

v-update-letsencrypt-ssl

Parameters: None

Example usage: v-update-letsencrypt-ssl

v-update-sys-hestia

Parameters: Package

Example usage: v-update-sys-hestia exim4

v-update-sys-hestia-all

Parameters: None

Example usage: v-update-sys-hestia-all

v-update-sys-ip

Description: The function scans configured ip in the system and register them with Hestia internal database.

Example usage: Intended for internal usage

v-update-sys-ip-counters

Parameters: None

Example usage: v-update-sys-ip-counters

v-update-sys-queue

Parameters: Queue

Example usage:

v-update-sys-rrd

Parameters: None

Example usage: v-update-sys-rrd

v-update-sys-rrd-apache2

Parameters: None

Example usage: v-update-sys-rrd-apache2

v-update-sys-rrd-ftp

Parameters: None

Example usage: v-update-sys-rrd-ftp

v-update-sys-rrd-httpd

Parameters: None

Example usage: v-update-sys-rrd-httpd

v-update-sys-rrd-la

Parameters: None

Example usage: v-update-sys-rrd-la

v-update-sys-rrd-mail

Parameters: None

Example usage: v-update-sys-rrd-mail

v-update-sys-rrd-mem

Parameters: None

Example usage: v-update-sys-rrd-mem

v-update-sys-rrd-mysql

Parameters: None

Example usage: v-update-sys-rrd-mysql

v-update-sys-rrd-net

Parameters: None

Example usage: v-update-sys-rrd-net

v-update-sys-rrd-nginx

Parameters: None

Example usage: v-update-sys-rrd-nginx

v-update-sys-rrd-pgsql

Parameters: None

Example usage: v-update-sys-rrd-pgsql

v-update-sys-rrd-ssh

Parameters: None

Example usage: v-update-sys-rrd-ssh

v-update-user-backup-exclusions

Parameters: User File

Example usage: v-update-user-backup-exclusions admin .bash_history

v-update-user-counters

Parameters: None

Example usage: v-update-user-counters

v-update-user-disk

Parameters: User

Example usage: v-update-user-disk admin

v-update-user-package

Parameters: Package

Example usage: v-update-user-package default

v-update-user-quota

Parameters: User

Example usage: v-update-user-quota alice

v-update-user-stats

Parameters: None

Example usage: v-update-user-stats