Share a .profile amongst multiple users

Associate
Joined
12 Oct 2005
Posts
1,511
Location
Surrey
I have a sizeable number of KSH .profile variables I need multiple users within a group to have in their shells.

I can't set it as a system-wide set of variables as it is only the users in the partciular group who should have the variables.

Rather than manually editing each profile - how can I do this elegantly?
 
Found it easiest to just distribute to the users in a group through some scripting.

Great- thanks :)
 
Currently have a script which distributes a file dependent on those users in a certain group using a cat/awk etc of /etc/group
 
Back
Top Bottom