Bashed root nudge

I have a reverse shell as a nonprivilaged user (www) and i have the user.txt, but i have no idea how to privilage escalate. could anyone give me a hand, or if too many spoilers in pm please. Please no answers just nudges

It has been answered in other threads but here it go again. You need to enumerate the machine. LinEnum.sh is your friend. Read the report carefully.

pm me who needs help

See what users exist on the system, find a strange directory, who has access to it? In Linux how can you change user context?