not an assignment....restricted environment..can not use ssh..have to go through rlogin..dont know how to provide password..?
I don't think that there are any modules for rlogin (I did search), but you can use the
Expect module to formulate a response to the prompt. Its a little bit of an entailed module, but it is quite powerful.
Regards,
Jeff