gnu: openssh: Set the default sshd user PATH to something sensible.

* gnu/packages/ssh.scm (openssh)[arguments]: Pass
"--with-default-path".
This commit is contained in:
Ludovic Courtès 2016-08-21 18:29:36 +02:00
parent 39012aab33
commit 9af4983266
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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")