#!/bin/bash # Licence : GPL v3 # Author: Laurent HUBERT # # Changes the default user's password (id=1000) # # Default user should have id 1000: the_user=$(id -u 1000 -n) cat < $the_user password : changed <" exit 0 fi done echo "### An error occurred changing $the_user password ###" exit $status