CARVIEW |
Select Language
HTTP/2 200
date: Sun, 24 Aug 2025 11:11:15 GMT
content-type: text/html; charset=utf-8
content-encoding: gzip
cf-ray: 97426868fb33165e-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=f3e2d0f6-8b02-4bcb-abd1-4b17ca7f9968; expires=Mon, 24 Aug 2026 11:11:15 GMT; domain=.stackexchange.com; path=/; secure; httponly
set-cookie: prov=f3e2d0f6-8b02-4bcb-abd1-4b17ca7f9968; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=aqMH6IKt77h9iG6g7bii00T_EIyWY1IQugAPYHgFOnU-1756033875-1.0.1.1-odlJ5UMcRX1c0.gTFy8Y9fht1LMrXeABak_Db_ylUvv0u4BE7daJqSM09wuWFmvuNminNDRmaMzKw897gUNbXNxMsufsiFLvNrreHJwZIE4; path=/; expires=Sun, 24-Aug-25 11:41:15 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=7Q3DkfDb.FrAGNy0TBdD5U3Ml1Ou0CVmMq7y0P71VBY-1756033875690-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 6397e4e4-eefb-4a11-be12-f0b8dc6f8ef7
x-worker-origin-response-time: 322000000
x-dns-prefetch-control: off
server: cloudflare
Newest 'sudo' Questions - Raspberry Pi Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [sudo]
sudo stands for Super User Do. It allows users to run programs with the security privileges of another user (if configured access permissions allow it), by default the superuser and is therefore prefixed before commands when full access to the operating system is required.
138 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
83
views
Changing hostname breaks several things (CM5 / Bookworm)
Per the title, I have a CM5 running standard Bookworm 12, configured as a kiosk display which has no desktop but directly loads Firefox at boot.
However, on changing the unit's hostname it then fails ...
0
votes
0
answers
74
views
How to clear the display at startup
I am using RPI 3B+ Bullseye Lite without X as a video player contolled over SSH. I had preferred to start with a blank screen.
Writing the following in /etc/rc.local
sudo sh -c "TERM=linux ...
-1
votes
1
answer
230
views
apt-add repository not working when software-properties-common is installed
I am trying to install an app through a PPA. But when I add the PPA this does not work even having software-properties-common installed.
Here is the problem below.
sudo add-apt-repository ppa:...
-2
votes
1
answer
225
views
Raspberry pi OS safety online on raspberry pi 5 8GB
I installed the Raspberry Pi OS with Raspberry Pi Imager on my rasp 5 8gb and was surprised that sudo doesn't require entering password by default, the OS will also boot into desktop without any user ...
0
votes
0
answers
643
views
Cannot run PulseAudio as root (sudo)
I have developed a console application in .net 6 which uses a library that needs direct access to the gpio-pins of the Pi.
The Pi is running the latest Pi OS Lite x64.
Edit: This is the library ...
2
votes
0
answers
673
views
sudo ./install.sh cant run the script [SOLVED] [closed]
Using RPi 4 model B Rev 1.4, Raspberry Pi OS.
I'm trying to install MCC's DAQ hats.
I have the followed all the instructions but when I try to run,
sudo ./install.sh
I get the following,
sudo: ./...
-1
votes
1
answer
1k
views
Reenabling Raspberry Pi passwordless sudo
I am running Bullseye with non "pi" account and wanted to require my user to always type in a sudo password. I used sudo visudo -f /etc/sudoers.d/010_pi-nopasswd and changed
myaccount ALL=(...
2
votes
1
answer
399
views
Boot order breaking due to automount (running into emergency mode)
I have a Raspberry Pi running Raspbian GNU/Linux 10 (buster).
The Pi is running on a microSD-Card with a read-only boot partition and activated overlay-filesystem (both is currently deactivated for ...
0
votes
0
answers
125
views
Errors Changing /boot/config.txt externally
I was overclocking my pi, and I went a little overkill, so now it wont boot.
Im trying to change config.txt back to its previous state externally, but I don't have the permissions to do it. I tried ...
2
votes
2
answers
665
views
Sudo still works despite removing my user from group
I just installed the April 4th 2022 edition of Rasberry Pi OS and added a root password in addition to my user password. I also did..
deluser <userme> sudo
I tested my new security adjustment ...
0
votes
1
answer
422
views
Trying to kill all processes, but new processes keep spawning
I'm trying to rename the default pi username after getting a new raspberry pi 4. I am completely new to Linux, so my knowledge of the matter is small. From what I've discovered, one way to rename pi ...
0
votes
1
answer
506
views
Can I access the keyboard in a virtual environment that was not created with sudo?
I have a script which uses the arrows on the keyboard to provide user input.
The script required the keyboard package to be installed with pip install keyboard.
The script works fine outside the ...
0
votes
2
answers
317
views
Any way to get sudo privleges without opening a command line in raspian? [closed]
Right now to get python scripts to run with user privleges in thonny with typing in this command from the command line:
sudo thonny
I can't close the command window without it closing thonny also
Is ...
1
vote
2
answers
171
views
Configure RasPi 4 for headless operation [closed]
I'm trying to run a Pi 4 headless as I don't have the microusb cord available.
In /boot, I ran touch ssh then created wpa_supplicant.conf and with the modified contents:
country=US
ctrl_interface=DIR=/...
2
votes
1
answer
484
views
GUI password prompt replacement for gksu won't work via SSH
Since gksu has been deprecated, I'm using the following script which emulates it using pkexec:
#!/bin/bash
PKEXEC_USER="root"
while [[ $# -gt 0 ]]; do
key="$1"
case $key in
...
- The Overflow Blog
-
-
Hot Network Questions
- Solve the crossed ladders problem
- Why does the result of applying the minus operator depend on newline characters surrounding it?
- Best LaTeX environment to recreate this example
- MOSFET gate driver
- subject verb agreement in Collins Dictionary usage of “temperatures"
- What is the principle of non-liability in the European Union wrt the US Section 230 and social media?
- to suggest that they were married
- A friend told me he is flying into Birmingham, Alabama, on September 29, 2025. Is this the correct ticket?
- What did John the Baptist mean by "make straight the way of the Lord,"?
- Is it true that string theory is definitively wrong on account of it being a theory of an anti de Sitter space?
- Incoming water pipe has no apparent ground
- If indeed Caleb was from the lineage of Esau how was he the head of Judah?
- Why is there more than one model of electric guitar or bass
- Why does the Apollo LM's Cross-Pointer display have a bulge?
- Could you charge a battery using with a long radio aerial?
- Having trouble identifying a font
- Is ContainsAny implemented incorrectly? (Version 14.2.0)
- Is kernel memory mapped once or repeatedly for each spawned process
- Why does this Association show its Head, and how do I make it evaluate?
- Resonance in hexa-2,4-dienyl cation
- Other than the tank PSI, what else could cause a Whirlpool 3 stage RO Under Sink Water Filtration System to have low water pressure?
- Fewest cages for unique Killer Kropki Sudoku
- Is Berk (1966)'s main theorem standard in Statistics/Probability? Is there a name for it?
- CSI: Las Vegas episode where a woman uses her son to attract young women for purposes of prostitution