[CentOS] way to disable keyboard and mouse ports

Maciej Żenczykowski maze at cela.pl
Tue Jan 3 23:13:57 UTC 2006


What about simply  removing the mingetty entries from your inittab or 
making something like runlevel 4 the default and remove the '4' from the 
/etc/inittab mingetty entries (and don't run gpm or X).

Cheers,
MaZe.

On Tue, 3 Jan 2006, David Fletcher wrote:

> Epoxy resin usually prevents plugs being inserted where you don't want them to
> be.
>
> Dave
>
> On Tuesday 03 Jan 2006 22:34, Jerry Geis wrote:
>> Is there a way to disable the keyboard and mouse ports?
>>
>> I have a machine in a public area running an application
>> that no-one needs to touch.
>>
>> However, someone could come up and plug a keyboard in
>> it and mouse and be logged in as that user (not root).
>>
>> Is there a way to disable the mouse and keyboard so
>> only remote ssh connections will control the PC if
>> changes need to be made.
>>
>> This would also include any usb device which is fine
>> and the PS2 keyboard and mouse.
>>
>> Thanks,
>>
>> Jerry
>
>



More information about the CentOS mailing list