On Thu, Aug 6, 2009 at 8:04 PM, Daniel Lyons<fus...@storytotell.org> wrote: > > On Aug 6, 2009, at 6:59 PM, hiro wrote: > >> don't forget to take away the connectors from the power and reset >> buttons, otherwise good security concepts;) > > Just out of curiosity, is it possible to simply unbind the console on one of > these servers after bootup in some startup script? Or perhaps unbind the > keyboard device, so you can see messages but not type anything in? Maybe use > cat /dev/kprint instead of rc? It seems like it ought to be possible to > disable the physical console this way. I ask simply as a way of reducing > worry about passerby, not as a security solution. >
You should be able to hack /sys/src/cmd/init.c to make it start whatever you want after booting, based on init(8), but I haven't tried it. The man page says it prompts for a password on the cpu server, but that doesn't happen; the source has a pass function but it's not called anywhere. I don't have a real terminal or cpu server at my apartment, so I can't test it right now. John -- "Object-oriented design is the roman numerals of computing" -- Rob Pike