User Tools

Site Tools


Creating users

This is my favorite command to create users. This command creates a user USERNAME with a user-group, in other words, a group with its own name, who allows a tighter permission access to its directory.

# useradd --create-home --shell /bin/bash --user-group USERNAME

To give this user sudo permissions:

# usermod --append --groups sudo USERNAME
linux/creandousuarios.txt · Last modified: 2022/12/02 22:02 by