Outils pour utilisateurs

Outils du site


systeme:selinux

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
systeme:selinux [2020/01/23 22:30] – [Lister les régles] rootsysteme:selinux [2020/02/21 18:36] (Version actuelle) – [sepolicy network] root
Ligne 810: Ligne 810:
 ==== sepolicy network ==== ==== sepolicy network ====
 Interroger les stratégies SELinux relatives aux information réseau: Interroger les stratégies SELinux relatives aux information réseau:
-</xtermrtf>+<xtermrtf>
 $ sepolicy network -p 22 $ sepolicy network -p 22
 22: tcp ssh_port_t 22 22: tcp ssh_port_t 22
Ligne 847: Ligne 847:
 Download and extract and set the variable **POLICY_LOCATION**. Download and extract and set the variable **POLICY_LOCATION**.
  
-Add to your ``~/.bashrc``:+Add to your ''~/.bashrc'':
 <code bash> <code bash>
 POLICY_LOCATION="~/refpolicy/"; POLICY_LOCATION="~/refpolicy/";
Ligne 936: Ligne 936:
 obj_perm_sets.spt:define(`r_netlink_socket_perms', `{ create_socket_perms nlmsg_read }') obj_perm_sets.spt:define(`r_netlink_socket_perms', `{ create_socket_perms nlmsg_read }')
 obj_perm_sets.spt:define(`client_stream_socket_perms', `{ create ioctl read getattr write setattr append bind getopt setopt shutdown }') obj_perm_sets.spt:define(`client_stream_socket_perms', `{ create ioctl read getattr write setattr append bind getopt setopt shutdown }')
 +</xtermrtf>
  
 +<xtermrtf>
 $ seshowdef manage_files_pattern $ seshowdef manage_files_pattern
 define(`manage_files_pattern',` define(`manage_files_pattern',`
systeme/selinux.1579818658.txt.gz · Dernière modification : 2020/01/23 22:30 de root