Configure rsh so that is does not prompt for a password
Both rsh or rlogin prompt for a password. All you need to do is open /etc/hosts.equiv file on host system and add entries for all hosts you would like use without password .
This file list of hosts and users that are granted "trusted" r (rsh/rloging) command access to your system without supplying a password.
$ cat /etc/hosts.equiv
Output:
job1.ha1.nixcraft.com job2.ha1.nixcraft.com job3.ha1.nixcraft.com
In above file job1, job2, job3 hosts can connect without a password.
Caution: R (rsh/rlogin) commands are very insecure if possible switch to secure shell (ssh). You can configure ssh so that is does not prompt for a password.
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Linux script to prompt for password
- Linux: Resetting a user’s password
- Change MySQL root password
- MySQL Change root Password
- How do I access MySQL server from the shell prompt (command line)?
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: rlogin, rsh, rsh_command, rsh_passwordless_login, secure_shell, ssh



Recent Comments
Yesterday ~ 1 Comment
Yesterday ~ 3 Comments
Yesterday ~ 2 Comments
Yesterday ~ 3 Comments
Yesterday ~ 13 Comments