- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Console Login with automatically logout right ...
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
тАО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
- 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
- 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
- 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
- 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
- Report Inappropriate Content
тАО10-07-2010 11:40 PM
тАО10-07-2010 11:40 PM