Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nextcloud-startup-script.sh')
-rw-r--r--nextcloud-startup-script.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/nextcloud-startup-script.sh b/nextcloud-startup-script.sh
index c65d3085..818e61b7 100644
--- a/nextcloud-startup-script.sh
+++ b/nextcloud-startup-script.sh
@@ -382,7 +382,7 @@ clear
# CLI USER
print_text_in_color "$ICyan" "For better security, change the system user password for [$(getent group sudo | cut -d: -f4 | cut -d, -f1)]"
any_key "Press any key to change password for system user..."
-while true
+while :
do
sudo passwd "$(getent group sudo | cut -d: -f4 | cut -d, -f1)" && break
done
@@ -394,7 +394,7 @@ print_text_in_color "$ICyan" "The current admin user in Nextcloud GUI is [$NCADM
print_text_in_color "$ICyan" "We will now replace this user with your own."
any_key "Press any key to replace the current (local) admin user for Nextcloud..."
# Create new user
-while true
+while :
do
print_text_in_color "$ICyan" "Please enter the username for your new user:"
read -r NEWUSER