Passengers and crew had to restrain a man from opening the doors of a flight from Kuala Lumpur to Sydney on Saturday.