Firewall

Fedora uses Firewalld instead of iptables

Example command usage

firewall-cmd --add-port=9191/tcp --permanent
firewall-cmd --reload

TLDR Page

https://github.com/tldr-pages/tldr/blob/master/pages/linux/firewall-cmd.md

TODO: SYSTEMCTL commands

Other stuff

List all active users (https://www.howtovmlinux.com/articles/infrastructure-management/red-hat-idm/one-liner-command-to-retrieve-list-of-active-users-ipa-red-hat-idm.html)

ipa user-find --all --raw | grep -iE '(dn:|krbLastSuccessfulAuth)' | cut -d ',' -f1 | cut -d: -f2 |  sed -re 's/([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]+)Z/\3-\2-\1 \4:\5:\6/'  | cut -d '=' -f2