- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Issue with user Terminal or Shell or 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
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
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-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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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