* [ptxdist] [PATCH] projectroot: etc/passwd: Change home of root
@ 2016-07-27 11:17 David Jander
0 siblings, 0 replies; only message in thread
From: David Jander @ 2016-07-27 11:17 UTC (permalink / raw)
To: ptxdist; +Cc: Michael Olbrich, David Jander
systemd assumes $HOME of root to be "/root", and apparently so do most
other Linux distributions. Adapt to the de-facto standard.
Signed-off-by: David Jander <david@protonic.nl>
---
projectroot/etc/passwd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projectroot/etc/passwd b/projectroot/etc/passwd
index b75ed9f..29c8557 100644
--- a/projectroot/etc/passwd
+++ b/projectroot/etc/passwd
@@ -1,4 +1,4 @@
-root:x:0:0:root:/home:/bin/sh
+root:x:0:0:root:/root:/bin/sh
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
ftp:x:11:101:ftp user:/home:/bin/false
www:x:12:102:www user:/home:/bin/false
--
2.7.4
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-27 11:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-27 11:17 [ptxdist] [PATCH] projectroot: etc/passwd: Change home of root David Jander
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox