Bug 13561

Summary: Create a new user defining users-table.txt not working fine
Product: buildroot Reporter: Ivan Castell Rovira <al004140>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: 2020.02.1   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Ivan Castell Rovira 2021-02-24 08:07:16 UTC
I am trying to create a new admin user in my rootfs, following suggested procedure, with this steps:

$ make menuconfig 
    > 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!
Comment 1 Ivan Castell Rovira 2021-02-24 10:50:20 UTC
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!