how to enable rsh on solaris 10



Hi,
I m trying to execute some command on my Solaris 10 box from Windows
machine. But i m getting the message


rsh {servername} -l username comamnd
{Servername}: permission denied
rsh: can't establish connection


I have done changes in /etc/hosts and /.rhosts but still i m not able
to connect.
all these services are enabled.
svcadm enable svc:/network/login:rlogin
svcadm enable svc:/network/shell:default
svcadm enable svc:/network/login:rlogin

ssh is working but it is asking for password on each attempt of
execution of command.
May be this problem due to since in Solaris 10 inetd.conf is useless
and all the services are controlled by svcadm or inetadm.
Please let me know how can i overcome this problem.

.



Relevant Pages

  • telnet vs. rsh
    ... I'm setting up a Solaris makefile that kicks off a windows batch file ... I can also rlogin and rsh from Unix to windows with no explicit command, ...
    (comp.unix.admin)
  • Re: rsh problem - "password expired" message
    ... Put the servername and USERNAME in them. ... >> Is there any other way to execute a command as another user? ... > You can also use ssh as you are using rsh. ...
    (comp.unix.shell)
  • Re: rsh problem - "password expired" message
    ... Put the servername and USERNAME in them. ... > Is there any other way to execute a command as another user? ... You can also use ssh as you are using rsh. ...
    (comp.unix.shell)
  • Few Good Interview Questions (Only for English Readers)
    ... overwhelming response. ... What command shows what modules are loaded into the Kernel? ... What command in Solaris, do you use to setup aliases for devices? ... How do you determine Volume Status in Veritas VxVM? ...
    (comp.unix.solaris)
  • posix ps (was Re: Adding `pgrep and `pkill to /usr/bin)
    ... >> commands also exist in Solaris and Linux. ... >> make whatever changes are needed for them to work on FreeBSD. ... pedantic posix relaxed solaris sunos susv3 tru64 ... since I suppose -arch will reject these important changes to a native command. ...
    (freebsd-arch)