Initial commit

This commit is contained in:
Charlie Root 2025-03-01 00:58:18 +01:00
commit 529efd53a1
140 changed files with 10310 additions and 0 deletions

27
sudo_cmd/tools.cfg Normal file
View file

@ -0,0 +1,27 @@
BASEDIR="/home/web/default/petar.company";
# BASEDIR=`pwd`;
DATA=`/bin/date "+%Y%m%d%H%M%S"`;
### mail-sync
QUEUEDIR=${BASEDIR}"/queue";
HOMEDIR="/home/mailusers"
MAIL_SRC_TOP=${QUEUEDIR}"/defaults/top.passwd";
MAIL_SRC_FILE=${QUEUEDIR}"/master.passwd.queue";
MAIL_DST_FILE=${QUEUEDIR}"/master.passwd";
MAIL_DST_ARCH=${QUEUEDIR}"/archives/master.passwd".${DATA};
VIRT_SRC_TOP=${QUEUEDIR}"/defaults/top.virtusertable";
VIRT_SRC_FILE=${QUEUEDIR}"/virtusertable.queue";
VIRT_DST_FILE=${QUEUEDIR}"/virtusertable";
VIRT_DST_ARCH=${QUEUEDIR}"/archives/virtusertable".${DATA};
LHN_SRC_TOP=${QUEUEDIR}"/defaults/top.localhostnames";
LHN_SRC_FILE=${QUEUEDIR}"/localhostnames.queue";
LHN_DST_FILE="/etc/mail/local-host-names";
### radius-sync
RADIUS_QUEUEDIR="${BASEDIR}/queue";
RADIUS_ETC_DIR="/usr/local/etc/raddb";
RADIUS_SRC_USER="users.queue";
RADIUS_DST_USER="users";