如下:
 
 
1.  vi  userlist
example01:x:500:500::/tmp/example01:/bin/bash  
example02:x:501:501::/tmp/example02:/bin/bash  
example03:x:502:502::/tmp/example03:/bin/bash  
example04:x:503:503::/tmp/example04:/bin/bash  
example05:x:504:504::/tmp/example05:/bin/bash  
example06:x:505:505::/tmp/example06:/bin/bash 
 
2.newusers < userlist  (newusers,从userlist文件中导入用户)
 
3.vi password
example01:12345  
example02:12345  
example03:12345  
example04:12345  
example05:12345  
example06:12345 
 
4.pwunconv
5.chpsswd < password
6.pwconv