[openstack-dev] [tripleo][tripleoclient] No more global sudo for "stack" on the undercloud

Cédric Jeanneret cjeanner at redhat.com
Wed Jun 6 04:46:58 UTC 2018



On 06/06/2018 06:37 AM, Mike Carden wrote:
> 
>     > In regards to your suggested positions within python code such as the
>     > client, its worth looking at oslo.privsep [1] where a decorator can be
>     > used for when needing to setuid.
> 
>     hmm yep, have to understand how to use it - its doc is.. well. kind of
>     sparse. Would be good to get examples.
> 
> 
> 
> Examples you say? Michael Still has been at that recently:
> 
> https://www.madebymikal.com/how-to-make-a-privileged-call-with-oslo-privsep/
> https://www.madebymikal.com/adding-oslo-privsep-to-a-new-project-a-worked-example/

\o/ - care to add the links on the doc? Would be really helpful for
others I guess :).

> 
> -- 
> MC
> 
> 
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 

-- 
Cédric Jeanneret
Software Engineer
DFG:DF

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180606/73f2313a/attachment.sig>


More information about the OpenStack-dev mailing list