User Tools

Site Tools


linux:creandousuarios

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: 2017/02/06 14:50 by rlunaro