Manage SELinux Security Flashcards

1
Q

What command verifies the current SELinux mode?

A

getenforce

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

What command is used to set the SELINUX parameter to permissive?

A

setenforce 0

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

What command is used to set the current SELinux mode to enforcing?

A

setenforce 1

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

What command is used to reboot the machine?

A

systemctl reboot

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