How to set ENV variable using user profile in solaris 10 while using ssh
Hi,
Please help me in setting the environment variable using user profile file while using ssh method of connection (Can I use the same ~/.profile file?)
when i am logging in using the telnet, the environment variable is automattically set, but not when I am using SSH.
Thanks in advance
ushas symon
Please list your .profile and a ls -la of your home directory.
also list the result of env after your logged through telnet and ssh.
There should be no difference - it depends mostly on your login shell which startup script it executes. ksh uses .profile, bash: bash_profile then .profile.
Similar Messages
-
hi
How to set the oracle10g (xe) environment variables i.e(ORACLE_HOME,ORACLE_SID) in ubuntu. I have installed the oracle xe on ubuntu,but when i issue the sqlplus in command prompt ,it giving me as command not found.??user4587979 wrote:
hi Ed
Thanks for replaying..i have installed xe onto nfs (ie, /usr/lib is on an nfs volume).
I also tried by adding below commands on .bashrc file, but i didn't get the as expected
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_HOME
export ORACLE_SID=XE
export PATH
Typically, we put that in .bash_profile, not .bashrc
And you have to 'source' the file after the change .. it's not checked on every command to see what might have changed. -
I installed j2sdk in my system.....
i want to know how to set env variables...?Which ones, what for? Did you check whether some are already set?
Forget about the classpath variable, if you want to add that. Use the command-line arguments.
And which OS? -
How to set a variable in portal session using web dynpro java.
Hi,
I have created a web dynpro application, which is running inside portal. I have created a role called "R1". Inside role R1, i have created 3 workset W1, W2 and W3. and inside each workset i have some pages and iviews.
My requirement is when user logins to the portal , and when he clicks on role R1 for the first time, a login page should come (so that we can do revalidation), and when he enters his password again in that login page , then only workset W1, W2 and W3 should be visible/accessible to him and after successful revalidation, if he clicks again on role R1, in that particular portal session, than that login page should not come.
for this, i thought i will set a variable in portal session, whenever user successfully revalidated himself, and if after successful revalidation he clicks again on role R1, i will check in doinit method of webdynpro whether variable is set or not (which i already set on successful revalidation), and if it is set then i will do Donavigation else i will present login page to the user.
Can anyone tells me how to set a variable in portal session using web dynpro java.
thanks
ArushHi,
Try this:
WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, key, value)
WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, key)
Ex:
WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE,"Key1","Value1");
String value1=WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE,"Key1").toString();
/people/william.cui/blog/2007/02/12/sharing-session-context-between-parent-and-external-windows-running-on-same-host
Regards,
Charan -
How to set environment variables permanetly?
I have installed oracle apps R12 on Oracle Enterprise Linux 5.3 successfully. When i run the file APPS<context_name>.env as oracle user(the one who installed software), the variables are set,,,but when i logout and login again,,,,,i dont see $ORACLE_HOME, $APPL_TOP etc......so please can someone tell me how to set the variables permanently..
thanksHi,
set the env file in profile of unix user.
if your shell is bash shell, then edit the user .bash_profile with env file. If your's is bourn shell, edit the user .profile
for example,
i have PROD as the database SID
/oraprod and /applprod are the base mount points of database and application tiers respectively.
erpserver is the hostname of R12 (single node)
(1) Database Tier:
login as oracle user
$vi .bash_profile
. /oraprod/db/tech_st/10.2.0/PROD_erpserver.env
save the file
(2) Application Tier:
login as applmgr user
$vi .bash_profile
. /applprod/apps/apps_st/appl/APPSPROD_erpserver.env
save the file
------ -
How do I tell if a user profile is marked for deletion?
This is likely a question with a simple answer, but searching through Google and here hasn't helped.
How do I tell if a user profile has been marked for deletion?
Will it appear in the "Manager User Profiles" area of the User Profile Service Application management?
Do I need to look somewhere else?
This is probably obvious, and I just have looking disease, but your assistance is most appreciated!As Paul said you can see that on UP admin page. also you can use powershell to get the list of all use in powershell.
Follow this blog:
http://iedaddy.com/2012/02/sharepoint-2010user-information-lists-and-user-profile-cleanup/
$upa = Get-spserviceapplication <identity>
Set-SPProfileServiceApplication $upa -GetNonImportedObjects $false
Set-SPProfileServiceApplication
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
How to set environment variable ORACLE_HOME ?
Hi
I trying to install SAP Solution manager 4.0 SR3:
OS: Linux RHEL4u4
DB: Oracle
SAPinst now stops the installation.
To proceed with the installation, install the Oracle database as follows:
1.Log in as user orassm.
2.Set the DISPLAY variable.
3.Change to directory /oracle/stage/102_32/database/SAP.
4.Start './RUNINSTALLER'.
After you installed the Oracle database software, proceed with the database instance
installation by choosing 'OK' in this dialog box.
./RUNINSTALLER
oracle_stage is not set (OK)
oracle_base is not set (OK)
oracle_home is not set (OK)
oracle_sid is not set (OK)
oracle_home_name is not set (OK)
oracle_inst_group is not set (OK)
from_location is not set (OK)
tmp_netca_file is not set (OK)
tmp_dbca_file is not set (OK)
Working in /oracle/stage/102_32/database/SAP ...
The environment variable ORACLE_HOME is not set! abort ...
How to set environment variable ORACLE_HOME ?
Regards
Erici
Switch shell to bash:
orassm:x:502:503:SAP Database Administrator:/oracle/SSM:/bin/bash
[root@csp-p-sm00 ~]# su - orassm
[orassm@csp-p-sm00 ~]$
But when try to run ./RUNINSTALL
[orassm@csp-p-sm00 SAP]$ ./RUNINSTALLER
oracle_stage is not set (OK)
oracle_base is not set (OK)
oracle_home is not set (OK)
oracle_sid is not set (OK)
oracle_home_name is not set (OK)
oracle_inst_group is not set (OK)
from_location is not set (OK)
tmp_netca_file is not set (OK)
tmp_dbca_file is not set (OK)
Working in /oracle/stage/102_32/database/SAP ...
The environment variable ORACLE_HOME is not set! abort ...
Additionaly I've post csh.cshrc and csh.login
/etc/cshrc
csh configuration for all shell invocations.
by default, we want this to get set.
Even for non-interactive, non-login shells.
[ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]
if $status then
umask 022
else
umask 002
endif
if ($?prompt) then
if ($?tcsh) then
set prompt='[%n@%m %c]$ '
else
set prompt=\[`id -nu`@`hostname -s`\]\$\
endif
endif
if ( $?tcsh ) then
bindkey "^[[3~" delete-char
endif
setenv MAIL "/var/spool/mail/$USER"
limit coredumpsize 0
if ( -d /etc/profile.d ) then
set nonomatch
foreach i ( /etc/profile.d/*.csh )
if ( -r $i ) then
source $i
endif
end
unset i nonomatch
endif
/etc/csh.login
System wide environment and startup programs, for login setup
if ($?PATH) then
if ( "$" !~ /usr/X11R6/bin ) then
setenv PATH "$:/usr/X11R6/bin"
endif
else
if ( $uid == 0 ) then
setenv PATH "/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
else
setenv PATH "/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
endif
endif
setenv HOSTNAME `/bin/hostname`
set history=1000
if ( ! -f $HOME/.inputrc ) then
setenv INPUTRC /etc/inputrc
endif
Regards
Eric -
How to set enviroment variables for Inso Filter
Hi everyone,
I want to convert word documents to html using CTX_DOC.Filter.According to the documentation,I know I neednot set the 'Inso Filter'in the preference when creating index,but I must set enviroment variables for Inso Filter.
I found the following instructions for it in the 8.1.5 documentation,but I can't understand it well.Is there anyone can tell me how to set enviroments variables for Inso Filter on Windows2000 Server?(My DB version is 8.1.7EE)
Environment Variable Locations
All environment variables related to Inso filtering must made visible to interMedia Text. Set these variables in the following locations:
listener.ora file. This makes the environment variables visible to the extproc PL/SQL process.
The operating system shell from where ctxsrv server is started. This makes the environment variables visible to the ctxsrv process, which does background DML.
Any suggestions are apreciated
Reemon
nullNSAPI plugins are normally configured using parameters specified in magnus.conf and/or obj.conf. What plugin requires you set an environment variable?
-
How to set environment variables in WL ?
Hi,
How to set environment variables in WL ?
Thanks,
SriviHi,
You can set the environmet variable in Weblogic by using the below commands
setWLSEnv.cmd/sh ==>Set the CLASSPATH to include the WebLogic Server classes.
Overview of WebLogic Server Domains
or you can use to set the Environment variable along with domain specific varables using the SetDomainEnv.cmd
To run SetDomainEnv.sh in Linux please use
. ./setDomainEnv.sh it require two dots (Dont miss it )
http://docs.oracle.com/cd/E28280_01/web.1111/e13749/weblogicserver.htm#ADMRF205
Hope it helps -
How to Set Up SSO Between IBM WebSphere and SAP EP Using JAAS
Hi
I have read the article on SDN called "How to Set Up SSO Between IBM WebSphere and SAP EP Using JAAS", which is also the name of my posting.
The reason why I post this is that I've tried to follow the links in the PDF to get the file WebsphereEpSsoLib.zip but I get an error 403, which tells me that the file is not there.
Does anybody know where this file went or can somebody tell me an alternative place to get this file?
JacobPlease open the associated whitepaper, and you can find the download link to the .ZIP file on page 4.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ibm/how to set up single sign-on between an ibm websphere portal and the sap enterprise portal using jaas.pdf
Hope that works!
Elise -
How to set a variable value on the BPC Data Manager
Hello BPC Experts,
I'm creating a BPC10 NW version demo environment for our prospect customer.
I made a data manager to import BW data into BPC model from BW cube.
I need to import just one month data into BPC from the BW cube that has more than one month data.
When I run the data package manually, I can select a member of the time dimension prompt and I can import specific month data I want.
But, in a case where the program (data manager) runs by JOB monthly,
I can't select a member of the time dimension prompt manually.
So I want to know how to set a variable value to the time dimension prompt from a system date etc. automatically.
Are there any way to set a variable value to the time dimension prompt on the data manager automatically from a system date?
Or, do you have any other solution to import just one month data into BPC from the BW cube that has more than one month data by the data manager running on JOB ?
(without selecting a member of the time dimension prompt of the data package manually)
Thanks in advance,
KeisukeHi Gersh
Sorry for my late reply and thanks for your helpful information.
I tried the second way of your information and I could configure it.
And I 'll try first way of your information.
Regards,
Keisuke -
How to set up Airport Express in Bridge mode for hotel use
Please provide step by step instructions on how to set up Airport Express in Bridge mode for hotel use. I do not have a computer with me, only an iPhone and AEX 802.11n.
+"Please provide step by step instructions on how to set up Airport Express in Bridge mode for hotel use. I do not have a computer with me, only an iPhone and AEX 802.11n."+
AirPort Utility is the application that must be used to setup and make any configuration changes to the AirPort Express. I'm not aware of an "App" for this.
If you could borrow a computer from someone there for 30 minutes or maybe use the computer in the lobby, you could download AirPort Utility and reconfigure your Express. To help with setup, use an ethernet cable from the computer to the Express to help AirPort Utility "see" the Express.
http://support.apple.com/downloads/#airport -
How do I reset my iCloud user name when my email used before is no longer active? Also my iCloud was never verified with my old email on my iPad is I am stuck.
Hey Dorekelly,
Thanks for the question. It sounds like you wish to change the email address associated with your Apple ID and iCloud account. The following resource should guide you through this process:
Change your Apple ID
http://support.apple.com/kb/HT5621
Afterwards, be sure to read about updating the features and services that you use with Apple ID:
Apple ID: What to do after you change your Apple ID
http://support.apple.com/kb/HT5796
Thanks,
Matt M. -
Using user exit. ( LVMPTZZ, LVKMPFZ1). used in Credit Management
Hi
How to find using user exit. ( LVMPTZZ, LVKMPFZ1). used in Credit Management .
Plz provide path
Regards
RohitHi,
You can find exits through transactions# SMOD & CMOD also.
Regards
Chandra -
How do I get an XY Chart to display properly while using embedded loop
s to periodically read multiple channels of similar data? (multi-Y versus specified time) The plot just becomes a point or a single plot of all values taken at one scanning of all channels. I want multiple plots over time updated at the time of scanning.I have also stored my data in a daily text file that is tab delimited. The text files consists of a row of text column headers, a blank row and then rows of data. The data rows are mixed data types. The first column is a date/time such as Mar 1, 2002 12:01 pm. The remaining columns are numeric data. I can't seem to get my data to plot properly in an XY chart from memory and am having problems parsing the data with mixed data types in the data r
ows. The format I am using works great for viewing the history files in Excel.
When I plot the data, I either get a single point or a a series of points for a single reading of all channels or I get a line connecting all data for that single scan reading. What am I doing wrong? At this point, I don't care if I read the data from the file to plot it or if I can just get Labview to plot correctly as the data is gathered without going to the history file.
As noted in the summary question, I have embedded loops in my applicaiton. I have a while-loop that determines the scan rate and keeps the program running until it is turned off. Inside of that, I have a for-loop (in a subVI) which scans all my data channels.
Thanks for your help.s to periodically read multiple channels of similar data? (multi-Y versus specified time) The plot just becomes a point or a single plot of all values taken at one scanning of all channels. I want multiple plots over time updated at the time of scanning.XY plots expect a cluster containing two 1D arrays for the X and Y
coordinates of the individual points. If you want multiple plots you can
supply an array of these clusters but you have to resupply the "x" array
for each of them.
Hope that helps,
Rudolf
Adrien wrote:
: How do I get an XY Chart to display properly while using embedded
: loops to periodically read multiple channels of similar data? (multi-Y
: versus specified time) The plot just becomes a point or a single plot
: of all values taken at one scanning of all channels. I want multiple
: plots over time updated at the time of scanning.
: I have also stored my data in a daily text file that is tab delimited.
: The text files consists of a row of text column headers, a blan
k row
: and then rows of data. The data rows are mixed data types. The first
: column is a date/time such as Mar 1, 2002 12:01 pm. The remaining
: columns are numeric data. I can't seem to get my data to plot
: properly in an XY chart from memory and am having problems parsing the
: data with mixed data types in the data rows. The format I am using
: works great for viewing the history files in Excel.
: When I plot the data, I either get a single point or a a series of
: points for a single reading of all channels or I get a line connecting
: all data for that single scan reading. What am I doing wrong? At
: this point, I don't care if I read the data from the file to plot it
: or if I can just get Labview to plot correctly as the data is gathered
: without going to the history file.
: As noted in the summary question, I have embedded loops in my
: applicaiton. I have a while-loop that determines the scan rate and
: keeps the program running until it is turned off. Inside of
that, I
: have a for-loop (in a subVI) which scans all my data channels.
: Thanks for your help.
Maybe you are looking for
-
How can you block a URL from access?
This URl (http://reduled.info/3131) keeps coming up as mal in Avast. Can a specific URL be blocked?
-
Trash says "being emptied" for hours, but doesn't empty.
So, about a week ago, I clicked empty my trash. It took a little while. A minute later, I forgot that it was running, so I closed my Mac. When I turned it back on, I realized that the trash was paused emptying and the error started. I couldn't empty
-
[SOLVED]arch32 and wine: winecfg
I've set up a arch32 chroot on arch64, just like described in the wiki. thoughtcrime ~ $ arch32 winecfg ALSA lib pcm_dsnoop.c:593:(snd_pcm_dsnoop_open) unable to open slave err:winecfg:open_mountmgr failed to open mount manager err 2 This results in
-
For whatever reason, my iPhone no longer syncs Contacts. Or more correctly, it syncs contact names, but not associated phone number and addresses. Just the names. The correct information remains on my desktop and on me.com, but I'm only seeing names
-
Solid State Drive (SSD) on MacBook Pro unibody (and fast hard drives)
I've reviewed the 80GB Intel X25-M solid state drive (SSD), along with the Hitachi 320GB Travelstar 7K320, Seagate 320GB Momentus 7200.3, Western Digital 320GB Scorpio Black and Western Digital 500GB Scorpio Blue. All of these are great drives for th