Operating System - HP-UX
1754988 Members
3566 Online
108828 Solutions
New Discussion юеВ

Re: how should i enable rsh

 
subrata biswal
Frequent Advisor

how should i enable rsh

how should i enable rsh in my hpux machine.
how should i enable passwd less rsh .
7 REPLIES 7
Dennis Handly
Acclaimed Contributor

Re: how should i enable rsh

You don't. rsh is the restricted shell, you want remsh/rlogin?
subrata biswal
Frequent Advisor

Re: how should i enable rsh

till in my pc
/usr/bin/rsh is showing in my home directory.
my os version is 11.11
how should i enable passwdless rsh?
from server to client i m able to login?
but from client to server i m unable to connect by passwdless rsh. it is askink for passwd?


can u help?
how should i enable rsh? can u send the step?

thanks
subrata
Dennis Handly
Acclaimed Contributor

Re: how should i enable rsh

>till in my pc

??

>/usr/bin/rsh is showing

This is a hardlink to sh.

>how should I enable passwordless rsh?

Again, you need to enable remsh on HP-UX, NOT rsh. See remsh(1).
Have you created a ~/.rhosts file?

>it is asking for password?

Here is where ~/.rhosts helps.
subrata biswal
Frequent Advisor

Re: how should i enable rsh

from server to client it was happening without passwd.
from client to server it is asking for passwd for rsh?how should i enable passwdless rsh?
send the steps?

subrata
Steven Schweda
Honored Contributor

Re: how should i enable rsh

> [...] my hpux machine.

Not much of a description.

uname -a

> my os version is 11.11

Better than "my hpux machine", I suppose.

> can u help?

Yes. "You" is spelled "you", not "u".

> send the steps?

Step 1:
man remsh

Step2:
man hosts.equiv
Elmar P. Kolkman
Honored Contributor

Re: how should i enable rsh

- Checkout the permissions on your homedirectory and .rhosts file
- Make sure that in your .rhosts file it contains the correct hostname (DNS or /etc/hosts entry for your IP address) of your 'client' and the correct username your coming from.

Keep in mind that you are opening up your system to the world (anything able to access your server) because remsh is NOT SECURE !
See, for instance: http://en.wikipedia.org/wiki/Rlogin
Every problem has at least one solution. Only some solutions are harder to find.
Dennis Handly
Acclaimed Contributor

Re: how should i enable rsh

>from client to server it is asking for passwd for rsh? how should I enable password less rsh?

(As I've mentioned several time, the name of "rsh" on HP-UX is remsh, not rsh.)

You put the name of the client in the ~/.rhosts file on the server.