]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Revert "OpenSSH: restrict file permissions for sshd_config to 0600"
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Jun 2021 17:45:17 +0000 (17:45 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Jun 2021 17:45:17 +0000 (17:45 +0000)
This reverts commit a9fb87809eccdc7ea7736659ceec929a028761d4.

This prevents the SSH configuration being parsed by the web user
interface.

Reported-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/openssh

index ced1a7db97039f5d2c5a9bf7b80fbb922b4f58e9..3117e996c95aaded3f112738b87aca623a718a94 100644 (file)
@@ -84,7 +84,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && make install
 
        # install custom OpenSSH server configuration
-       install -v -m 600 $(DIR_SRC)/config/ssh/sshd_config \
+       install -v -m 644 $(DIR_SRC)/config/ssh/sshd_config \
                /etc/ssh/sshd_config
 
        # install custom OpenSSH client configuration