How do you find members of a UNIX group?

How do you find members of a UNIX group?
Answer
You can
use getent to display the group’s information. getent uses library calls to fetch the group information, so it will honour settings in /etc/nsswitch. conf as to the sources of group data.
 

Tìm kiếm

Back
Top