Linux Privilege Escalation Skills Assessment question (Flag 4)

I just finished the skills assessment but I was struggling with Flag 4 for a while so I ended up rooting the machine to grab Flag 4 & 5. Looking at the contents of Flag 4, it is somewhat apparent what they wanted us to do, but I am wondering if someone can DM me and let me know how you obtained flag 4 (assuming you did what the flag implied).

I have a few questions that I’d like to ask, but I don’t want to spoil this exercise for anyone else.

Thanks!

Bueller?

Bueller?

Not trying to get an inside scoop here. Just wanting to know what they were trying to have us find.