When you use the useradd command to create a Linux user, the command automatically creates a Linux group with the same name. You can use the groupadd command to create a Linux group.
/usr/sbin/groupadd [-G gid [-o][-r][-f] group
To add a group, enter: groupadd staff
This groupadd command adds the group named staff.
For Netezza® HA systems, after you add the Linux group on one host, you must create exactly the same group with the same groupid value on the other host. To create Linux groups in a Netezza HA environment, use the following procedure:
[root@nzhost-h1 ~]# groupadd staff
[root@nzhost-h1 ~]# grep staff /etc/group
staff:x:501:
The first number after the x is the groupid.
[root@nzhost-h2 ~]# groupadd -g 501 staff
[root@nzhost-h2 ~]# grep staff /etc/group
staff:x:501: