Skip to content

Commit

Permalink
Fixed FTP authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
kris701 committed Jan 15, 2025
1 parent fb04fea commit 5423247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/dotnetaspwebapi-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ msg_ok "Application Configured"
msg_info "Setting up FTP Server"
useradd ftpuser
FTP_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
usermod --password ${FTP_PASS} ftpuser
usermod --password $(echo ${FTP_PASS} | openssl passwd -1 -stdin) ftpuser
mkdir -p /var/www/html
usermod -d /var/www/html ftp
usermod -d /var/www/html ftpuser
Expand Down

0 comments on commit 5423247

Please sign in to comment.