All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eugen.Hristev at microchip.com <Eugen.Hristev@microchip.com>
To: buildroot@busybox.net
Subject: [Buildroot] Question on users and ssh access
Date: Mon, 28 Jun 2021 08:55:59 +0000	[thread overview]
Message-ID: <82f467ec-fbb3-9e87-be88-b5b51fc9b632@microchip.com> (raw)

Hello everyone,

Maybe you can help me with a small matter related to user accounts in 
Buildroot ?

By default the /home directory does not exist, thus when using adduser 
to create a user, the creation of /home/foo fails ... and this causes 
login with ssh to the user impossible due to lack of home dir.

Any recommendation on how to solve this ? It is preferred to set a 
password for root for ssh access (as root has /root as home) ? or add a 
post-script to create the /home in the rootfs ?

Thanks !
Eugen

             reply	other threads:[~2021-06-28  8:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-28  8:55 Eugen.Hristev at microchip.com [this message]
2021-06-28  9:06 ` [Buildroot] Question on users and ssh access Maxim Kochetkov
2021-06-28  9:11   ` Eugen.Hristev at microchip.com
2021-07-03 13:38 ` Arnout Vandecappelle

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=82f467ec-fbb3-9e87-be88-b5b51fc9b632@microchip.com \
    --to=eugen.hristev@microchip.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.