Hi everyone,
We're having problems importing students. Class lists must have encrypted passwords, it seems, so we're using the password crypt command for classlist files listed here:
http://webwork.maa.org/wiki/Classlist_Files#Format_of_classlist_files
The command is:
perl -pe '@a=split",";$a[9]and$a[9]=crypt($a[9],join"",(".","/",0..9,"A".."Z","a".."z")[rand 64,rand 64]);$_=join",",@a' < plaintext.lst > crypted.lst
But it doesn't work right... When I run it, it concatenates all records into a single long record.
Any ideas how it should be changed?
We use perl 5.10.0
Lars.