mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: David Jander <david@protonic.nl>
To: ptxdist@pengutronix.de
Cc: Michael Olbrich <m.olbrich@pengutronix.de>,
	David Jander <david@protonic.nl>
Subject: [ptxdist] [PATCH] projectroot: etc/passwd: Change home of root
Date: Wed, 27 Jul 2016 13:17:26 +0200	[thread overview]
Message-ID: <1469618246-20472-1-git-send-email-david@protonic.nl> (raw)

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

                 reply	other threads:[~2016-07-27 11:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1469618246-20472-1-git-send-email-david@protonic.nl \
    --to=david@protonic.nl \
    --cc=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox