saving . . . saved Creating user accounts has been deleted. Creating user accounts has been hidden .
Creating user accounts
What is difference between useradd and adduser command?
Which to use?

Linux-for-Sys-Ads Creating-user-account 04-05 min 0-10 sec 23-08-19, 2:31 p.m. girishtere


useradd command is a simple linux command that create a user account in one shot using various options.we have to manually add command line options like groups,home directory path, password,username.
For example: sudo useradd -g testuser_group -d /home/testuser -s /bin/bash -p my_password -m testuser

adduser command perform the same action but this program is more user friendly version. adduser command ask you series of questions while creating user  like first name/last name of user, creating home directory path,enter password etc.
23-08-19, 3:35 p.m. ganeshmohite

Thank you.
23-08-19, 3:39 p.m. girishtere

Log-in to answer to this question.