Skip to content

Instantly share code, notes, and snippets.

@hackery
Last active March 18, 2026 12:36
Show Gist options
  • Select an option

  • Save hackery/11da4960efd7a22bcad37e738f7284f8 to your computer and use it in GitHub Desktop.

Select an option

Save hackery/11da4960efd7a22bcad37e738f7284f8 to your computer and use it in GitHub Desktop.
salt states to allow wireshark capture as non-root (Debian)
wireshark-debconf-non-superuser:
debconf.set:
- name: wireshark-common
- data:
'wireshark-common/install-setuid': {'type': 'boolean', 'value': true}
wireshark-reconfigure:
cmd.run:
- name: dpkg-reconfigure -f noninteractive wireshark-common
- onchanges:
- debconf: wireshark-debconf-non-superuser
wireshark:
pkg.installed
# and whatever `user.present` with `groups` you need.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment