From bc199ad58d0cde01e2e139ceff61d8ce32023011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Tue, 18 Nov 2014 18:14:06 +0100 Subject: [PATCH] =?UTF-8?q?sshd=20modifi=C3=A9=20pour=20owncloud,=20histoi?= =?UTF-8?q?re=20d'emp=C3=AAcher=20les=20utilisateurs=20de=20se=20connecter?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Python/etc/ssh/sshd_config | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Python/etc/ssh/sshd_config b/Python/etc/ssh/sshd_config index 41b2d4b..ae3f0a8 100644 --- a/Python/etc/ssh/sshd_config +++ b/Python/etc/ssh/sshd_config @@ -81,3 +81,10 @@ header("Configuration du serveur ssh") @UsePAM yes @UseDNS yes +if has("owncloud"): + @#Owncloud doit laisser accès à l'ensemble des utilisateurs pour + @#faire un mount sshfs (sinon les fichiers ajoutés n'appartiennent + @#pas au bon utilisateur, mais on ne veut pas qu'ils puissent faire + @#quoi que ce soit sur la machine. + @Match Group !adm,!apprentis,* Address !127.0.0.1,* + @ ForceCommand /bin/false