Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th October 2008, 06:37 AM
tristeng Offline
Registered User
 
Join Date: Sep 2008
Posts: 5
I bricked my computer with SE Linux - Please Help

So...I was trying to get a django project running with apache and mod_python and ran into some SE Linux denials...instead of just disabling it (I'm regretting even installing it right now) I followed the instructions it gave me in order to give httpd access to a library in lib64 and lib (if I remember correctly) called ld.so or something like that...immediately I found that SE Linux was denying me the ability to log in as root (some chk_pwd denial). Stupidly, I closed my terminal where I had root access and tried to reboot...but oh no, SE Linux won't let me do that either...so I hard reboot and all hell breaks loose, basically nothing works, and I can't even get a command line. So I try the install CD hoping I can do a rescue...guess what? My keyboard and mouse don't work on the screen where it asks you if you want to do the rescue installation. My only apparent option is to re-install fresh...unless someone out there can tell me how to get around this...I couldn't find a rescue CD ISO anywhere, is there one? Is there a way to bypass SE Linux so I can undo my changes? Is there a way to remove it entirely? I partitioned my drive in the way the Fedora install documentation said I should...is there anyway I can recover this data if I re-install?

Please...someone help me...I was smart enough to backup my code to another machine, but still, re-installing fresh is a royal pain.

Tristen
Reply With Quote
  #2  
Old 7th October 2008, 06:48 AM
daverj Offline
Registered User
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 670
You should be able to fix it by booting into single user mode, as I don't think selinux gets enabled with a single user mode boot. After you get to the prompt:
Code:
cd /etc/sysconfig
vi selinux   (make the changes you need to disable it. The file itself tells you what the options need to be.)
reboot.

If that does not work, try booting into emergency mode. That is the most minimal boot possible. I cannot imagine selinux would be enabled.

davidj
Reply With Quote
  #3  
Old 7th October 2008, 06:50 AM
dougbunger Offline
Registered User
 
Join Date: Oct 2008
Posts: 17
During boot, you should be able to access the boot loader and append "selinux=0". This will disable SELinux for the session. Once in, look at /etc/sysconfig/selinux. There should be an option for "selinux=disable". That will disable it on every boot.
Reply With Quote
  #4  
Old 7th October 2008, 06:55 AM
daverj Offline
Registered User
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 670
Dougbunger,

I forgot about that. It's a much better solution than mine.

davidj
Reply With Quote
  #5  
Old 7th October 2008, 05:27 PM
tristeng Offline
Registered User
 
Join Date: Sep 2008
Posts: 5
Thanks for the quick reply guys, I will try this when I get home...one other problem I noticed was that when I get to the grub bootloader, neither my mouse or keyboard was responding...but as soon as I get passed that, my keyboard starts working. At this point, can I access the boot loader? Should I enter the interactive mode?

Thanks,

Tristen
Reply With Quote
  #6  
Old 7th October 2008, 05:42 PM
tristeng Offline
Registered User
 
Join Date: Sep 2008
Posts: 5
One other thing, I have a PS/2 keyboard, not USB, I've already googled that...I will try to get into my bios when I get home, but for some reason I don't think the keyboard was working at that time either :-(
Reply With Quote
  #7  
Old 7th October 2008, 05:51 PM
Nokia Offline
Registered User
 
Join Date: Aug 2006
Location: /dev/realm/{Abba,Carpenters,...stage}
Posts: 3,286
Try resetting the BIOS.
__________________
For safer browsing, use OpenDNS nameservers 208.67.222.222 and 208.67.220.220

SELinux User Guide

AutoPager
Reply With Quote
  #8  
Old 8th October 2008, 04:13 AM
tristeng Offline
Registered User
 
Join Date: Sep 2008
Posts: 5
[solved]

Thank you, thank you, thank you. You guys are linux gods.

It was quite as simple as you described since my keyboard wasn't working during the grub loader, but I was able to boot in run level 3 using a rescue CD from here:

http://www.sysresccd.org/

Downloaded, burned it, and at boot it was waiting for some input (but again, my keyboard wasn't responding), but it booted after 30 seconds or so...I mounted my drive, and edited the selinux file in /etc/sysconfig, disabling SE Linux.

I will definitely do some reading on SE Linux before playing around with it.

Thanks again guys,

Tristen
Reply With Quote
Reply

Tags
bricked, linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wifi card bricked on Acer Aspire One F10-F11 upgrade? hesthecat Hardware & Laptops 23 19th August 2009 03:44 PM
Dell i8600 Bricked F9 -> F10 Upgrade razorjack Installation, Upgrades and Live Media 0 3rd December 2008 05:27 PM
Plymouth in Beta 10 nearly bricked my Acer Aspire One sideways Alpha, Beta & Snapshots Discussions (Fedora 10 Only) 15 15th October 2008 11:06 PM
F8-T3 bricked my laptop DJ Wings Hardware & Laptops 4 18th October 2007 07:58 PM
How to configure NetWork between a Linux computer and Windows Computer ? ZaraCattle Using Fedora 4 1st March 2007 01:16 PM


Current GMT-time: 18:58 (Thursday, 30-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Topki Photos on Instagram - Baidyabati Travel Photos on Instagram - Guyana Travel Photos on Instagram