- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: always read .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
02-02-2006 05:18 AM
02-02-2006 05:18 AM
I a running hp 10.2. My .profile will not seem to update. i can make a simple change, log out and log back in, but the change does not take effect. I know I am still missing something. What file do I need to have my profile read everytime I log in?
New to HP and could sure use the help.
Thanks,
Phil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 05:22 AM
02-02-2006 05:22 AM
Re: always read .profile
How are you logging in and what are you logging in to? By that, I mean are you logging into CDE? If so, your .profile may, indeed, not be read, but that is easily fixed.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 05:26 AM
02-02-2006 05:26 AM
Re: always read .profile
Check you permissions for .profile.
If you have problem, then after login, try this
#/home/phil/. /.profile
oNly temp messure
If you are doing a global change for all then you have to change it in /etc/profile
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 05:29 AM
02-02-2006 05:29 AM
Re: always read .profile
Thanks,
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 05:33 AM
02-02-2006 05:33 AM
Re: always read .profile
Please tell which shell you are using .
can you post
grep uername /etc/passwd
o/p to ITRC .
Thanks ,
bl .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 05:40 AM
02-02-2006 05:40 AM
Re: always read .profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 05:43 AM
02-02-2006 05:43 AM
Re: always read .profile
When logging into CDE, it reads .dtprofile. Take a look at it - there are instructions inside that tell you how to make it read .profile.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 05:48 AM
02-02-2006 05:48 AM
Re: always read .profile
Perchance did you declare a new variable in your profile; assign a value to it; but forget to export it so scripts you spawn don't see the variable?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 06:03 AM
02-02-2006 06:03 AM
Re: always read .profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 06:08 AM
02-02-2006 06:08 AM
Re: always read .profile
When any user logs in to the system two profile files are read.
1. /etc/profile "System wide profile"
2. $HOME/.profile "User specific profile"
As already suggest you can check the permission of the profile files, their Owner and Group.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 06:28 AM
02-02-2006 06:28 AM
Re: always read .profile
I called the guy who made the change for me origionally. He added a file Xdefaults.
one line *LoginShell: True
That worked, but I am not sure why. now whenever I login to the system, it see's my profile changes.
Does this make sense to anyone?
Thanks,
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 09:05 AM
02-02-2006 09:05 AM
SolutionAnyways, the .Xdefaults file tells the remote system (remember, your PC isn't doing anything but acting as a display device) to set these Xwindow environment values. In this case, xterm would be told to perform a *normal* login if the resource was "Xterm^loginShell=true", but if you leave off the xterm part, "*loginShell=true" now applies to all Xwindow processes started by this user (meaning hpterm, xterm and dtterm).
So there is a huge difference between typing telnet in a DOS/command window on your PC and clicking on a CDE icon. The PC's plain old telnet will login normally while the CDE icons and Xwindow programs have very different characteristics. Not that they can't be changed -- it's just unexpected.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 06:09 PM
02-02-2006 06:09 PM
Re: always read .profile
1) login process
2) /etc/profile
3) $HOME/.profile
to login shell.
When you do CDE login you must have a setting to read .profile file from the setting of *LoginShell: true.
To lookup .profile with dtlogin then DTSOURCEPROFILE=1 has to be set.
--
Muthu