On Fri, Aug 04, 2000 at 12:00:22PM +1000, George Vieira wrote:
> have you tried /etc/rc.d/rc.local ?
> and if you need individual different environments then add it to the
> .profile or .bash_profile for each user...
>
That would be extreemly annoying if you had more than a handful of
users. What about the /etc/environment file?
If you don't have it (like RedHat doesn't) you need to modify the PAM
file for login.
In /etc/pam.d/login add something like this:
# This module parses /etc/environment (the standard for setting
# environ vars) and also allows you to use an extended config
# file /etc/security/pam_env.conf.
# (Replaces the `ENVIRON_FILE' setting from login.defs)
auth required pam_env.so
Just prior to the account and session directives. pam_env.so is provided
with RedHat, so I'm not sure why that isn't the default.
Anand
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug