[comp.sys.apollo] Shutdown question

frederit@boulder.Colorado.EDU (FREDERICKS THOMAS M) (12/21/89)

	 I have recently become a sysadmin for our apollos.  I find it
	 rediculous to see that the machines can be shut down by anyone
	 at the console.  Is there a way to prevent this.  I am referring
	 to the fact that you can just type shut to the login prompt and it
	 will die.
	 BTW we are running sr10.1 on a dn3500.
		Tom...

lori@hacgate.scg.hac.com (Lori Barfield) (12/22/89)

In article <15111@boulder.Colorado.EDU> frederit@boulder.Colorado.EDU (FREDERICKS THOMAS M) writes:
>        [...]                  the machines can be shut down by anyone
>        at the console.  Is there a way to prevent this.  [...]

If it's that important, you might write your own DM script to mimic the
standard DM input window.  You would put user input into a buffer, then:

		sc -off
		s/ shut /msg 'Ask your local guru to shut me down'
		  ^    ^
		  |    |
You'd need to wildcard carefully around the 'shut' string or a DM command
'cv shutterbug.file' would get discombooberated.  You'd also need to KD
the dark keys on the keyboard.

If your problem is that people are shutting down or turning off a disked
node off which diskless nodes are booted, then you can put a pad or
alarm window on the disked node when the diskless ones come up.  This way,
the user on the disked node knows better than to shut down or switch off.
Another option (something I've done extensively when logged in via an SIO
line) is to pop up an alarm window when a user on the diskless node (or SIO
line) first logs in, then pop a second when s/he logs out.  Remember, you
might have to crp and start the alarm_server first if you use that method.


...lori

derstad@CIM-VAX.HONEYWELL.COM ("DAVE ERSTAD") (12/23/89)

While I emphasize with the desire to limit the shutdown command, 
there's kind of a limit to how far you can go with the power
switch and reset button in plain view.  If the user wants the node
shut down, it'll get shut down...

I think a lot has to do with the way the user base perceives
the Apollos (i.e. as "real computers" or "personal computers".)
Around here, we have about 60 networked Apollos, and probably more
Macs in several smaller networks.  The Apollos are "real
computers" and we have no problems with users shutting them 
down.  The Macs are "personal computers" and get turned on and
off left and right, even though there is file sharing, etc. 
occuring on those systems as well (abeit not as much).

Dave Erstad
DERSTAD@cim-vax.honeywell.com