Ravi Sir's Cards › AWS
useradd vs adduser
This comparison card contrasts useradd and adduser. useradd is described as low-level, same on all distros. adduser is described as friendly script on Debian. The card pairs useradd with scripts and automation, and adduser with manual setup on Ubuntu.
Read card text
What this card says
Style
useradd
Low-level, same on all distros.
adduser
Friendly script on Debian.
Key points
Needs -m for home.
Asks questions, makes home.
Example
useradd -m nikhil
Use when
Scripts and automation.
Manual setup on Ubuntu.