Automating Users and Passwords
Hey guys in this simple post i will show you how you could easily create passwords of multiple users with a simple script. !/bin/bash file=/user.txt for i in more $file do useradd $i newpass=mkpasswd echo “user $i added successfully” echo “$newpass” | passwd –stdin “$i” echo “password for user $i is $newpass” done Just create …