You must not omit the hostname parameter when using rlogin.
If you use flags on this command, you have to place them after hostname.