home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.sysadmin
- Path: sparky!uunet!mcsun!Germany.EU.net!infko!news
- From: droege@infko.uni-koblenz.de (Detlev Droege)
- Subject: Re: Disabling the power button
- Message-ID: <1992Sep10.121043.21885@infko.uucp>
- Sender: news@infko.uucp (that is the account for news)
- Nntp-Posting-Host: nelson.uni-koblenz.de
- Organization: Universitaet Koblenz (FB Informatik)
- References: <67930@hydra.gatech.EDU>
- Date: Thu, 10 Sep 1992 12:10:43 GMT
- Lines: 45
-
- In article <67930@hydra.gatech.EDU> ccastc2@prism.gatech.EDU (Benjamin H.
- Cowan) writes:
- >
- > I don't normally read this group and what I need may be in the FAQ (if it
- > exists), but I'd appreciate a little info. I've just help install a room
- > full of NeXTs that will be online for public use at Tech. I was wondering
- > if there was a way to configure the power button in the software so that it
- > will not work. If so, then how can one power it off without unplugging it?
-
- login as root. Type:
- dwrite loginwindow PowerOffDisabled YES
-
- here is NeXTanswer workspace.333 for further answers:
- ---
- loginwindow PowerOffDisabled power off power down
-
- Q: I set the PowerOffDisabled default of loginwindow to Yes to disable to
- the power key, but it doesn't seem to work When I hit the Power key, the
- Workspace Manager still gives me the power-off alert, and the machine will
- still power down if I confirm.
-
- A: You need to change the default value of PowerOffDisabled for root, not
- yourself. Note that with this done, you will still get the power-off
- alert from WSM, and if you confirm, you will still be logged off. But,
- the machine won't power down; you'll instead find yourself
- at the login window.
-
- Q: Assuming I get PowerOffDisabled working, how do I power down the machine?
-
- A: The PowerOffDisabled default simply changes what the loginwindow does when
- the user tries to power down the machine by hitting the power key when
- either the login window or WSM is up. At other times, like when you are in
- the console or at the NeXT prompt, you can still use the power key to
- turn the machine off.
-
- QA333
-
- Valid for 1.0
- Valid for 2.0
-
- --
- Detlev Droege | droege@infko.uni-koblenz.de
- Universitaet Koblenz, | (NeXTmail ok)
- Institut fuer Informatik | Voice: +49 261 9119-421
- Rheinau 3-4, D-5400 Koblenz, Germany | Fax: +49 261 9119-499
-