Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [selinux]

Security-Enhanced Linux (SELinux) is a Linux kernel security module that provides a mechanism for supporting access control security policies.

0
votes
0answers
13 views

Create a private folder in Android: set the SELinux attribute of a folder in external storage

There are quite a few apps that require read and write access to the external storage, which gives them access to the whole /sdcard directory. But since that is also the only storage the user ...
0
votes
1answer
8 views

Fedora 27 LXDE closing lid doesn't lock the screen (selinux acpid xscreensaver-command)

I've installed acpid and setup an event for lid close which works in debug mode, however I cannot get it to work when acpid is started by systemd. I used the suggestions here to configure acpid Linux ...
0
votes
2answers
42 views

H00035: access to “file.php” denied, how to properly setup SELinux?

I have been struggling for the last days with this issue and so far I am not able to find any solution. The issue in a few words is (error message): H00035: access to index.php denied because ...
0
votes
0answers
93 views

VSFTPD not listing folders with SELINUX enforcing

Im trying to login with a user on a FTP server running VSFTPD on CentOS 7. When SELINUX is enforcing it always returns a 425 error: Unable to establish connection. All the necessary ports have been ...
0
votes
0answers
49 views

Unable to SSH From External

I have a CentOS 7.5 machine behind a TP Link router. I have enabled the port forwarding in the router (and rebooted). However, for some reason, I can ping the router but I can't telnet nor ssh to ...
0
votes
1answer
104 views

chmodding files with an SELinux security context / ACL

Okay, so I have a bunch of bash & python scripts that I've written, all just chilling together in one big directory. Well, actually there are separate subdirectories, but they're all nested in ...
0
votes
1answer
179 views

SELinux: restorecon wont change context to httpd_sys_content_t

I need to use Puppeteer on a Centos 7.4.1708 system but when I have SELinux set to Enforcing I'm getting AVC errors. If I run sudo cat /var/log/messages I get: SELinux is preventing /var/www/...
0
votes
1answer
339 views

Ubuntu - SSH - Unable to get valid context for <user>

I'm seeing a strange warning when I log onto my Ubuntu box from my Mac, "Unable to get valid context for <user>". I don't remember when this started, or what could've possibly changed to cause ...
0
votes
1answer
508 views

Unable to SSH after enforcing SELinux

We have an ubuntu VM on Azure. We replaced AppArmor with SELinux using Debian packages (selinux-basics_0.5.2_all.deb & selinux-policy-default_2.20140421-9_all.deb). Everything works well when ...
0
votes
0answers
152 views

Enable FFMPEG execution under Apache + Django + WSGI on CentOS 7 (SELinux)

I have a website running under Django and Apache (httpd) and inside a view I need to call FFMPEG to convert an image to video. It worked on Ubuntu 12 for years, but now we have to migrate it to CentOS ...
0
votes
0answers
49 views

SELinux: Allowing certain users access to a directory

I have been reading about SELinux, the user, roles and types. I want to perform user access control through SELinux. For example, create an SELinux user and then map normal users to it. Only these ...
0
votes
0answers
74 views

SELinux labels on device files

I do not see any SELinux label on any of the device files under /dev on Centos6. Is it not possible to set SELinux contexts on device files? I tried setting the label, but got an error: Operation not ...
0
votes
1answer
52 views

Keeps detecting SELinux as enabled even though I disabled it (When trying to install FreePBX)

I was following this guide to install FreePBX on CentOS 6.9 (minimaslist), everything worked, until the last step to install FreePBX: ./install -n from /usr/src/freepbx, I keep getting the follwing ...
0
votes
1answer
1k views

Linux console: “Unable to get valid context for…”

I have the warning Unable to get valid context for crimbo appearing at login, and I have not been able to fix it... Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-83-generic x86_64) ...
0
votes
1answer
253 views

Cant start zabbix server while firewall on

I installed zabbix server and its prerequisites and did not get any error during the process. But at the end when i type systemctl start zabbix-server Job for zabbix-server.service failed because a ...

15 30 50 per page