0

I'm as a system admin and a big pain is physically checking people's private MacBooks for FileVault and firewall settings.

Is there a way to get the Terminal to output the FileVault and Firewall settings?

1
  • Welcome to Ask Different. It looks like you got both answers. In the future, please try to stick with one question per question.
    – bmike
    Commented Jan 13, 2020 at 16:41

1 Answer 1

1

You get the FileVault status with:

fdesetup status

You get the Application Firewall status with:

/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate

You get a verbose pf status with:

sudo pfctl -sa

Further readings: man fdesetup|pfctl and /usr/libexec/ApplicationFirewall/socketfilterfw -h.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .