Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

RSH login to Unix when user name has spaces

Posted on 1998-07-22
4
Medium Priority
?
305 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
  • 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 80 total points
ID: 1568732
Did you try rsh <hostname> -l "<usename>" -n ls

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
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…

886 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