How to Create a New User in Raspberry Pi OS
Older versions of Raspberry Pi OS used to have standard user credentials by default. Although the newer version asks you to create a custom username and password during installation, you may need to create more users down the road to meet additional requirements.
You can do this easily using Linux commands, and since Raspberry Pi OS is a flavor of Linux, the same commands apply to other distros as well.
Create a New User in Raspberry Pi OS
You can use both useradd and adduser to create a new user on Linux; the commands are slightly different though. useradd is a low-level command and works with all Linux distributions, whereas adduser is high-level command and works with fewer distributions. Both commands work fine on Raspberry Pi OS.
Use this command to create a user named vishnu using useradd:
sudo useradd vishnu
However, the command does not create a home directory for the new user. This is how you would create system users that do not need a home directory. Also, you have to set the password for the new user using:
sudo passwd vishnu
In contrast, the adduser command asks you to set the password at the time of creating the user.
sudo adduser vishnu
Read More: How to Create a New User in Raspberry Pi OS – MakeUseOf