Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

chcon vs semanage fcontext

This comparison card contrasts chcon and semanage fcontext. chcon: Temporary label. semanage fcontext is described as persistent rule. The card pairs chcon with quick test, and semanage fcontext with exams and production.

chcon vs semanage fcontext: Temporary label.; Persistent rule.
chcon vs semanage fcontext · Download PNG
Read card text

What this card says

SELinux

chcon

Temporary label.

semanage fcontext

Persistent rule.

Key points

Lost on relabel.

Applied by restorecon.

Example

chcon -t httpd_sys_content_t f

Use when

Quick test.

Exams and production.

See all AWS revision cards