adduser is an interactive wrapper for useradd. It can, for example, prompt the user to set a password rather than execute passwd separately. Very useful if you just want to manage a user without reading through useradd’s command line options, then running usermod because you forgot to set something.
It doesn’t excuse the bad naming, I’d rather have something like useradd --interactive, but it’s worth remembering.
adduser
is an interactive wrapper foruseradd
. It can, for example, prompt the user to set a password rather than executepasswd
separately. Very useful if you just want to manage a user without reading throughuseradd
’s command line options, then runningusermod
because you forgot to set something.It doesn’t excuse the bad naming, I’d rather have something like
useradd --interactive
, but it’s worth remembering.