Difference between revisions of "Chcon"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
{{Lowercase}}
 
{{Lowercase}}
<code>[[chcon]]</code> change file [[security context]]
+
<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
 
* Man: https://man7.org/linux/man-pages/man1/chcon.1.html
  
<code>chcon</code> binary included in <code>[[coreutils]]</code> package.
 
  
  

Revision as of 09:48, 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

Advertising: