Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Deutsches Forum (German) Deutsche Dokumentation
  • Search

D7 AppArmor Profile für Konsolen Programme

Dokumentation, Tipps und Tricks.
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
Author
Message
pietinger
Moderator
Moderator
Posts: 6608
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

D7 AppArmor Profile für Konsolen Programme

  • Quote

Post by pietinger » Sat Nov 28, 2020 9:51 pm

(Dieser Post ist Teil einer Installation-Anleitung. Falls nicht schon geschehen lies bitte: Installation Guide for Paranoid Dummies Post Nr. 3)



D.7 AppArmor Profile für Konsolen Programme

  • Profile: /etc/apparmor.d/bin.nano
  • Beschreibung/Bemerkung: Ich sehe den NANO nicht so sicherheitskritisch. Das Profil ist trotzdem hier, da wir das ja zu Lehrzwecken in D.4 gemacht haben.

Code: Select all

# version 1

abi <kernel>,

profile nano /bin/nano
{
include <local/ONLYLOCAL>
/{,**}  rwc,
}
  • Profile: /etc/apparmor.d/usr.bin.ping
  • Beschreibung/Bemerkung: Das oben gesagte gilt auch hier.

Code: Select all

# version 1

abi <kernel>,

profile ping /usr/bin/ping
{
include <local/ONLYNETWORK>
capability net_raw,
}
  • Profile: /etc/apparmor.d/usr.bin.traceroute
  • Beschreibung/Bemerkung: Das oben gesagte gilt auch hier.

Code: Select all

# version 1

abi <kernel>,

profile traceroute /usr/bin/traceroute
{
include <local/ONLYNETWORK>
capability net_raw,
}
  • Profile: /etc/apparmor.d/usr.bin.wget
  • Beschreibung/Bemerkung: Das oben gesagte gilt auch hier

Code: Select all

# version 2

abi <kernel>,

profile wget /usr/bin/wget
{
include <local/ONLYNETWORK>
/home/*/.wget-hsts rwk,

# emerge needs this
/usr/lib/locale/locale-archive  r,
/usr/portage/distfiles/**  wr,      # old location
/var/cache/distfiles/**  wr,
}
Du bist herzlich eingeladen diesen Thread mit Deinen Profilen zu erweitern.

.
Top
Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Deutsche Dokumentation”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy