answersLogoWhite

0


Best Answer

On Debian or Ubuntu systems, useradd is a command itself, and you can create users and define options to them using this command, and adduser is a perl script, that uses useradd to create the account, asking you the password, Full-name, phone and others ..

On Fedora or CentOS systems, adduser is just a symbolic link to useradd, but may try to copy the script from a Debian system to the CentOS one, I have never tried it, and may need to modify it a little before using it.

On Gentoo systems, is the same as in CentOS or Fedora, adduser is just a symbolic link to useradd.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between the useradd and adduser command?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the differences between adduser and useradd commands in a linux machhine?

On Debian or Ubuntu systems, useradd is a command itself, and you can create users and define options to them using this command, and adduser is a perl script, that uses useradd to create the account, asking you the password, Full-name, phone and others .. On Fedora or CentOS systems, adduser is just a symbolic link to useradd, but may try to copy the script from a Debian system to the CentOS one, I have never tried it, and may need to modify it a little before using it. On Gentoo systems, is the same as in CentOS or Fedora, adduser is just a symbolic link to useradd.


Which command is used to add user accounts in Linux?

"useradd" command and sometimes adduser command. Please refer to the manual page of the command by issuing "man useradd" for detailed information


What is the command to create a user in Linux?

su command is used to change the user.


How do create a user without adduser command on fedora?

The only other way to create a user other than the appropriate adduser or useradd command is to use a graphical frontend to these tools, such as GNOME's User Manager or KDE's KUser.


Which command line utility is used to add user account?

In linux adduser and useradd commands are used to add user account.


What is the difference between mkuser and useradd command in AIX?

The syntax is the only difference. Both accomplish the same thing and if you compare the man pages of these commands, you will see that they are effectively the same text. useradd is the 'standard' UNIX command for adding users, present on solaris, HPUX, etc. mkuser follows aix specific syntax that uses name,value pairs to define the attributes.


What does the -m switch do with the useradd command?

There are many variations of the useradd command; most standard installations may not have this switch. Please identify which Unix system you are talking about.


How do you create a user in Unix?

Use useradd command


Which command is used to add user accounts Linux?

useradd <username> <other-options> For detailed information, please refer the man (manual) pages ex: man useradd


How do you make a new user on Linux?

There is a command called useradd in Linux which you can use to add a new user. Here's an example 1. Add the user (you need to be a superuser to run this command) # useradd test 2. Set the password # passwd test Changing password for user test. New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully.


How do you create users in Linux?

To create a new user account under any Linux distribution use command called useradd. The system administrator is responsible for creating account. Login as root user (or use sudo command).


How do you add a user on Fedora 9?

There are two ways you can add a user on Fedora 9. The first is to use the User Manager tool. The second is to use the command line tool useradd.