- 论坛徽章:
- 0
|
一点资料,可以借鉴
3.25) I'm having a problem in which that /etc/profile doesn't seem to be
read when login in on the CDE environment. I put a few environment
stuff in there (path and others) but nothing seems to be set. I know
about $HOME/.dtprofile and DTSOURCEPROFILE=true but that doesn't help
for /etc/profile. Is there as /etc/profile.dt that should exist or a
similar file for CDE?
Xsession can source a user's traditional HomeDir/.profile or .login script.
By default this capability is disabled. To tell the Xsession to source the
.profile or the .login script, we set the DTSOURCEPROFILE to true.
To change the DTSOURCEPROFILE for all users or other variables for all
users, create an /etc/dt/config/Xsession.d script that sets the new values.
For example create an executable ksh script, /etc/dt/config/Xsession.d/test
containing export MYVAR="value". This should work in place of
/etc/profile. |
|