Verified Commit 4c588832 authored by Marco Marinello's avatar Marco Marinello
Browse files

Disabled password change for root

refs #1
parent 4fdcf99e
......@@ -17,6 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
if [ "z$(whoami)" = "zroot" ]; then
zenity --info --width 400 --title "Cambio password" --text "Non è permesso modificare la password dell'utente root da qui."
exit 0
fi
while true
do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment