[Spacewalk-list] [patch] spacecmd credentials cache doesn't work for normal user

Aron Parsons aronparsons at gmail.com
Tue Sep 24 02:31:34 UTC 2013


Committed as 6b2b4cc972420439cfd3e2f5ca9c79cc03436e5d.  Thanks.

/aron


> ________________________________________
> Date: Mon, 23 Sep 2013 17:07:46 +0200
> From: David Juran <djuran at redhat.com>
> To: spacewalk-list at redhat.com
> Subject: [Spacewalk-list] [patch] spacecmd credentials cache doesn't
>         work    for normal user
> Message-ID: <1379948866.11335.24.camel at localhost.localdomain>
> Content-Type: text/plain; charset="utf-8"
>
> Hello!
>
> Spacecmd uses the user.listUsers API call to validate the credentials
> cache. This is suboptimal since a normal user isn't allowed to run this
> call, forcing him to always enter his password.
> The attached one-liner instead changes the test to api.getApiNamespaces
> to test the cache, but I guess any unprivileged operation would do.
>
> --
> David Juran
> Sr. Consultant
> Red Hat
> +46-725-345801
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: spacecmd-validate-credentials-cache.patch
> Type: text/x-patch
> Size: 527 bytes
> Desc: not available
> URL: <
> https://www.redhat.com/archives/spacewalk-list/attachments/20130923/309e4b21/attachment.bin
> >
>
> ------------------------------
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> End of Spacewalk-list Digest, Vol 64, Issue 26
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130923/2937c22a/attachment.htm>


More information about the Spacewalk-list mailing list