ank5
asked on
Profiles in Solaris
Can someone please let me know what are profiles used for in Solaris. Can I have different versions of the same software (say Oracle 8 and Oracle 9, or Java 1.5 and Java 1.6) installed on two different profiles in the same machine? Is this what profiles are used for?
Thank you
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Usually a default profile is created when a user is created. Also most shells have a global startup script that affects all users. (check manpage - "man login") Usually they are in: /etc/profile
A user will usually add to this profile by creating her/his own profile in the HOME dir. To see if you have one:
more ~/.profile
If a profile doesn't exist, create a file named ".profile" in your home folder. Here's some examples:
http://www.unix.com/unix-advanced-expert-users/5477-looking-profile-examples.html
A user will usually add to this profile by creating her/his own profile in the HOME dir. To see if you have one:
more ~/.profile
If a profile doesn't exist, create a file named ".profile" in your home folder. Here's some examples:
http://www.unix.com/unix-advanced-expert-users/5477-looking-profile-examples.html
you can't use different version of software on different profiles. Software is OS based, not profile based.
You can install both version of software and set the environment variable (path of the s/w) accordingly to which software you want to use.
You can install both version of software and set the environment variable (path of the s/w) accordingly to which software you want to use.
ASKER
>>You can install both version of software and set the environment variable (path of the s/w) accordingly to which software you want to use
Thank you. Is the path set on .profile or some other file?
In our Solaris zone we have Documentum 5.3 and Documentum 6.6 installed. Once I login to the server (using PUTTY), to run Documentum 6.6 specific scripts I need to first execute the following command
. /home/document/.profile66
when I need to run Documentum 5.3 specific scripts then I need to use the following
. /home/document/.profile536
So I wanted to understand how using .profile66 or .profile536 enables me to run scripts specific to a particular Documentum version.
Thank you. Is the path set on .profile or some other file?
In our Solaris zone we have Documentum 5.3 and Documentum 6.6 installed. Once I login to the server (using PUTTY), to run Documentum 6.6 specific scripts I need to first execute the following command
. /home/document/.profile66
when I need to run Documentum 5.3 specific scripts then I need to use the following
. /home/document/.profile536
So I wanted to understand how using .profile66 or .profile536 enables me to run scripts specific to a particular Documentum version.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
> "you can't use different version of software on different profiles. Software is OS based, not profile based."
Seems confusing as you can change your path in your profile and as you say, you can do this by changing your path. If you can install and run 2 different versions on the same machine, then what does that say about being OS based? Just curios.
Seems confusing as you can change your path in your profile and as you say, you can do this by changing your path. If you can install and run 2 different versions on the same machine, then what does that say about being OS based? Just curios.
ASKER
To do this are .profile files created in Solaris? Can you please let me know how are .profile files created?