Fxing sudo issue related to Ubuntu distros