Sunday, May 5, 2024
213
rated 0 times [  213] [ 0]  / answers: 1 / hits: 300141  / 2 Years ago, sun, march 13, 2022, 9:26:24

How can I see all the members of a group in Linux?


More From » user-management

 Answers
0

Use the commands:


getent group groupname

or


getent group groupname | awk -F: '{print $4}' |  tr "," " "

[#38447] Monday, March 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eatack

Total Points: 245
Total Questions: 120
Total Answers: 113

Location: Estonia
Member since Wed, Jun 8, 2022
2 Years ago
eatack questions
Sun, Mar 6, 22, 20:44, 2 Years ago
Tue, Feb 8, 22, 20:50, 2 Years ago
Sat, May 20, 23, 13:30, 1 Year ago
;