[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Stupid problem: /etc/profile



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My /etc/profile is not getting executed. The premissions are

	-rwxr-xr-x    1 root     root          546 Apr 29 13:47 /etc/profile

Contents:

*****************************************************************
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

echo "Inside /etc/profile"

PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"

PATH=$PATH:/usr/local/Acrobat5/bin
PATH=/usr/java/j2sdk/bin:$PATH
PATH=/usr/java/j2sdk/jre/javaws:$PATH

export JAVA_HOME=/usr/java/j2sdk

if [ "$PS1" ]; then
  if [ "$BASH" ]; then
    PS1='\u@\h:\w\$ '
  else
    if [ "`id -u`" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi

export PATH

umask 022
*****************************************************************

Any ideas?

BTW, this has been true for several days (the machine has been rebooted 
several times).
- -- 
G. Ralph Kuntz, MD, MS
Chief Technology Officer, Chief Engineer
Hamilton Scientific, Ltd.
1500 Pleasant Valley Way, Suite 201
West Orange, NJ 07052
+1 973 324 0334
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+sYSiAEACyXVp2HoRAsx6AKCKmqaIoH9dlMQl7/ORcTwNQnhWGgCg5PXN
M9O8jtMIO3jhaDlavlSNtQA=
=JtM2
-----END PGP SIGNATURE-----



Reply to: