Re: Is a "group" profile possible?
From: Chris (ctaliercio_at_yahoo.com)
Date: 05/24/05
- Next message: Icarus Sparry: "Re: Is a "group" profile possible?"
- Previous message: Chris: "Is a "group" profile possible?"
- In reply to: Chris: "Is a "group" profile possible?"
- Next in thread: Juha Laiho: "Re: Is a "group" profile possible?"
- Reply: Juha Laiho: "Re: Is a "group" profile possible?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Icarus Sparry: "Re: Is a "group" profile possible?"
- Previous message: Chris: "Is a "group" profile possible?"
- In reply to: Chris: "Is a "group" profile possible?"
- Next in thread: Juha Laiho: "Re: Is a "group" profile possible?"
- Reply: Juha Laiho: "Re: Is a "group" profile possible?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|