summaryrefslogtreecommitdiff
path: root/gnu/system.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2018-04-12 15:22:57 -0400
committerMark H Weaver <mhw@netris.org>2018-04-12 15:22:57 -0400
commita368663a567b5bcf25db207d03abae144cbc7493 (patch)
treee6d46e594cc947e9ad20e9f8c5df3a170d3b2f9d /gnu/system.scm
parent4b20e079cb5792c50755ee4fde1142dbda5ce898 (diff)
parente90c5f35d14b4c956d4b1a39eac656ac6884c992 (diff)
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/system.scm')
-rw-r--r--gnu/system.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index c35615abf6..c68455bddc 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -570,7 +570,16 @@ This is the GNU system. Welcome.\n")
(define* (operating-system-etc-service os)
"Return a <service> that builds containing the static part of the /etc
directory."
- (let ((login.defs (plain-file "login.defs" "# Empty for now.\n"))
+ (let ((login.defs
+ (plain-file "login.defs"
+ (string-append
+ "# Default paths for non-login shells started by su(1).\n"
+ "ENV_PATH /run/setuid-programs:"
+ "/run/current-system/profile/bin:"
+ "/run/current-system/profile/sbin\n"
+ "ENV_SUPATH /run/setuid-programs:"
+ "/run/current-system/profile/bin:"
+ "/run/current-system/profile/sbin\n")))
(issue (plain-file "issue" (operating-system-issue os)))
(nsswitch (plain-file "nsswitch.conf"