LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-21-2006, 06:01 PM   #1
Sabinou
Member
 
Registered: Jan 2006
Location: France
Distribution: Debian Wheezy, Webmin + Virtualmin (remote dedi)
Posts: 214

Rep: Reputation: 30
Disabling hardware detection of "reboot" and "power" buttons


Hello folks

I heard it's possible to disable the shutdown function when the power button of my computer is pressed. But I didn't manage to find where, in these forums, the solution is given, all I could read is that this is ACPI related.

Would someone be kind enough to tell me ?

Besides, would you know if disabling the REBOOT button is also possible ?

You see, i've got a nine months old son, proud of being able to walk, and his new hobby, every time he sees a computer, is to press the shutdown and reboot buttons, and then watch the screen for the funny effects
At least for my computer, I'd like to be able to configure the machine so that it won't shutdown or reboot every time I'm not watching it closely enough

Would someone know ?
 
Old 08-21-2006, 06:14 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Look in /etc/acpi/events. For backup I would move the one called power to say in you home folder just in case you wish to use it in the future.

I no file called power then maybe you will need to edit one of the files that contain the power section.

Brian1
 
Old 08-21-2006, 06:16 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Would it perhaps be easier to put something around the computer to restrict access?

This is one situation where the case with the locking front door would be handy....
 
Old 08-21-2006, 07:03 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Oh did not read your post completely. A few ideas that are simplier.
No idea if the reset can be disabled from the acpi. Doubt it.

Tape over the power switch and for the reset unplug it from the motherboard.
Move the power switch to the back if more secure.
Or add a second switch in series with the power. Have to hit both to power down or up. Kind of like that thing you see in the movie wargames or superman 3.
Change the case out to one that has a locking cover over the power button and so on.

Brian1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"shutdown" and "halt" symlinks: poweroff, reboot. sud_crow Linux From Scratch 11 10-17-2006 11:03 PM
Suggestion: for "subscribed threads" & "top of page" buttons Old_Fogie LQ Suggestions & Feedback 7 07-10-2006 05:10 PM
What "kernel opts" allow PC to power down with "turning energy off"? kornerr Linux - General 1 03-10-2005 12:07 PM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 03:28 PM
Removing "shutdown" and "reboot" in logout window nearfar Red Hat 1 10-07-2003 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration