Re: How to list what users are in a group

2010-04-22 Thread Karl-Olov Serrander
On Wed, 21 Apr 2010, Aaron Konstam wrote:

 On Wed, 2010-04-21 at 15:59 +0200, Karl-Olov Serrander wrote:
 On Wed, 21 Apr 2010, Natxo Asenjo wrote:

 On Wed, Apr 21, 2010 at 12:39 AM, David Bartmess dingod...@edingo.net 
 wrote:
 This is a basic linux question, but how do I find out what users are
 included in a given group?

 Thanks!

 getent group groupname should do the trick.

 But that doeas not show users which has groupname as the primary group.

 Regards
 --
 Karl-Olov Serrander m11172.abc.se

 But that was not requested by the OP.
 --
 ===
 A well adjusted person is one who makes the same mistake twice without
 getting nervous.
 ===
 Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net

I was trying to make the point that if you have groupname as primary group you 
are a
member of group groupname, even if you're not listed when doing getent group 
groupname.

Regards
-- 
Karl-Olov Serrander m11172.abc.se
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-21 Thread Aaron Konstam
On Tue, 2010-04-20 at 16:39 -0600, David Bartmess wrote: 
 This is a basic linux question, but how do I find out what users are 
 included in a given group?
 
 Thanks!
 
Seems to me that their userid would have to appear in the groups entry
in the /etc/group file. 
 


--
===
There is no time like the present for postponing what you ought to be
doing.
===
Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-21 Thread Natxo Asenjo
On Wed, Apr 21, 2010 at 12:39 AM, David Bartmess dingod...@edingo.net wrote:
 This is a basic linux question, but how do I find out what users are
 included in a given group?

 Thanks!

getent group groupname should do the trick.

-- 
natxo
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-21 Thread Karl-Olov Serrander
On Wed, 21 Apr 2010, Natxo Asenjo wrote:

 On Wed, Apr 21, 2010 at 12:39 AM, David Bartmess dingod...@edingo.net wrote:
 This is a basic linux question, but how do I find out what users are
 included in a given group?

 Thanks!

 getent group groupname should do the trick.

But that doeas not show users which has groupname as the primary group.

Regards
-- 
Karl-Olov Serrander m11172.abc.se
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-21 Thread Chris Adams
Once upon a time, Karl-Olov Serrander m11...@abc.se said:
 On Wed, 21 Apr 2010, Natxo Asenjo wrote:
  On Wed, Apr 21, 2010 at 12:39 AM, David Bartmess dingod...@edingo.net 
  wrote:
  This is a basic linux question, but how do I find out what users are
  included in a given group?
 
  Thanks!
 
  getent group groupname should do the trick.
 
 But that doeas not show users which has groupname as the primary group.

No, for that you have to list all users and look at the primary group
field.

getent passwd | grep ^[^:]*:[^:]*:[^:]*:$(getent group groupname | cut -d: 
-f3):

Primary/aux groups in Unix are set up in a less-than-efficient way for
searching.
-- 
Chris Adams cmad...@hiwaay.net
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-21 Thread David Burns
On Tue, Apr 20, 2010 at 3:47 PM, Larry Brower la...@maxqe.com wrote:


 In addition, you may wish to reference RFC 2822 which obsoletes RFC 822


 http://www.faqs.org/rfcs/rfc2822.html
 --

Yes, that is clear. Okay, humble pie, yum yum, urp.

I still think 
http://fedoraproject.org/wiki/Mailing_list_guidelines#Starting_a_New_Subject
could be improved, in that few who actually understand it would
consciously violate it, but few who lack understanding would be
enlightened by reading it.

When you send in a new topic, do not start by replying to an existing
message, but rather, start a new message to
users@lists.fedoraproject.org. This keeps messages organized by
thread, for people who like to use threads (on high-volume mailing
lists like this one, threads can be a great convenience). 

maybe should be...

When you send in a new topic, do not start by replying to an existing
message, but rather, start a new message to
'users@lists.fedoraproject.org'. The 'reply' feature adds headers to
an email that will identify it as being part of the same thread as the
email to which it is replying, and that will cause confusion. A new
topic should have not only a new subject but begin a new thread.
Threads help many readers deal with the high volume of email flowing
through lists like this one. Your cooperation allows your fellow
readers to appreciate your contribution without technical hiccups. 

It's a bit long-winded. Hmmm.
Dave
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-21 Thread Aaron Konstam
On Wed, 2010-04-21 at 15:59 +0200, Karl-Olov Serrander wrote: 
 On Wed, 21 Apr 2010, Natxo Asenjo wrote:
 
  On Wed, Apr 21, 2010 at 12:39 AM, David Bartmess dingod...@edingo.net 
  wrote:
  This is a basic linux question, but how do I find out what users are
  included in a given group?
 
  Thanks!
 
  getent group groupname should do the trick.
 
 But that doeas not show users which has groupname as the primary group.
 
 Regards
 -- 
 Karl-Olov Serrander m11172.abc.se

But that was not requested by the OP.
--
===
A well adjusted person is one who makes the same mistake twice without
getting nervous.
===
Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


How to list what users are in a group

