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

Re: List of users from a certain group



* Neal Lippman <nl@lippman.org> [030203 07:40]:
> On Sun, 2003-02-02 at 14:18, Jason Lunz wrote:
> > chainy@infonegocio.com said:
> > > I have a group of users in my system just for mail, the name of that
> > > group is "correo".
> > > 
> > > My question is, how do I obtain a list of users from this group?
> > 
> > $ apt-get install members
> > $ members correo
> > 
> > Jason
> > 
> 
> Why not just use
> $ grep correo /etc/group | cut -f 1 -d ":" | xargs echo

Don't know how the above packge deals with this, but NIS could bite
you on this one.

Nick.



Reply to: