nrw.social ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Wir sind eine freundliche Mastodon Instanz aus Nordrhein-Westfalen. Ob NRW'ler oder NRW-Sympathifanten, jeder ist hier willkommen.

Serverstatistik:

2,9 Tsd.
aktive Profile

#selinux

1 Beitrag1 Beteiligte*r0 Beiträge heute

Dieser Montag ist zu ruhig:

- 39 ungelesene Mails
- DATEV fully operational 😳
- Monitoring still
- Keine weinenden User 🙁

So kann die #it nicht arbeiten, wir brauchen den Kick und Erfolgserlebnisse!

Tages-Spiel-Projekt: #selinux #mls. Wer da durchsteigt, bekommt diesen Monat 500€ Prämie aufs Gehalt. Manchmal muss man sich eben eine Beschäftigung aus den Fingern saugen 😅

Let the hunger games begin 😈

stopdisablingselinux.com/

stopdisablingselinux.comStop Disabling SELinux

Ugh #SELinux is the worst. I'm sure it's 100% my lack of understanding it though. I have my installation scripts all worked out with #Rex. At first for #AlmaLinux 8 but also adapted it to 9.

I had it all working properly under 9, but this new VPS somehow mounts the root disk in read-only mode after a reboot when SELinux has been enabled.

I'm *really* tempted to just keep it in permissive mode and ignore it for the rest of my life.

So #opensuse switched to #selinux. Changing my systems works. Only Steam is not running, because selinux blocks boolean.
I have to admit, that I don't understand selinux. Is there a easy to understand tutorial? I don't want to mess around.
In the suse forum I found this solution:
sudo setsebool selinuxuser_execmod 1
..but with hint: If you understand the risks.

I don't understand the risc :)

#tar #rsync #selinux

При работе с tar-ом на сервере (например бэкапы), не забывайте, что этот архиватор может сохранять расширенные атрибуты файлов.

Например вот так:
```sh
# tar --selinux --acls --xattrs -cvf backup.tar /var/www/user/data
```

```sh
# tar --no-acls --no-selinux --no-xattrs -xvf backup.tar
```

Помните об этих параметрах при работе с сервером, где включён selinux.

rsync, также умеет работать с расширенными атрибутами файлов: -A для acl и -X для selinux:

```sh
$ rsync -e ssh -aAXHPv /home/user/web root@server.com:/var/www/user/data/
```

Antwortete openSUSE Linux

@opensuse

Do you plan on doing more #SELinux hardening than #Fedora does?

Because how it is, SELinux on Fedora just makes #run0 a pain to use, while user processes are all unconfined, making it pretty pointless.

Or do you plan on making it user friendly?

There are many issues with #Flatpak that should be addressed. Alternatively, #UID #Sandboxing using #SimpleSandbox and SELinux could be used, which is way simpler and more secure, but relies on native packages

wiki.gentoo.org/wiki/Simple_sa

wiki.gentoo.orgSimple sandbox – Gentoo Wiki