- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re : Oracle profile
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 01:38 AM
11-10-2004 01:38 AM
Re : Oracle profile
Can anyone help with steps how can I set my profile in oracle so that when I log-in through CDE environment with Oracle account I can start sqlplus at prompt ? Oracle version use 9.2
Currently situation on my server,
when i su - oracle
I can strat sqlplus immediately, and in env I can see the path for ORACLE_HOME=oracle and etc. Please advice???
Regards
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 01:43 AM
11-10-2004 01:43 AM
Re: Re : Oracle profile
I believe you simply need to set DTSOURCEPROFILE=true in ~/.dtprofile.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 01:54 AM
11-10-2004 01:54 AM
Re: Re : Oracle profile
Thanks for the info, but are you referring to setting the DTsource profile with oracle user account??
Regards
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 02:03 AM
11-10-2004 02:03 AM
Re: Re : Oracle profile
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 02:04 AM
11-10-2004 02:04 AM
Re: Re : Oracle profile
You can force the system to sources these files by enabling the "loginShell" resource for each of the terminal emulator windows.
To do this on a system-wide basis you will need to create the sys.resources file in the /etc/dt/config/C/ directory and add the following line to this new resource file:
*loginShell: true
The permissions on this file should be 644 :
/usr/bin/chmod 644 /etc/dt/config/C/sys.resources
NOTE: If this file already exists, this resource line can be added to the end of the existing file.
To do this on a per-user basis you will need to create the .Xdefaults file in the user's $HOME directory and add the following line to this new resource file:
*loginShell: true
The permissions on this file should be 644 :
/usr/bin/chmod 755 $HOME/.Xdefaults
NOTE: If this file already exists, this resource line can be added to the end of the existing file.
Both of these changes will take effect with the next login to CDE.
EXPLANATION
The *loginShell resource configures the terminal emulators (Dtterm, HPterm, XTerm) to behave as if the user has 'telnet'-ed or 'rlogin'-ed into the system.
This incorporates the default sequence of reading the /etc/profile and similar files when each new terminal window is opened. Therefore, the environment in the shell window will NOT be the same as as that of the standard CDE session (/usr/dt/bin/dtsession).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 03:35 PM
11-10-2004 03:35 PM
Re: Re : Oracle profile
There is a line that needed to be uncommented
dtsource=true
this will allow your .profile to be sourced when you log in to the CDE environment.
hope this helps!
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 10:47 PM
11-10-2004 10:47 PM
Re: Re : Oracle profile
Pete was reffering to the oracle user. The ~ is a shortcut for $HOME f the current user.
So the other way of writing it is $HOME/.dtprofile
Regards
Gerhard