🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.sysadmin
6 messages
6 total messages Started by Chris Scudds Tue, 25 Aug 1992 14:44
NeXT Remote Power Up/Down?
#664
Author: Chris Scudds
Date: Tue, 25 Aug 1992 14:44
17 lines
1164 bytes
Subject says it all...is it possible to remotely power the machines
on and off? Is there perhaps some .app already around that will
do this?

Also, is there a utility to broadcast messages to the workspace,
eg. "LOG OFF NOW!"? I can do this thru UNIX, but output only goes
to the console, which most users don't even know about. Broadcast.app
anyone?

Thanks in advance.

--
*****  Who am I ? - Chris Scudds, BSc, MSc, ( PhD? Wait and see )  *****
*    Where am I ? - Dept. Of Music, University Of Glasgow, Scotland    *
*                      Why do I feel this way ?                        *
*            >>  chris@uk.ac.gla.music   NeXTmail accepted  <<         *
*****         >>  " I'd rather Jack, than Famous Grouse "  <<      *****
Re: NeXT Remote Power Up/Down?
#684
Author: Ed Faught
Date: Wed, 26 Aug 1992 17:57
15 lines
1171 bytes
In article <1992Aug25.144408.18538@udcf.glasgow.ac.uk> chris@uk.ac.gla.music  
(Chris Scudds) writes:
>Subject says it all...is it possible to remotely power the machines
>on and off? Is there perhaps some .app already around that will
>do this?
>
>Also, is there a utility to broadcast messages to the workspace,
>eg. "LOG OFF NOW!"? I can do this thru UNIX, but output only goes
>to the console, which most users don't even know about. Broadcast.app
>anyone?

shutdown -p should work. You'll need to be root over the network, of course.
--
Ed Faught  WA9WDM  faught@psychosis.ssc.gov
 Superconducting Super Collider Laboratory
Re: NeXT Remote Power Up/Down?
#689
Author: Steve Azmier
Date: Wed, 26 Aug 1992 19:41
39 lines
2617 bytes
In article <1992Aug26.175739.26913@sunova.ssc.gov> faught@redfox.ssc.gov writes:
>In article <1992Aug25.144408.18538@udcf.glasgow.ac.uk> chris@uk.ac.gla.music  
>(Chris Scudds) writes:
>>Subject says it all...is it possible to remotely power the machines
>>on and off? Is there perhaps some .app already around that will
>>do this?
>>
>>Also, is there a utility to broadcast messages to the workspace,
>>eg. "LOG OFF NOW!"? I can do this thru UNIX, but output only goes
>>to the console, which most users don't even know about. Broadcast.app
>>anyone?
>
>shutdown -p should work. You'll need to be root over the network, of course.
>--
>Ed Faught  WA9WDM  faught@psychosis.ssc.gov
> Superconducting Super Collider Laboratory

shutdown -p will only show up in the Console or Terminal (if it's
running).  Since there is no guarantee users will be running Terminal
or Console a "Broadcast.app" (or something similar) would be nice.
"ShellPanel" can pop open a window with an Alert message in it but if
you want to run it as root (so everyone will see it) I believe the
Public Window Server will have to be open on each station.  This is a
no-no for security reasons.  Anyone have a workaround?  Can root open
the Public Window Server on a station just long enough to broadcast a
message then close it (or leave it in the state it was in)?

Thanks,
Steve

+---------------------------------------------+-------------------------------+
| E-mail to:                                  | Regular Mail to:              |
| UUCP: ...!uunet!mnetor!yunexus!writer!steve | Steve Azmier                  |
| NETNORTH/BITNET: steve@writer.yorku.ca      | York University               |
+-------------------------------------------+-+ 4700 Keele Street             |
| "Do something right the first time and    | Computer-Assisted Writing Centre|
|  nobody appreciates how difficult it was" | Scott 530, North York, Ontario, |
+-------------------------------------------+ Canada. M3J 1P3                 |
                                            +---------------------------------+
Re: NeXT Remote Power Up/Down?
#710
Author: Marcel Waldvogel
Date: Thu, 27 Aug 1992 17:31
8 lines
862 bytes
In article <1992Aug26.175739.26913@sunova.ssc.gov> faught@redfox.ssc.gov writes:
>shutdown -p should work. You'll need to be root over the network, of course.

No, shutdown -p doesn't power the machine down. You have to
'shutdown -h -p', to do the job, the manpage is not quite clear about
this.

-Marcel
Re: NeXT Remote Power Up/Down?
#841
Author: Eric P. Scott
Date: Tue, 01 Sep 1992 08:04
29 lines
1732 bytes
In article <1992Aug26.194128.16156@newshub.ccs.yorku.ca>
	steve@writer.yorku.ca (Steve Azmier) writes:
>shutdown -p will only show up in the Console or Terminal (if it's
>                                                        Can root open
>the Public Window Server on a station just long enough to broadcast a
>message then close it (or leave it in the state it was in)?

[This answer for 2.x systems; not verified for 3.0]

You know the "Printing" panel that pops up when your NeXT Laser
Printer runs out of paper?  That's done by a handy little program
called /usr/lib/NextPrinter/Inform.  It turns out that Inform can
display any message of your choosing:

	/usr/lib/NextPrinter/Inform "I hate recycled toner cartridges"

You can also change the text displayed on the "OK" button:

	/usr/lib/NextPrinter/Inform -b1 Extinguish "Fuser assembly on fire"

What it doesn't let you do is change the printer icon or the
"Printing" title, which is too bad, since NeXTSTEP could use
a general-purpose notification service.  (Hmm... you can probably
replace the "PrinterAlert" nib section with whatever you want.)

Oh yeah: if run by root, Inform will work even without Public
Window Server enabled.

					-=EPS=-
Re: NeXT Remote Power Up/Down?
#888
Author: David Lemson
Date: Wed, 02 Sep 1992 00:53
18 lines
1399 bytes
eps@futon.SFSU.EDU (Eric P. Scott) writes:

>You know the "Printing" panel that pops up when your NeXT Laser
>Printer runs out of paper?  That's done by a handy little program
>called /usr/lib/NextPrinter/Inform.  It turns out that Inform can
>display any message of your choosing:

>a general-purpose notification service.  (Hmm... you can probably
>replace the "PrinterAlert" nib section with whatever you want.)

You sure can, I just did it in about 25 seconds... makes a great app
to pop up on all the machines in the lab when there is going to be a
system shutdown!
-- 
David Lemson                                                 (217) 244-1205
University of Illinois NeXT Campus Consultant  / CCSO NeXT Lab System Admin
Internet : lemson@uiuc.edu                 UUCP :...!uiucuxc!uiucux1!lemson 
NeXTMail accepted                                   BITNET : LEMSON@UIUCVMD
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads