User Tools

Site Tools


selinux:display_selinux_lables

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
selinux:display_selinux_lables [2016/07/11 11:01] – created peterselinux:display_selinux_lables [2019/12/04 20:20] (current) – removed peter
Line 1: Line 1:
-===== SELinux Display SELinux Labels ===== 
- 
-See SELinux Labels. 
- 
-Type the following command: 
- 
-<code bash> 
-ls -lZ /path/to/file 
-ls -lZd /path/to/dir 
-ls -lZd /etc 
-ls -lZ /dev/ | grep deviceName 
-ls -lZ /etc/resolv.conf 
-</code> 
- 
-Sample outputs: 
- 
-<code> 
--rw-r--r--  root root system_u:object_r:net_conf_t     /etc/resolv.conf 
-</code> 
- 
  
selinux/display_selinux_lables.1468234915.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki