- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to disable the terminal keyboard temparyly?
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-19-2002 06:09 PM
12-19-2002 06:09 PM
how to disable the terminal keyboard temparyly?
I wish to disable the terminal keyboard temparyly, the enable it , how to do it using
os command. the terminal is vt100 connect the the server hp N4000.
Thanks
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 07:40 PM
12-19-2002 07:40 PM
Re: how to disable the terminal keyboard temparyly?
For example, if you wanted the console not to be allowed, change the word 'respawn' to 'off'
cons:123456:respawn:/usr/sbin/getty console console
You could also stop users logging in by adding an exit statement to their .profile file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 08:43 PM
12-19-2002 08:43 PM
Re: how to disable the terminal keyboard temparyly?
Can you tell us how the terminal is connected to the server. Is it through directly connected through serial port. If that is the case then /etc/inittab is the file..
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 09:53 PM
12-19-2002 09:53 PM
Re: how to disable the terminal keyboard temparyly?
Actually, My terminal is connected to the appliction server through terminal server. keyboard and a card reader mechine are connect to the terminal. when the terminal call a c program to read information from the card reader, if I press any key, the program will end with a error:program is terminated by ctrl_c. so I wish if I can disable the keyboard
, the program will not exit.
Thx
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 01:58 AM
12-20-2002 01:58 AM
Re: how to disable the terminal keyboard temparyly?
how about simple commands like:
to STOP: stty -g > ~/tty-set; stty -isig -brkint -cread
to CONTINUE: stty $(cat ~/tty-set)
That should work fine ;-)
FWIW,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 02:16 AM
12-20-2002 02:16 AM
Re: how to disable the terminal keyboard temparyly?
Wy not use lock ??
# lock
Key:
Again:
LOCKED
Hope it helps,
Robert-Jan.