Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

My LUG on campus once in awhile holds a mock wargames on a VM. I'm trying to figure a way to get root access and make everyone else not be able to have root (king of he hill).

I have a few ideas, but people on these sites always seem to have ideas far better than mine.

In sum, how to, when root, become the only user with root on the system to maintain control with other root users doing the same.

share|improve this question
    
What are your ideas? –  Adnan Mar 22 '13 at 14:43
    
If you haven't already looked at the FAQ (linked below) you should, as this is not a typical internet forum where starting a vague thread works. SE deals in specific answerable, focused questions to problems you face and ideas you are considering. Preventing root access can be that specific if we have an idea of what system you are targeting and what you need help with. You might like to read the how to ask page... –  user2213 Mar 22 '13 at 14:51
1  
...and you should also know you can edit your question at any point and questions can be re-opened and downvotes removed in response to a good edit. –  user2213 Mar 22 '13 at 14:51
    
@Adnam create a script to kill the login of any user of groups root or wheel except the calling user. Then modify system wide .bashrc to logout if the user is of group root or wheel. –  Josh Mar 22 '13 at 15:03
    
@Adnam At which point, then go in and remove all other users from the sudoers file, disable group wheel, re-enable user root, set root's password, and control complete. –  Josh Mar 22 '13 at 15:06
add comment

closed as not a real question by Iszi, Antony Vennard, AviD Mar 22 '13 at 14:45

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

There is a time-proven strategy: learn, and then learn more. Go to the library, read technical specifications, spend time (thousands of hours at least) programming and trying things on your own computer. In the long run, this works better than just asking on the 'Ternet.

Alternative strategy: bribe the sysadmin. History teaches us that more places were conquered through treachery and corruption than actual warfare.

share|improve this answer
    
Kind of defeats the internet's purpose of collaboration... –  Josh Mar 22 '13 at 15:06
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.