1
0
mirror of https://github.com/octoleo/Purse.git synced 2024-06-06 16:30:51 +00:00

Don't evaluate \ when reading username

This allows entering Microsoft Domain users like DOMAIN\USER.
This commit is contained in:
Juergen Hoetzel 2016-10-04 18:00:00 +02:00
parent 744f9b2a68
commit b2ac781092

4
pwd.sh
View File

@ -74,7 +74,7 @@ read_pass () {
fi
if [[ -z "${2+x}" ]] ; then
read -p "
read -r -p "
Username to read? (default: all) " username
else
username="${2}"
@ -146,7 +146,7 @@ create_username () {
# Create username with password.
if [[ -z "${2+x}" ]] ; then
read -p "
read -r -p "
Username: " username
else
username="${2}"