Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 19:36:09 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        andrew@squiz.co.nz
Cc:        "Mark J. Taylor" <mtaylor@cybernet.com>, freebsd-security@FreeBSD.ORG
Subject:   Re: Possible security "risk" in ftp client
Message-ID:  <199808112336.TAA14070@khavrinen.lcs.mit.edu>
In-Reply-To: <Pine.BSF.3.96.980812105007.16956A-100000@aniwa.sky>
References:  <XFMail.980811163822.mtaylor@cybernet.com> <Pine.BSF.3.96.980812105007.16956A-100000@aniwa.sky>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 12 Aug 1998 11:09:29 +1200 (NZST), Andrew McNaughton <andrew@squiz.co.nz> said:

>> The program "/usr/bin/fetch" does it better: use the environment
>> variables FTP_LOGIN and FTP_PASSWORD.

> Environment variables are not private.
 
> If you need to pass passwords to a program and you don't want the shell
> to see, and probably leak that information, you'll have to do it via stdin
> or a file.

As the HTTP implementation in fetch(1) will in fact do.  I did not
think it worth the (five minutes') effort to implement it for FTP.
(But I should go back and implement the MD5-based password
authentication mode for HTTP....)

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe security" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808112336.TAA14070>