wireshark.kur-kos 618 B

1234567891011121314151617
  1. xdg-icon-resource forceupdate --theme hicolor &> /dev/null
  2. update-mime-database usr/share/mime &>/dev/null
  3. getent group wireshark >/dev/null 2>&1 || groupadd -g 150 wireshark &>/dev/null
  4. setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
  5. echo "NOTE: Wiresharkı normal kullanıcı olarak çalıştırmak için wireshark grubuna kendiniz girmelisiniz"
  6. getent group wireshark >/dev/null 2>&1 || groupadd -g 150 wireshark &>/dev/null
  7. setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
  8. if getent group wireshark >/dev/null 2>&1; then
  9. groupdel wireshark
  10. fi