Solved

lock keyb?

Posted on 2003-11-05
3
220 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
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
mtmike earned 50 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now