Power to you.

You always dont need access, you just need access to somone who has access

With that said. Most of the times you dont even need access to do somethin. You just need access to someone who has access.

Lets say i am a normal user and i need to run a script in linux where the file nor me have permission and access to run or change the permission

If you see the test.sh file. It does not have access to run.

BBBUUUTTTTTTTT…..

SEEEEEEE…..

It ran without doing any changes to its permission.

Since /bin/bash has the permission, if you run the program with it then it shall work

This is why you need to be very careful when giving permission and this is how hackers get access in some cases.

Comments

Leave a Reply