home.social

#useradd — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #useradd, aggregated by home.social.

fetched live
  1. @Larvitz

    1.

    There may be equivalents to "pkg which" in some of the other package managers.

    2.

    "pw useradd" is not a straight exchange for shadow-utils useradd.

    The very annoying gotcha (which means that one cannot just write a pw() shell function that strips the command name) is that they do not agree on whether the options come before or after the username argument.

    #FreeBSD #pw #pkg #useradd #dpkg

  2. @Larvitz

    1.

    There may be equivalents to "pkg which" in some of the other package managers.

    2.

    "pw useradd" is not a straight exchange for shadow-utils useradd.

    The very annoying gotcha (which means that one cannot just write a pw() shell function that strips the command name) is that they do not agree on whether the options come before or after the username argument.

    #FreeBSD #pw #pkg #useradd #dpkg

  3. Hint: use adduser, which is perl wrapper around useradd when working interactively and useradd from scripts, as it is more portable.

    (And if you’re setting up a server in an automated fashion, let cloud-init, etc., handle it for you.)

    #linux #userAdd #addUser #cloudInit #server #setup #interactive #scripted

  4. Hint: use adduser, which is perl wrapper around useradd when working interactively and useradd from scripts, as it is more portable.

    (And if you’re setting up a server in an automated fashion, let cloud-init, etc., handle it for you.)

    #linux #userAdd #addUser #cloudInit #server #setup #interactive #scripted

  5. Linux: We have no idea why folks think we’re hard to use.

    Also Linux: Would you like to use useradd or adduser to add a user to your system?

    🤔

    #linux #userAdd #addUser #decisionDecisions

  6. Linux: We have no idea why folks think we’re hard to use.

    Also Linux: Would you like to use useradd or adduser to add a user to your system?

    🤔

    #linux #userAdd #addUser #decisionDecisions

  7. @rose_myrtle
    Passwords for what, precisely? Who told you not to use p/ws. We're pretty sure you should still use p/ws

    Setup another login for other persons. Don't give them read access to important files? On Unix the command to add a user is something like #useradd.

    Maybe don't include that user in the group called #wheel, 'wheel' allows them to use #sudo/#superUserDo/root etc.

    Its been a long time since we did this though so if someone else has any ideas/improvements then please help here.