(In reply to Stefan Hundhammer from comment #0) > And we already do that in YaST code. Just for the reference, YaST does export PATH=/sbin:/usr/sbin:$PATH https://github.com/yast/yast-yast2/blob/6a14acda1b94e98da6659896e07b73de96fcbd82/scripts/yast2#L29