Bug 17672 - ftp install with password prompts for password twice
ftp install with password prompts for password twice
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-09-19 02:42 EDT by Jeremy Katz
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-09-19 02:43:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
take care of asking for double passwords during ftp install of rpms (609 bytes, patch)
2000-09-19 02:43 EDT, Jeremy Katz
no flags Details | Diff

  None (edit)
Description Jeremy Katz 2000-09-19 02:42:26 EDT
rpm has been calling getpass() twice to get the password for a
non-anonymous ftp installs since between Red Hat 6.0 and 6.1 (rpm 3.0 and
3.0.3).  This change comes as a direct consequence of changing the way the
password is gotten to using xstrdup, as the expansion of the macro gives
two calls of getpass().  Patch against HEAD to instead just call getpass()
instead attached.
Comment 1 Jeremy Katz 2000-09-19 02:43:12 EDT
Created attachment 3460 [details]
take care of asking for double passwords during ftp install of rpms
Comment 2 Jeff Johnson 2000-09-26 18:30:53 EDT
(red face) Fixed in rpm-{4.1,4.0.1,3.0.7} cvs. Thanks very much for finding.

Note You need to log in before you can comment on or make changes to this bug.