Difference between revisions of "Chcon"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 +
{{Lowercase}}
  
 
<code>[[chcon]]</code> change file security [[context]]
 
<code>[[chcon]]</code> change file security [[context]]
Line 12: Line 13:
 
== See also ==
 
== See also ==
 
* {{SELinux}}
 
* {{SELinux}}
 +
 +
[[Category:Linux]]

Revision as of 09:46, 7 November 2021

This article is a Draft. Help us to complete it.

chcon change file security context

https://man7.org/linux/man-pages/man1/chcon.1.html

chcon binary included in coreutils package.


chcon -R system_u:object_r:admin_home_t:s0 yourpath/


See also

Advertising: