OSX Server - How to set environment variable on network user login

Posted by tmkly3 on Server Fault See other posts from Server Fault or by tmkly3
Published on 2012-11-20T21:07:10Z Indexed on 2012/11/20 23:03 UTC
Read the original article Hit count: 233

Filed under:
|
|
|

I have a group of users on my server, "Developers", and I would like an environment variable to be set for them whenever they login.

More specifically, when anyone in this group logs in, I would like the equivalent of:

setenv ANDROID_SDK_HOME /Developers/Android/User

to be set at login. I can do this with a login script if necessary, but what I'm asking is: is it possible to set this type of thing in Profile Manager, Workgroup Manager, Directory Utility, etc?

Thanks - I've looked everywhere but can't find anything.

© Server Fault or respective owner

Related posts about macosx

Related posts about ldap