It is currently Mon, 30 Mar 2020 22:41:23 GMT

Author Message
 /etc/profile is not executed

On my freshly installed Solaris 8 box I have encountered into the
following problem: it seems to me, that the file /etc/profile is not
executed at login as it should be. Neither is $HOME/.profile.

Here are a couple of symptoms:

1. if I send mail, say, from root to some_user and then some_user does a
command line login at the local terminal, the message "You have new
mail" is not shown, although it should be, acording to /etc/profile.

2. If I put some environment variables into $HOME/.profile, they never
appear unless I type

bash-2.03$ . .profile

What is the problem, where is this /etc/profile invoked? Do I have a
broken installation?



 Mon, 16 Dec 2002 03:00:00 GMT   
 /etc/profile is not executed
There is a variable in the .dtprofile that might cause this problem.  Near
the very end of the file is the variable DtSourceProfile.  If the varialble
is set to false, you local /etc/profile and .profile are not read at login
or when you open a shell.  Setting it to true will allow you local profile
files to be enabled.

 Tue, 17 Dec 2002 03:00:00 GMT   
 /etc/profile is not executed
Dmitri V  <> wrote:

Those files are sourced by your shell, if your shell wants to use them.
So it all depends on what shell you're using and whether that shell
cares about those files.

You seem to be using bash; I thought bash used .bash_profile, but I don't
use it and don't even have it installed so I'm not entirely sure.  Check
the docs for your shell to see what startup files it uses.

Jeremy  |

 Tue, 17 Dec 2002 03:00:00 GMT   
   [ 3 post ] 

Similar Threads

1. xdm does not execute /etc/profile!

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

3. /etc/profile not executing for KDE

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

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

6. Not reading /etc/profile or .profile

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

8. user .profile not executing

9. .profile: not executing

10. .profile not executing - whct can be the cause ?

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