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

[Solved] SELinux Frage

Dokumentation, Tipps und Tricks.
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Author
Message
sewulba
Guru
Guru
User avatar
Posts: 517
Joined: Wed Feb 09, 2005 12:21 pm
Location: Heidelberg
Contact:
Contact sewulba
Website

[Solved] SELinux Frage

  • Quote

Post by sewulba » Tue Feb 05, 2019 10:06 am

Hallo @ll.

Ich möchte gerne das weitere _t bei der Ausgabe von

Code: Select all

seinfo -rstaff_r -x
erscheinen.

Hier mal ein Beispiel für die Ausgabe:

Code: Select all

# seinfo -rstaff_r -x
  staff_r
    Dominated_Roles:
        staff_r
    Types:
        dbus_home_t
        mount_t
        ....
Jetzt hätte ich gerne, dass zu dbus_home_t und mount_t (natürlich gibt es da noch mehr) noch ein weiteres bestimmtes und vorhandenes mit Namen tes_ggl_t hinzu kommt.
Ich finde einfach nicht heraus, wie ich es da reinbekomme. Ich hoffe mir kann mal wieder einer von Euch helfen.

Vielen Dank im Voraus.

Sewulba
Last edited by sewulba on Mon Feb 11, 2019 9:39 am, edited 1 time in total.
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Top
sewulba
Guru
Guru
User avatar
Posts: 517
Joined: Wed Feb 09, 2005 12:21 pm
Location: Heidelberg
Contact:
Contact sewulba
Website

  • Quote

Post by sewulba » Mon Feb 11, 2019 9:38 am

Die Lösung ist folgende (vielleicht hilft es ja mal jemanden):

In der TE-File folgendes eintragen:

Code: Select all

require {
        role staff_r;
        type gewünschte_t;
.
.
.
.

role staff_r types { gewünschte Types eintragen mit SPACE getrennt };
Das war's schon.
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Top
Post Reply
  • Print view

2 posts • 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