We help IT Professionals succeed at work.

RSH login to Unix when user name has spaces

stewa
stewa asked
on
315 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 ?
Comment
Watch Question

add the NT system to /etc/hosts.equiv

Author

Commented:
I already have the host in /etc/hosts.equiv. and in username's .rhosts
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} .
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.