Add multiple user in linux

http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html

for i in seq 1 30; do echo -n “group$i:group$i:” echo -n $i | awk ‘{printf 1;printf “%03d”, $1;}’ echo :506:Student user:/home/user$i:/bin/bash

done

Scott Tse's Picture

About Scott Tse

Discover and Exploit.

Hong Kong, China https://wishlog.github.io

Comments