ok folks, we need a mnemonic for whether to use useradd or adduser
wait what's the benefit of using useradd over adduser? adduser seems to be way more convenient
@suricrasia afaik useradd is only there for compatibility
@suricrasia why use more when more is less?
@suricrasia useradd is consistent across distros, adduser is a debianism. on debian adduser is better because it actually does everything you want by default because login.defs is poorly configured

@suricrasia @iliana useradd is also more useful in automating user account creation, whereas adduser is meant to be interactive.

I want to say adduser uses useradd under the hood? but I'm not at a computer to confirm that

@flurry @suricrasia @iliana yup, adduser is a few thousand lines of perl piled on top of useradd/groupadd :)

@iliana @suricrasia Silly question: why has everyone else just not copied it over?

I thought the whole point of open Source was so you could go yoink, mine now

@Canageek @suricrasia a distro maintainer would have to care enough to do it and there's honestly not much point. shadow-utils works well both for manual use and for automated use
@iliana @suricrasia fwiw busybox has adduser/addgroup too, making it somewhat useful on embedded systems
@suricrasia adduser was born a perl wrapper around useradd because useradd sucks.
@suricrasia
Y'all don't just use vipw?

@suricrasia

A few years ago I started muttering "do you want to user an add, or add a user" to myself and it seemed to help.

@suricrasia useradd? that's pretty rad! adduser? maybe if yuo're a loser!
@suricrasia adduser, if it's there
@suricrasia righty tighty lefty loosey
@suricrasia New-LocalUser avoids this problem.
@suricrasia idk i use useradd because i also use usermod and moduser isnt a thing to my knowledge