LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 02-27-2002, 12:56 PM   #1
paulmccs
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
pperon
Member
 
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
taz.devil
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
parapente
Member
 
Registered: Sep 2001
Location: Greece
Distribution: Gentoo
Posts: 39

Rep: Reputation: 15
Lightbulb

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...
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
shutdown but no reboot alma Suse/Novell 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 07:29 AM.

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