The format for rsh commands that include a user name and, optionally, a password is as follows: rsh -l username [:password] host_command
The following example illustrates an rsh command entered with a user name and a password: rsh -l root:figby cifs shares
On any client, the password is visible in plaintext over the network. Any program that is capturing network traffic when the password is sent will record the password. To avoid exposing the password, log in as root on a client listed in the storage system’s /etc/hosts.equiv file and issue the command.
If you want to take advantage of role-based user authentication, use SSH.