#!/bin/bash # for I in $* do foo=`gksudo -u root -k -m "Inserire la password di root" /bin/echo "got r00t?"` sudo gedit $I done exit 0