Hint for TartarSauce!

got user shell. But stuck on getting root shell. Saw differences but I can’t even get an idea what’s happening. Any little hint would be appreciated. I even couldn’t get root.txt without root shell.