DEV Community

Discussion on: useradd vs adduser: Which command to use?

Collapse
 
apapsch profile image
Aljosha Papsch

adduser is a Debian thing, nice for its interactive mode. useradd on the other hand is part of the shadow package and can be expected to be found on many different distributions.

Collapse
 
raibtoffoletto profile image
Raí B. Toffoletto

I think adduser is just a python wrapper if I remember.
I personally always go with useradd even in deb based distros.