Code: [Select]
addgroup --system admin
Code: [Select]
Adding group `admin' (GID 121) ...
Done.
Code: [Select]
addgroup --system admin
Code: [Select]
addgroup: The group `admin' already exists as a system group. Exiting.
Code: [Select]
adduser kamilion admin
Code: [Select]
Adding user `kamilion' to group `admin' ...
Adding user kamilion to group admin
Done.
In this case, admin is a local group, and kamilion is a zentyal ldap user.
OPTIONALLY, allow sudo access for ‘admin’ group users:
Code: [Select]
echo "%admin ALL=(ALL) ALL" >> /etc/sudoers
Sobre o Autor