All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxim Kochetkov <fido_max@inbox.ru>
To: buildroot@busybox.net
Subject: [Buildroot] Question on users and ssh access
Date: Mon, 28 Jun 2021 12:06:31 +0300	[thread overview]
Message-ID: <37078d3b-031f-8643-e200-62300beb1ae4@inbox.ru> (raw)
In-Reply-To: <82f467ec-fbb3-9e87-be88-b5b51fc9b632@microchip.com>

28.06.2021 11:55, Eugen.Hristev--- via buildroot wrote:
> 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
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 

Try this:
https://buildroot.org/downloads/manual/manual.html#customize-users

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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-28  8:55 [Buildroot] Question on users and ssh access Eugen.Hristev at microchip.com
2021-06-28  9:06 ` Maxim Kochetkov [this message]
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=37078d3b-031f-8643-e200-62300beb1ae4@inbox.ru \
    --to=fido_max@inbox.ru \
    --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.