- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Profile user file (edit)
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
Discussions
Discussions
Forums
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
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-2010 05:43 AM
тАО11-10-2010 05:43 AM
Profile user file (edit)
i have a question.
The server hp-ux 11.23 has installed SAP. the user SAP in the S.O is (SID)adm.
when the user (SID)adm login in the S.O, show the message
TERM = (hp)
I understand that the file profile is .profile in the home directory, but in the home directory the user exist files: .profile, .profile1. profile2.
which file edit?
anex the message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2010 05:50 AM
тАО11-10-2010 05:50 AM
Re: Profile user file (edit)
The standard HP-UX Posix shell (or for that matter, the Korn shell) use '${HOME}/.profile'. The '.profile1' and '.profile2' files must be backup copies of some kind.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2010 05:52 AM
тАО11-10-2010 05:52 AM
Re: Profile user file (edit)
anex the file .profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 02:46 AM
тАО11-11-2010 02:46 AM
Re: Profile user file (edit)
This most likely comes /etc/profile:
eval `ttytype -s -a`
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 10:59 AM
тАО11-11-2010 10:59 AM
Re: Profile user file (edit)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 11:07 AM
тАО11-11-2010 11:07 AM
Re: Profile user file (edit)
What is it (exactly) that you want to do?
If you are running a terminal emulator, the query of the terminal (with 'ttytype') may not be delivering a value and hence the default setting is "hp". You can always hard set the terminal type (usually to something like 'vt100' or 'vt220' if that helps.
Describing your problem and your objective would be helpful.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 11:21 AM
тАО11-11-2010 11:21 AM
Re: Profile user file (edit)
/etc/profile is a basic environment. In your query you mentioned "user", so i am assuming the startup script is for the user's shell and this is done on .profile which ovverides the basic environment. And it is extremely interesting to see a .profile1 and .profile2!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 11:23 AM
тАО11-11-2010 11:23 AM
Re: Profile user file (edit)
how I can solve this issue?
when the user login in the server sidadm, show message. I delete that message
TERM = (hp)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2010 10:13 AM
тАО11-16-2010 10:13 AM
Re: Profile user file (edit)
the problem was solved. In the home directory, edit .login
comment the next line:
#eval `tset -s -Q -m ':?hp' `