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

Re: List of users from a certain group



Ok, I was creating users using useradd -g instead of useradd -G,
therefore they were not added in the file /etc/group.

Thanks for the help.

Chainy.

El sáb, 01-02-2003 a las 17:10, sean finney escribió:
> On Sat, Feb 01, 2003 at 05:38:02PM +0100, Calber Chainy wrote:
> > 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?
> 
> how about
> 
> grep ^correo /etc/group
> 
> 
> hth
> 	sean




Reply to: