[pca] Asking for MOS authentication

Jeff Blaine jblaine at kickflop.net
Mon Oct 31 20:55:25 CET 2011


On 10/31/2011 3:52 PM, Fred wrote:
> When going through a proxy, all I get is an Unauthorized error unless
> the creds are supplied up front.

Hmm.

I've not seen this.  We go through an HTTP proxy as well
(no username/pass for our proxy access).

That said, we set our proxy options in /.wgetrc directly
on our hosts, not via PCA's --wgetproxy, so maybe there's
something odd going on there?

> On Mon, Oct 31, 2011 at 3:49 PM, Jeff Blaine <jblaine at kickflop.net
> <mailto:jblaine at kickflop.net>> wrote:
>
>     There's no reason for --askauth (which is what I assume
>     -a was).
>
>     If MOS login is needed, pca will prompt you for your
>     information just as if --askauth had been used.
>
>
>     On 10/31/2011 3:44 PM, Fred wrote:
>
>         I miss the -a command line option option for pca.
>
>         When it comes to providing the MOS password I do not want the
>         password
>         stored cleartext in a config file, and I don't want it used on the
>         command line where it can be read in the shell's command line
>         history.
>
>         I use pca on servers that connect to a local caching proxy. I
>         used to
>         run 'pca -i -a missing' to patch a system, but since the -a
>         option was
>         deprecated I seem to have lost the ability to transmit my MOS auth
>         credentials to the proxy server without using --user=, --passwd=.
>
>         Unless there's another way to do this (and there very well may
>         be), how
>         about if --user is specified without a matching --passwd, the
>         password
>         is prompted for on the shell before proceeding?
>
>         --
>         Fred Chagnon
>         fchagnon at gmail.com <mailto:fchagnon at gmail.com>
>         <mailto:fchagnon at gmail.com <mailto:fchagnon at gmail.com>>
>
>
>
>
>
> --
> Fred Chagnon
> fchagnon at gmail.com <mailto:fchagnon at gmail.com>



More information about the pca mailing list