/usr/bin/ica is in italc-client 1:2.0.2+dfsg1-2+b1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | #!/bin/sh
if [ -e /etc/italc/keys/public/ ]; then
ITALC_STUDENT_GROUP=`stat -c %G /etc/italc/keys/public/`
MSG="
iTALC Client Applet
You are not allowed to launch iTALC's client applet.
Ask your system administrator to add your account to
POSIX group \"$ITALC_STUDENT_GROUP\".
Exiting...
"
else
MSG="
iTALC Client Applet
The iTALC setup has not been complete, yet. Read
/usr/share/doc/italc-client/README.setup.gz
or execute
sudo dpkg-reconfigure italc-client
Exiting...
"
fi
# if -autostart is given as first cmdline option, we
# will not display any GUI error messages...
if [ "x$1" = "x-autostart" ]; then
shift
ITALC_AUTOSTART="true"
fi
if [ -x /etc/italc/keys/public ]; then
if [ "x$ITALC_AUTOSTART" = "xtrue" ]; then
if [ -r /etc/italc/keys/private/admin/key ]; then
/usr/lib/italc/ica "$@" -role admin &
elif [ -r /etc/italc/keys/private/supporter/key ]; then
/usr/lib/italc/ica "$@" -role supporter &
elif [ -r /etc/italc/keys/private/teacher/key ]; then
/usr/lib/italc/ica "$@" -role teacher &
else
/usr/lib/italc/ica "$@" -role other &
fi
else
/usr/lib/italc/ica "$@" &
fi
else
if [ -z "$DISPLAY" ]; then
# No Display set...
echo
echo "iTALC Client Applet"
echo "-------------------"
echo "No \$DISPLAY environment variable set. Cannot launch iTALC Client Applet."
echo
echo "Exiting..."
echo
elif type kdialog 1>/dev/null && [ "x$ITALC_AUTOSTART" != "xtrue" ]; then
kdialog --title "iTALC Client" --error "$MSG"
elif type zenity 1>/dev/null && [ "x$ITALC_AUTOSTART" != "xtrue" ]; then
zenity --title "iTALC Client" --error --text "$MSG"
else
echo
echo "$MSG"
echo
fi
fi
|