alichtman/stronghold

Firewall sudo password incorrect bug

alichtman opened this issue · 3 comments

image

Should skip all firewall options if sudo password not entered correctly.

Although, maybe just leave this as-is because they'll be prompted for the pass again when the reset socketfilterfw command is run and they won't have the pass then either. No password, no changes. So no problem?

Low-priority, but should be try-excepted. Display FIREWALL CONFIG ERROR in red and do not display rest of firewall options if the sudo password is not accepted.

The real issue here is that I don't know if enabling logging will also enable the firewall, so people may exit this program thinking they enabled the firewall but didn't.

I need some way to see if the first sudo command executed correctly to decide whether or not to show the rest of the firewall options.

lmao I thought I fixed this