if i create a user(huangda) in ubunutu core system, then use this user to login ubuntu core, but cat /etc/passwd don’t have my user name info.
It’s using extrausers
; look in /var/lib/extrausers
.
You can probably also use getent passwd
, which queries the password database through NSS. That should automatically merge in the extrausers
table.
1 Like
thanks, now the user gourp name is same with the user name. how to create a user-specified user group?
I’m not sure what you’re wanting to do, exactly, but it looks like you do — what commands would you expect to use to accomplish what you want?