Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

lock keyb?

Posted on 2003-11-05
3
Medium Priority
?
240 Views
Last Modified: 2010-04-22
Hi,
   i am seeking a way to disable the keyboard(X11-linux) through scripting or programming every time i want. I do not know if that can be done under linux or Xserver and in special if this feature can be used while the linux loads itself (init loadng) in order to disable the Ctrl+Alt+Del. Any ideas?

      Regards,
        Teo.
0
Comment
Question by:ttsenis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
mtmike earned 150 total points
ID: 9689028
The action to perform when ctrl-alt-delete is pressed can be set in /etc/inittab. Look for a line similar to "ca:12345:ctrlaltdel:/sbin/shutdown" and comment it out.
0
 

Author Comment

by:ttsenis
ID: 9693275
mtmike, thanks it works. By the way any idea to lock unlock keyb at init3 and above runlevel?
0
 
LVL 5

Expert Comment

by:mtmike
ID: 9693506
You can hook ctrl-alt-delete to a shell script, eg

ca:12345:ctrlaltdel:/etc/rc.d/init.d/ctrlaltdel

This script might check the current runlevel and test for the existance of "/etc/noctrlaltdel".
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question