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

David Juran djuran at redhat.com
Mon Sep 23 15:07:46 UTC 2013


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: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130923/309e4b21/attachment.bin>


More information about the Spacewalk-list mailing list