Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for userdetails in `cat users.csv`
- do
- user=`echo $userdetails | cut -f 1 -d ,`
- passwd=`echo $userdetails | cut -f 2 -d ,`
- useradd $user -m -p `mkpasswd $passwd`
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement