cat > logins.tex <<- EOF
\\nopagenumbers
\\voffset=-1.5cm\\vsize=280mm\\hoffset=-0.75cm\\advance\\hsize by 3cm
- \\raggedright\\parindent=0pt
+ \\rightskip=0pt plus 3in\\parindent=0pt
\\font\\ftt=cstt17
\\font\\frm=csr17
\\font\\fit=csti17
EOF
bin/mo-get-users --full | while read user name; do
- passwd=`apg -n1 -m6 -Mncl | cut -d" " -f1 | tr l1O0 '@*?-' `
+ passwd=`apg -n1 -m6 -Mncl -E"01lO" | cut -d" " -f1`
passwd_md5=`echo $passwd | bin/md5crypt`
echo $user:x:$uid:$uid:$name:$MO_ROOT/users/$user/$user:/bin/bash >> etcpasswd
echo $user:x:$uid: >> etcgroup