Bug 798 - grabs different uid if copying multiple files to remote host
Summary: grabs different uid if copying multiple files to remote host
Status: CLOSED WONTFIX
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 3.7.1p2
Hardware: UltraSPARC SunOS
: P2 minor
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-26 18:21 AEDT by Scott Packard
Modified: 2006-10-07 11:36 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.