Script fix

main
Anthony 2023-11-03 02:00:37 +08:00
parent 7990e7ecf5
commit 2e37b432ec
1 changed files with 2 additions and 1 deletions

View File

@ -59,4 +59,5 @@ chmod g+s $ROOT_DIRECTORY
log "Script completed for user $USERNAME"
# Output the created username and password
echo "{ \"USERNAME\": \"$USERNAME\", \"PASSWORD\": \"$PASSWORD\" }"
echo "export CREATED_USERNAME=$USERNAME" >> /etc/profile
echo "export CREATED_PASSWORD=$PASSWORD" >> /etc/profile