Sudo when changing the shell which helps with an EC2 instance