[Sunhelp] rsh permission denied problem

Sampath K Kari sampath_k_kari at fanniemae.com
Mon Sep 20 15:21:42 CDT 1999


Hi Kevin,

Set the permissions with the below commands.

# chown root /usr/bin/rsh /usr/bin/rcp /usr/bin/rlogin
# chmod 4555 /usr/bin/rsh /usr/bin/rcp /usr/bin/rlogin

Bye..
Sampath

> Date: Mon, 20 Sep 1999 06:21:18 -0700 (PDT)
> From: Kevin Nolan <k77_99 at yahoo.com>
> To: sunhelp at sunhelp.org
> Cc: k77_99 at yahoo.com
> Subject: [Sunhelp] rsh permission denied problem
> Reply-To: sunhelp at sunhelp.org
>
> Hi,
>
> I'm having a problem with rsh on our network.
> for one sun host only, if i rsh a remote host to run
> a command, say pwd or ls, then i get the following
> error message echoed to my cmdtool:
>
> rcmd: socket: Permission denied.
>
> the issuesd command was simply
>
> rsh 'hostname' pwd
>
> Note that this problem only exists for one machine.
> i'm running 2.5.1 on all machines, with the
> entire distribution installed.
>
> i have /etc/hosts.equiv and /.rhosts set up
> on every machine, and have been successfully
> running NIS for the last 2-3 years. Groups and netid
> NIS maps are correctly set up, and by and large everything looks hunky
> dorey on all hosts, even the problematic one. I've consulted with two
> other sys admin guys from other companies and they don't know either.
> I'm not running secure rpc, and only NIS, not NIS+. i've exhausted all
> the obvoius errors or mistakes on my or the users part.
>
> Has anyone ever seen this? any suggestions or ideas would be greatly
> appreciated.
>
> The only thing about this machine thats different to other suns on site
> is that its a Clear Case server, which i know nothing about. Might this
> have affected the network stack?
>
> if i simply 'rsh remotehost' then i get logged in fine, it looks like
> its the reply of the 'pwd' command from the remote host thats blocked.
>
> thanks,
>
> Kevin Nolan.








More information about the SunHELP mailing list