Logging in with Username/Password on one line

view story

http://www.unix.com – Hello, I am currently working on a project that requires me to remote login into another UNIX system using different credentials. The problem is that progamatically I cannot simply feed the password into the UNIX system. Is there a way to feed the password within one command line statement. I tried using the following, but there are no parameters for password for the rlogin statement. rlogin servername -l username (HowTos)