Hi managers!
I let my users set up what ever they want in .profile in their home
directories, except for one line which I use to execute a side shell
script which is supposed to set specific aliases and variables which all
users should have. I don't put these aliases and variables in
/etc/profile because different users will be logging into different
environments, and I use /etc/profile for EVERY user. The problem is that
even though these aliases and variables are being set when the script
executes while the user is logging in, they are not set once the user
gets to the shell.
I've tried putting these aliases and variables in .kshrc in the users'
home directories, but that still did not work. If I put the aliases and
variables in /etc/profile, they are set when the user logs on; however,
if I set the aliases and variables from a shell script executed in
/etc/profile, the aliases and variables are not set.
Can anyone explain to me what's going on here? Why is it that if I
execute a shell script from .profile or /etc/profile which sets aliases
and variables, they are not set once the user is logged all the way on.
Thanks!
Stephen Spalding
Associate System Administrator
Missouri Employers Mutual Insurance
sspaldin_at_mem-ins.com
1000 West Nifong
Columbia, MO 65203
(573) 499-4230
(800) 442-0590
fax (573) 499 - 4310
Received on Wed Apr 22 1998 - 20:37:48 NZST