Title: Power to you.
Author: Immanuel Raj
Published: February 6, 2024
Last modified: July 23, 2025

---

# Power to you.

[February 6, 2024](https://immanuelraj.dev/power-to-you/)

—

by

[Immanuel Raj](https://immanuelraj.dev/author/iamimmanuelraj/)

in [Linux](https://immanuelraj.dev/category/linux/)

Read Time

1–2 minutes

## 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

![](https://cdn.immanuelraj.dev/immanuelraj.dev/wordpress/images/Blog-Images/Power-
To-You/BI-01.png)

![](https://cdn.immanuelraj.dev/immanuelraj.dev/wordpress/images/Blog-Images/Power-
To-You/BI-02.png)

![](https://cdn.immanuelraj.dev/immanuelraj.dev/wordpress/images/Blog-Images/Power-
To-You/BI-03.png)

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

![](https://cdn.immanuelraj.dev/immanuelraj.dev/wordpress/images/Blog-Images/Power-
To-You/BI-04.png)

SEEEEEEE…..

It ran without doing any changes to its permission.

![](https://cdn.immanuelraj.dev/immanuelraj.dev/wordpress/images/Blog-Images/Power-
To-You/BI-05.png)

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.

[linux](https://immanuelraj.dev/tags/linux/)

[Previous:  WordPress and Nginx (OpenResty)](https://immanuelraj.dev/wordpress-and-nginx-openresty/)

[Next:  Finding the user](https://immanuelraj.dev/finding-the-user/)

![Immanuel Raj Avatar](https://secure.gravatar.com/avatar/88db6e1fa27cf854075acbaa156189ace30cf3701b2d8640cd774280ead1d4d3?
s=80&d=mm&r=g)

## About the author

Software Developer & Technology Consultant

---

## Popular Categories

 * [Bible](https://immanuelraj.dev/category/bible/) (1)
 * [Cloudflare](https://immanuelraj.dev/category/cloudflare/) (1)
 * [Databases](https://immanuelraj.dev/category/databases/) (1)
 * [Docker](https://immanuelraj.dev/category/docker/) (1)
 * [Email](https://immanuelraj.dev/category/email/) (1)
 * [ERPNext](https://immanuelraj.dev/category/erpnext/) (3)
 * [Frappe](https://immanuelraj.dev/category/frappe/) (2)
 * [Github Actins](https://immanuelraj.dev/category/github-actins/) (1)
 * [God](https://immanuelraj.dev/category/god/) (1)
 * [Google Cloud](https://immanuelraj.dev/category/gcp/) (1)
 * [Hosting](https://immanuelraj.dev/category/hosting/) (2)
 * [Life](https://immanuelraj.dev/category/life/) (1)
 * [Linux](https://immanuelraj.dev/category/linux/) (13)
 * [ML](https://immanuelraj.dev/category/ml/) (1)
 * [Networking](https://immanuelraj.dev/category/networking/) (2)
 * [Security](https://immanuelraj.dev/category/security/) (2)
 * [Self Hosting](https://immanuelraj.dev/category/self-hosting/) (7)
 * [SSL](https://immanuelraj.dev/category/ssl/) (3)
 * [Terminal](https://immanuelraj.dev/category/terminal/) (1)
 * [Tools](https://immanuelraj.dev/category/tools/) (2)
 * [Uncategorized](https://immanuelraj.dev/category/uncategorized/) (8)
 * [Web](https://immanuelraj.dev/category/web/) (2)
 * [WordPress](https://immanuelraj.dev/category/wordpress/) (1)

---

## Useful Links

Links I found useful and wanted to share.

 * [Sponsor Me](https://github.com/sponsors/iamimmanuelraj)

---

## Search the website

Search