How to create a user account on Ubuntu Linux
You can create a new user account on Ubuntu Linux using the adduser or useradd command. Here is an example of how to create a new user named "newuser":
$ sudo adduser newuserThe above command will prompt you to enter a password and other information for the new user. If you want to automate the process, you can use the following command:
$ sudo useradd -m -s /bin/bash newuser
$ sudo passwd newuserThe first command creates the new user account and sets the default shell to /bin/bash. The second command sets the password for the new user.
Once the user account is created, you can switch to it using the su command:
$ su - newuserAnd you can switch back to the root account using the exit command:
$ exitYour Account is created