top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

how to rsh without password in Linux?

+2 votes
624 views
how to rsh without password in Linux?
posted Mar 6, 2014 by Avinash Shukla

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes
  1. Use one of these methods to allow users to run rsh without a password:
    Edit the /etc/hosts.equiv file. The file must be owned by the root user, must grant read and write access to the root user, grant no access to any other user (file mode of 600).
  2. Create a .rhosts file for each user. The file must be located in the home directory of each parallel user, be owned by the user, and grant read/write access to the user and no access to any other user (file mode of 600).
    On each node, use this command to verify that users can use rsh without a password:

rsh host_name uptime

answer Mar 6, 2014 by Amit Kumar Pandey
Similar Questions
0 votes

I have a web server running on fedora. This web server is only for applicatons testing purposes. When i installed apache 2.4 it automatically create a group and an user apache.

All files/folder that are under /publi_html should have apache as user/group permissions.

This webserver runs in virtual machine and has its own IP address. Now i need to reach this webserver from a windows workstation and edit/add/delete files and folders from the public_html directory. i can not use my default user account as this account can just read files but can't edit/delete or add files/folder as standard permissions are 644 for files and 705 for folders.

i was thinking to perfom all actions (delte/move/edit...) in this public_html directory under apache account, but as apache account was installed automatically i do not have the password.

So what is the default password for apache user account ?

I guess there is better solution as on webhosting servers, you do not have apache user account, but a different one. so please, could you tell me how webhosting companies manage that (in order to reproduce a very similar way at home) ?

...