About user account

Hi,

About user account and group, I have two questions:

  1. looks like the user create by adduser command doesn’t belong to any group.
  2. can’t create user group and can’t add user to exist group.
  3. how to get root password?

can you give some suggestion? is there any document about these question?

thanks!

you should use snap create-user ... to create a user … or better simply finish the first-boot wizard that comes up on first boot of the device …

while it is technically possible to add further users, Ubuntu core isnt necessarily designed as a multi-user system but for use in appliances (without user) or as headless embedded system. so adding more users (i.e. for development purpose or testing something) might require that you jump thrugh some hoops…