User Tools

Site Tools


linux:creandousuarios

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:creandousuarios [2017/02/06 14:50] (current)
rlunaro created
Line 1: Line 1:
 +====== 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. ​
 +
 +<​code>​
 +# useradd --create-home --shell /bin/bash --user-group USERNAME
 +</​code>​
 +
 +To give this user sudo permissions:​
 +
 +<​code>​
 +# usermod --append --groups sudo USERNAME
 +</​code>​
 +
 +
 +
 +
  
linux/creandousuarios.txt ยท Last modified: 2017/02/06 14:50 by rlunaro