#!/bin/sh ID=`which id` echo $ID IDN=`$ID -u` if [ $IDN -ne 0 ] ; then echo "podaj hasło roota" exec su -c ethereal exit 1 else ethereal fi