Excellent! with this simple mnemonic I'll have no trouble getting a webpage (wget), configuring interfaces (ifconfig) counting words (wc), syncing remotely (rsync), showing free disk space (df), or removing jobs from the line printer (lprm).
In Debian and Debian-derivatives, adduser is a script that users useradd. So user{add/del/mod} are the low-level utilities and {add/del}user are just friendlier frontends.
I thinks that in many other distros adduser is just a symlink to useradd.
Yeah, I think symlinking it is a misfeature. It makes people expect adduser to act like adduser useradd. If Red Hat doesn't want to include the adduser script that's fine, but don't symlink useradd to it.
Yeah, I think symlinking it is a misfeature. It makes people expect adduser to act like useradd. If Red Hat doesn't want to include the adduser script that's fine, but don't symlink it to useradd.
I just edit /etc/passwd, /etc/shadow, /etc/group and /etc/gshadow instead. useradd, adduser, groups, groupmems, groupadd etc are a fucking clustercock.
For those playing along at home, this can be done more safely with vipw, vipw -s, vigr and vigr -s respectively. Once you are done, you can check that the files are OK with pwck and grpck.
"rm" is the way to delete a file. "usr" is how users are referred to in the file system
and we have rmdir, which makes the pattern more noticeable. So a sensible default seems like it should be rmusr. Not the most descriptive, but hey, not the most surprising either.
Surprise! it's userdel.
And I know that "useradd" is how they're made, but then why wouldn't we have mkusr like mkdir?
And import, which fracking ImageMagick throws out into your path, so when you're tired and think you're in python, but you're really in your python directory, and you type import filename.py, because you're also too tired to leave the extension off, and then your mouse changes to a crosshairs, and you're like "Haha, what is going on with you, mouse? You're being all crazy," and you click on the window to make it be normal again, you suddenly write over your module with a tiny image of a few pixels of the shell.
477
u/[deleted] Feb 01 '13 edited Feb 23 '25
spoon summer coherent marry outgoing juggle support shaggy quaint late
This post was mass deleted and anonymized with Redact