- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Starnge problem with user's 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
07-09-2003 04:04 AM
07-09-2003 04:04 AM
Starnge problem with user's profile
I have two server and on this two server I have create two ugual users "users01".
On the first server thare aren't problem...but when users01 try to connect on 2?? server system ask my to set Oracle_home , I am sure that .profile is ugual (I have copy it).
I hope that you can help me.
Thanks
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 04:08 AM
07-09-2003 04:08 AM
Re: Starnge problem with user's profile
If their default shell are similar then it should be fine.
sh/ksh .profile
.profile
csh .login or .cshrc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 04:11 AM
07-09-2003 04:11 AM
Re: Starnge problem with user's profile
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 04:14 AM
07-09-2003 04:14 AM
Re: Starnge problem with user's profile
Yes I copy correctly the .profile file.
Thanks
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 04:18 AM
07-09-2003 04:18 AM
Re: Starnge problem with user's profile
can you post the incriminated .profile ?
Is there anything that can ask similar question ?
If the .profile is celan, then you shuold look at the others files, as suggested.
Look also to /etc/profile, maybe some azardous boy has changed the systemwide profile....
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 04:18 AM
07-09-2003 04:18 AM
Re: Starnge problem with user's profile
In Server1:
#more /etc/passwd |grep "users01"|cut -d : -f 7
In Server2:
#more /etc/passwd |grep "users01"|cut -d : -f 7
Are they the same? If the shell is different, they may run different startup script.
Or, please check users01's home directory!
-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 04:19 AM
07-09-2003 04:19 AM
Re: Starnge problem with user's profile
re-initialize
using
$. ./.profile
Make sure that the .profile file is located in the home dir of hte user and the syntax is OK.
like
export ORACLE_HOME=/opt/...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 04:22 AM
07-09-2003 04:22 AM
Re: Starnge problem with user's profile
Thanks
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 04:23 AM
07-09-2003 04:23 AM
Re: Starnge problem with user's profile
You will find there is a missing piece or incorrect permissions on one of the source files or scripts you use to set ORACLE_HOME and other values.
Been there, done that, got the tee-shirt.
The behavior is exactly what I got in my early Oracle days.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 05:32 AM
07-09-2003 05:32 AM
Re: Starnge problem with user's profile
However, there is an easy fix: In each $HOME directory (the home directory for each user login), perform this task once:
echo "*loginShell: true" >> $HOME/.Xdefaults
Now when the user starts a remote terminal window such as hpterm or dtterm or xterm, the 'normal' Unix login process will be followed and both /etc/profile (the usual place to put ORACLE_HOME and other environmental settings) and $HOME/.profile will be executed.
Note that the CDE variable DTSOURCEPROFILE only affects .profile so it misses the important /etc/profile file. And you can also add the loginShell directive to the startup of dtterm, hpterm or xterm (the option is -ls).
Now if you do not use Xwindows, then verify that your users have a standard shell (/usr/bin/sh or /usr/bin/ksh). Shells like csh, bash, tcsh, etc, should ALWAYS be avoided (better yet: forbidden) on production servers as they create sysadmin nightmares for support. And to see if /etc/profile and the local .profile are really being executed, put a print or an echo at the front of both files so you know they are being run:
echo "...Now running /etc/profile..."
or
echo "...Now running $HOME/.profile..."
If this works OK but the values are still not set, use the shell script trace option as in:
sh -x /etc/profile
or
sh -x $HOME/.profile
For users with a problem.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 07:26 AM
07-09-2003 07:26 AM
Re: Starnge problem with user's profile
All the day for find a ":" different....
Thanks
Filo