15 Feb
2018
15 Feb
'18
22:24
On 02/15/2018 02:07 AM, Alex Naumov wrote:
Hey,
can someone tell me how to get users list of some primary group. For example, I know only the name of this group: users. This is primary group and I can see it in id(1) output. How to get list of users who has the same prrmary group? Without needing to parse files.
getent(1) and id(1) can do it, but it works contrariwise: it returns name of primary group (by giving user name).
Thanks for info!
Cheers, Alex
... or, you could simply go to Yast=> User and Group Management, and click on the groups tab. -- -Gerry Makaro aka Fraser_Bell on the forums, IRC, and mail at openSUSE.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org