From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <80191640-DB1A-4681-9289-8C17E0ED21F9@gmail.com> References: <4cefc0a5c0d62eb41b916816776836e1@brasstown.quanstro.net> <80191640-DB1A-4681-9289-8C17E0ED21F9@gmail.com> Date: Tue, 31 Aug 2010 20:18:09 +0200 Message-ID: From: Francisco J Ballesteros To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] how to lock cpu console Topicbox-Message-UUID: 4be85b46-ead6-11e9-9d60-3106f5b1d025 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 wrote: > Steve has a conslock in sources. I have a couple of CPUs in open areas th= at > 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 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. =C2=A0seems silly to run rio on the console just to lock it. >> and unfortunately, i think this method would also interfere >> with the serial console. =C2=A0and 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. =C2=A0heck, just take the machine home. =C2=A0:-P. >> >> - erik >> > >