there are several ways you can do this, the one I use it comment out the shutdown command
in operator_login search for "function shutdown_controller" and comment out the $SHUTDOWN_COMMAND
Code:
function shutdown_controller {
tty_echo "terminating log rotator and subprocesses"
killtree.sh $LOGROTATOR_PID KILL
# if running from a terminal exit without shutdown and start the gnome-panel
if tty -s; then
start_gnome_panel
#tty_echo "\n\nExiting script instead of shutting down controller . . .\n"
exit 0
fi
# allow override of shutdown if not in a terminal
sleep 2
check_shift_alt
#$SHUTDOWN_COMMAND << COMMENT THIS LINE OUT
}
you could also do something like
finding this line in operator_login
SHUTDOWN_PROG=`which shutdown`
change it to
SHUTDOWN_PROG=`which true`
that would prevent it from finding shutdown
another if you don't want to edit operator_login would be to
sudo mv /bin/shutdown /bin/shutitdown or and name you want
sudo touch /bin/shutdown
sudo chmod 1755 /bin/shutdown
then you have to remember to do a shutitdown if you want to use the old shutdown