Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
Small fix after testing.
  • Loading branch information
QROkes committed Sep 26, 2024
1 parent 3c3f725 commit 6d855b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/webin
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,11 @@ Match Group sftponly
foo=${falus%$suffix}
sudo sed -i "s/$falus/$foo/" /etc/ssh/sshd_config
fi

# Not needed anymore!
# Remove in the future!
# Keep it just for compatibility with old instalations!
sudo sed -i '/www-data:/c\www-data:x:33:33:www-data:\/var\/www:\/usr\/sbin\/nologin' /etc/passwd

conf_write login-www-data false
conf_write sftp-www-data false
Expand Down

0 comments on commit 6d855b9

Please sign in to comment.