Useful Commands for managing Freeside Servers

Firewall

Fedora uses Firewalld instead of iptables

Example command usage

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

TLDR Page

TODO:
SYSTEMCTL commands

Other stuff

List all active users (One liner command to retrieve list of active users - IPA/Red Hat IDM - VMLinux)

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