Link to home
Start Free TrialLog in
Avatar of ttsenis
ttsenis

asked on

lock keyb?

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.
ASKER CERTIFIED SOLUTION
Avatar of mtmike
mtmike

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ttsenis
ttsenis

ASKER

mtmike, thanks it works. By the way any idea to lock unlock keyb at init3 and above runlevel?
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".