[aklug] group environment configuration?

From: Thomison, Lee <ThomisonL@muni.org>
Date: Wed Mar 10 2010 - 10:37:42 AKST

Hi all,
What's the rhel5-approved way to handle group environment configuration?

Let's say there are users in, oh, 4 different groups. Let's use the usual suspects:

accounting
warehouse
admin
netadmin

and I want to set up environment variables and maybe some pathing that are specific to a given group. So that when 'joeblow', who is a member of group 'warehouse', logs in, the pathing and environment variables (and whatever else) that is needed for users in the 'warehouse' group is set up and configured.

What I was initially looking for was an /etc/groups.d, and in /etc/groups.d is

/etc/groups.d
   accounting.sh
   warehouse.sh
   admin.sh
   netadmin.sh

As part of the login process, the group memberships for the login username would be examined, and for each hit the respective /etc/groups.d/ script would be run.

I'm not seeing anything like that, so I'm assuming rhel5 uses some other mechanism, but I'm obviously not using the proper keyword mojo. Can someone point me to where this mechanism is described?

On the same note, same question for ubuntu...?

Thanks,

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Mar 10 10:37:53 2010

This archive was generated by hypermail 2.1.8 : Wed Mar 10 2010 - 10:37:53 AKST