---
title: "Discussion on \"How to run raycast script that includes `sudo`\" | Hashnode"
description: "Discussion on \"How to run raycast script that includes `sudo`\". Summary\n\nWrite the script that includes sudo “separately”.\n\nAdd the /path/to/the/script to some kind of sudo whitelist(sudoer file)\n\nMake a raycast script that includes sudo /path/to/the/script\n\n\nExample\nThe script that includes sudo\nI wanted to make..."
url: "https://hashnode.com/posts/how-to-run-raycast-script-that-includes-sudo/6714bb59eb12bd3e3ff52f33"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to run raycast script that includes \`sudo\`](https://gwonhong.hashnode.dev/how-to-run-raycast-script-that-includes-sudo?utm_source=hashnode&utm_medium=feed)

Summary Write the script that includes sudo “separately”. Add the /path/to/the/script to some kind of sudo whitelist(sudoer file) Make a raycast script that includes sudo /path/to/the/script Example The script that includes sudo I wanted to make...

Oct 20, 2024 · 1 min read · gwonhong.hashnode.dev  
Read the article

-   [#raycast-script](https://hashnode.com/tag/raycast-script)
-   [#raycast](https://hashnode.com/tag/raycast)
-   [#script](https://hashnode.com/tag/script)
-   [#sudo](https://hashnode.com/tag/sudo)

## Written by

[Gwon Hong](https://hashnode.com/@gwonhong)

@gwonhong · Seoul, KR

  
[View profile](https://hashnode.com/@gwonhong)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
