Solved

RSH login to Unix when user name has spaces

Posted on 1998-07-22
4
292 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

740 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