02-10-2011
Quote:
Originally Posted by
lhareigh890
i tried this and it worked. however when I logged in again on another window, i still see the old version. what can I do to take this into effect?
One of /etc/default/login or /etc/profile or $HOME/.profile or $HOME/.bash_profile.
Quote:
ok no need. i will just change the java version on the global zone
Sure, that was the idea of sparse zones.
9 More Discussions You Might Find Interesting
1. Solaris
Hi Gurus
I am not able to ping the local zone from global zone
when i am trying to ping i am getting below
ICMP Host Unreachable from gateway zone ( 192.268.35.210)
for icmp from zone ( 192.168.35.210) to sun1 ( 192.168.35.210)
However i can ping local zone from global
please... (12 Replies)
Discussion started by: kumarmani
12 Replies
2. Solaris
How to check the global zone name from local zone. (6 Replies)
Discussion started by: fugitive
6 Replies
3. Solaris
Hello folks,
I have question regarding behavior of local zone which has no dedicated swap configured.
Zone has set only capped memory, and my question is if all memory is occupied if this zone will start to use swap from the global zone??
I'm little bit confused from information regarding... (6 Replies)
Discussion started by: brusell
6 Replies
4. SCO
Hello, I have a problem to run the the Web aplication Cincom Mantis XML on a SCO 6.0 with MP2.
My Tomcat is 4.1.31
The Cincom support tell me tha I need the Apache Tomcat 5.5 and Java JRE 1.4.0
Can I install a linux version into SCO 6.0 system ?
Thank you for your help.
... (1 Reply)
Discussion started by: hrmaldonado
1 Replies
5. Solaris
Dears,
I would like to convert solaris 10 x86 and solaris 10 sparc (Global Zones) physical servers into Local zones.
i found a document which seems to be helpful but i'm stuck @ the 1st step.
to test this i want to do it 1st on x86 system running under vmware ESXi and if it succeeds i will... (1 Reply)
Discussion started by: mduweik
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I want to determine whether my java application is pointing to the OS version of Java or the User installed Java version on my Unix box.
I am aware of the "java -version" command, however I am unsure if the version returned is the OS one or the user one.
Please help.
Ali. (5 Replies)
Discussion started by: ali40
5 Replies
7. Solaris
Can anyone explain how you can get a SIGPWR signal on a Solaris 10 local zone, but none of the other zones on the frame had a problem. :confused: (1 Reply)
Discussion started by: JerryHone
1 Replies
8. Solaris
Hi,
A quick question: Can Solaris 10 local zones be moved to a Solaris 11 global zone and work well?
Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies
9. Solaris
Hi ,
I added a new fs to the global zone and also did the zonecfg to add the FS to the zone but finally I do not see the new "FS" on the local zone.
Even in th e/etc/zones/zone.xml the fs and the correct directory is mentioned.
Any Idea please ? (4 Replies)
Discussion started by: manni2
4 Replies
LEARN ABOUT MINIX
profile
profile(4) File Formats profile(4)
NAME
profile - setting up an environment for user at login time
SYNOPSIS
/etc/profile
$HOME/.profile
DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence.
/etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement
of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special
actions for the root login or the su command.
The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical
(except for the comments):
# Make some environment variables global
export MAIL PATH TERM
# Set file creation mask
umask 022
# Tell me when new mail comes in
MAIL=/var/mail/$LOGNAME
# Add my /usr/usr/bin directory to the shell search sequence
PATH=$PATH:$HOME/bin
# Set terminal type
TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid
while :
do
if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ]
then break
elif [ -f /usr/share/lib/terminfo/?/$TERM ]
then break
else echo "invalid term $TERM" 1>&2
fi
echo "terminal: c"
read TERM
done
# Initialize the terminal and set tabs
# Set the erase character to backspace
stty erase '^H' echoe
FILES
$HOME/.profile user-specific environment
/etc/profile system-wide environment
SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5)
Solaris Advanced User's Guide
NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most
global needs.
SunOS 5.10 20 Dec 1992 profile(4)