4 ms·
I am glad to see I am not the only one constantly confusing useradd and adduser.
by mattew 16y ago
I am glad to see I am not the only one constantly confusing useradd and
adduser.
- pgbovine 16y agonitpick on that point ... how is that related to programming? seems more like unix sysadmin/IT knowledge e.g., a veteran programmer working in a MS Windows environment all his/her life would never run into something like this
- arethuza 16y agoHave you tried using PowerShell for something non-trivial? It's equally prone to this kind of problem as Unix command lines. As far as I know you don't even have a single standard cmdlet to create a user in AD using PowerShell - you have to install the Quest tools for managing AD through PowerShell to get a sensible set of commands.
- Slackwise 16y agoI always remember because I associate easier/proper grammar with user friendliness: "adduser" is proper and runs the prompt-based script for adding users, whereas useradd is the unix command that goes along with userdel and usermod, etc.
- nicpottier 16y agoHeh, thanks for the tip, we'll see if that works for me next time. I am definitely one of the adduser challenged.
- thristian 16y agoI don't get them confused, because I don't do sysad work. I do, however, frequently frown at the similarly-named "createuser" command which (as I'm sure you guessed from the name) adds a user to a PostgreSQL database cluster.