I have set up a kiosk system with Linux Debian Wheezy. After booting a user gets logged in automatically, executing startx through /etc/inittab.
Problem is that people could shutdown the machine or pull the power cord due to physical access and could gain a user shell by pressing CTRL-C during init.
Is it possible to disable keyboard shortcuts like CTRL-C during the init process, until the user session starts and if so how?
A user with direct access could stop in the bootloader and add init=/bin/sh to the end of the boot parameters to stop the kernel boot early on. They could then remount the filesystem as read/write and modify anything they wanted on the disk.
I think a better solution would be to see if you can enable silent booting so that users are unaware the system is booting until startx runs or something like that.
– sbtkd85 Feb 14 '13 at 16:36/etc/inittabor so. But maybe I found a workaround, I could change the intr keystty intr ^U, ok you still could try out every key, but maybe combinations would be possible. I'll give it a try. – JohnnyFromBF Feb 14 '13 at 17:14stty intr undef. – Scott - Слава Україні Feb 15 '13 at 03:49stty intr undefin.bashrcbut on the kiosk system it won't work. Are there any other places I could putstty intr undefto? Maybe in/etc/inittab? – JohnnyFromBF Feb 15 '13 at 11:00