Guest User

Untitled

a guest
Jun 20th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. [root@ip-10-102-65-46 ~]# restorecon -vR /etc/httpd
  2. restorecon reset /etc/httpd context system_u:object_r:file_t:s0->system_u:object_r:httpd_config_t:s0
  3. restorecon reset /etc/httpd/modules context system_u:object_r:file_t:s0->system_u:object_r:httpd_modules_t:s0
  4. restorecon reset /etc/httpd/run context system_u:object_r:file_t:s0->system_u:object_r:httpd_config_t:s0
  5. restorecon reset /etc/httpd/conf.d context system_u:object_r:file_t:s0->system_u:object_r:httpd_config_t:s0
  6. restorecon reset /etc/httpd/conf context system_u:object_r:file_t:s0->system_u:object_r:httpd_config_t:s0
  7. restorecon reset /etc/httpd/conf/httpd.conf context system_u:object_r:file_t:s0->system_u:object_r:httpd_config_t:s0
  8. restorecon reset /etc/httpd/conf/magic context system_u:object_r:file_t:s0->system_u:object_r:httpd_config_t:s0
  9. restorecon reset /etc/httpd/logs context system_u:object_r:file_t:s0->system_u:object_r:httpd_log_t:s0
Add Comment
Please, Sign In to add comment