LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 01-08-2008, 10:49 AM   #1
Steve Riley
Member
 
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Rep: Reputation: 15
selinux prevents login


I set selinux to enforcing and was not able to login. I booted to a live CD and, turned selinux off, and was able to login. In the selinux troubleshooter it shows:

---
SELinux is preventing /usr/sbin/gdm-binary (hotplug_t) "entrypoint" access to /etc/X11/xinit/Xsession (bin_t).
---

and

---
SELinux is preventing access to files with the label, file_t.
---

As far as I know, I did not change anything to create this problem. How can I correct these so that I can use enforcing mode? I'm using CentOS 5.1.

Also, let me know of any good resources for learning SELinux for Red Hat system administration. Everything I've seen is very conceptual, not very practical. At the Red Hat site they mostly say, "take the class"!

Thanks
 
Old 01-08-2008, 11:44 AM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,153

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Do you have the selinux-polgengui command installed? If so, just run it to change your policy as needed.

Do you have the system-cofig-selinux command installed? If so, run and see if that can help.

If you have neither of those tools, see if you can find them is the CentOS repositories.

Of course, if you can't log in, you system is very secure.
 
  


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
"../system.h :selinux/selinux.h:no such file or directory" ashmita04 Linux From Scratch 4 02-05-2009 04:36 AM
SELinux preventing cvs login bullet45 Linux - Software 1 01-24-2007 06:00 AM
SElinux Disaster / Can't Login / X11 Blocks Libpam.so tarek_taha Fedora 5 06-08-2006 09:29 AM
SELinux prevents adding users in FC3? Phaethar Fedora 0 12-27-2004 10:54 AM
app launched at boot not prevents access to login screen wvmikep Linux - Newbie 5 07-03-2004 08:41 AM


All times are GMT -5. The time now is 08:36 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