Solved

RSH login to Unix when user name has spaces

Posted on 1998-07-22
4
296 Views
Last Modified: 2013-12-23
I am trying to use 'rsh <hostname> -l <usename> -n ls '. This works from NT to Unix when the NT user name has no spaces. However I have users who are set up in the form 'Fred Bloggs'. I have tried all sorts of patterns in the .rhosts file on the Unix system all to no avail. Any ideas ?
0
Comment
Question by:stewa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1568729
add the NT system to /etc/hosts.equiv
0
 

Author Comment

by:stewa
ID: 1568730
I already have the host in /etc/hosts.equiv. and in username's .rhosts
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1568731
If you still have the host in hosts.equiv, have you tried to remove user's .rhosts file.
If this fails too (some undocumented restrictions in UNIX's userbames), you need a patched ruserok() in libc.{a,so} .
0
 
LVL 10

Accepted Solution

by:
rbr earned 40 total points
ID: 1568732
Did you try rsh <hostname> -l "<usename>" -n ls

0

Featured Post

Plug and play, no additional software required!

The ATEN UE3310 USB3.1 Gen1 Extender Cable allows users to extend the distance between the computer and USB devices up to 10 m (33 ft). The UE3310 is a high-quality, cost-effective solution for professional environments such as hospitals, factories and business facilities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses
Course of the Month10 days, 17 hours left to enroll

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question