Create User in Linux
Use adduser or useradd command to create user accounts on the Linux system. Some of the operating systems provide only one command. All the user’s entry is available in /etc/passwd file.
Syntax:
adduser vs useradd command
On Debian systems, adduser is a separate Perl script to create user accounts with enhanced options. It also uses the useradd command in the background for creating accounts. But on Redhat and many other derivatives just have adduser as symlink of useradd command.
Create User in Linux
Use the adduser command to create a user test on your system. This will prompt for the password and some other details on Debian systems.
You can also override the default values with adduser command. For example, specify the home directory and the default shell for the user.
0 Comments
CAN FEEDBACK
Emoji