I tried to create a non-root user account from the command line interface. I noticed that /etc/default/useradd
is present so I used useradd -m MyUsername
. However, it complains about an invalid username irrespective of the name I use.
I then tried adduser
which lets me create an account and automatically creates an empty home folder, but the account is not listed in the graphical "User Manager" in the control panel.
What is the correct way to create a new user account from CLI so that it is also listed in the graphical interface?
Thanks for your feedback!