[Buildroot] Question on users and ssh access

Maxim Kochetkov fido_max at inbox.ru
Mon Jun 28 09:06:31 UTC 2021

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:

More information about the buildroot mailing list