- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Why does login prompt for "TERM" only sometimes?
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
12-08-2000 11:44 AM
12-08-2000 11:44 AM
Why does login prompt for "TERM" only sometimes?
TERM=`ttytype`;export TERM
Some of the users login without getting prompted for a TERM type, others get prompted to enter it.
Does anyone know why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2000 12:03 PM
12-08-2000 12:03 PM
Re: Why does login prompt for "TERM" only sometimes?
The term setup could be set to UNKNOWN and when that is sent to the OS, it receives and UNKNOWN term type.
Does sound like something in the terminal setup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2000 12:06 PM
12-08-2000 12:06 PM
Re: Why does login prompt for "TERM" only sometimes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2000 12:16 PM
12-08-2000 12:16 PM
Re: Why does login prompt for "TERM" only sometimes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2000 01:14 PM
12-08-2000 01:14 PM
Re: Why does login prompt for "TERM" only sometimes?
I would guess that something is amiss in the terminal auto-identification sequence.
During login, when /etc/profile executes (before the .profile), the 'ttytype' command attempts to identify the current terminal by sending an identification request to it.
I am assuming that a timing issue or some other state of the physical terminal has prevented the return of any ID, leaving the TERM variable unset. Then, when the $HOME/.profile is read, a 'tset' command is offered with the option to query the user.
All of this happens BEFORE YOU set and export the TERM variable.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2000 01:20 PM
12-08-2000 01:20 PM
Re: Why does login prompt for "TERM" only sometimes?
I have found this to happen if users start to enter login/passwd detail before the session is fully established.
Give it a try and see if you can recreate it.
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2000 01:46 PM
12-08-2000 01:46 PM
Re: Why does login prompt for "TERM" only sometimes?
However, users may clobber a normal response with type-ahead data (like extra CR's or other characters) in which case ttytype doesn't see anything it recognizes and resorts to asking the user for a TERM value.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2000 01:11 AM
12-11-2000 01:11 AM
Re: Why does login prompt for "TERM" only sometimes?
It guess that some of your terminals (or emulators) provide a valid answer to the identification query and some don't.
I know that the wyse 60 has a setup entry for the identification string, a good emulator should have the same. Make sure that all the emulators are configured identically.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2000 06:00 AM
12-11-2000 06:00 AM