invoking sudo sh not working
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- bash, shell
- Domain
- cli, documentation
Research direction
Start by reviewing the affected sample script's shebang and reproducing the reported sudo sh versus sudo bash ./... invocation in the Intune deployment context. Done would require a documented, project-specific explanation of the shebang choice and how the script should be invoked through tools such as Landscape.
Written by the indexing model from the issue text.
Description
I had to change my process to sudo bash ./...
why is the script using #!/usr/bin/env bash versus #!/bin/bash.
Is one better than the other? If we are using tools like landscape to push this how would that work? All my other scripts start with #!/bin/bash. Is 26.04 requiring something different? Other scripts i use worked fine so just looking for clarification.
- Dominant language
- Shell
- Stars
- 1.1k
- Forks
- 306
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/shell-intune-samples
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
microsoft/shell-intune-samples#266 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/shell-intune-samples#262 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
microsoft/shell-intune-samples#250 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
microsoft/shell-intune-samples#300 · 4 comments · 1 reaction ·
All issues in microsoft/shell-intune-samples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
components-web-app/docs#228 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
int-brain-lab/iblscripts#127 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ValveSoftware/SteamOS#2927 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
msys2/MSYS2-packages#6813 ·
Maintainers usually reply within 1 day
-
Laptop display stays disabled after unplugging external monitor: FALLBACK output counted as externalPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day