#!/bin/sh COMMENT="Added via /img/localaccounts/addlusers.sh" GROUP=writeimagesnew USERFILE="People List.txt" USERS=`cat $USERFILE` for $i in $USERS do echo useradd -c $COMMENT -g $GROUP -M -s /bin/false done