sudo cat /etc/passwd | cut -d: -f1
cat /etc/group
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
Agregar a todos