you can try something like this
1. create a file (filerpass) with the filer, user and password columns, i.e:
filer1 user1 password1
filer2 user2 password1
...
filerN userN passowrdN
2. run this:
for LINE in `cat filerpass`
{
FILER='print $LINE | awk '{print $1}'`
USER=`print $LINE | awk '{print $2}'`
PASSWORD=`print $LINE | awk '{print $3}'`
set_ndmp_attr -auth $FILER $USER $PASSWORD
}
I just did it on the fly without test, but is very near what you need.
regards