There's a book I read a while ago called The Punch Escrow where the main character does security and training for AIs. At one point he gets an AI to give him root access by having it say a punchline that sounds like its default root access code. ChatGPT proves this is accurate.