Am 2007-03-07 05:59:38, schrieb kawanokami:
sorry... I should have mentioned that I looked into that too. It
doesn't seem to list the group owner... I mean: group www-data doesn't
A GROUP does not have an owner.
contain user www-data and so I end up not knowing if a specified group
The USER
Hi, I know the question may have simple answer... but I googled to no
avail for quite some time now.
Is there a command to list all users that are part of a group?
If I look into /etc/passwd I can see some informations, but not all
and not easy to reconstruct.
Thank you all for any advice,
Matteo
On Wed, 2007-03-07 at 05:14 -0800, kawanokami wrote:
Is there a command to list all users that are part of a group?
If I look into /etc/passwd I can see some informations, but not all
and not easy to reconstruct.
What about /etc/group?
--
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID
Hi,
Hi, I know the question may have simple answer... but I googled to no
avail for quite some time now.
Is there a command to list all users that are part of a group?
If I look into /etc/passwd I can see some informations, but not all
and not easy to reconstruct.
Thank you all for any
kawanokami wrote:
Hi, I know the question may have simple answer... but I googled to no
avail for quite some time now.
Is there a command to list all users that are part of a group?
If I look into /etc/passwd I can see some informations, but not all
and not easy to reconstruct.
Thank you all for
On 7 Mar, 14:50, Sven Arvidsson [EMAIL PROTECTED] wrote:
What about /etc/group?
sorry... I should have mentioned that I looked into that too. It
doesn't seem to list the group owner... I mean: group www-data doesn't
contain user www-data and so I end up not knowing if a specified group
is owned
kawanokami wrote:
Hi, I know the question may have simple answer... but I googled to no
avail for quite some time now.
Is there a command to list all users that are part of a group?
If I look into /etc/passwd I can see some informations, but not all
and not easy to reconstruct.
Thank you all for
On 7 Mar, 15:00, Cédric Lucantis [EMAIL PROTECTED] wrote:
I'd do this:
group=group-name
grep ^${group}: /etc/group | awk -F ':' '{print $4}'
It produces a comma separated list of users
It seems that there's no simple solution... This method is good, but I
can't know if a user is in a group
On 7 Mar 2007 05:14:34 -0800, kawanokami wrote
Hi, I know the question may have simple answer... but I googled to no
avail for quite some time now.
Is there a command to list all users that are part of a group?
If I look into /etc/passwd I can see some informations, but not all
and not easy
It seems that there's no simple solution... This method is good, but I
can't know if a user is in a group and is not listed because he owns
the group or if no such user is present because there is none...
Thanks anyway!
hmm, interesting :) Here's the simplest I could find (call it with
On 7 Mar, 17:10, Cédric Lucantis [EMAIL PROTECTED] wrote:
It seems that there's no simple solution... This method is good, but I
can't know if a user is in a group and is not listed because he owns
the group or if no such user is present because there is none...
Thanks anyway!
hmm,
11 matches
Mail list logo