Pages

Monday, January 21, 2013

List all linux groups on a box

Use any of these commands:

less /etc/group
cat /etc/group
more /etc/group
most /etc/group

or
getent group
which will show all groups: local, NIS, and LDAP (and any others available through NSS), if your box has that.

No comments:

Post a Comment