Advertisement
Guest User

Untitled

a guest
Jan 5th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1.  
  2. for i in $(cat f_file)
  3.  
  4. do
  5. echo $i>tmp_file
  6. username = $(cut -d " " -f 1 tmp_file)
  7. pass = $(cut -d ":" -f 2 tmp_file)
  8. $(useradd $username -p$pass)
  9.  
  10. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement