we can assume sudo is installed and configured on ubuntu and mac but not so much on RHEL, let's just advise using root shell