Skip to content

Commit d8a08c1

Browse files
vmcjeldering
authored andcommitted
Allow backslashes in admin passwords
Currently characters could be escaped, this removes that behaviour and makes it simpler to type such characters.
1 parent 7385a99 commit d8a08c1

File tree

1 file changed

+2
-2
lines changed
  • live-image/files/usr/local/sbin

1 file changed

+2
-2
lines changed

live-image/files/usr/local/sbin/dj_live

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ EOF
6363

6464
echo "Updating DOMjudge web interface admin user password..."
6565
if [ -z "$PASS" ]; then
66-
read -es -p "Enter new admin user password: " PASS1 ; echo
67-
read -es -p "Retype new admin user password: " PASS2 ; echo
66+
read -esr -p "Enter new admin user password: " PASS1 ; echo
67+
read -esr -p "Retype new admin user password: " PASS2 ; echo
6868
[ "x$PASS1" = "x$PASS2" ] || error "passwords do not match."
6969
PASS="$PASS1"
7070
fi

0 commit comments

Comments
 (0)