Amul Shah on 12 Mar 2015 16:54:04 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Testing yum proxy settings |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On March 10, 2015 9:28:08 PM EDT, Robert <mlists@zoominternet.net> wrote: >On Tue, 10 Mar 2015 10:41:44 -0400 >Amul Shah <amul@amulz.com> wrote: > >> Folks, >> As part of corporate security, we rotate passwords every 90 days. Our >> Linux servers are configured to user the Corp proxy and we have an >> expect script that goes out and twiddles all the right bits. >> >> On RedHat, or similar, we execute yum check-update to verify the new >> proxy settings. I mistakenly thought that an inaccessible proxy would >> generate an error. It does not. I've read through the man page and >> related man pages, but have found no suitable command to test yum's >> proxy settings. >> >> Does anyone have any suggestions? > >Have your tried strace? No. Strace doesn't strike me as something that I can script with. Amul -----BEGIN PGP SIGNATURE----- iQI4BAEBCAAiGxxBbXVsIFNoYWggPGFtdWxAYW11bHouY29tPgUCVQInFgAKCRDH iymNzgcrxtVYEACE8D4g01vyT6DfDr9y2NIRr+F/2NnwlRMxUTpYjqXT7igz/9kk 7PYFzRmNAkA6IB+I8tlmzcsCASirW98tYGuQrhXrEOmh2G+DCGK4gnnFwv3ZVOau FgEBG57MJMHgTK7cblE3EA+9obXxB6eoVYS1eOL05A+CLPFXi1YNFRWh+mdzUOUl +GsZroxIF1xa796jOvITlhy1i8UCHAzBzjfRzRhDKkozsanpcsml/ouISLjp/Gug skuLRIZmqF8OtBPS9/J8oRYGkg/XvroNDdLzg8WWc5IDL0vewacsX0Q9nl/qo0J2 CvqYvi7kz6ucjeKK9LwPe+o+5i0ntUqYUEHEhwfBBvvqXsyLZL9E/EUxuksQDytE N6WdBDmagzqRtc+eJ0lAcdhd88iV/lPaWICif58rCUb5NQLyrJ4YIrBKyBf4pw0L tYcf0zd33+gX8KG+cQyIoDXXZo4YMvu0tmEDWDbOW3W2YggH6brRsUH2KNBn4MSb P3yi2lb0MPr652aFmN0D8aTeMrfclBu/TwQNZu4Q9NoACIl3OLj7ZIJnryFcRKYU L/wTiOZ+NxQHM57V69S2Z8AzdYNs/e9bBBiZDhT6+AX0yyRqbYyan45MlDgiAzov iH0NP3D+F1kfUhuUVF8SYO2+cSWnscHIk01IlRsmuO+ZkKMlAc/R4jdR+g== =hP3v -----END PGP SIGNATURE----- ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug