for cpu servers, I sometimes add cat /dev/kmesg /dev/kprint to cpurc. as the console does not run rio and you can't hit Del to kill them, they suffice to lock the keyboard. there was also the lock program from Rob Pike, IIRC, posted here long ago, I think.
perhaps not On Tue, Aug 31, 2010 at 5:25 PM, Skip Tavakkolian <[email protected]> wrote: > Steve has a conslock in sources. I have a couple of CPUs in open areas that > I lock using it. Put it as the last action in /cfg/machine/cpurc to lock on > startup. > > Sent from my iPhone > > On Aug 31, 2010, at 8:04 AM, erik quanstrom <[email protected]> wrote: > >>> There is also, somewhere, a screen locker program that (I think) Rob >>> wrote a few years back; I compiled it and used it successfully last >>> year, and you could certainly stick that in your cpustart to >>> automatically lock the screen. However, for the life of me I can't >>> find the code right now, so maybe somebody else can point to it. >> >> i didn't suggest lock for cpu servers since it requires >> rio. seems silly to run rio on the console just to lock it. >> and unfortunately, i think this method would also interfere >> with the serial console. and it wouldn't be immune to >> a three-fingered salute, ^P, ^T^Tr, and other hilarity. >> >> since there are no interrupts on the console, it would seem >> trivial to me to, ahem, lock down the console with a 10 line program. >> you'd be left with defending against ^T^Tr, ^P, etc. >> but then again, the power button or network cable is sooo >> convienent. heck, just take the machine home. :-P. >> >> - erik >> > >
