diff --git a/Cfg/etc/idmapd.conf/idmapd.conf b/Cfg/etc/idmapd.conf/idmapd.conf deleted file mode 100644 index 5d03f34..0000000 --- a/Cfg/etc/idmapd.conf/idmapd.conf +++ /dev/null @@ -1,14 +0,0 @@ -[General] - -Verbosity = 0 -Pipefs-Directory = /var/lib/nfs/rpc_pipefs -Domain = crans.org - -[Mapping] - -Nobody-User = nobody -Nobody-Group = nogroup - -[Translation] - -Method = nsswitch diff --git a/Python/etc/monit/services b/Python/etc/monit/services index 79f2355..82220b7 100644 --- a/Python/etc/monit/services +++ b/Python/etc/monit/services @@ -153,7 +153,7 @@ service("openvpn-freebox", init="openvpn", extra=["depends on openvpn-komaz"]) -pg_version = '9.1' if has('crans-wheezy') else '8.4' +pg_version = '8.4' if has('squeeze') else '9.1' service("pgsql-server", name="postgresql", init="postgresql", @@ -289,7 +289,7 @@ for line in metadata.Probes["fstab_local"].splitlines(): # Permission attendue perm = '660' - if has('crans-wheezy'): + if not has('squeeze'): perm = '1' + perm # on vérifie le filesystem directement pour les volumes lvm diff --git a/Python/etc/ssh/sshd_config b/Python/etc/ssh/sshd_config index a41117f..1baf59e 100644 --- a/Python/etc/ssh/sshd_config +++ b/Python/etc/ssh/sshd_config @@ -64,7 +64,10 @@ header("Configuration du serveur ssh") %X11Forwarding yesno(has("users") or has("2B")) @X11DisplayOffset 10 -@PrintMotd yes +if has("squeeze"): + @PrintMotd yes +else: + @PrintMotd no @PrintLastLog yes @TCPKeepAlive yes @#UseLogin no