Guides tagged “usermod”

Step-by-step MdmHost guides about usermod, sorted A-Z.

2 guides

  • Add a user to a group in Linux

    Add an existing Linux user to a group with usermod -aG or gpasswd, check the result with id, understand why a new login is needed, and remove a user from a group.

    BeginnerLinux server4 min read
  • Lock, unlock or disable a Linux user account

    Stop a Linux user from logging in without deleting them. Lock the password, expire the account, set a nologin shell, check the status and unlock it again later.

    BeginnerLinux server5 min read

Browse by topic

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.