openbsd proxy authentication shows in ps list


Been using OpenBSD now about a year and I recently noticed that my http and
ftp proxy credentials show up in the ‘ps -ex’ listing:



ps -ex | grep -i Crpg

21902 ??  Is      0:00.00 LOGNAME=root HOME=/root ftp_proxy=
http://e5007704:[email protected]:8080/ PKG_PATH=ftp://ftp.

11258 ??  Is      0:00.00 LOGNAME=root HOME=/root ftp_proxy=
http://e5007704:[email protected]:8080/ PKG_PATH=ftp://ftp.

21159 ??  Is      0:00.00 LOGNAME=root HOME=/root ftp_proxy=
http://e5007704:[email protected]:8080/ PKG_PATH=ftp://ftp.

18849 ??  Ss      0:00.59 LOGNAME=root HOME=/root ftp_proxy=
http://e5007704:[email protected]:8080/ PKG_PATH=ftp://ftp.

27163 ??  Is      0:00.06 LOGNAME=root HOME=/root ftp_proxy=
http://e5007704:[email protected]:8080/ PKG_PATH=ftp://ftp.

23232 ??  Ss      0:00.04 LOGNAME=root HOME=/root ftp_proxy=
http://e5007704:[email protected]:8080/ PKG_PATH=ftp://ftp.

28873 p0  R+      0:00.00 _=/bin/ps http_proxy=
http://e5007704:[email protected]:8080/ LOGNAME=root ftp_proxy=
http://e5



First question is Why does it show SO many times and secondly how can I get
the pkg_add to use the proxy without leaking credentials?


Thx/Bill

Reply via email to