#!/bin/bash
for name in `awk -F: '{ print $1}' ./list`
do
useradd -m $name
done
chpasswd<./list
list檔格式
username:passwd
for name in `awk -F: '{ print $1}' ./list`
do
useradd -m $name
done
chpasswd<./list
list檔格式
username:passwd
powered by performancing firefox