Create new user Debian 10

To add a new user run this command

adduser newuser

for example :-

root@myserver:~# adduser limiteduser
Adding user `newuser' ...
Adding new group `newuser' (1000) ...
Adding new user `newuser' (1000) with group `newuser' ...
Creating home directory `/home/newuser' ...
Copying files from `/etc/skel' ...

You will be asked to choose a password for the user

New password:testaccount
Retype new password:testaccount
passwd: password updated successfully
Changing the user information for limiteduser

You will ten be asked for some additional information about he new user , i just Presses enter for default u can enter whatever u wish

Enter the new value, or press ENTER for the default
        Full Name []:
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n]

You Have now successfully created a new user

If you want to make this user a sudo user read this article

Referrals

1 thought on “Create new user Debian 10”

  1. Pingback: Create new sudo user debian 10 – linuxguides.net

Leave a Comment

Your email address will not be published. Required fields are marked *