- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: Console Login with automatically logout right ...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
10-06-2010 07:00 AM
10-06-2010 07:00 AM
I get the Login Prompt and some mysterous happens:
Console Login: root
Password: ********
...
Value of TERM has been set to "hp".
WARNING: YOU ARE SUPERUSER!!\n
root@host: ~ > logout
logout root
GenericSysName [HP Release B.11.31] (see /etc/issue)
Console Login:
Every time I'd like to login the console do a automatic logout like a TERM (Ctrl+D) signal would appear.
If I login over a ssh session, the login works as expected.
What could be the problem?
Thanks for help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-06-2010 11:01 AM
10-06-2010 11:01 AM
Re: Console Login with automatically logout right after
# echo $TMOUT
must be "0"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-06-2010 11:26 AM
10-06-2010 11:26 AM
Re: Console Login with automatically logout right after
if it's ok in a normal ssh session, can you check in /etc/profile. look for a line like if [ tty = /dev/console ] ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-06-2010 10:25 PM
10-06-2010 10:25 PM
SolutionIf the console switch has configurable DTR/DSR handshaking settings, try changing that setting.
Alternatively, see if adding this to the end of /etc/profile helps:
if [ $(tty) = "/dev/console" ]; then
stty clocal
fi
(If the TTY driver thinks the console port is connected to a modem and the modem has been reset or lost the connection, the driver will automatically cause a logout by sending a HUP to all processes accessing the port. This command disables the modem control line monitoring on the console port.)
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-07-2010 11:39 PM
10-07-2010 11:39 PM
Re: Console Login with automatically logout right after
Good: It works now.
Bad: I don't know why...
Next time I get the problem I will try your suggestions.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-07-2010 11:40 PM
10-07-2010 11:40 PM
Re: Console Login with automatically logout right after
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP