why my "rsh" always display "permission denied"

crono 2002-06-24 08:34:54
I want to install rsh permission in a solaris 8 machine.I have config the correct hosts.equiv file in the /etc directory.

the hosts.equiv format is like this:
hosname username

and the hostname is the workstation which want to use rsh 's host name ,so do the username.I'v config the /etc/hosts file correctly!
Can anyone give me some suggestions?

100 point!!!
...全文
263 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
crono 2002-06-26
  • 打赏
  • 举报
回复
我试过了还是不行啊!
qxp 2002-06-26
  • 打赏
  • 举报
回复
ok.能不能贴一下,在你的solaris机器上的
netstat -a -n

/etc/hosts

/etc/hosts.equiv


和客户机的
/etc/hosts
crono 2002-06-25
  • 打赏
  • 举报
回复
I have set the correct user name and hostname of local host!
but the probelm still exist!
the operation system is solaris 8!

ps:what is hostname + means?I can use rlogin command but I must input the username and password of the remote machine.
qxp 2002-06-25
  • 打赏
  • 举报
回复
+ 表示任意(any)

我认为在 r 服务器上/etc/hosts.equiv 的文件里的
hostname 是使用r服务的 客户机的地址(或机器名)
username 是 r服务器上的账号名,不是客户机上的账号名

所以我让你先改成
client_hostname +
试试刊

另外,这个和操作系统无关。这种是采用berkerly的rhosts 安全机制,
是一个标准的过程



northsouth 2002-06-25
  • 打赏
  • 举报
回复
add your "SERVER IP SERVERNAME" to your client's etc/hosts
northsouth 2002-06-25
  • 打赏
  • 举报
回复
please see the begin of etc/hosts.equiv.

please login www.gogle.com search.
northsouth 2002-06-25
  • 打赏
  • 举报
回复
first,
sure the server's rshd(shell) and rlogind service be RUN.
please see etc/inetd.conf and etc/servces

second,
add "[CLIENTNAME] +" to /etc/hosts.equiv
CLIENTNAME:YOU client's name.

third,
run "rsh [servername] -l USERNAME hostname" on client,that resault is servername, you ok.

USERNAME : you server's user.
qxp 2002-06-24
  • 打赏
  • 举报
回复
I think the username you do not set it properly,
it should be the account in the local host, which
provides rshd and rlogind service.

first, you can try
hostname +

I think you can successfully execute rlogin command,
then we can be sure that it is the username not correctly setted.



crono 2002-06-24
  • 打赏
  • 举报
回复
no,but the root can visit the directory!
yixudong 2002-06-24
  • 打赏
  • 举报
回复
你的username用户,有访问你指定的那个目录的权限吗?

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