This commit is contained in:
Bozhidar Slaveykov 2023-11-26 02:06:44 +02:00
parent 96dd771892
commit 2b58dc8c8d
3 changed files with 4 additions and 1 deletions

View file

@ -12,6 +12,9 @@ HELPERS_DIR=$MAIN_DIR"/shell/helpers/ubuntu"
. $HELPERS_DIR"/common.sh" . $HELPERS_DIR"/common.sh"
. $HELPERS_DIR"/create-mysql-db-and-user.sh" . $HELPERS_DIR"/create-mysql-db-and-user.sh"
INSTALLATION_HELPERS_DIR=$MAIN_DIR"/installers/helpers/ubuntu"
$INSTALLATION_HELPERS_DIR"/create-web-user.sh"
# Update the system # Update the system
apt update -y apt update -y

View file

@ -1,6 +1,6 @@
# Generate a random password # Generate a random password
random_password="$(openssl rand -base64 32)" random_password="$(openssl rand -base64 32)"
email="email1@phyrepanel.com" email="admin@phyrepanel.com"
# Create the new phyreweb user # Create the new phyreweb user
/usr/sbin/useradd "phyreweb" -c "$email" --no-create-home /usr/sbin/useradd "phyreweb" -c "$email" --no-create-home