It is currently Mon, 30 Mar 2020 21:49:28 GMT

Author Message
 /etc/profile not read by CDE?

I have some settings I need all users to have.
I read the comments in .dtprofile and removed the comment from the
"DTSOURCEPFROFILE=true" line. The comments in .dtprofile mention ~/.profile
and ~/.login, but don't mention anything about "/etc/profile".

I am using the Korn shell.

Moreover, where does CDE set's the path? I have added some packages using
pkgadd and now the path is correctin CDE, but not when I boot to the command

 Wed, 27 Oct 1999 03:00:00 GMT   
 /etc/profile not read by CDE?

Indeed, DTSOURCEPROFILE=true only makes t read .profile (check Xsession).

Most of the CDE startup procedures are scripts; read them.

Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 Thu, 28 Oct 1999 03:00:00 GMT   
 /etc/profile not read by CDE?

In message <> -
Casper....@Holland.Sun.COM (Casper H.S. Dik - Network Security

:>Indeed, DTSOURCEPROFILE=true only makes t read .profile (check Xsession).

Thanks for the answer. I do hope there is a CENTRAL place where CDE
will read configuration for ALL users.

:>Most of the CDE startup procedures are scripts; read them.

Will do (if I can find them <G>)

 Fri, 29 Oct 1999 03:00:00 GMT   
 /etc/profile not read by CDE?

mkdir -p               /etc/dt/config/Xsession.d
ln    -s  /etc/profile /etc/dt/config/Xsession.d/0005.profile
chmod 755 /etc/profile

Should point you in the right direction.
Christian.Kueh...@Informatik.Uni-Oldenburg.DE |Tel.: +49 441 592 652  (private)
(...) So DEC's strategy now is to get in bed  |Tel.: +49 441 798 2978 (work)
with Microsoft and sell NT machines to chimpanzees. (...) [Joe Kane]

 Fri, 29 Oct 1999 03:00:00 GMT   
 /etc/profile not read by CDE?

Depends on the type of configuration you want read. What I have done with
both VUE and CDE is to have the user's dtwmrc (.vuewmrc) do an include of
a server-side file and make softlinks for other configuration directories
I wanted to make global changes to.

Hope this helps.

                                   -- * --
   Bob Ess                                   email:
   Sr. UNIX Systems Administrator            pager: 888-912-2635
   Fujitsu Network Communications            voice: 972-479-3229
                                   -- * --
              "Give me the beat, boys, and free my soul..."

 Fri, 29 Oct 1999 03:00:00 GMT   
 /etc/profile not read by CDE?

In Article <5l63ci$>

Yes there is, but in the fullness of time you will be disappointed to learn
that in the Solaris world there is no one central place where login setup
can be configured for all users and for all types of logins.  That is, what
works for CDE/xdm doesn't work for telnet/rlogin etc. In this respect, Unix
is very poor.  For complete universality, you end up having to call (source)
standard files from each users login files (.cshrc, .profile, etc). The
Solaris 2.5 System Administration manual even warns you that /etc/.login
and so on are *not* used by all logins!!

Roger Williams, Institute of Geological & Nuclear Sciences, New Zealand : DEC 3000/300 AXP - OpenVMS v6.2

 Sat, 30 Oct 1999 03:00:00 GMT   
 /etc/profile not read by CDE?

How about creating links? Someone suggested linking /etc/profile to
/etc/dt/config/Xsessions.d/0005.profile. This may not be a total solution, but
at least in my case it accomplish what I need.

 Sat, 30 Oct 1999 03:00:00 GMT   
 /etc/profile not read by CDE?

In <5l7hek$>, (Bob Ess   ) writes:

I think I am going to go with what someone suggested. Making a link to

 Sat, 30 Oct 1999 03:00:00 GMT   
 /etc/profile not read by CDE?

From somewhere in {*filter*}space, Christian Kuehnke <> said:

But this doesn't automatically force every xterm or dtterm to be a login
shell: that's the most effective way to fix the problem, since the users's
shells will work the same as when they telnet or rlogin from another

To get xterm and dtterm to be login shells, my preferred method was to
copy the resource files from /usr/dt to /etc/dt, and add dtterm*loginShell
and xterm*loginShell into the default resources.  I don't remember the
exact details, but I posted them on comp.unix.aix six months or so ago.

Followups to comp.unix.cde

Ed Ravin        |If I were not a little mad and generally silly|I should give you my advice upon the subject, willy-nilly;
                |I should show you in a moment how to grapple with the question
                |And you'd really be astonished at the force of my suggestion.

 Sat, 30 Oct 1999 03:00:00 GMT   
   [ 9 post ] 

Similar Threads

1. ksh not reading /.profile or /etc/profile

2. Not reading /etc/profile or .profile

3. CDE 1.4: shell in dtterm not sourcing /etc/profile

4. /etc/profile not executed when using CDE ?

5. root can not edit /etc/hosts or /etc/profile, can not create directory

6. Why bash not reading /etc/profile on login?

7. getting xdm to read /etc/profile and /etc/environment

8. root can not edit /etc/profile or /etc/hosts or make directory

9. cde-term reading .profile

10. user shell doesn't read /etc/profile

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software