fix shutdown and network manager permission