Skip to contentSkip to conversation

New: Create a new user defining users-table.txt not working fine

Buildroot bugzilla at busybox.net 1 participant 2 messages Feb 24, 2021

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=13561

Bug ID: 13561
Summary: Create a new user defining users-table.txt not working
fine
Product: buildroot
Version: 2020.02.1
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: al004140 at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---

I am trying to create a new admin user in my rootfs, following suggested procedure, with this steps:

$ make menuconfig 
Quoted 1 line

System Configuration

> (board/company/users-table.txt) Path to the users tables
> Save and exit

Then created the file:

$ cat board/company/users-table.txt
admin -1 admin -1 =supersecret /home/admin /bin/sh - Admin user

And finally:

$ make all

The process ends fine, without errors.

After that, the targetfs build doesn't includes admin user nor in /etc/shadow nor in /etc/passwd.

However, the same procedure is working as expected when using a buildroot 2018.02.7. Please some help with this! Thx!

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 13561] Create a new user defining users-table.txt not working fine

https://bugs.busybox.net/show_bug.cgi?id=13561

Ivan Castell Rovira <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Ivan Castell Rovira <[email protected]> --- It works as expected, just get confused as the output target directory doesn't contain this user, it seems to be created in a last step. This can be closed. Thanks!

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.