Add sudo to command in replica set