Found the proper way to sudo thanks to Ben