Bug 798

Summary: grabs different uid if copying multiple files to remote host
Product: Portable OpenSSH Reporter: Scott Packard <scott.packard>
Component: sshdAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED WONTFIX    
Severity: minor    
Priority: P2    
Version: 3.7.1p2   
Hardware: UltraSPARC   
OS: SunOS   

Description Scott Packard 2004-01-26 18:21:42 AEDT
- copying multiple files to a remote host, and the uname I give has
 the same uid as another login uname:
 Forces login as the uname I gave for the first file, but forces
 login as the first uname found on remote host that matches
 the uid it found from
 the first successful login during subsequent file copies.

 ex: scp /etc/auto_home /etc/auto_master /etc/auto_opt sproot@design84:/etc

 first time I am asked for passwd for sproot, subsequent times I'm asked for
 passwd for root.  

 On the remote host, /etc/passwd contains both root and sproot entries, with
 root at the top of the file.  Both entries share the same uid.
Comment 1 Damien Miller 2004-03-30 16:02:26 AEST
I don't think there is much that we can do about this - we just rely on the
standard system getpwXXX functions. Note that uids are supposed to be unique.
Comment 2 Damien Miller 2004-12-20 11:32:46 AEDT
I don't think we will be implementing special hacks to support non-unique UIDs
Comment 3 Darren Tucker 2006-10-07 11:36:08 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.