Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 02-27-2002, 12:56 PM   #1
LQ Newbie
Registered: Feb 2002
Location: auburn ny
Distribution: Red Hat
Posts: 4

Rep: Reputation: 0
Question control reboot, init 6 ,shutdown

Is there a way to prevent, intercept , or password protect a run level change. For example if some types init 6, or reboot from root, I would like to be able to have more control of that. Looking for idea besides controlling root login access itself. Thanks
Old 02-27-2002, 01:03 PM   #2
Registered: Jan 2002
Location: Cleveland
Distribution: Gentoo and umm... Gentoo
Posts: 64

Rep: Reputation: 15
Root is omniscient.

I don't think it *is* possible. If someone 'roots' you, well - then they got the ball.

Anyone else?
Old 02-27-2002, 01:08 PM   #3
Senior Member
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
As far as I know (however much that is ), you can't set permissions for root, you need him to have permission. Sorry...
Old 02-27-2002, 02:50 PM   #4
Registered: Sep 2001
Location: Greece
Distribution: Gentoo
Posts: 39

Rep: Reputation: 15

You could try changing inittab and forcing it to execute a program of yours if you 'd like but as long as someone has your root password, or just happens to have root access in some way, I believe he would easily find out what to do after some trying. The truth is, as already told by the previous guys, when someone has root access to your linux box that souldn't have... you are in big trouble! ;-)

PS. Kids don't try this at home! ;-) You could end up with a destroyed linux system... You may even not be able to boot your linux box! I warned ya...


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
shutdown but no reboot alma SUSE / openSUSE 2 11-17-2005 11:11 PM
help with shutdown and reboot Paxmaster Fedora 2 09-26-2004 04:01 PM
Immediate shutdown/reboot Creep Linux - Hardware 4 03-07-2004 04:56 AM
Init 0 does not shutdown the server on its own samble Linux - General 5 11-10-2003 01:38 PM
Shutdown nor reboot shusseina Linux - Software 7 05-05-2003 07:12 PM

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

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