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).

Filter by
Sorted by
Tagged with
0 votes
0 answers
64 views

Acer Swift SF314-43 model laptop with the Ubuntu 22.04 operating system. camera is not functioning, and I'm receiving a "no device found"

I'm using an Acer Swift SF314-43 model laptop with the Ubuntu 22.04 operating system. The issue I'm encountering is that my camera is not functioning, and I'm receiving a no device found error. The ...
Shubham Kumar's user avatar
0 votes
0 answers
87 views

Selinux on Ubuntu Server 22.04

I uninstalled apparmor then installed and enabled Selinux. But I'm getting errors, such as following; Failed to start D-Bus System Message Bus Failed to start Network Manager Server is booting but I'...
SpazzRabbit's user avatar
0 votes
0 answers
89 views

I installed SElinux in my Jetson AGX Xavier, ubuntu 22.04. Now my system is stuck at boot

I have access to UEFI shell. I thought of changing the boot parameters. But when I am using cd command the command is retuning current directory not specified.
DragonSlayer666's user avatar
0 votes
0 answers
127 views

SELinux enforcing blocks network interface

I have installed SELinux on an Ubuntu Pro Server with the following packages: policycoreutils, selinux-utils, selinux-basics, auditd. The problem appears when I set SELinux policy to "enforcing&...
SirMastroBirraio's user avatar
0 votes
0 answers
135 views

Azure Ubuntu 22 LTS VM not booting after Selinux is enabled

I am trying to deploy a new Ubuntu 22LTS VM in Azure. The VM deploy works well, however when I enable Selinux and retart the machine I get the following errors: [ 6.173474] FAT-fs (sda15): IO ...
Bogdan's user avatar
  • 1
0 votes
0 answers
353 views

i am enabling SELinux in enforce mode but when i am rebooting my system crashed

i have install uubuntu 22.04 and debain 11 on different oracle machince. i am enabling SELinux in enforce mode but when i am rebooting my system crashed fist remove apparmor sudo systemctl stop ...
Abdul Jawad's user avatar
0 votes
2 answers
187 views

Alias path not found on Ubuntu

I installed kind from kubeflow kind and save it under my $HOME/kubeflow/kind To run kind from any path, I create an alias in my ~/.bashrc as following: alias kind="./$HOME/kubeflow/kind" ...
BetterEnglish's user avatar
0 votes
1 answer
1k views

snapd and SElinux

I have SElinux installed so obviously I can't install app armor but I'm trying to to install a snapd package and when I try to install snapd I get The following additional packages will be installed: ...
jon_will's user avatar
0 votes
1 answer
1k views

Permission denied for user who owns the file and the directory

User www-data, owns the "/shared/data" directory, and full permissions are graned to the "/shared" directory. root@cloud:/shared# ls -al total 28 drwxrwxrwx 4 root root ...
Rusty Weber's user avatar
0 votes
1 answer
284 views

SELinux removed but the kernel tries to load it at boot

Distro: Ubuntu 21.04 (Hirsute Hippo) Can somebody help me: What are the sources of these files below? I purged SELinux* /etc/default/grub was cleaned of SELinux and I still received an error at boot. ...
Brad Thompson's user avatar
0 votes
0 answers
280 views

Are Windows viruses recognized by AppArmor or SELinux?

I know windows and Linux are completely different environments but are there developers that implement the recognition of windows viruses in AppArmor or SELinux? I'd like it so you don't have to scan ...
Galen Marek's user avatar
0 votes
0 answers
802 views

How to NOT enable SELinux

On Ubuntu 20.10: disabled apparmor installed selinux* selinux-activate enforced in /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of ...
Brad Thompson's user avatar
1 vote
0 answers
1k views

How to get selinux audit files on ubuntu?

I am trying to configure selinux on ubuntu 20.04. I've used selinux on CentOS for some years. Im new to ubuntu. I installed with apt install policycoreutils selinux-utils selinux-basics, then apt ...
Charlweed's user avatar
  • 139
0 votes
0 answers
5k views

GNU GRUB Version 2.04 Installed Ubuntu 20.04.01 Version

I have an ASUS TUF A15 laptop which has Ubuntu 20.04.1 Desktop installed. It was working fine. I did not use it for the last week and, starting from yesterday, when I open it, it gives me the ...
Syed Mujahed's user avatar
-1 votes
1 answer
48 views

how can i Activation selinux?