2010-04-20 Thread David Bartmess
This is a basic linux question, but how do I find out what users are 
included in a given group?

Thanks!

-- 
Dingo Dave Bartmess
Broomfield, CO. USA
http://edingo.net


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread David Burns
On Tue, Apr 20, 2010 at 12:39 PM, David Bartmess dingod...@edingo.netwrote:

 This is a basic linux question, but how do I find out what users are
 included in a given group?


 grep group name /etc/group

e.g.

 grep wheel /etc/group
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread Ed Greshko
On 04/21/2010 06:39 AM, David Bartmess wrote:
 This is a basic linux question, but how do I find out what users are 
 included in a given group?

   
By not hijacking treads.

Don't take a message and change the subject.  This is hijacking and
breaks threads.  Start a new message.





signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread David Burns
On Tue, Apr 20, 2010 at 12:54 PM, Ed Greshko ed.gres...@greshko.com wrote:

 On 04/21/2010 06:39 AM, David Bartmess wrote:
  This is a basic linux question, but how do I find out what users are
  included in a given group?
 
 
 By not hijacking treads.

 Don't take a message and change the subject.  This is hijacking and
 breaks threads.  Start a new message.


Did I miss something? In what way does this qualify as hijacking? Off topic,
maybe, ought to RTFM definitely, but hijack?
Dave
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread Ed Greshko
On 04/21/2010 06:58 AM, David Burns wrote:
 On Tue, Apr 20, 2010 at 12:54 PM, Ed Greshko ed.gres...@greshko.com
 mailto:ed.gres...@greshko.com wrote:

 On 04/21/2010 06:39 AM, David Bartmess wrote:
  This is a basic linux question, but how do I find out what users are
  included in a given group?
 
 
 By not hijacking treads.

 Don't take a message and change the subject.  This is hijacking and
 breaks threads.  Start a new message.


 Did I miss something? In what way does this qualify as hijacking? Off
 topic, maybe, ought to RTFM definitely, but hijack?
 Dave


Yes, you missed something  David Bartmess took a message jdow. 
The subject of that message was Re Clamv.  He changed the subject to
what is above and sent it

The message contains References: in the header which is used by real
email clients (maybe not gmail) to sort messages in threads.  When you
do what is described above, threading becomes broken for many people.

Please also see...

http://fedoraproject.org/wiki/Mailing_list_guidelines#Starting_a_New_Subject

-- 
Democracy is the name we give the people whenever we need them. -- Arman
de Caillavet, 1913 Guess Who! http://tinyurl.com/mc4xe7



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread David Burns
On Tue, Apr 20, 2010 at 1:06 PM, Ed Greshko ed.gres...@greshko.com wrote:

 The message contains References: in the header which is used by real
 email clients (maybe not gmail) to sort messages in threads.


Wow, if real clients thread together stuff with different subjects, I prefer
the fakes.
Dave
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread Larry Brower
David Burns wrote:
 
 
 On Tue, Apr 20, 2010 at 1:06 PM, Ed Greshko ed.gres...@greshko.com 
 mailto:ed.gres...@greshko.com wrote:
 
 The message contains References: in the header which is used by real
 email clients (maybe not gmail) to sort messages in threads. 
 
 
 Wow, if real clients thread together stuff with different subjects, I 
 prefer the fakes.
 Dave
 


Threading is normally down by the message headers and not by the 
subject. Before saying stuff like wow and seeming so shocked and 
amazed, perhaps you should RTFM ?


In-Reply-To: 4bce3381.6090...@greshko.com
References: 421043.49468...@web52608.mail.re2.yahoo.com
4bcb5d62.7050...@gmail.com
1271698173.5279.7.ca...@suspishus.lan.cameratim.com
ed7ac2d81ab74ad887c31b0613b6d...@wizardess.wiz
1271768442.27945.17.ca...@suspishus.lan.cameratim.com
9c0a1e3889e549e2b8ce435e56d71...@wizardess.wiz
4bce2d08.8060...@edingo.net 4bce3088.7000...@greshko.com
k2y943be0b11004201558jffb1d4e4qc07b652ef62d5...@mail.gmail.com
4bce3381.6090...@greshko.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread Ed Greshko
On 04/21/2010 07:22 AM, David Burns wrote:


 On Tue, Apr 20, 2010 at 1:06 PM, Ed Greshko ed.gres...@greshko.com
 mailto:ed.gres...@greshko.com wrote:

 The message contains References: in the header which is used by real
 email clients (maybe not gmail) to sort messages in threads.


 Wow, if real clients thread together stuff with different subjects, I
 prefer the fakes.
 Dave
Yes, along with what Larry said... 

Sometimes it is OK to change the subject and keep it part of the same
thread.  For example, when the discussion goes off in a meaningful, yet
slightly different direction.  The subject may be Virus in Linux and
it makes perfect sense to keep the thread but change the subject to
Malware in Linux [was Virus in Linux].  I suspect gmail is unable to
maintain the linkage.

In any event, even if you don't understand the concept...one should
follow the list guidelines and I've previously mentioned...

Please read this, maybe again

