SpecialistOff.NET / Вопросы / Статьи / Фрагменты кода / Резюме / Метки / Помощь / Файлы

Список вопросов Печать

Список скриптов DirectAdmin


Метки: directadmin 

Ответы

RemiZOffAlex  Создано: 2017-05-29 11:46:18.439720  Обновлено: 2017-05-29 11:46:18.439720

Расположение /usr/local/directadmin/scripts/

add_email.sh - добавление email к учетной записи

Использование: ./add_email.sh <user> <domain> '<cryptedpass>' <plaintext> <quota>

addip

Usage: ./addip <ip> (<netmask> (<eth dev> (<broadcast>)))
example: ./addip 1.2.3.4 255.255.255.0 eth0

atmail.sh

install Atmail webmail into DirectAdmin servers
# Official Atmail webmail page: http://www.atmail.org

awstats_process.sh

used to process AWstats for a domain
# Official AWstats webpage: http://www.awstats.org
# Usage:
# ./awstats_user.sh <user> <domain>

awstats.sh

used to install AWstats into DirectAdmin servers
# Official AWstats webpage: http://www.awstats.org

backup_roundcube.php

Backup script for the per-domain RoundCube settings.
Backup/Restore written by DirectAdmin: http://www.directadmin.com
RoundCube Webmail Client: http://roundcube.net

This script will generate a per-domain XML output of all users for that domain, in the roundcube database.
It will also include one system account username (eg: admin), which is associated with the domain.
The XML file is index/ID independant, so you can restore a set of domain accounts onto any other
active DirectAdmin/RoundCube database without worry of ID conflicts.
See the restore_roundcube.php for info on the restore process.

See the DirectAdmin versions system for more info:
http://www.directadmin.com/features.php?id=1062

All variables are passed via environment, not command line options
But you can specify environmental variables... via command line options before the script (see the showHelp() function)

base64_encode.php
change_database_username.php
change_username.sh
cron_deny.sh
custom
customapache.sh
custombuild.sh
da-popb4smtp.service
difficult_password.php
directadmin
directadmin_cron
directadmin.rotate
directadmin.service
dkim_create.sh
dnssec.sh
doChecks.sh
exim.sh
files.sh
fix_da_user.sh
frontpage.sh
fstab.sh
ftp_download.php
ftp_download.php.curl
ftp_list.php
ftp_upload.php
getDA.sh
getInfo.sh
getLicense.sh
hostname.sh
imapd.sh
install.sh
ip_info.sh
ipswap_reseller.sh
ipswap.sh
is_systemd.sh
letsencrypt.sh
majordomo.sh
move_domain.sh
move_user_to_reseller.sh
mysql.sh
named
ncftp.sh
packages
php_clean.ini
phpMyAdmin.sh
proftpd.sh
README
redirect.php
removeip
reseller_to_user.sh
restore_roundcube.php
reverse_ip_lookup.sh
rotate_email_usage.sh
selinux.sh
service_memory_usage.sh
set_permissions.sh
setup.sh
setup.txt
spam.sh
squirrelmail.sh
startips
startips.service
sysbk.sh
up2date.sh
update.sh
user_to_reseller.sh
webmail.sh

Возможно будут интересны и другие вопросы