So much confusion on Linux machine ;) LOL
@nixCraft I just edit the ldap tree. Maybe I clone an existing user. Maybe.
@nixCraft
# vi /etc/group /etc/passwd -O
@nixCraft Too difficult for us old timers. We just hack the files with vim.
@d3rrick @nixCraft I'm always tempted to just edit the files instead of choosing between adduser or useradd, but I fear forgetting editing some file and breaking something
@arcepi @nixCraft Of course you need to be careful. Don't for example start hacking in /etc after a liquid lunch on a Friday. Otherwise, if you always make a backup copy of each file before you edit it, all should go well. Oh and don't forget the shadow passwords.
@nixCraft Use Arch Linux which doesn't have adduser in their main repository :)
@nixCraft It's useradd isn't it?
@duncte123 useradd is required by POSIX and works on any POSIX-like system. adduser ist a frontend created by Debian and can do a few extra things.
@nixCraft As the manpage says:
useradd is a low level utility for adding users. On Debian,
administrators should usually use adduser(8) instead.
@nixCraft I have to look up the manual for this every time lol
@pychang @nixCraft oh man, me too. I just can't make by brain remember which is which.

@nixCraft

IIRC one is more interactive than the other, or is that more of a #BSD thing?

@nixCraft I wrote something about this many years ago. The TLDR is:

"useradd" and "userdel" if you want to script it.

"adduser" and "deluser" if you want interactive prompts.