summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-08-21 18:29:36 +0200
committerLudovic Courtès <ludo@gnu.org>2016-08-22 00:20:48 +0200
commit9af4983266ea1a1fedfe97bb122779322470275b (patch)
tree881ed22ac876e2daf9bb2b6274c3fe37a3afeb14 /gnu
parent39012aab3333868d5ab3b39c95682f95212437e2 (diff)
downloadpatches-9af4983266ea1a1fedfe97bb122779322470275b.tar
patches-9af4983266ea1a1fedfe97bb122779322470275b.tar.gz
gnu: openssh: Set the default sshd user PATH to something sensible.
* gnu/packages/ssh.scm (openssh)[arguments]: Pass "--with-default-path".
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ssh.scm3
1 files changed, 3 insertions, 0 deletions
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 @@ a server that supports the SSH-2 protocol.")
`(#: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")