From 6d855b962c6c79c0445d5c0c0d6113bd0e34b4dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristhian=20Mart=C3=ADnez=20Ochoa?= Date: Thu, 26 Sep 2024 12:03:52 -0700 Subject: [PATCH] testing Small fix after testing. --- lib/webin | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/webin b/lib/webin index 4ca40df..fe1c6af 100644 --- a/lib/webin +++ b/lib/webin @@ -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