Let us Read for you. 25 Linux Server Security and Hardening Tips: How can Secure Linux Server Everybody says that Linux is secure by default and agreed to some extent (It’s debatable topics). However, Linux has an in-built security model in place by default. Need to tune it up and customize as per your need […]
CLI Commands
Let us Read for you.
|
Cli Commands
v-backup-userbackup system user with all its objects OPTIONS:
USER NOTIFY
The call is used for backing up the user with all its domains and databases.
v-delete-user-package
delete user packageOPTIONS:
PACKAGE
The function for deleting user package. It does not allow to delete package if it is in use.
v-list-dns-records
list dns domain recordsOPTIONS:
USER DOMAIN [FORMAT]
The function for getting all DNS domain records.
v-update-web-templates
update web templatesOPTIONS:
[RESTART]
The function for obtaining updated pack of web templates.
v-sign-letsencrypt-csr
sing letsencrypt csrOPTIONS:
USER DOMAIN CSR_DIR [FORMAT]
The function signs certificate request using LetsEncript API
v-delete-mail-domains
delete mail domainsOPTIONS:
USER
The function for deleting all users mail domains.
v-delete-web-domain-httpauth
delete http auth userOPTIONS:
USER DOMAIN AUTH_USER [RESTART]
The call is used for deleting http auth user
v-list-sys-vesta-ssl
list vesta ssl certificateOPTIONS:
[FORMAT]
The function of obtaining vesta ssl files.
v-insert-dns-records
inserts dns recordsOPTIONS:
USER DOMAIN DATA_FILE [RESTART]
The function copy dns record to the domain conf
v-generate-password-hash
GENERATE PASSWORD HASHOPTIONS:
HASH-METHOD SALT PASSWORD
The function generates password hash
v-suspend-remote-dns-host
suspend remote dns serverOPTIONS:
HOST
The function for suspending remote dns server.
v-list-sys-languages
list system usersOPTIONS:
[FORMAT]
The function for obtaining the list of system users without detailed information.
v-restart-web-backend
restart backend serverOPTIONS:
NONE
The function reloads backend server configuration.v-change-user-ns
change user nameserversOPTIONS:
USER NS1 NS2 [NS3] [NS4] [NS5] [NS6] [NS7] [NS8]
The function for changing default nameservers for specific user.
v-update-sys-rrd-nginx
update nginx rrdOPTIONS:
PERIOD
The function is for updating nginx rrd database and graphic.
v-get-fs-file-type
get file typeOPTIONS:
USER FILE
The function shows file type
v-update-sys-queue
update system queueOPTIONS:
PIPE
This function is responsible queue processing. Restarts of services, scheduled backups, web log parsing and other heavy resource consuming operations are handled by this script. It helps to optimize system behaviour. In a nutshell Apache will be restarted only once even if 10 domains are added or deleted.
v-delete-letsencrypt-domain
deleting letsencrypt ssl cetificate for domainOPTIONS:
USER DOMAIN [RESTART]
The function turns off letsencrypt SSL support for a domain.
v-change-web-domain-ip
change web domain ipOPTIONS:
USER DOMAIN DOMAIN [RESTART]
The call is used for changing domain ip
v-rebuild-databases
rebuild databasesOPTIONS:
USER
The function for rebuilding of all databases of a single user.
v-open-fs-config
open configOPTIONS:
CONFIG
The function opens/reads config files on the file system
v-restart-service
restart serviceOPTIONS:
SERVICE
The function restarts system service.
v-delete-web-domains
delete web domainsOPTIONS:
USER [RESTART]
The function deletes all user’s webdomains.
v-unsuspend-web-domains
unsuspend web domainsOPTIONS:
USER [RESTART]
The function of unsuspending all user’s sites.
v-list-mail-account
list mail domain accountOPTIONS:
USER DOMAIN ACCOUNT [FORMAT]The function of obtaining the list of account parameters.
v-restart-ftp
restart ftp serviceOPTIONS:
NONE
The function tells ftp server to reread its configuration.
v-list-sys-db-status
list db statusOPTIONS:
[FORMAT]
The function lists db server status
v-update-sys-rrd-net
update network rrdOPTIONS:
PERIOD
The function is for updating network usage rrd database and graphic.
v-get-dns-domain-value
get dns domain valueOPTIONS:
USER DOMAIN KEY
The function for getting a certain DNS domain parameter.
v-update-web-domain-disk
update disk usage for domainOPTIONS:
USER DOMAIN
The function recalculates disk usage for specific webdomain.
v-add-mail-domain-antispam
add mail domain antispam supportOPTIONS:
USER DOMAIN
The function enables spamassasin for incoming emails.
v-list-mail-account-autoreply
list mail account autoreplyOPTIONS:
USER DOMAIN ACCOUNT [FORMAT]
The function of obtaining mail account autoreply message.
v-add-firewall-chain
add firewall chainOPTIONS:
CHAIN [PORT] [PROTOCOL] [PROTOCOL]
The function adds new rule to system firewall
v-list-sys-spamd-config
list spamassassin config parametersOPTIONS:
[FORMAT]
The function for obtaining the list of spamassassin config parameters.
v-rebuild-mail-domains
rebuild mail domainsOPTIONS:
USER
The function rebuilds EXIM configuration files for all mail domains.
v-add-domain
add web/dns/mail domainOPTIONS:
USER DOMAIN [IP] [RESTART]
The function adds web/dns/mail domain to a server.v-update-sys-rrd-mem
update memory rrdOPTIONS:
PERIOD
The function is for updating memory rrd database and graphic.
v-copy-fs-directory
copy directoryOPTIONS:
USER SRC_DIRECTORY DST_DIRECTORY
The function copies directory on the file system
v-suspend-domain
suspend web/dns/mail domainOPTIONS:
USER DOMAIN
The function suspends web/dns/mail domain.
v-generate-ssl-cert
generate self signed certificate and CSR requestOPTIONS:
DOMAIN EMAIL COUNTRY STATE CITY ORG UNIT [ALIASES] [FORMAT]
The function generates self signed SSL certificate and CSR request
v-delete-mail-domain-catchall
delete mail domain catchall emailOPTIONS:
USER DOMAIN
The function disables mail domain cathcall.
v-list-firewall-ban
list firewall block listOPTIONS:
[FORMAT]
The function of obtaining the list of currently blocked ips.
v-delete-cron-job
delete cron jobOPTIONS:
USER JOB
The function deletes cron job.
v-update-web-domain-traff
update domain bandwidth usageOPTIONS:
USER DOMAIN
The function recalculates bandwidth usage for specific domain.
v-restore-user
restore userOPTIONS:
USER BACKUP [WEB] [DNS] [MAIL] [DB] [CRON] [UDIR] [NOTIFY]
The function for resotring user from backup.
v-unsuspend-dns-domains
unsuspend dns domainsOPTIONS:
USER [RESTART]
The function unsuspends all user’s DNS domains.
v-change-dns-record
change dns domain recordOPTIONS:
USER DOMAIN ID VALUE [PRIORITY] [RESTART]
To change the DNS record follow these functions:
v-restart-cron
restart cron serviceOPTIONS:
NONE
These functions tell you the cron service to read the configuration files again and again.
v-search-object
search objectsOPTIONS:
OBJECT [FORMAT]
The function that allows to find system objects.
v-add-user
add system userOPTIONS:
USER PASSWORD, EMAIL [PACKAGE] [FNAME] [LNAME]
The function creates a new user account.
v-delete-firewall-ban
delete firewall blocking ruleOPTIONS:
IP CHAIN
The function deletes blocking rule from system firewall
v-list-sys-proftpd-config
list proftpd config parametersOPTIONS:
[FORMAT]
To obtain the list of proftpd config parameters following are the functions.
v-delete-mail-account-forward
delete mail account forwardOPTIONS:
USER DOMAIN ACCOUNT EMAIL
The function add delete email account forward address.
v-unsuspend-dns-domain
unsuspend dns domainOPTIONS:
USER DOMAIN
The function unsuspends a certain user’s domain.
v-change-user-shell
change user shellOPTIONS:
USER SHELL
The function changes system shell of a user. Shell gives ability to use ssh.
v-delete-database-host
delete database serverOPTIONS:
TYPE HOST
The function for deleting the database host from vesta configuration. It will be deleted if there are no databases created on it only.
v-add-firewall-ban
add firewall blocking ruleOPTIONS:
IP CHAIN
The function adds new blocking rule to system firewall
v-list-sys-pgsql-config
list postgresql config parametersOPTIONS:
[FORMAT]
The function for obtaining the list of postgresql config parameters.
v-suspend-dns-domains
suspend dns domainsOPTIONS:
USER [RESTART]
The function suspends all user’s DNS domains.
v-acknowledge-user-notification
update user notificationOPTIONS:
USER NOTIFICATION
The function updates user notification.
v-change-dns-domain-tpl
change dns domain templateOPTIONS:
USER DOMAIN TEMPLATE [RESTART]
The function for changing the template of records. By updating old records will be removed and new records will be generated in accordance with parameters of the new template.
v-list-sys-vsftpd-config
list vsftpd config parametersOPTIONS:
[FORMAT]
The function for obtaining the list of vsftpd config parameters.
v-check-letsencrypt-domain
check letsencrypt domainOPTIONS:
USER DOMAIN
The function check and validates domain with LetsEncript
v-change-sys-ip-nat
change ip nat addressOPTIONS:
IP NAT_IP [RESTART]
The function for changing nat ip associated with ip.
v-list-user-package
List user packageOPTIONS:
PACKAGE [FORMAT]
Functions to get the list of system ip parameters
v-list-dns-domain
list dns domainOPTIONS:
USER DOMAIN [FORMAT]
The function of obtaining the list of dns domain parameters.
v-stop-firewall
stop system firewallOPTIONS:
NONE
The function stops iptables
v-delete-web-domain-ftp
delete webdomain ftp accountOPTIONS:
USER DOMAIN FTP_USER
The function deletes additional ftp account.
v-list-sys-disk-status
list disk informationOPTIONS:
[FORMAT]
The function lists disk information
v-add-sys-ip
add system ip addressOPTIONS:
IP NETMASK [INTERFACE] [USER] [IP_STATUS] [IP_NAME] [NAT_IP]
The function contains ip address, including rc scripts as well. Select the IPname, which will be used as a root domain for temporary aliases. For example, if you set a1.myhosting.com as name, each new domain created on this ip will automatically receive alias $domain.a1.myhosting.com. You must have wild record *.a1.myhosting.com pointed to ip. This feature is very handy when customer wants to test domain before dns migration.
v-delete-cron-reports
delete cron reportsOPTIONS:
USER
The script for disabling reports on cron tasks and administrative notifications.
v-delete-mail-account-autoreply
delete mail account autoreply messageOPTIONS:
USER DOMAIN ACCOUNT ALIAS
The function delete email account autoreply.
v-insert-dns-record
insert dns recordOPTIONS:
USER DOMAIN DATA [RESTART]
The function inserts raw dns record to the domain confv-update-user-package
update user packageOPTIONS:
PACKAGE
The function propagates package to connected users.
v-add-web-domain-stats
add log analyzer to generate domain statiticsOPTIONS:
USER DOMAIN TYPE
The call is used for enabling log analyzer system to a domain. It supports two kinds of system -awstats and webalizer. For viewing the domain statistics use http://domain.tld/vstats/ link. Access this page is not protected by default. If you want to secure it with passwords you should use v-add-web-domain_stat_auth script.
v-suspend-web-domain
suspend web domainOPTIONS:
USER DOMAIN
The function for suspending the site’s operation. After blocking it all visitors will be redirected to a web page explaining the reason of suspend. By blocking the site the content of all its directories remains untouched.
v-get-mail-domain-value
get mail domain valueOPTIONS:
USER DOMAIN KEY
The function for getting a certain mail domain parameter.
v-delete-user-backup-exclusions
delete backup exclusionOPTIONS:
USER [SYSTEM]
The function for deleting backup exclusion
v-delete-firewall-chain
delete firewall chainOPTIONS:
CHAIN
The function adds new rule to system firewall
v-change-mail-account-password
change mail account passwordOPTIONS:
USER DOMAIN ACCOUNT PASSWORD
The function changes email account password.
v-list-mail-accounts
list mail domain accountsOPTIONS:
USER DOMAIN [FORMAT]
The function of obtaining the list of all user domains.
v-delete-cron-vesta-autoupdate
delete vesta autoupdate cron jobOPTIONS:
NONE
The function deletes vesta autoupdate cron job.
v-list-sys-services
list system servicesOPTIONS:
[FORMAT]
The function for obtaining the list of configured system services.
v-list-sys-dns-status
list dns statusOPTIONS:
[FORMAT]
The function lists dns server status
v-list-sys-interfaces
list system interfacesOPTIONS:
[FORMAT]
The function for obtaining the list of network interfaces.
v-list-remote-dns-hosts
list remote dns hostOPTIONS:
[FORMAT]
The function for obtaining the list of remote dns host.
v-change-sys-vesta-ssl
change vesta ssl certificateOPTIONS:
SSL_DIR [RESTART]
The function changes vesta SSL certificate and the key.
v-change-user-template
change user default templateOPTIONS:
USER TYPE TEMPLATE
The function changes default user web template.
v-add-user-sftp-jail
add user sftp jailOPTIONS:
USER
The script enables sftp jailed environment
v-delete-web-domain-stats-user
disable webdomain stats authentication supportOPTIONS:
USER DOMAIN
The function removes authentication of statistics system. If the script is called without naming a certain user, all users will be removed. After deleting all of them statistics will be accessible for view without an authentication.
v-unsuspend-database-host
unsuspend database serverOPTIONS:
TYPE HOST
The function for unsuspending a database server.
v-list-user
list user parametersOPTIONS:
USER [FORMAT]
The function to obtain user parameters.
v-delete-domain
delete web/dns/mail domainOPTIONS:
USER DOMAIN
The function deletes web/dns/mail domain.
v-add-web-domain-ftp
add ftp account for web domain.OPTIONS:
USER DOMAIN FTP_USER FTP_PASSWORD [FTP_PATH]
The function creates additional ftp account for web domain.
v-update-sys-rrd-la
update load average rrdOPTIONS:
PERIOD
The function is for updating load average rrd database and graphic.
v-move-fs-file
move fileOPTIONS:
USER SRC_FILE DST_FLE
The function moved file or directory on the file system. This function can also be used to rename files just like normal mv command.
v-suspend-mail-account
suspend mail accountOPTIONS:
USER DOMAIN ACCOUNT
The function suspends mail account.
v-delete-mail-account-fwd-only
delete mail account forward-only flagOPTIONS:
USER DOMAIN ACCOUNT
The function deletes fwd-only flag
v-delete-remote-dns-record
delete remote dns domain recordOPTIONS:
USER DOMAIN ID
The function synchronize dns with the remote server.
v-search-fs-object
search file or directoryOPTIONS:
USER OBJECT [PATH]
The function search files and directories on the file system
v-change-web-domain-stats
change web domain statisticsOPTIONS:
USER DOMAIN TYPE
The function of deleting site’s system of statistics. Its type is automatically chooses from client’s configuration file.
v-delete-user-ips
delete user ipsOPTIONS:
USER
The function deletes all user’s ip addresses.
v-unsuspend-mail-domain
unsuspend mail domainOPTIONS:
USER DOMAIN
The function unsuspends mail domain.
v-unsuspend-databases
unsuspend databasesOPTIONS:
USER
The function for unsuspending all user’s databases.
v-change-user-name
change user full nameOPTIONS:
USER FNAME LNAME
The function allow to change user’s full name.
v-delete-dns-record
delete dns recordOPTIONS:
USER DOMAIN ID [RESTART]
The function for deleting a certain record of DNS zone.
v-change-database-host-password
change database server passwordOPTIONS:
TYPE HOST USER PASSWORD
The function changes database server password.
v-deactivate-vesta-license
deactivate vesta licenseOPTIONS:
MODULE LICENSE
The function deactivates vesta license
v-change-remote-dns-domain-soa
change remote dns domain SOAOPTIONS:
USER DOMAIN
The function synchronize dns domain with the remote server.
v-update-database-disk
update database disk usageOPTIONS:
USER DATABASE
The function recalculates disk usage for specific database.
v-add-web-domain-httpauth
add password protection for web domainOPTIONS:
USER DOMAIN AUTH_USER AUTH_PASSWORD [RESTART]
The call is used for securing web domain with http auth
v-list-web-templates-proxy
listing proxy templatesOPTIONS:
[FORMAT]
The function for obtaining the list of proxy templates available to a user.
v-update-sys-rrd-ftp
update ftp rrdOPTIONS:
PERIOD
The function is for updating ftpd rrd database and graphic.
v-change-sys-language
change sys languageOPTIONS:
LANGUAGE
The function for changing system language.
v-add-database-host
add new database serverOPTIONS:
TYPE HOST DBUSER DBPASS [MAX_DB] [CHARSETS] [TEMPLATE]
The function add new database server to the server pool. It supports local and remote database servers, which is useful for clusters. By adding a host you can set limit for number of databases on a host. Template parameter is used only for PostgreSQL and has an default value “template1”. You can read more about templates in official PostgreSQL documentation.
v-list-sys-php-config
list php config parametersOPTIONS:
[FORMAT]
The function for obtaining the list of php config parameters.
v-add-sys-firewall
add system firewallOPTIONS:
NONE
The script enables firewall
v-update-user-disk
update user disk usageOPTIONS:
USER
The functions recalculates disk usage and updates database.
v-delete-web-domain-ssl
delete web domain SSL supportOPTIONS:
USER DOMAIN
The function disable https support and deletes SSL certificates.
v-update-sys-ip
update system ipOPTIONS:
[USER] [IP_STATUS]
The function scans configured ip in the system and register them with vesta internal database. This call is intended for use on vps servers, where ip is set by hypervizor.
v-list-web-templates
list web templatesOPTIONS:
USER [FORMAT]
The function for obtaining the list of web templates available to a user.
v-list-database-hosts
list database hostsOPTIONS:
[FORMAT]
The function for obtaining the list of all configured database hosts.
v-list-mail-domains
list mail domainsOPTIONS:
USER [FORMAT]
The function of obtaining the list of all user domains.
v-list-web-domain-accesslog
list web domain access logOPTIONS:
USER DOMAIN [LINES] [FORMAT]
The function of obtaining raw access web domain logs.
v-suspend-dns-domain
suspend dns domainOPTIONS:
USER DOMAIN [RESTART]
The function suspends a certain user’s domain.
v-delete-web-domain-proxy
deleting web domain proxy configurationOPTIONS:
USER DOMAIN
The function of deleting the virtualhost proxy configuration.
v-update-web-domains-stat
update domains statisticsOPTIONS:
USER
The function runs log analyzer usage for all user webdomains.
v-unsuspend-user
unsuspend userOPTIONS:
USER [RESTART]
The function unsuspends user and all his objects.
v-restart-web
restart web serverOPTIONS:
NONE
The function reloads web server configuration.
v-change-web-domain-httpauth
change password for http auth userOPTIONS:
USER DOMAIN AUTH_USER AUTH_PASSWORD
The call is used for changing http auth user password
v-delete-web-domain-alias
delete web domain aliasOPTIONS:
USER DOMAIN ALIAS [RESTART]
The function of deleting the alias domain (parked domain). By this call default www aliase can be removed as well.
v-stop-service
stop serviceOPTIONS:
SERVICE
The function stops system service.
v-change-firewall-rule
change firewall ruleOPTIONS:
RULE ACTION IP PORT [PROTOCOL] [COMMENT]
The function is used for changing existing firewall rule. It fully replace rule with new one but keeps same id.
v-change-domain-owner
change domain ownerOPTIONS:
DOMAIN USER
The function of changing domain ownership.
v-suspend-mail-accounts
suspend all mail domain accountsOPTIONS:
USER DOMAIN
The function suspends all mail domain accounts.
v-list-user-ips
list user ipsOPTIONS:
USER [FORMAT]
The function for obtaining the list of available ip addresses.
v-add-dns-record
add dns recordOPTIONS:
USER DOMAIN RECORD TYPE VALUE [PRIORITY] [ID] [RESTART]
The call is used for adding new DNS record. Complex records of TXT, MX and SRV types can be used by a filling in the ‘value’ argument. The function also gets an id parameter for definition of certain record identifier or for the regulation of records.
v-list-user-notifications
list user notificationsOPTIONS:
USER [FORMAT]
The function for getting the list notifications
v-add-web-domain-backend
add web domain backendOPTIONS:
USER DOMAIN [TEMPLATE] [RESTART]
The call is used for adding web backend configuration.
v-list-user-backup-exclusions
list backup exclusionsOPTIONS:
USER [FORMAT]
The function for obtaining the backup exclusion list
v-list-sys-users
list system usersOPTIONS:
[FORMAT]
The function for obtaining the list of system users without detailed information.
v-unsuspend-mail-accounts
unsuspend all mail domain accountsOPTIONS:
USER DOMAIN
The function unsuspends all mail domain accounts.
v-list-sys-dovecot-config
list dovecot config parametersOPTIONS:
[FORMAT]
The function for obtaining the list of dovecot config parameters.
v-suspend-mail-domain
suspend mail domainOPTIONS:
USER DOMAIN
The function suspends mail domain.
v-suspend-database
suspend databaseOPTIONS:
USER DATABASE
The function for suspending a certain user database.
v-delete-remote-dns-domains
delete remote dns domainsOPTIONS:
[HOST]
The function deletes remote dns domains.
v-add-web-domain-ssl
adding ssl for domainOPTIONS:
USER DOMAIN SSL_DIR [SSL_HOME] [RESTART]
The function turns on SSL support for a domain. Parameter ssl_dir is a path to directory where 2 or 3 ssl files can be found. Certificate file domain.tld.crt and its key domain.tld.key are mandatory. Certificate authority domain.tld.ca file is optional. If home directory parameter (ssl_home) is not set, https domain uses public_shtml as separate documentroot directory.
v-list-user-backup
list user backupOPTIONS:
USER BACKUP [FORMAT]
The function of obtaining the list of backup parameters. This call, just as all v_list_* calls, supports 3 formats – json, shell and plain.
v-add-sys-sftp-jail
add system sftp jailOPTIONS:
NONE
The script enables sftp jailed environment
v-list-sys-mail-status
list mail statusOPTIONS:
[FORMAT]
The function lists mail server status
v-update-sys-rrd-mail
update mail rrdOPTIONS:
PERIOD
The function is for updating mail rrd database and graphic.
v-change-sys-config-value
change sysconfig valueOPTIONS:
KEY VALUE
The function is for changing main config settings such as COMPANY_NAME or COMPANY_EMAIL and so on.
v-suspend-web-domains
suspend web domainsOPTIONS:
USER [RESTART]
The function of suspending all user’s sites.
v-search-user-object
search objectsOPTIONS:
USER OBJECT [FORMAT]
The function that allows to find user objects.
v-delete-sys-firewall
delete system firewallOPTIONS:
NONE
The script disables firewall support
v-backup-users
backup all usersOPTIONS:
NONE
The function backups all system users.
v-delete-dns-on-web-alias
delete dns domain or dns record based on web domain aliasOPTIONS:
USER DOMAIN
The function deletes dns domain or dns record based on web domain alias.
v-add-firewall-rule
add firewall ruleOPTIONS:
ACTION IP PORT [PROTOCOL] [COMMENT] [RULE]
The function adds new rule to system firewall
v-check-fs-permission
open fileOPTIONS:
USER FILE
The function opens/reads files on the file system
v-add-mail-account-autoreply
add mail account autoreply messageOPTIONS:
USER DOMAIN ACCOUNT MESSAGE
The function add new email account.
v-delete-user-notification
delete user notificationOPTIONS:
USER NOTIFICATION
The function deletes user notification.
v-update-sys-rrd-httpd
update httpd rrdOPTIONS:
PERIOD
The function is for updating apache rrd database and graphic.
v-add-user-notification
add user notificationOPTIONS:
USER TOPIC NOTICE [TYPE]
The function adds user notification.
v-unsuspend-database
unsuspend databaseOPTIONS:
USER DATABASE
The function for unsuspending database.
v-add-remote-dns-domain
add remote dns domainOPTIONS:
USER DOMAIN [FLUSH]
The function synchronize dns domain with the remote server.
v-insert-dns-domain
insert dns domainOPTIONS:
USER DATA [SRC] [FLUSH] [RESTART]
The function inserts raw record to the dns.conf
v-add-web-domain-alias
add web domain aliasOPTIONS:
USER DOMAIN ALIASES [RESTART]
The call is intended for adding aliases to a domain (it is also called “domain parking”). The function supports wildcards *.domain.tpl.
v-list-cron-job
list cron jobOPTIONS:
USER JOB [FORMAT]
The function of obtaining cron job parameters.
v-sync-dns-cluster
synchronize dns domainsOPTIONS:
HOST
The function synchronize all dns domains.
v-list-databases
listing databasesOPTIONS:
USER [FORMAT]
The function for obtaining the list of all user’s databases.
v-change-database-password
change database passwordOPTIONS:
USER DATABASE DBPASS
The function for changing database user password to a database. It uses the full name of database as argument.
v-schedule-user-backup
schedule user backup creationOPTIONS:
USER
The function for scheduling user backup creation.
v-update-sys-rrd-ssh
update ssh rrdOPTIONS:
PERIOD
The function is for updating ssh rrd database and graphic.
v-change-sys-ip-status
change ip statusOPTIONS:
IP IP_STATUS
The function of changing an ip address’s status.
v-update-web-domain-stat
update domain statisticsOPTIONS:
USER DOMAIN
The function runs log analyzer for specific webdomain.
v-list-sys-web-status
list web statusOPTIONS:
[FORMAT]
The function lists web server status
v-list-dns-domains
list dns domainsOPTIONS:
USER [FORMAT]
The function for obtaining all DNS domains of a user.
v-add-mail-account-alias
add mail account alias aka nicknameOPTIONS:
USER DOMAIN ACCOUNT ALIAS
The function add new email alias.
v-list-sys-shells
list system shellsOPTIONS:
[FORMAT]
The function for obtaining the list of system shells.
v-unsuspend-web-domain
unsuspend web domainOPTIONS:
USER DOMAIN
The function of unsuspending the domain.
v-update-firewall
update system firewall rulesOPTIONS:
NONE
The function updates iptables rules
v-list-sys-cpu-status
list system cpu infoOPTIONS:
[FORMAT]
The function lists cpu information
v-delete-user-sftp-jail
delete user sftp jailOPTIONS:
USER
The script disables sftp jailed environment for USER
v-change-user-package
change user packageOPTIONS:
USER PACKAGE [FORCE]
The function changes user’s hosting package.
v-add-cron-job
add cron jobOPTIONS:
USER MIN HOUR DAY MONTH WDAY COMMAND [JOB] [RESTART]
The function adds a job to cron daemon. When executing commands, any output is mailed to user’s email if parameter REPORTS is set to ‘yes’.
v-list-sys-memory-status
list virtual memory infoOPTIONS:
[FORMAT]
The function lists virtual memory information
v-add-dns-on-web-alias
add dns domain or dns record after web domain aliasOPTIONS:
USER ALIAS IP [RESTART]
The function adds dns domain or dns record based on web domain alias.
v-suspend-dns-record
suspend dns domain recordOPTIONS:
USER DOMAIN ID [RESTART]
The function suspends a certain domain record.
v-rebuild-dns-domains
rebuild dns domainsOPTIONS:
USER [RESTART] [UPDATE_SERIAL]
The function rebuilds DNS configuration files.
v-list-database
list databaseOPTIONS:
USER DATABASE [FORMAT]
The function for obtaining of all database’s parameters.
v-delete-remote-dns-host
delete remote dns hostOPTIONS:
HOST
The function for deleting the remote dns host from vesta configuration.
v-update-web-domains-traff
update domains bandwidth usageOPTIONS:
USER
The function recalculates bandwidth usage for all user webdomains.
v-update-web-domain-ssl
updating ssl certificate for domainOPTIONS:
USER DOMAIN SSL_DIR [RESTART]
The function updates the SSL certificate for a domain. Parameter ssl_dir is a path to directory where 2 or 3 ssl files can be found. Certificate file domain.tld.crt and its key domain.tld.key are mandatory. Certificate authority domain.tld.ca file is optional.
v-suspend-mail-domains
suspend mail domainsOPTIONS:
USER
The function suspends all user’s MAIL domains.
v-list-database-types
list supported database typesOPTIONS:
[FORMAT]
The function for obtaining the list of database types.
v-suspend-cron-jobs
Suspending sys cron jobsOPTIONS:
USER [RESTART]
The function suspends all user cron jobs.
v-list-user-favourites
list user favouritesOPTIONS:
USER [FORMAT]
The function for getting the list of favourite user objects
v-change-cron-job
change cron jobOPTIONS:
USER JOB MIN HOUR DAY MONTH WDAY COMMAND
The function is used for changing existing job. It fully replace job parameters with new one but with same id.
v-list-sys-config
list system configurationOPTIONS:
[FORMAT]
The function for obtaining the list of system parameters.
v-add-remote-dns-record
add remote dns domain recordOPTIONS:
USER DOMAIN ID
The function synchronize dns domain with the remote server.
v-get-user-value
get user valueOPTIONS:
USER KEY
The function for obtaining certain user’s parameters.
v-extract-fs-archive
archive to directoryOPTIONS:
USER ARCHIVE DIRECTORY
The function extracts archive into directory on the file system
v-add-dns-domain
add dns domainOPTIONS:
USER DOMAIN IP [NS1] [NS2] [NS3] [..] [NS8] [RESTART]
The function adds DNS zone with records defined in the template. If the exp argument isn’t stated, the expiration date value will be set to next year. The soa argument is responsible for the relevant record. By default the first user’s NS server is used. TTL is set as common for the zone and for all of its records with a default value of 14400 seconds.
v-change-web-domain-name
change web domain nameOPTIONS:
USER DOMAIN NEW_DOMAIN [RESTART]
The call is used for changing the domain name.
v-list-users
list usersOPTIONS:
[FORMAT]
The function to obtain the list of all system users.
v-generate-api-key
generate api keyOPTIONS:
NONE
The function creates a key file in /usr/local/vesta/data/keys/
v-unsuspend-domain
unsuspend web/dns/mail domainOPTIONS:
USER DOMAIN
The function unsuspends web/dns/mail domain.
v-unsuspend-dns-record
unsuspend dns domain recordOPTIONS:
USER DOMAIN ID [RESTART]
The function unsuspends a certain domain record.
v-open-fs-file
open fileOPTIONS:
USER FILE
The function opens/reads files on the file system
v-update-sys-ip-counters
update IP usage countersOPTIONS:
IP
Function updates usage U_WEB_ADOMAINS and U_SYS_USERS counters.
v-list-web-stats
list web statisticsOPTIONS:
[FORMAT]
The function for obtaining the list of web statistics analyzer.
v-delete-mail-domain-antispam
delete mail domain antispam supportOPTIONS:
USER DOMAIN
The function disable spamassasin for incoming emails.
v-delete-sys-sftp-jail
delete system sftp jailOPTIONS:
NONE
The script disables sftp jailed environment
v-get-web-domain-value
get web domain valueOPTIONS:
USER DOMAIN KEY
The function is intended for obtaining a domain value by the key. This call is useful for arranging composite queries. The answer is displayed only in raw form; output formats aren’t supported.
v-update-user-stats
update user statisticsOPTIONS:
USER
Function logs user parameters into statistics database.
v-delete-dns-domains
delete dns domainsOPTIONS:
USER
The function for deleting all users DNS domains.
v-change-dns-record-id
change dns domain record idOPTIONS:
USER DOMAIN ID NEWID [RESTART]
The function for changing internal record id.
v-activate-vesta-license
activate vesta licenseOPTIONS:
MODULE LICENSE
The function activates and registers the vesta license
v-delete-fs-file
delete fileOPTIONS:
USER FILE
The function deletes file on the file system
v-list-web-domains
list web domainsOPTIONS:
USER [FORMAT]
The function to obtain the list of all user web domains.
v-delete-mail-account
delete mail accountOPTIONS:
USER DOMAIN ACCOUNT
The function deletes email account.
v-change-sys-hostname
change hostnameOPTIONS:
HOSTNAME
The function for changing system hostname.
v-change-web-domain-backend-tpl
change web domain backend templateOPTIONS:
USER DOMAIN TEMPLATE [RESTART]
The function changes backend template
v-change-sys-service-config
change service configOPTIONS:
CONFIG SERVICE [RESTART]
The function for changing service confguration.
v-delete-backup-host
delete backup ftp serverOPTIONS:
TYPE
The function deletes ftp backup host
v-add-web-domain
add web domainOPTIONS:
USER DOMAIN [IP] [ALIASES] [PROXY_EXTENSIONS] [RESTART]
The function adds virtual host to a server. In cases when ip is undefined in the script, “default” template will be used. The alias of www.domain.tld type will be automatically assigned to the domain unless “none” is transmited as argument. If ip have associated dns name, this domain will also get the alias domain-tpl.$ipname. An alias with the ip name is useful during the site testing while dns isn’t moved to server yet.
v-list-cron-jobs
list user cron jobsOPTIONS:
USER [FORMAT]
The function for obtaining the list of all users cron jobs.
v-list-user-ns
list user nameserversOPTIONS:
USER [FORMAT]
Function for obtaining the list of user’s DNS servers.
v-restart-mail
restart mail serviceOPTIONS:
NONE
The function tells Exim service to reload configuration files.
v-add-remote-dns-host
add new remote dns hostOPTIONS:
HOST PORT USER PASSWORD [TYPE] [DNS_USER]
The function adds remote dns server to the dns cluster.
v-add-letsencrypt-domain
adding letsencrypt ssl cetificate for domainOPTIONS:
USER DOMAIN [ALIASES] [RESTART] [NOTIFY]
The function turns on SSL support for a domain. Parameter ssl_dir is a path to directory where 2 or 3 ssl files can be found. Certificate file domain.tld.crt and its key domain.tld.key are mandatory. Certificate authority domain.tld.ca file is optional. If home directory parameter (ssl_home) is not set, https domain uses public_shtml as separate documentroot directory.
v-delete-fs-directory
delete directoryOPTIONS:
USER DIRECTORY
The function deletes directory on the file system
v-unsuspend-cron-job
unsuspend cron jobOPTIONS:
USER JOB [RESTART]
The function unsuspend certain cron job.
v-change-dns-domain-ip
change dns domain ip addressOPTIONS:
USER DOMAIN IP
The function for changing the main ip of DNS zone.
v-get-sys-timezone
get system timezoneOPTIONS:
[FORMAT]
The function to get system timezone
v-list-dns-template
list dns templateOPTIONS:
TEMPLATE [FORMAT]
The function for obtaining the DNS template parameters.
v-list-dns-templates
list dns templatesOPTIONS:
[FORMAT]
The function for obtaining the list of all DNS templates available.
v-list-web-domain
list web domain parametersOPTIONS:
USER DOMAIN [FORMAT]
The function to obtain web domain parameters.
v-update-sys-rrd
update system rrd chartsOPTIONS:
NONE
The script is wrapper for all rrd functions. It updates all v-update-sys-rrd_* at once.
v-list-user-stats
list user statsOPTIONS:
[FORMAT]
The function for listing user statistics
v-schedule-user-restore
schedule user backup restorationOPTIONS:
USER BACKUP [WEB] [DNS] [MAIL] [DB] [CRON] [UDIR]
The function for scheduling user backup restoration.
v-update-letsencrypt-ssl
update letsencrypt ssl certificatesOPTIONS:
NONE
The function for renew letsencrypt expired ssl certificate for all users
v-change-database-user
change database usernameOPTIONS:
USER DATABASE DBUSER [DBPASS]
The function for changing database user. It uses the
v-update-mail-domain-disk
update mail domain disk usageOPTIONS:
USER DOMAIN
The function updates domain disk usage.
v-change-mail-domain-catchall
change mail domain catchall emailOPTIONS:
USER DOMAIN EMAIL
The function changes mail domain catchall.
v-list-user-packages
list user packagesOPTIONS:
[FORMAT]
The function for obtaining the list of available hosting packages.
v-add-sys-quota
add system quotaOPTIONS:
NONE
The script enables filesystem quota on /home partition
v-list-database-host
list database hostOPTIONS:
TYPE HOST [FORMAT]
The function for obtaining database host parameters.
v-delete-web-domain-backend
deleting web domain backend configurationOPTIONS:
USER DOMAIN [RESTART]
The function of deleting the virtualhost backend configuration.
v-change-sys-ip-owner
change ip ownerOPTIONS:
IP USER
The function of changing ip address ownership.
v-delete-mail-domain-dkim
delete mail domain dkim supportOPTIONS:
USER DOMAIN [DKIM_SIZE]
The function delete DKIM domain pem.
v-add-fs-file
add fileOPTIONS:
USER FILE
The function creates new files on file system
v-delete-firewall-rule
delete firewall ruleOPTIONS:
RULE
The function deletes firewall rule.
v-add-fs-directory
add directoryOPTIONS:
USER DIRECTORY
The function creates new directory on the file system
v-unsuspend-cron-jobs
unsuspend sys cronOPTIONS:
USER [RESTART]
The function unsuspends all suspended cron jobs.
v-change-sys-timezone
change system timezoneOPTIONS:
TIMEZONE
The function for changing system timezone.
v-change-web-domain-sslhome
changing domain ssl homeOPTIONS:
v-rebuild-web-domains
rebuild web domainsOPTIONS:
USER [RESTART]
The function rebuilds web configuration files.
v-change-remote-dns-domain-ttl
change remote dns domain TTLOPTIONS:
USER DOMAIN
The function synchronize dns domain with the remote server.
v-add-mail-domain-antivirus
add mail domain antivirus supportOPTIONS:
USER DOMAIN
The function enables clamav scan for incoming emails.
v-list-backup-host
list backup hostOPTIONS:
TYPE HOST [FORMAT]
The function for obtaining the list of backup host parameters.
v-restart-dns
restart dns serviceOPTIONS:
NONE
The function tells BIND service to reload dns zone files.
v-delete-user-favourites
deleting user favouritesOPTIONS:
USER SYSTEM OBJECT
The function deletes object from users favourites
v-update-mail-domains-disk
calculate disk usage for all mail domainsOPTIONS:
USER
The function calculates disk usage for all mail domains.
v-add-cron-letsencrypt-job
add letsencrypt cronjobOPTIONS:
NONE
The script for enabling letsencrypt cronjob
v-list-sys-network-status
list system network statusOPTIONS:
[FORMAT]
The function lists network status
v-update-sys-rrd-mysql
update MySQL rrdOPTIONS:
PERIOD
The function is for updating mysql rrd database and graphic.
v-copy-fs-file
copy fileOPTIONS:
USER SRC_FILE DST_FLE
The function copies file on the file system
v-list-sys-nginx-config
list nginx config parametersOPTIONS:
[FORMAT]
The function for obtaining the list of nginx config parameters.
v-update-web-domains-disk
update domains disk usageOPTIONS:
USER
The function recalculates disk usage for all user webdomains.
v-move-fs-directory
move fileOPTIONS:
USER SRC_DIRECTORY DST_DIRECTORY
The function moved file or directory on the file system. This function can also be used to rename files just like normal mv command.
v-rebuild-cron-jobs
rebuild cron jobsOPTIONS:
USER [RESTART]
The function rebuilds system cron config file for specified user.
v-change-sys-ip-name
change ip nameOPTIONS:
IP NAME
The function for changing dns domain associated with ip.
v-delete-cron-restart-job
delete restart jobOPTIONS:
NONE
The script for disabling restart cron tasks
v-add-fs-archive
archive directoryOPTIONS:
USER ARCHIVE SOURCE
The function creates tar archive
v-suspend-user
suspend userOPTIONS:
USER [RESTART]
The function suspends a certain user and all his objects.
v-unsuspend-firewall-rule
unsuspend firewall ruleOPTIONS:
RULE
The function unsuspends a certain firewall rule.
v-delete-mail-domain-antivirus
delete mail domain antivirus supportOPTIONS:
USER DOMAIN
The function disables clamav scan for incoming emails.
v-change-user-contact
change user contact emailOPTIONS:
USER EMAIL
The function for changing of e-mail associated with a certain user.
v-suspend-databases
suspend databasesOPTIONS:
USER
The function for suspending of all databases of a single user.
v-update-user-backup-exclusions
update backup exclusion listOPTIONS:
USER FILE
The function for updating backup exclusion list
v-schedule-letsencrypt-domain
adding cronjob for letsencrypt cetificate installationOPTIONS:
USER DOMAIN [ALIASES]
The function adds cronjob for letsencrypt ssl certificate installation
v-restart-proxy
restart proxy serverOPTIONS:
NONE
The function reloads proxy server configuration.
v-list-mail-domain-dkim
list mail domain dkimOPTIONS:
USER DOMAIN [FORMAT]
The function of obtaining domain dkim files.
v-delete-mail-domain
delete mail domainOPTIONS:
USER DOMAIN
The function for deleting MAIL domain. By deleting it all accounts will also be deleted.
v-list-web-domain-ssl
list web domain ssl certificateOPTIONS:
USER DOMAIN [FORMAT]
The function of obtaining domain ssl files.
v-delete-web-domain-stats
delete web domain statisticsOPTIONS:
USER DOMAIN
The function of deleting site’s system of statistics. Its type is automatically chooses from client’s configuration file.
v-update-user-quota
update user disk quotaOPTIONS:
USER
The functions upates disk quota for specific user
v-update-sys-rrd-apache2
update apache2 rrdOPTIONS:
PERIOD
The function is for updating apache rrd database and graphic.
v-delete-database
delete databaseOPTIONS:
USER DATABASE
The function for deleting the database. If database user have access to another database, he will not be deleted.
v-delete-mail-account-alias
delete mail account alias aka nicknameOPTIONS:
USER DOMAIN ACCOUNT ALIAS
The function deletes email account alias.
v-change-dns-domain-exp
change dns domain expiration dateOPTIONS:
USER DOMAIN EXP
The function of changing the term of expiration domain’s registration. The serial number will be refreshed automatically during update.
v-suspend-firewall-rule
suspend firewall ruleOPTIONS:
RULE
The function suspends a certain firewall rule.
v-change-web-domain-ftp-password
change ftp user password.OPTIONS:
USER DOMAIN FTP_USER FTP_PASSWORD
The function changes ftp user password.
v-list-sys-clamd-config
list clamd config parametersOPTIONS:
[FORMAT]
The function for obtaining the list of clamd config parameters.
v-list-firewall-rule
list firewall ruleOPTIONS:
RULE [FORMAT]
The function of obtaining firewall rule parameters.
v-add-backup-host
add backup hostOPTIONS:
TYPE HOST USERNAME PASSWORD [PATH] [PORT]
This function adds a backup host
v-list-letsencrypt-user
list letsencrypt keyOPTIONS:
USER [FORMAT]
The function for obtaining the letsencrypt key thumbprint
v-add-web-domain-proxy
add webdomain proxy supportOPTIONS:
USER DOMAIN [TEMPLATE] [EXTENTIONS] [RESTART]
The function enables proxy support for a domain. This can significantly improve website speed.
v-list-sys-vesta-updates
list system updatesOPTIONS:
[FORMAT]
The function checks available updates for vesta packages.
v-list-web-templates-backend
listing backend templatesOPTIONS:
[FORMAT]
The function for obtaining the list of available backend templates.
v-add-mail-domain-dkim
add mail domain dkim supportOPTIONS:
USER DOMAIN [DKIM_SIZE]
The function adds DKIM signature to outgoing domain emails.
v-change-remote-dns-domain-exp
change remote dns domain expiration dateOPTIONS:
USER DOMAIN
The function synchronize dns domain with the remote server.
v-change-mail-account-quota
change mail account quotaOPTIONS:
USER DOMAIN ACCOUNT QUOTA
The function changes email account disk quota.
v-get-sys-timezones
list system timezoneOPTIONS:
[FORMAT]
The function checks system timezone settings
v-list-user-log
list user logOPTIONS:
USER [FORMAT]
The function of obtaining the list of 100 last users commands.
v-update-databases-disk
update databases disk usageOPTIONS:
USER
The function recalculates disk usage for all user databases.
v-add-cron-vesta-autoupdate
add cron job for vesta autoupdatesOPTIONS:
NONE
The function adds cronjob for vesta autoupdate.
v-update-user-counters
update user usage countersOPTIONS:
USER
Function updates usage counters like U_WEB_DOMAINS, U_MAIL_ACCOUNTS, etc.
v-change-fs-file-permission
change file permissionOPTIONS:
USER FILE PERMISSION
The function changes file access permissions on the file system
v-suspend-cron-job
suspend cron jobOPTIONS:
USER JOB [RESTART]
The function suspends a certain job of the cron scheduler.
v-check-vesta-license
check vesta licenseOPTIONS:
[MODULE]
The function activates and register vesta license
v-add-web-domain-stats-user
add password protection to web domain statisticsOPTIONS:
USER DOMAIN STATS_USER STATS_PASSWORD
The call is used for securing the web statistics page.
v-add-mail-account-forward
add mail account forward addressOPTIONS:
USER DOMAIN ACCOUNT FORWARD
The function add new email account.
v-update-sys-rrd-pgsql
update PostgreSQL rrdOPTIONS:
PERIOD
The function is for updating postgresql rrd database and graphic.
v-get-mail-account-value
get mail account valueOPTIONS:
USER DOMAIN ACCOUNT KEY
The function for getting a certain mail account parameter.
v-update-dns-templates
update dns templatesOPTIONS:
[RESTART]
The function for obtaining updated pack of dns templates.
v-list-sys-ips
list system ipsOPTIONS:
[FORMAT]
The function for obtaining the list of system ip adresses.
v-delete-remote-dns-domain
delete remote dns domainOPTIONS:
USER DOMAIN
The function synchronize dns with the remote server.
v-list-sys-mysql-config
list mysql config parametersOPTIONS:
[FORMAT]
The function for obtaining the list of mysql config parameters.
v-update-sys-vesta-all
update all vesta packagesOPTIONS:
USER [RESTART]
The function of updating all vesta packages
v-delete-databases
delete user databasesOPTIONS:
USER
The function deletes all user databases.
v-delete-sys-quota
delete system quotaOPTIONS:
NONE
The script disables filesystem quota on /home partition
v-suspend-database-host
suspend database serverOPTIONS:
TYPE HOST
The function for suspending a database server.
v-change-web-domain-ftp-path
change path for ftp user.OPTIONS:
USER DOMAIN FTP_USER FTP_PATH
The function changes ftp user path.
v-unsuspend-mail-account
unsuspend mail accountOPTIONS:
USER DOMAIN ACCOUNT
The function unsuspends mail account.
v-add-mail-domain-catchall
add mail domain catchall accountOPTIONS:
USER DOMAIN EMAIL
The function enables catchall account for incoming emails.
v-update-sys-vesta
update vesta package/configsOPTIONS:
PACKAGE [VERSION]
The function runs as rpm update trigger. It pulls shell script from vesta server and runs it.
v-add-letsencrypt-user
register letsencrypt user accountOPTIONS:
USER [EMAIL]
The function creates and register LetsEncript account key
v-list-web-domain-errorlog
list web domain error logOPTIONS:
USER DOMAIN [LINES] [FORMAT]
The function of obtaining raw error web domain logs.
v-change-dns-domain-soa
change dns domain soa recordOPTIONS:
USER DOMAIN SOA
The function for changing SOA record. This type of records can not be modified by v-change-dns-record call.
v-delete-dns-domains-src
delete dns domains based on SRC fieldOPTIONS:
USER SRC [RESTART]
The function for deleting DNS domains related to a certain host.
v-list-mail-domain-dkim-dns
list mail domain dkim dns recordsOPTIONS:
USER DOMAIN [FORMAT]
The function of obtaining domain dkim dns records for proper setup.
v-add-mail-account-fwd-only
add mail account forward-only flagOPTIONS:
USER DOMAIN ACCOUNT
The function adds fwd-only flag
v-change-web-domain-tpl
change web domain templateOPTIONS:
USER DOMAIN TEMPLATE [RESTART]
The function changes template of the web configuration file. The content of webdomain directories remains untouched.
v-rebuild-dns-domain
rebuild dns domainOPTIONS:
USER DOMAIN [RESTART] [UPDATE_SERIAL]
The function rebuilds DNS configuration files.
v-unsuspend-remote-dns-host
unsuspend remote dns serverOPTIONS:
HOST
The function for unsuspending remote dns server.
v-check-user-password
check user passwordOPTIONS:
USER PASSWORD [IP]
The function verifies user password from a file
v-add-mail-account
add mail domain account
OPTIONS:
USER DOMAIN ACCOUNT PASSWORD [QUOTA]
The function add new email account.
v-change-web-domain-proxy-tpl
change web domain proxy templateOPTIONS:
USER DOMAIN TEMPLATE [EXTENTIONS] [RESTART]
The function changes proxy template
v-add-user-package
adding user packageOPTIONS:
PKG_DIR PACKAGE [REWRITE]
The function adds new user package to the system.
v-delete-user
delete userOPTIONS:
USER
This function deletes a certain user and all his resources such as domains, databases, cron jobs, etc.
v-list-sys-ip
list system ipOPTIONS:
IP [FORMAT]
The function for getting the list of system ip parameters.
v-change-database-owner
change database ownerOPTIONS:
DATABASE USER
The function for changing database owner.
v-add-mail-domain
add mail domainOPTIONS:
USER DOMAIN [ANTISPAM] [ANTIVIRUS] [DKIM] [DKIM_SIZE]
The function adds MAIL domain.
v-list-sys-vesta-autoupdate
list vesta autoupdate settingsOPTIONS:
[FORMAT]
The function for obtaining autoupdate setings.
v-delete-dns-domain
delete dns domainOPTIONS:
USER DOMAIN
The function for deleting DNS domain. By deleting it all records will also be deleted.
v-list-sys-info
list system osOPTIONS:
[FORMAT]
The function checks available updates for vesta packages.
v-change-dns-domain-ttl
change dns domain ttlOPTIONS:
USER DOMAIN TTL
The function for changing the time to live TTL parameter for all records.
v-search-domain-owner
search domain ownerOPTIONS:
DOMAIN [TYPE]
The function that allows to find user objects.
v-start-service
start serviceOPTIONS:
SERVICE
The function starts system service.
v-delete-web-domain
delete web domainOPTIONS:
USER DOMAIN
The call of function leads to the removal of domain and all its components (statistics, folders contents, ssl certificates, etc.). This operation is not fully supported by “undo” function, so the data recovery is possible only with a help of reserve copy.
v-list-user-backups
list user backupsOPTIONS:
USER [FORMAT]
The function for obtaining the list of available user backups.
v-list-fs-directory
list directoryOPTIONS:
USER DIRECTORY
The function lists directory on the file system
v-add-cron-restart-job
add cron reportsOPTIONS:
NONE
The script for enabling restart cron tasks
v-list-sys-rrd
list system rrd chartsOPTIONS:
[FORMAT]
List available rrd graphics, its titles and paths.
v-add-user-favourites
adding user favouritesOPTIONS:
USER SYSTEM OBJECT
The function adds object to users favourites
v-rebuild-user
rebuild system userOPTIONS:
USER [RESTART]
The function rebuilds system user account.
v-restart-system
restart operating systemOPTIONS:
RESTART
The function restarts operating system.
vt-users-stats
list overall user statsOPTIONS:
[FORMAT]
The function for listing overall user statistics
v-change-web-domain-sslcert
change domain ssl certificateOPTIONS:
USER DOMAIN SSL_DIR [RESTART]
The function changes SSL domain certificate and the key. If ca file present it will be replaced as well.
v-delete-sys-ip
delete system ipOPTIONS:
IP
The function for deleting a system ip. It does not allow to delete first ip on interface and do not allow to delete ip which is used by a web domain.
v-list-firewall
list iptables rulesOPTIONS:
[FORMAT]
The function of obtaining the list of all iptables rule
v-change-user-language
change user languageOPTIONS:
USER LANGUAGE
The function for changing language.
v-delete-user-backup
delete user backupOPTIONS:
USER NACKUP
The function deletes user backup.
v-change-user-password
change user passwordOPTIONS:
USER PASSWORD
The function changes user’s password and updates RKEY value.
v-unsuspend-mail-domains
unsuspend mail domainsOPTIONS:
USER
The function unsuspends all user’s MAIL domains.
v-list-mail-domain
list mail domainOPTIONS:
USER DOMAIN [FORMAT]
The function of obtaining the list of domain parameters.
Comments (0)