]> git.pld-linux.org Git - packages/wireshark.git/blob - wireshark.su-start-script
- security note
[packages/wireshark.git] / wireshark.su-start-script
1 #!/bin/sh
2 ID=`which id`
3 echo $ID
4 IDN=`$ID -u`
5
6 if [ $IDN -ne 0 ] ; then
7         echo "Wireshark needs administrator capabilities"
8         echo "Give root password (you have to be in wheel group):" 
9         exec su -c wireshark
10         exit 1
11 else
12         wireshark
13 fi
This page took 0.055195 seconds and 3 git commands to generate.