SIMULATION -
Add admin group and set gid=600 -
SIMULATION -
Add admin group and set gid=600 -
To add a group named 'admin' with a group ID (gid) of 600, you can use the command 'groupadd -g 600 admin'. This command creates a new group with the specified gid. If you need to verify the group's creation, you can use commands like 'getent group | grep admin' or 'cat /etc/group' to check if the group exists with the correct gid.
groupadd -g 600 admin
To check you can use #getent group
groupadd -g 600 admin to verify getent group | grep admin
if the group already exist do this groupmod admin --gid 600
to create: sudo groupadd -g 600 admin to verify: grep 600 /etc/group
also you can use the following to check: cat /etc/group