Re: Is a "group" profile possible?

From: Chris (ctaliercio_at_yahoo.com)
Date: 05/24/05


Date: 24 May 2005 07:52:36 -0700

Of course - immediately after posting this I found the 'groups' command
for option number 2.

So - that still leaves question 1. Is there a way to accomplish this
natively?

And - I guess it changes question 2 a bit:

Given:

gid=$(groups | head -1)

Which would be the better practice here?

[[ -r /etc/${gid}.profile ]] && ENV=/etc/${gid}.profile

or

[[ -r /etc/${gid}.profile ]] && . /etc/${gid}.profile

Thanks in advance.

Chris



Relevant Pages

  • Re: What about a petition against the genocidal trade sanctions?
    ... your lobbying exploits (see "PL = Paid Lobbyist?"), ... Chris: your flogging a dead horse here. ... being defeated by a regular person posting facts. ...
    (soc.culture.cuba)
  • India archaeological measurments [was: Re: temple/pyramid plans]
    ... I was posting from Google Groups and was not aware I was ... Does anyone have an interest in sites in India? ... this helps you understand why I am posting; ... Turns out Chris had only posted ...
    (sci.archaeology)
  • Re: The Importance Of Being Exley (was Re: Official. Chris X is councillor David Exley Confirmed (Re
    ... Yes Chris X, but I thought it wasn't your personal information? ... posting people's details, but there's no need to emulate him. ... Or, perhaps, that he knows you've previously claimed to have identified him as councillor Exley and knows that that's the chap's post code, rightly assumed you were referring to him and decided to wind you up a bit. ... it upon himself to publicise Cllr Exley's contact details as those for ...
    (uk.politics.misc)
  • Re: India archaeological measurments [was: Re: temple/pyramid plans]
    ... I was posting from Google Groups and was not aware I was ... "Top-posting refers to responses appearing at the top of a post: ... this helps you understand why I am posting; ... little guilty about jumping on Chris so hard. ...
    (sci.archaeology)
  • Re: Osc The Sad Stalker
    ... with all of Chris' insane rantings about ... someone was posting about the group: ... To my great disappointment, I discovered Barker infecting that group also, ... > with their territorial pissings? ...
    (uk.media.tv.misc)