Rich Freeman on 13 Nov 2011 06:40:28 -0800

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Finding a /etc/group entry containing a user list

On Sun, Nov 13, 2011 at 9:24 AM,  <> wrote:
> Nice... or slightly more compact:
>        groups $users | cut -d: -f2-|tr " " "\012" |sort | uniq -c | sort -nr

Apparently not all groups implementations support multiple arguments
(like the one standard on Gentoo :) ).  So, that might need to be
tweaked on some distros.  From the very little that I've been able to
google I'm not sure that this command is even all that standardized.

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --