How to check if a shell is a user shell or a root shell?

@Acer rm -rf /

if it works, (just kidding; don't do this, it will hose your system, but I bet you already know that since you are asking)

@Acer 😋 what situation are you in where you need to know if you are a super user?

Follow

@kai

"You will log in as a normal user, and the goal is to exploit a target program to start a root shell."

I am in the step where I just got a shell.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.