ftpadmin.sh audit and usability upgrade #2

Merged
Ghost merged 8 commits from shellcheck-ftpadmin into master 2018-11-13 15:37:21 +01:00
Showing only changes of commit 2ab5a60906 - Show all commits

View file

@ -105,7 +105,7 @@ edit_password() {
account_name=$1
passwd=$2
echo `echo $passwd | ftpasswd --passwd --file=$VPASSWD_PATH --name=$account_name --uid=9999 --gid=9999 --home=/dev/null --shell=/dev/null --change-password --stdin`
echo "$passwd" | ftpasswd --passwd --file="$VPASSWD_PATH" --name="$account_name" --uid=9999 --gid=9999 --home=/dev/null --shell=/dev/null --change-password --stdin
}