1. Crear usuarios y asignar contraseñas

Untitled

2. Verificar si están creados con sudo cat /etc/passwd | cut -d: -f1

Untitled


3. Crear grupos con cat /etc/group

Untitled

Untitled


4. Agregar usuarios a un grupo

To add the user arosalez to the Sales group, enter sudo usermod -a -G Sales arosalez into the terminal and press Enter.

To verify that the user was added, enter cat /etc/group and press Enter.

Comprobamos que está en el grupo

Untitled

Agregar a todos

Untitled

Untitled

Untitled