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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-24-2009, 03:05 AM
|
#1
|
Member
Registered: Nov 2009
Posts: 49
Rep:
|
Changing SELinux settings for PCLinuxOS
I want to change the SELinux settings to permissive mode (temporarily) in my PCLinuxOS distro. But I can't find the configuration file to do so there. It is very different from Centos and Fedora settings.
Please help.
|
|
|
12-24-2009, 03:14 AM
|
#2
|
Member
Registered: Apr 2006
Location: Finland
Distribution: Ubuntu, Gentoo, Debian
Posts: 88
Rep:
|
|
|
|
12-24-2009, 03:25 AM
|
#3
|
Member
Registered: Nov 2009
Posts: 49
Original Poster
Rep:
|
I've already tried the commands there, but it does not work....
It returns lots of error like
Code:
bash : newrole: command not found
Code:
bash : setenforce: command not found
The grub.conf file does not even exist in /boot/grub
|
|
|
12-24-2009, 10:33 AM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Why do you think, you have selinux in PCLinuxOS ? ?
There isn't any by default.
No packages available, AFAIK.
So unless you did build it, new kernel module etc. :
No selinux'.
.....
By the way, the file 'grub.conf' has two names :
A link 'menu.list' is common, or the file name is
menu.list
.....
|
|
|
12-27-2009, 08:17 PM
|
#5
|
Member
Registered: Nov 2009
Posts: 49
Original Poster
Rep:
|
Actuallly, I'm in the process of installing and making nagios work in my PCLinux.One of the steps is to set SELinux to permissive mode. Since SElinux doesn't exist in PCLinux, what other settings do I have to change?
Because when I skip that step, I can't launch nagios through http://localhost/nagios.
The error message that I get is Error 404 : Object not found.
But apache works with http://localhost.
Last edited by anaigini45; 12-27-2009 at 08:24 PM.
|
|
|
12-27-2009, 08:43 PM
|
#6
|
Senior Member
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571
Rep:
|
Do you have /etc/selinux?
There should be a config file, and inside SELINUX=permissive
I am actually as well start to play with it.
|
|
|
12-27-2009, 08:57 PM
|
#7
|
Senior Member
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571
Rep:
|
Or in grab boot selinux=1 enforcing=0, if you have it.
|
|
|
12-27-2009, 08:59 PM
|
#8
|
Member
Registered: Nov 2009
Posts: 49
Original Poster
Rep:
|
No I don't have any of those. I don't have /etc/selinux nor the lines selinux and enforcing. These are the contents of the menu.lst file in /boot/grub.
Quote:
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0
title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=f7a48909-825c-420a-83a1-$
initrd (hd0,0)/boot/initrd.img
title linux-nonfb
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=f7a48909-825c-420a$
initrd (hd0,0)/boot/initrd.img
title failsafe
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=f7a48909-825c-420a-83$
initrd (hd0,0)/boot/initrd.img
|
Last edited by anaigini45; 12-27-2009 at 09:02 PM.
|
|
|
12-28-2009, 10:26 AM
|
#9
|
Senior Member
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571
Rep:
|
Do you have manual:
man selinux ?
In mine says about config file, check yours.
|
|
|
12-29-2009, 02:31 AM
|
#10
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
*
I can repeat : There is no selinux in / for PCLinuxOS
|
|
|
All times are GMT -5. The time now is 08:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|