Start typing Users in the Activities overview. Open the Users panel by clicking on it. When prompted, unlock your device and enter your password in the top right corner. To create a new user account, tap + beneath the list of accounts on the left.

Open the terminal application. Login to the remote box by using ssh [email protected] nTo add a new user in Ubuntu, use sudo adduser userNameHere.

The su command allows you to move the current user to another user account. If you need to run a command as a different (non-root) user, use the -l [username] option to provide the user account name. On top of that, su can also be used to instantly switch shells.

Select Start > Settings > Accounts > Family & other users. Select Add someone else to this PC under Other users. Fill in the account information of that individual and follow the on-screen instructions.

The “/etc/passwd” file on Linux must be edited with the “cat” command to list users. This command will show you a list of current users on your system when run. To go through the username list, use the “less” or “more” commands instead.