• Multiplexer@discuss.tchncs.de
      link
      fedilink
      arrow-up
      33
      arrow-down
      1
      ·
      2 days ago

      But the only command that I have to look up every damn time, although it has no abbreviation at all, is useradd.
      Oh no, wait, I mean adduser!
      … No, wait again… aah…

      • betterdeadthanreddit@lemmy.world
        link
        fedilink
        English
        arrow-up
        32
        ·
        2 days ago

        Next update changes it to usadder as a compromise. Supposedly, it’s short for “user adder” but we all know it’s to make “[you] sadder”.

      • Hawke@lemmy.world
        link
        fedilink
        arrow-up
        15
        ·
        2 days ago

        All the worse that Debian has both useradd and adduser. I never remember which is the one I want. And in Redhat-derivatives it’s something even more confusing.

        The only thing I ever want to do is add a user to a group, is that too much to ask?

        • rtxn@lemmy.worldM
          link
          fedilink
          arrow-up
          12
          ·
          edit-2
          2 days ago

          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.

    • uranibaba@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      2 days ago

      First time I have to use it, the spelling really confused me. Wrote unmount and didn’t understand why it didn’t work.