Added (Check Duplicates Before Adding New User)

master
Abanoub Hany 2024-07-01 20:40:06 +03:00
parent 5507b7af91
commit 6339774759
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ fi
# Ensure /etc/ppp/chap-secrets is writable # Ensure /etc/ppp/chap-secrets is writable
chmod 666 $CHAP_SECRETS chmod 666 $CHAP_SECRETS
# Ensure the target directory is writable by the web server
chown -R www-data:www-data $TARGET_DIR
chmod -R 755 $TARGET_DIR
# Define the Alias and Directory block # Define the Alias and Directory block
ALIAS_BLOCK=$(cat <<EOT ALIAS_BLOCK=$(cat <<EOT
Alias /l2tp-manager $TARGET_DIR Alias /l2tp-manager $TARGET_DIR