disabling shutdown on qnx4.25 server

who knows a way to disable the system shutdown even via
shft alt ctrl del
and
/usr/bin/shutdown
or
shutdown -n
by root login from remote computer?

In the Proc32 documentation is a mark:
Interrupt vector 0xf5 is always invoked before trying any of
these methods. For custom hardware, you can point this
vector at code to cause the restart.
When the service on this vector does not chain to the original service one
can disable the system shutdown, but I don’t find anywhere a note how to
attach the Interrupt vector 0xf5 !!!
Does anybody know how to do ???

“Martink Köhler” <koehler.martin@berlin.de> wrote in message
news:9sdv4m$dlq$1@inn.qnx.com

who knows a way to disable the system shutdown even via
shft alt ctrl del

There is an stty option to do this. Look at the docs for stty.

and
/usr/bin/shutdown
or
shutdown -n<NodeID
by root login from remote computer?

I don’t think you can disable this for remote root login and NOT disable it

for local root login, unless you want to rewrite shutdown yourself.


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net

“Operating System Tech Support” <os@qnx.com> wrote in message
news:9se6hq$29t$1@nntp.qnx.com

“Martink Köhler” <> koehler.martin@berlin.de> > wrote in message
news:9sdv4m$dlq$> 1@inn.qnx.com> …

When the service on this vector does not chain to the original service
one
can disable the system shutdown, but I don’t find anywhere a note how to
attach the Interrupt vector 0xf5 !!!
Does anybody know how to do ???

Check out the help documenation on qnx_hint_attach() to attach a handler
to
a specific hardware interrupt.

isn’t 0xF5 a software interrupt ? i believe qnx4 dosn’t reprogramm interrupt
controllers so hardware IRQs mappings into interrupt vectors are left by
default i.e. 0x07…0x0E for master PIC and 0x70…0x77 for slave PIC.

-Adam

// wbr

“Martink Köhler” <koehler.martin@berlin.de> wrote in message
news:9sdv4m$dlq$1@inn.qnx.com

When the service on this vector does not chain to the original service one
can disable the system shutdown, but I don’t find anywhere a note how to
attach the Interrupt vector 0xf5 !!!
Does anybody know how to do ???

Check out the help documenation on qnx_hint_attach() to attach a handler to
a specific hardware interrupt.

-Adam