Fix sudo error on RHEL-platform on EC2