[SunHELP] CDE, .profile & aliases
Adrian.Florea at alcatel.ro
Adrian.Florea at alcatel.ro
Tue Aug 27 00:52:01 CDT 2002
Try to set a "kshrc" file for Korn Shell, either globally (if you need
the same settings for all users) in /etc/kshrc or localy (in each user's
home dir) in $HOME/.kshrc .
In this file you can put all aliases and other settings such as prompt and
so on.
Then, in each user profile you must set:
export ENV=$HOME/.kshrc or
export ENV=/etc/kshrc
depending on the solution you choose.
best regards,
Adrian FLOREA
On Mon, 26 Aug 2002, Markham, Richard wrote:
> I am having an issue where a user's aliases (within ~/.profile)
> are appearing to not be set after logging in through CDE. I
> have verified the DTSOURCEPROFILE=true setting in ~/.dtprofile
> and have tried the alias -x switch. Any variables in the same
> ~/.profile are being set as expected, so for now it seems my
> only issue is that when I go start an xterm this users custom
> aliases are not there. If I manually source the ~/.profile
> then the aliases are created. The user's shell is /bin/ksh.
> Any ideas?
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list