LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2010, 02:36 PM   #1
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
Questions regarding the selinux?


I have few doubts regarding the selinux.Anyone who can help me out :

1.I typed :
Code:
[root@localhost ~]# sestatus
SELinux status:                 disabled
[root@localhost ~]#
How can I enable it?

Attempted:

I went to startx and typed:
Code:
]
system-config-selinux
Selected enforced
Closed the UI.
No Effect.

Question:2 Say, I have SELINUX enabled when I installed it during installation.How to disable it?

Attempt:

I ran:

Code:
#setenforce  0
No Effect !!!

Question:3> What exact packages I need for SELinux?
Question:4> I ran:

seinfo -u

No Answer !!!
Am I missing any packages?
 
Old 05-04-2010, 03:09 PM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

Have a look at this site. Also it would be handy to know what distro you're using. You seem to be posting from Fedora, but what version?

Kind regards,

Eric
 
1 members found this post helpful.
Old 05-05-2010, 01:39 AM   #3
rbiyk
LQ Newbie
 
Registered: May 2010
Location: Asia/Novosibirsk
Distribution: Fedora 12, Ubuntu 9.10, CentOS 5.3, Slackware
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by linuxunix View Post
I have few doubts regarding the selinux.Anyone who can help me out :

1.I typed :
Code:
[root@localhost ~]# sestatus
SELinux status:                 disabled
[root@localhost ~]#
How can I enable it?
Usually I enable/disable SELinux by direct editing /etc/selinux/config:

Code:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#	enforcing - SELinux security policy is enforced.
#	permissive - SELinux prints warnings instead of enforcing.
#	disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
#	targeted - Targeted processes are protected,
#	mls - Multi Level Security protection.
SELINUXTYPE=targeted
Don't forget to reboot
 
  


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
postfix and selinux [selinux updates broke postfix?] rjcroasdale Linux - Server 58 03-15-2010 03:26 AM
Questions about SELinux TheStarLion Linux - Security 16 12-02-2009 05:42 PM
"../system.h :selinux/selinux.h:no such file or directory" ashmita04 Linux From Scratch 4 02-05-2009 04:36 AM
Questions about selinux on slackware okos Slackware 16 12-13-2008 05:04 AM
selinux.h ? DJ Shaji Red Hat 1 03-26-2005 01:57 PM


All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration