CARVIEW |
Select Language
HTTP/2 200
date: Sat, 23 Aug 2025 09:06:37 GMT
content-type: text/html; charset=utf-8
content-encoding: gzip
cf-ray: 97397477ea7875e9-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=412bd367-5058-4894-83f5-e2e4c506d259; expires=Sun, 23 Aug 2026 09:06:37 GMT; domain=.stackexchange.com; path=/; secure; httponly
set-cookie: prov=412bd367-5058-4894-83f5-e2e4c506d259; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=1vZI4wL1CVwQNHNydep3Jt79sB7WIFonDlInw13U1qs-1755939997-1.0.1.1-Iu5Rp7jFHh2scFnnfI5.W2V.M21Gm7DrTBCSi3LY5LfJ4wD.c7gZmGyqzXfFbNEFH5F0yHfUxPrzl6qXUeNnHvMX13kOjyduMk.BF5AvAbc; path=/; expires=Sat, 23-Aug-25 09:36:37 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=tCt3HdyZVGipRYHJZ57QIBBMifrywuySbI0CTu4v_XQ-1755939997724-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: 65309654-e591-4a3e-9ece-ea78c6653ec4
x-worker-origin-response-time: 284000000
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
82
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
226
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
642
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
314
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
- What is the principle of non-liability in the European Union wrt the US Section 230 and social media?
- What is the purpose of pulling up the output of a comparator to VCC?
- Why do we introduce the continuous functional calculus for self-adjoint operators?
- SciFi story about father and son after world is destroyed
- Do I need a visa to visit Turkey if I already hold a valid US visa?
- Question regarding Mishnah Berachos 1:2
- Can a nozzle-less engine be made efficient by clustering?
- Why do these two lines have the same probability of intersecting the circle?
- My Canadian employer is sending me to Germany to work on a project. Do I need a visa or a work permit?
- Can you remove a variable in the 8-bit Microsoft BASICs?
- How does the resolution of the identity work on direct products of hilbert space? Specifically for the wave function for a particle with spin
- Using adverbs of frequency in the Future Simple and Present Continuous tenses
- Is Berk (1966)'s main theorem standard in Statistics/Probability? Is there a name for it?
- Why do word beginnings with X take a /z/ sound in English?
- Why letter combination -en- can be read in different ways?
- Incoming water pipe has no apparent ground
- How to balance research and teaching responsibilities?
- How do I pass a parameter to a locally store web page from the context (right click) menu of Notepad++?
- Major Revisions and Editor's Note
- How do you get rid of extra villagers in ACNH that have an account on the Nintendo Switch?
- Why wrap fruitcake in grease-proof paper?
- to suggest that they were married
- Is it possible to identify this residual pattern as heteroscedastic or homoscedastic?
- How to get code of a program that decrypts itself?