i use uname -r to know the version of the kernel and this is the result 5.8.0-50-generic and try to know some information about SELinux by this command grep -i SELinux /boot/config-5.8.0- and this is ...
Menna Shaaban's user avatar
1 vote
1 answer
20k views

Failed to start Journal Service (ubuntu doesn't start)

I have Ubuntu 20.04. I decided to enable SELinux. I done only 3 strings successfully and reboot my pc: 1. sudo apt install policycoreutils selinux-utils selinux-basics 2. sudo selinux-activate 3. sudo ...
Igor-Potapov's user avatar
0 votes
1 answer
91 views

Disable Secureboot in Quectel SC600T

I have applied secure boot on my Quectel SC600T EVM Board with security Key. now I have to disable secureboot. Is it possible back to convert from secure boot to normal boot? Is there any way to erase ...
Aditya Oza's user avatar
1 vote
0 answers
75 views

External monitor not detected on Ubuntu

My external monitor is not detected by Ubuntu 18.04 My computer is an Lenovo ideapad 330. Yesterday it was working normaly and today when I startup my laptop it does work anymore. It does not appear ...
Gabriel Fernandes's user avatar
0 votes
2 answers
253 views

How can ubuntu separate system files and normal files? [closed]

I'm new to Ubuntu Linux but I have one question. How can Ubuntu separate system files and normal files? I searched for them everywhere and I can't find any of them. Where does Ubuntu store these files?...
CodingGirl's user avatar
0 votes
1 answer
54 views

Unable to move, quit software. Minimize maximize and quit is missing [closed]

I restarted my pc after the update. Now I am unable to move any applications. even quit. The application just stuck with left up corner. Even not showing which application is running in the taskbar. . ...
Tamzid Ahmed's user avatar
0 votes
1 answer
5k views

Enable SELinux on Ubuntu 20.04.1 LTS

I followed step by step the following guide to enable SELinux on Ubuntu 20.04.1 LTS: https://linuxconfig.org/how-to-disable-enable-selinux-on-ubuntu-20-04-focal-fossa-linux but after following the ...
Davide Sestili's user avatar
1 vote
0 answers
939 views

Python sees LD_LIBRARY_PATH only when executing as root (Ubuntu 20.04)

I am facing a tricky problem with LD_LIBRARY_PATH in python3.8 on Ubuntu 20.04.1. When I execute with my user the following lines: user@host>export LD_LIBRARY_PATH=/usr/lib user@host>echo $...
Florian Mahlknecht's user avatar
0 votes
0 answers
1k views

Permission denied opening shared library

I am helping a remote user who has reported an error running our software when it is trying to load one of our so files (from /usr/lib). cannot open shared object file: Permission denied The ...
Alan Spark's user avatar
1 vote
1 answer
1k views

How to view SELinux context of a file?

I've extracted the userdata partition(ext4 format) from my Android phone and mounted it on Kubuntu 19.10. I was trying to figure out what the . in ls -l output stood for and eventually discovered it ...
Syfer Polski's user avatar
0 votes
1 answer
71 views

I can't start my Ubuntu

I can't start my computer anymore (nothing changed). It shows the Ubuntu logo with the five white dots becoming orange and white again, endlessly. No error, no login screen.
claudio galdino's user avatar
3 votes
3 answers
10k views

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's user avatar
0 votes
1 answer
176 views

Unable to install any software in Ubuntu because of this error

I am pretty new in Ubuntu, I am using Ubuntu 18.04 version. I was installing Odoo software but it was interrupted because of some dependency error, Now I am unable to install any software from Ubuntu ...
Tasaddaq Rana's user avatar
0 votes
0 answers
45 views

how to mount NAS path \\yesh\fodlername on my linux server [duplicate]

I need to mount \yesh\fodlername NAS path on my linux server i am unable to do that using mount command, please help me over this.
yeswanth's user avatar
  • 117
0 votes
1 answer
998 views

After installing SELinux, I was locked out of Ubuntu 18.10. Log in screen never appeared. What am i missing here? How to properly install SELinux?

After reading a lot of articles, I heard SELinux is a great way to tighten the security. So I decided to install SELinux and I used below command: pranav@inspiron-5548:~$ sudo apt-get install selinux [...
Pranav's user avatar
  • 1,200
1 vote
1 answer
131 views

selinux, grub-pc, sda: what to do?

I wanted to install selinux on Ubuntu 16.04. The system asked me to install grub-pc: Since I don't know which option I should select, I looked for similar issues on the web and I noticed I don't have ...
alba's user avatar
  • 11
2 votes
1 answer
15k views

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/...
Adrian S's user avatar
0 votes
1 answer
363 views

How do I effectuate /usr/bin/checkmodule and /usr/bin/semodule_package on Ubuntu?

Or simulate them? It's for a build step that merely needs to succeed, but I'd like to do real work too. I just don't have enough information about it. This is do with SELinux, right? That exists for ...
Russ Bateman's user avatar
1 vote
0 answers
30 views

How Do I Properly Install Selinux on Ubuntu? [duplicate]

In the past I have used Fedora and loved having Selinux and learning about it etc. I'm pretty familiar with it. But I had a soft spot in my heart and went back to Ubuntu due to it being the first ...
user avatar
1 vote
1 answer
6k views

Useradd/groupadd fails: failure while writing changes to /etc/passwd and /etc/group. Contexts problem

Good day, ladies and gentlemen, I need your help. I have a virtual machine with Ubuntu 18.04 LTS, and I'm trying to enforce in with SELinux. I had to build and install a custom kernel out of current ...
Igor Klyuchnikov's user avatar
0 votes
0 answers
1k views

AppArmor and File Context

We are switching from a rhel7 webserver to Ubuntu 18.04. We currently have SELinux with file context set. We typically use this command in our rhel7 box: chcon -R -t httpd_sys_rw_content_t /var/www/...
alexander7567's user avatar
0 votes
0 answers
2k views

Setting the host time from a docker container gives permission error even with CAP_SYS_TIME

I'm trying to test docker capabilities usage. So, for this I'm trying to run a container with the --cap-add=SYS_TIME capability, which should allow a process to set the system time, however this is ...
Giacomo Alzetta's user avatar
0 votes
0 answers
381 views

Getting erros when I try to install or remove any program

sudo apt-get upgrade A ler as listas de pacotes... Pronto A construir árvore de dependências A ler a informação de estado... Pronto A calcular a actualização... Pronto 0 pacotes actualizados, 0 ...
Mjunior's user avatar
1 vote
0 answers
2k views

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. ...
Nullx8's user avatar
  • 11
0 votes
1 answer
3k views

ubuntu selinux and update issues [closed]

I'm using Ubuntu 12.04.5. When i try to execute below commands i'm getting following erros. Any help is greately appreciated. sudo apt-get install selinux selinux-policy Package 'selinux' has no ...
jks's user avatar
  • 1
1 vote
1 answer
1k views

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 ...
sshekhar's user avatar
0 votes
1 answer
384 views

Windows 7 screen went blank after dual boot with ubuntu

This is how my screen appears while clicking on windows 7. Recently I dual booted Ubuntu alongside Windows 7 but after the process Ubuntu works properly but the screen goes blank while opening Windows ...
Sachin's user avatar
  • 3
0 votes
1 answer
3k views

SElinux Permissive setting enable/disable black screen

I installed SELinux on Ubuntu 16.04 and changed the permissive setting to disabled. When I restart the computer, I just get a black screen upon startup. I have not enabled SELinux again. Any help is ...
Can Özkan Özarpacı's user avatar
1 vote
1 answer
3k views

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/...
Xin Ma's user avatar
  • 101
1 vote
0 answers
36 views

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's user avatar
  • 11
0 votes
1 answer
5k views

Error: Can not save config file in Linux

I am trying to edit a configuration file so called config from /etc/selinux/config in Oracle linux. I have tried using gedit and with terminal but I still get the same error. Error: Can't save. ...
Kiran K's user avatar
-1 votes
1 answer
70 views

Of what help is SE linux to me?

i am new to Linux. I have heard about SE linux ... how does it work with Ubuntu and what can i do with it?
juggernauthk108's user avatar
0 votes
1 answer
2k views

Set CWND max size in Linux

I've used this command below in Solaris to set the max CWND window size: ndd -set /dev/tcp tcp_cwnd_max size_here But I don't know the equivalent of it in Linux. Can anyone help me please? Note: I ...
Dionis Beqiraj's user avatar
0 votes
1 answer
2k views

Can't boot into graphical desktop after installing SELinux

I have a problem trying to get gui environment to bootup after installing selinux. Selinux does work when I boot up but it doesn't boot up in gui environment; in other words, the only way I can use ...
Travis Wells's user avatar
1 vote
2 answers
36k views

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 ...
Ravindra Reddy's user avatar
0 votes
2 answers
603 views

Should I be concerned about disable SELinux?

** (gnome-system-monitor:18284): WARNING **: SELinux was found but is not enabled.
Sebastian C.'s user avatar