Manage SELinux Security Flashcards

1
Q

What is getenforce command used for?

A

To manage the SELinux mode of a system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is setenforce command used for?

A

To manage the SELinux mode of a system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the semanage command do?

A

Manages SELinux policy rules.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the restorecon command do?

A

Applies the context that the policy defines.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are Booleans?

A

Switches that change the behavior of the SELinux policy. You can enable or disable them to tune the policy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is sealert command used for?

A

Displays useful information to help with SELinux troubleshooting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly