Operating System - Linux
1819805 Members
3294 Online
109607 Solutions
New Discussion

rexec trouble between Windows & Suse

 
Eckle
Occasional Advisor

rexec trouble between Windows & Suse

I try to make trunning a 'rexec' command on a Windows NT 4 to a Lunix Suse.

Command executed :
U:\>rsh 12.1.0.70 ls
12.1.0.70: Permission denied.
rsh : impossible d'établir la connexion.
U:\>

In /var/log/massages, I get :
Jun 30 10:59:07 archive in.rshd[24581]: connect from 12.1.30.188 (12.1.30.188)
Jun 30 10:59:07 archive rshd[24581]: -l and -h functionality has been moved to pam_rhosts_auth in /etc/pam.conf
Jun 30 10:59:07 archive rshd[24581]: rsh denied to lfrecb0@12.1.30.188 as lfrecb0: Permission denied.

Does somebody know where I can set the access permissio
1 REPLY 1
Stuart Browne
Honored Contributor

Re: rexec trouble between Windows & Suse

Permission denied.. Ok, things to look at..

The command seems to have been executed as a user 'lfrecb0'. On the Suse box, make sure the '~lfrecb0/.rhosts' has 0600 permissions (-rw-------) and no more.

If 'lfrecb0' isn't the user you were wanting to execute commands on the suse box as, make sure to use the '-l ' flag to rsh.
One long-haired git at your service...