...
File used to keep track of network group privs. It use the ypgroup Unix databases
To see who is in a group use the command*
Code Block |
---|
netgroup <group_name>, e.g. netgroup 36cottrell@pinger:~>netgroup u-network-management u-network-management (-,antony,) (-,cal,) (-,cottrell,) (-,cxg,) (-,jerrodw,) (-,kmartell,) |
or
Code Block |
---|
ypmatch <group_name> group
ypmatch <group_name> netgroup, e.g.
35cottrell@pinger:~>ypmatch u-network-management netgroup
(-,antony,) (-,cal,) (-,cottrell,) (-,cxg,) (-,jerrodw,) (-,kmartell,)
|
or
Code Block |
---|
ypgroup exam \-group iepm
Group 'iepm':
GID: 2087
Comment:
Last modified at Aug 2 15:20:42 2006 by jonl
Owners: cal
Members: akbar, cal, cottrell, cxg, fawad, hasan, iepm,
jerrodw, jiri, maheshkc, rich, ytl
|
...
Code Block |
---|
ypgroup adduser \-group iepm \-user pinger |
# Please keep unix-admin & security notified when changes are needed, e.g. people changing function or moving etc.
...
Code Block |
---|
pts mem <group_name>, e.g. jerrodw@pinger $ pts mem maint-pkg-netmon Members of maint-pkg-netmon (id: \-4786) are: <list of user_id's belonging to this group> |
...
To add users to a particular group (only if you have privileges of course), issue the command
...