[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rsh as root
On Sun, 30 Nov 1997, Ben-Nes Michael wrote:
> Hi
>
> im trying to shutdown slackwere from redhat by using rsh
>
> "rsh {IP} shutdown -h" (when im loged as root)
>
> can i do it ?
Yes you can, but /etc/hosts.equiv is not enough. you must create a
/.rhosts file with the name of the machine you are coming from.
Ofcourse this is VERY INSECURE so you better install SSH on both machines
and use it instead of RSH. its the same syntax but SSH will authenticate
and encrypt the communication thus preventing people from spoofing your
redhat's address and hacking into the slackware.
>
> If not how can i command my slckwere to shutdown -h from other comp ?
>