Difference between revisions of "Chcon"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{Draft}} == See also == * SELinux")
 
Tags: Mobile web edit, Mobile edit
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
{{Lowercase}}
 +
<code>[[chcon]]</code> change file [[security context]] and it is included in <code>[[coreutils]]</code> package.
 +
* Man: https://man7.org/linux/man-pages/man1/chcon.1.html
 +
 
 +
 
 +
 
 +
chcon -R system_u:object_r:admin_home_t:s0 yourpath/
  
  
 
== See also ==
 
== See also ==
* [[SELinux]]
+
* {{SELinux}}
 +
 
 +
[[Category:Linux]]
 +
[[Category:SELinux]]

Latest revision as of 09:49, 7 November 2021

chcon change file security context and it is included in coreutils package.


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


See also[edit]

Advertising: