From 9af4983266ea1a1fedfe97bb122779322470275b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 21 Aug 2016 18:29:36 +0200 Subject: [PATCH] gnu: openssh: Set the default sshd user PATH to something sensible. * gnu/packages/ssh.scm (openssh)[arguments]: Pass "--with-default-path". --- gnu/packages/ssh.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index c6ff788b0d..b2612a495f 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -146,6 +146,9 @@ (define-public openssh `(#:test-target "tests" #:configure-flags '("--sysconfdir=/etc" + ;; Default value of 'PATH' used by sshd. + "--with-default-path=/run/current-system/profile/bin" + ;; Enable PAM support in sshd. "--with-pam")