http://fedoraproject.org/wiki/Mailing_list_guidelines#Starting_a_New_Subject


-- 
I AM DEATH, NOT TAXES. I TURN UP ONLY ONCE. (Feet of Clay) Guess Who!
http://tinyurl.com/mc4xe7



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread David Burns
On Tue, Apr 20, 2010 at 1:28 PM, Larry Brower la...@maxqe.com wrote:

 Before saying stuff like wow and seeming so shocked and
 amazed, perhaps you should RTFM ?


Sarcasm requires no manual.
Dave

-- 
You can quote me on that.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread Patrick O'Callaghan
On Tue, 2010-04-20 at 13:22 -1000, David Burns wrote:
 
 
 On Tue, Apr 20, 2010 at 1:06 PM, Ed Greshko ed.gres...@greshko.com
 wrote:
 The message contains References: in the header which is used
 by real
 email clients (maybe not gmail) to sort messages in threads. 
 
 Wow, if real clients thread together stuff with different subjects, I
 prefer the fakes.

Perhaps you should read up on Internet standards. The RFC-approved way
of threading messages is via header fields such as In-Reply-To. Relying
on Subject for threading is fundamentally broken.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread David Burns
On Tue, Apr 20, 2010 at 1:59 PM, Patrick O'Callaghan
pocallag...@gmail.comwrote:

 Relying
 on Subject for threading is fundamentally broken.


This statement seems to imply that I said or think that same subject = same
thread, or that this ought to be sufficient. Nope.

But I was surprised to learn that !(different subject = different thread).

I guess when it comes to email etiquette, nothing should surprise me.

Dave
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread David Burns
On Tue, Apr 20, 2010 at 1:28 PM, Larry Brower la...@maxqe.com wrote:

 Threading is normally down by the message headers and not by the
 subject. Before saying stuff like wow and seeming so shocked and
 amazed, perhaps you should RTFM ?

So I did. I was again surprised to find that RFC822 never mentions
threads. References are references, In-Reply-To is In-Reply-To and
while a client is free to make additional assumptions, the assumptions
don't become part of the standard, no matter how popular they become.
Or maybe I'm looking at the wrong standard?

I was expecting that
http://fedoraproject.org/wiki/Mailing_list_guidelines#Starting_a_New_Subject
would make it clear that, whatever the standard may allow, this list
assumes clients treat in-reply-to as equivalent to threads. Close, but
no superglue. Looks to me - if you're one of the persons offended by
hijacking, you know just what that page is talking about. However, if
you're one of the unwashed (don't use 'real' client), trying to
understand what the problem is, ... not much help.

Dave
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread Ed Greshko
On 04/21/2010 09:34 AM, David Burns wrote:
 On Tue, Apr 20, 2010 at 1:28 PM, Larry Brower la...@maxqe.com wrote:
   
 Threading is normally down by the message headers and not by the
 subject. Before saying stuff like wow and seeming so shocked and
 amazed, perhaps you should RTFM ?
 
 So I did. I was again surprised to find that RFC822 never mentions
 threads. References are references, In-Reply-To is In-Reply-To and
 while a client is free to make additional assumptions, the assumptions
 don't become part of the standard, no matter how popular they become.
 Or maybe I'm looking at the wrong standard?

 I was expecting that
 http://fedoraproject.org/wiki/Mailing_list_guidelines#Starting_a_New_Subject
 would make it clear that, whatever the standard may allow, this list
 assumes clients treat in-reply-to as equivalent to threads. Close, but
 no superglue. Looks to me - if you're one of the persons offended by
 hijacking, you know just what that page is talking about. However, if
 you're one of the unwashed (don't use 'real' client), trying to
 understand what the problem is, ... not much help.

 Dave
   
http://www.ietf.org/rfc/rfc4685.txt

-- 
Dibble's First Law of Sociology: Some do, some don't. Guess Who!
http://tinyurl.com/mc4xe7



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread Larry Brower
Ed Greshko wrote:

 http://www.ietf.org/rfc/rfc4685.txt
 
 


In addition, you may wish to reference RFC 2822 which obsoletes RFC 822


http://www.faqs.org/rfcs/rfc2822.html
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to list what users are in a group

2010-04-20 Thread Patrick O'Callaghan
On Tue, 2010-04-20 at 15:06 -1000, David Burns wrote:
 On Tue, Apr 20, 2010 at 1:59 PM, Patrick O'Callaghan
 pocallag...@gmail.com wrote:
 Relying
 on Subject for threading is fundamentally broken.
 
 This statement seems to imply that I said or think that same subject
 = same thread, or that this ought to be sufficient. Nope. 
 
 But I was surprised to learn that !(different subject = different
 thread). 
 
 I guess when it comes to email etiquette, nothing should surprise me.

Two things:

1) The term thread is used for two different concepts: a) a
conversation with various participants around a given topic, and b) a
partially-ordered set of email messages linked by certain headers. It's
considered convenient to make these two things isomorphic.

2) Regarding etiquette, the community decides. The community regards
hijacking, defined as changing the thread in sense (a) without changing
it in sense (b), as something to be avoided. Oddly enough the reverse
case isn't usually cause for comment.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines