Questions tagged [selinux]

SELinux is a combination of kernel changes and administration utilities that extends the Linux kernel's security model to implement more specific capabilities and restraints. Notably, SELinux can constrain a running process's privileges based not just on the process's owner, but on its identity. While there are some differences in design principles, SELinux is similar to AppArmor (which is newer, and more commonly used on Ubuntu).

SELinux is a security enhancement to Linux which allows users and administrators more control over access control.

Access can be constrained on such variables as which users and applications can access which resources. These resources may take the form of files. Standard Linux access controls, such as file modes (-rwxr-xr-x) are modifiable by the user and the applications which the user runs. Conversely, SELinux access controls are determined by a policy loaded on the system which may not be changed by careless users or misbehaving applications.

Source:SELinux Project

61 questions
23
votes
2 answers

SELinux implementation in Ubuntu

How does Ubuntu implements SELinux...? what are the pacakges(modules) involved in implementation of SELinux on Ubuntu
Chinmaya B
  • 5,602
  • 6
  • 24
  • 43
10
votes
2 answers

SELinux is not enabled

I installed SELINUX on ubuntu using the command: sudo apt-get install selinux config file in /etc/selinux contain following information SELINUX=permissive SELINUXTYPE=default SETLOCALDEFS=0 But i am not able to set selinux, when I check using…
user282924
  • 101
  • 1
  • 1
  • 5
4
votes
0 answers

How to set selinux?

I installed selinux first, I set SELINUX=enforcing instead of its original value, SELINUX=permissive in /etc/selinux/config, then I reboot my computer. I waited for some time, but it stopped, I rebooted again and it can not go into the system…
3
votes
2 answers

Trying to convert ppt to pdf using libreoffice ---headless -convert- topdf with php script

When used below command on the command line it working file libreoffice --headless -convert-to pdf ".$sourse." -outdir outputolder/ but, if use in php script nothing happen. Can anybody provide explanation on what is the exact issue with
3
votes
3 answers

After installed SELinux system is stuck and not booting

I am trying to install SELinux on Ubuntu 18.04, but after running the following commands Ubuntu can't boot. sudo apt install selinux sudo reboot
try.aaam
  • 31
  • 1
  • 3
2
votes
2 answers

SELinux enforcing mode problem

I install selinux-basics and selinux-policy-default in ubuntu server 13.04, but when i set selinux in enforcing mode and reboot, my system doesn't boot up and I get following error: mountall: mount /run/lock [424] terminated with status 32 mountall:…
Gohar
  • 335
  • 1
  • 5
  • 14
2
votes
1 answer

Should I install SELinux to make my Ubuntu Web server more secure?

This wiki page on using SELinux with Ubuntu informs of the following: The Ubuntu-specific "selinux" and "selinux-policy-ubuntu" packages documented here have not received much attention since Karmic, and appear to be effectively broken in…
Desmond Hume
  • 636
  • 3
  • 13
  • 31
2
votes
1 answer

Can SELinux Affect Apache

Can SELinux, in any way, cause Apache to only store web-site files on one partition? I'm unable to set up a localhost HTTP server with apache using html files that are on another mounted partition. I can access the HTML files in /var/www, but not…
user97575
2
votes
1 answer

Can't enable selinux on Ubuntu server 18.04

To start I'm a complete noobie in the matter of SElinux and ubuntu, so my problem is that I tried installing it on ubuntu server 18.04 using this tutorial: https://www.linode.com/docs/quick-answers/linux/install-selinux-on-ubuntu/ But I cannot…
Adrian S
  • 23
  • 1
  • 1
  • 4
1
vote
0 answers

No space left on device /tmp

I know this has been asked serval times, but my issue is a little bit different as I do NOT have a /tmp ramdisk nor a mountpoint. on the / I have 15G free. The file I try to write is just 9kb. However if I try to create a file manually as root in…
Nullx8
  • 11
  • 2
1
vote
1 answer

Installed SELinux on Ubuntu 14.04 and system is not bootable now

I was trying to learn a bit about SELinux on my Ubuntu 14.04 and did not realize that it already had AppArmor which SELinux un-installs during its own installation process. I installed two packages selinux-utils and selinux (in that order). During…
sshekhar
  • 11
  • 2
1
vote
1 answer

In 16.04 the install of SeLinux would make uninstall of both snap and lxd

I'm trying to run SeLinux on 16.04 and what i found- the cost of getting SeLinux is - losing apparmor (100% expected), together with snap and lxd (what i want to ask) root@xenial-beta3-7299:/etc/udev/rules.d/70-persistent-net.rules# apt-get install…
Xin Ma
  • 101
  • 2
  • 4
1
vote
0 answers

How can I apply (Default) my costume settings to any other new user?

I have Ubuntu 16.04 Desktop installed. How can I apply all of my custom settings to any other new user (like themes, icons, custom settings, wallpapers, etc)? Thanks.
X Dev
  • 11
  • 1
1
vote
2 answers

How to change selinux modes permissive to enforce in ubuntu 14.04

How to change selinux modes from permissive to enforcing in ubuntu 14.04. I tried # vim /etc/selinux/config SELINUX=enforcing save and quiet # init 6 after that ... no luck. when i execute getenforce command showing Disabled.
Ravindra Reddy
  • 21
  • 1
  • 1
  • 5
1
vote
1 answer

selinuxfs and plymouth-upstart-bridge , error logs on ubuntu 14.04 (embedded)

I'm bringing up ubuntu 14.04 on beagleboard-xm from RCN's site . But on booting I see a set of logs , want to know what is it and how can i fix/disable this? I'm totally confused, please help Mount failed for selinuxfs on /sys/fs/selinux: No such…
Sorcrer
  • 115
  • 1
  • 4
1
2 3 4 5