Skip to main content

Questions tagged [selinux]

SELinux (Security-Enhanced Linux) is an implementation of a flexible role-based, mandatory access control (MAC) architecture on Linux through kernel modifications and user-tools. It is primarily used to confine system processes and users beyond the basic Discretionary Access Controls (DAC) mechanism or access-control list found on *nix systems.

0 votes
1 answer
74 views

To upgrade from openSUSE Leap 15.6 to Leap 16 I installed this tool and then used it: zypper in opensuse-migration-tool But after complettion and reboot, I cannot login. When I enter my password, the ...
Megidd's user avatar
  • 1,579
1 vote
0 answers
92 views

My Android app is trying to write to the /dev/video0 file but is getting the following AVC denial: 10-31 08:31:42.987 4786 4786 W com.my.app: type=1400 audit(0.0:41): avc: denied { write } for name=&...
Aliaksei Laurynovich's user avatar
5 votes
1 answer
296 views

I am trying to elevate the SELlinux context when an administrator uses the sudo command in Redhat 9, but I can't get it to work. According to Redhat's knowledgebase, I have to change the "default&...
Garnet's user avatar
  • 468
1 vote
1 answer
158 views

I have a little experience with RHEL 6 from around 2016-2018 timeframe, but not much. When I took a new job in January 2025, I inherited a couple RHEL 8 systems. Those systems are not connected to a ...
user3271408's user avatar
1 vote
0 answers
126 views

I want to "decompile" an SELinux policy module in .pp format to its textual representation in .te format. I can run sedismod to get a listing of various components of the policy module, but ...
miken32's user avatar
  • 607
1 vote
1 answer
70 views

I want to restrict write access to certain files so that only specific process types (domains) can modify them. For this, I need to create a custom file label and assign it to those files. Following ...
muhammed noufal k's user avatar
0 votes
0 answers
73 views

For context, I am using cake-qos-simple on my router which is a QoS script to prioritize certain traffic between my LAN and WAN. On my Windows machine, I can DSCP tag all packets for any particular ...
Michael John's user avatar
0 votes
0 answers
34 views

My machine: # uname -r 2.6.18-92.el5 # cat /etc/redhat-release CentOS release 5.2 (Final) # yum list | grep selinux libselinux.i386 1.33.4-5.el5 installed ...
JenyaKh's user avatar
  • 346
0 votes
1 answer
175 views

I’m seeking practical recommendations and tools to improve the security of my Linux server (CentOS) and minimize unauthorized access. I’m interested in both fundamental and advanced solutions that can ...
ScriptScorpion's user avatar
0 votes
1 answer
115 views

I have shared my home folder over samba as follows: when i try to create folders from windows I get error "cant create" but folder is created. But permissions are all messed up. file is also ...
Rajeev's user avatar
  • 268
3 votes
0 answers
134 views

Doing this on a RHEL8.10 distro. I've created a user with staff_u role: # useradd -Z staff_u testadm And provided this user elevated permissions, for which did following steps: created mysudoers file:...
Chaitanya Singh's user avatar
2 votes
1 answer
929 views

I'm migrating our existing Amazon Linux 2 servers to Amazon Linux 2023. One of the changes is that the AL2023 now uses journald for it's logging. I have the requirement to have all logging in AWS ...
GetShifting's user avatar
2 votes
0 answers
418 views

I am trying to configure smartd to send mails via s-nail on Fedora 41. I created a .mailrc file (in which I have set the mta variable to directly send via smtps, there is no sendmail installed) in ...
AckderIII's user avatar
0 votes
0 answers
108 views

Problem: I'm facing an issue where SELinux is blocking certain actions of my application, which runs as a plugin for auditd. I've been trying to generate the necessary SELinux policy using audit2allow,...
RSVN's user avatar
  • 1
0 votes
1 answer
239 views

Background I am setting up an rsync backup over SSH service via SystemD. This is ultimately failing to run due to local SElinux; minimum reproducible example: [Unit] Description=Rsync backup service ...
MysteryMoose's user avatar

15 30 50 per page
1
2 3 4 5
42