From: yann@dagobah.fdn.org (Yann Lechelle)
Subject: 'PowerOffDisabled' suggested trick... (RTF)
Keywords: loginwindow, PowerOffDisabled, fasthalt
Reply-To: yann@dagobah.fdn.org
Organization: Individual
Date: Mon, 11 Jan 1993 21:49:39 GMT


  POWER OFF DISABLED...  THEN WHAT ?????

	As a paranoid system administrator, I welcomed the  
'PowerOffDisabled' option from the loginwindow program. However, it  
is true that when such an option is set, it is not that convenient to  
shutdown the machine (the plug is too far under the desk !)...
	Reflexively, I did a 'man loginwindow'. And surprisingly  
enough, there were man pages for that (there wasn't any in NS 2.0).  
It is suggested that in such a case, root should create an account  
called 'power' (whatever !). They mentioned that this account should  
have the following default:
	loginwindow Workspace "/etc/fasthalt -p"

My questions are the following:
1) do you have the !@*&#^!&^% fasthalt on your machine ??? I really  
can't 	find it on mine !!!
2) if it's a typo, what is the command I should use so that 'power'
	actually performs a shutdown without the need to be  
super-user
	(which would corrupt security greatly !).

Any help would be greatly appreciated. I think the answers should be  
posted as it may interest many of the system administrators that we  
are...

Thanks.



-- NewsGrazer, a NeXTstep(tm) news reader, posting --
M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA
M<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#DV,%QT>#$Y,C!<='@R.#@P7'1X
M,S@T,%QT>#0X,#!<='@U-S8P7'1X-C<R,%QT>#<V.#!<='@X-C0P7'1X.38P
M,%QF,%QB,%QI,%QU;#!<9G,R-"!<"@I[>UQ.1T=R87!H:6,Q($)O;W0N=&EF
M9@HQ,C(V($TS-%1@*D!@8&!-*DI*2DI*2DI*2DI*2DI*2DI*2EI*2DI)-34U
M-CE&-34U-4I*2DM*2DI*-34U-34U-34*334U14I*2DI*2DI)-5]5-34U-34U
M-49*2DI*2DI+13<U55T]-S=55S4V2DI*234U3C4]-ST]5SU55U4Y.0I-1C9*
M1&`C635?5557/5=?/34U8&`Z2C!@/T4W-3<W-ST]-54V-6`A2D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&AE<F4@=V%S;B=T(&%N>2!I;B!.4R`R+C`I+B!)
M="!I<R!S=6=G97-T960@=&AA="!I;B!S=6-H(&$@8V%S92P@<F]O="!S:&]U
M;&0@8W)E871E(&%N(&%C8V]U;G0@8V%L;&5D("=P;W=E<B<@*'=H871E=F5R
M("$I+B!4:&5Y(&UE;G1I;VYE9"!T:&%T('1H:7,@86-C;W5N="!S:&]U;&0@
M:&%V92!T:&4@9F]L;&]W:6YG(&1E9F%U;'0Z7`H);&]G:6YW:6YD;W<@5V]R
M:W-P86-E("(O971C+V9A<W1H86QT("UP(EP*7`I->2!Q=65S=&EO;G,@87)E
M('1H92!F;VQL;W=I;F<Z7`HQ*2!D;R!Y;W4@:&%V92!T:&4@(4`J)B->(29>
M)2!F87-T:&%L="!O;B!Y;W5R(&UA8VAI;F4@/S\_($D@<F5A;&QY(&-A;B=T
M(`EF:6YD(&ET(&]N(&UI;F4@(2$A7`HR*2!I9B!I="=S(&$@='EP;RP@=VAA
M="!I<R!T:&4@8V]M;6%N9"!)('-H;W5L9"!U<V4@<V\@=&AA="`G<&]W97(G
M7`H)86-T=6%L;'D@<&5R9F]R;7,@82!S:'5T9&]W;B!W:71H;W5T('1H92!N
M965D('1O(&)E('-U<&5R+75S97)<"@DH=VAI8V@@=V]U;&0@8V]R<G5P="!S
M96-U<FET>2!G<F5A=&QY("$I+EP*7`I!;GD@:&5L<"!W;W5L9"!B92!G<F5A
M=&QY(&%P<')E8VEA=&5D+B!)('1H:6YK('1H92!A;G-W97)S('-H;W5L9"!B
M92!P;W-T960@87,@:70@;6%Y(&EN=&5R97-T(&UA;GD@;V8@=&AE('-Y<W1E
M;2!A9&UI;FES=')A=&]R<R!T:&%T('=E(&%R92XN+EP*7`I4:&%N:W,N7`I<
$"@I]"FUI
`
-- 
/ ================================================= \
\ Yann Lechelle                     (Paris, FRANCE) /
/ yann@dagobah.fdn.org               Email/NeXTmail \
\ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ /