- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Issue with user Terminal or Shell or Profile
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-17-2011 12:32 AM
11-17-2011 12:32 AM
Issue with user Terminal or Shell or Profile
Hi Team
I am getting some geniunen issue:
Whenever a user sapadm is looging into the server, he needs to set the terminay tty.
and the vi is working in open mode.
abcd:/home/sapadm#su - sapadm
Authorized uses, only. All activity may be monitored and reported
You have mail.
TERM = (hp) tty
avggspbh 21: vi abcd
[Using open mode]
"abcd" [New file]
avggspbh 22: echo $TERM
tty
Any idea what would be the issue
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-17-2011 01:15 AM
11-17-2011 01:15 AM
Re: Issue with user Terminal or Shell or Profile
Hi All
The Best think i Had done, is copied the home directory from the server, in which his profile was working. Seems issue resolved
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-17-2011 04:39 AM
11-17-2011 04:39 AM
Re: Issue with user Terminal or Shell or Profile
The problem is that your login profiles are not setup to properly handle terminals. The $TERM value must never be set manually as in: TERM=vt100, but instead, should be set using ttytype -s. The default /etc/profile and .profile have not been updated in more than 20 years and are very poor at handling different terminals.
All user .profile files should have this line:
eval $(ttytype -s)
There may be the deprecated (obsolete, don't use) command tset, possibly in a convoluted if-then-else clause. You can just add the above line after the finish of this part of the code or just put it at the bottom of .profile
Now your terminal will be automatically identified and vi will run normally (along with any other terminal-dependent programs).
Bill Hassell, sysadmin
- Tags:
- ttytype
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP