Red Hat Bugzilla – Bug 142417
rsh-server does not accept a username larger than 8 characters
Last modified: 2007-11-30 17:07:05 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Description of problem:
We are a software development house and are currently using MKS
Toolkit 7.5 on Windows 2000 to interface with RedHat Linux via rsh to
MKS Toolkit uses it's own rsh.exe binary which uses 'id' to provide
the source login username. Because the connection is coming from a
Windows system, the username is specified as DOMAIN\username (as
verified when typing 'id' on the Windows MKS Toolkit development
environment) and all rsh-servers can handle this, however RedHat
rsh-server-0.17-17, does not accept a username larger than 8
characters and as such generates a message "remuser too long".
Please note that a .rhost exists on the destination RedHat server.
MKS $ id -u -n
MKS $ rsh redhat1 -l srcdevel ls
remuser too long
Is there a workwaround or will rsh-server be updated not to reject
usernames larger than 8 characters ?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rsh redhat1 -l nslivsrc ls
I see 16 bytes limit in all rshd versions and 32 bytes in rlogin.
For example 12bytes username:
uid=503(longusername) gid=503(longusername) skupiny=503(longusername)
$ /usr/bin/rsh petra -l zakkr ls
No feedback ... closing as not a bug.