How to disable Ctrl-C during init (initial ramdisk / normal init)
Michael S. Zick
mszick at morethan.org
Tue May 23 15:22:53 UTC 2006
On Tue May 23 2006 10:11, Rich Felker wrote:
> On Tue, May 23, 2006 at 08:09:15AM -0500, Michael S. Zick wrote:
> > > Or perhaps there is a way to disable stdin on console during critical
> > > phase of init?
> > >
> >
> > Keep the customer away from console. Like don't wire it out of the box.
>
> I disagree with this principle. It's certainly reasonable to have a
> kiosk or other type of system where untrusted users can access the
> keyboard, and not want them to be able to perform privileged
> operations using it!
>
I was unclear - don't wire out /dev/console.
Does not mean you do not bring out other devices for the attachment
of keyboards accepting user input.
That is: Let init run on /dev/console and allow physical access by
users on /dev/something_else.
Mike
More information about the busybox
mailing list