LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 12-24-2003, 11:45 PM   #1
mooreted
Member
 
Registered: May 2003
Posts: 598

Rep: Reputation: 30
Disable Use of Power Button


I have MDK 9.2 and Win2k. In Win2k, you cannot press the power button to shut down the computer (unless you press it for 15 seconds.) In MDK 9.2, you just press the power button and the computer shuts off. I have teen-agers who bypass my screen lock to boot into Windows. This is unacceptable. Is there a way to disable the power button under MDK 9.2?

Thanks,
Ted.
 
Old 12-25-2003, 02:15 AM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
They could still hold it for 15 seconds or unplug it so your windows needs a password.

If you trap the power switch you can have it run something other than shutdown.


powerswitch.o should work on that machine
 
Old 12-25-2003, 02:33 PM   #3
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
Thanks for the reply. I have no idea how to do that but at least I know what to look up. I may just disconnect the power button from the motherboard. Last night I set up a power-on password in BIOS so even if they turn the power of they'll never get past POST without the password.

Kids are a pain!

Happy Holidays.

Ted.
 
Old 12-25-2003, 07:48 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
The powerswitch.o is a module that you will need to load.

You will need to download it and compile the module. You need your kernel source and the development tools installed to build kernel modules. Then you can load the module and your power button will work for a proper shutdown the same as windows does.
 
Old 12-26-2003, 04:18 PM   #5
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
Thanks. I just disconnected the cable that runs from the power button to the motherboard. Even if someone finds the power switch on the power supply, they wont be able to turn the computer back on. That should keep little hands out of my computer unsupervised.

Thanks,
Ted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Power-Off with Button? win32sux Linux - Hardware 6 07-01-2006 01:19 PM
disabling my power button yocomoqueso Linux - Hardware 1 06-27-2005 08:42 PM
There is no power off button on gdm folken718 Slackware 6 08-02-2004 04:45 AM
Needs to push power button to power off? danpin Linux - Newbie 5 10-21-2003 08:08 PM
Can I use the power button like in Windows? Mackan Linux - Newbie 2 03-16-2002 03:43 AM


All times are GMT -5. The time now is 12:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration