User Tools

Site Tools


linux:creandousuarios
no way to compare when less than two revisions

Differences

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


Last revision
linux:creandousuarios [2017/02/06 14:50] – created rlunaro
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: 2022/12/02 22:02 by 127.0.0.1