sudo stands for Super User Do, and is prefixed before command-line commands when full access to the operating system is required.

learn more… | top users | synonyms

1
vote
2answers
40 views

allow apache to run sudo scripts [closed]

I have a raspi HEADLESS with an apache on it, I can access my pages on there, no problem. Then I have some home made capacitive sensors that are not working nicely. Id like to plot the values I read ...
1
vote
2answers
61 views

SSH Login prompting for SUDO password - RaspBMC

I've modified the sudoers file so that a sudo password is required for all except mount and umount for an automated script: # User privilege specification root ALL=(ALL) ALL pi ALL=(ALL) ALL ...
1
vote
0answers
36 views

Trying to kill cron job processes found by “ps ax | grep keyword” logged in as pi user [migrated]

I'm trying to kill several processes from the command line logged into the pi as the user pi. All of the processes have been started by cronjobs, so they should belong to the root user. I'm running ...
0
votes
1answer
44 views

How to install pygame.mixer

I am trying to run some code from GitHub, but it is asking for pygame.mixer. How do I install this on the raspberry pi? Can someone give me the Sudo Get command? I am rather new to Linux.
0
votes
1answer
69 views

remember sudo password in xbian

How can I make xBian to remember the sudo password for a while ?? Performing administration taskes on it gets painful with the OS requesting sudo password at any command The funny thing is that if ...
1
vote
1answer
77 views

Executing a program as root after startx

How can I execute a program located in /home/pi/ as root after doing startx? touch .xiinitrc -> echo "sdltest" > .xiinitrc Program starts, of course, with the rights of the user, but it needs to ...
2
votes
2answers
348 views

“Encountered a section with no Package: header” error?

I am running a bunch of class Raspberry Pi computers behind a school proxy. I'm using Raspbian off a very recent NOOBS image. The internet connection is supplied through the school WiFi and after ...
2
votes
2answers
485 views

Automatically run a program as root for GPIO?

I have a Raspberry Pi running Raspbian that I want to auto-login and then automatically run a program that uses the GPIO as root. I have auto-login working as per this website. What is the best way ...
0
votes
1answer
1k views

How can I run gparted over ssh?

I'm SSHing into my RPi, with X forwarding enabled. I'm trying to run gparted, but it seems to fail for me. $ gksudo gparted ====================== libparted : 2.3 ====================== The program ...
0
votes
1answer
240 views

CGI and sudoers

I may got stuck in a very simple problem, but I can't figure it out. I would like to run using a cgi script a simple command: sudo service transmission-daemon stop in order to stop a system daemon. I ...
2
votes
2answers
196 views

sudoers file changed?

I usually SSH into my Raspberry Pi with the "pi" account. I always have to type my password (every 5 mins) when I want to use sudo. Now I don't have to do that anymore. My sudoers file has the ...
1
vote
1answer
1k views

/etc/sudoers file is completely corrupted parse error in /etc/sudoers

when i edited my sudoers file & saved it on raspberry pi its giving me. sudo: parse error in /etc/sudoers near line 26 sudo: no valid sudoers sources found, quitting ...
0
votes
1answer
2k views

Unable to use SSH to access Pi over local network

Please could someone help me to undo this command, I tried for enabling ssh on the pi?: sudo rm /etc/ssh/ssh_host_* && sudo dpkg-reconfigure openssh-server I read that command on this ...
3
votes
3answers
13k views

How to change Pi sudo permissions

Since I occasionally use my Pi over SSH, I have learned that it is dangerous to allow SSH to access sudo commands. Thus, I plan to turn off this permission in the near future. But, when I install ...
1
vote
1answer
604 views

Created a new user on Xbian, now sudo prompt after each SSH login

I'm running the lastest Xbian on my Pi and created a new user on it. Whenever I log on to the Pi via SSH, the sudo prompt shows up right after the motd. It doesn't matter if that user is actually ...
5
votes
2answers
410 views

How to play audio without being root (via sudo)?

In order to play audio (espeak or aplay for example) I have to be root (via sudo). How can I do those as just a regular user? Is there a group I must be a member of or do I have to change some ...
5
votes
2answers
2k views

Can't access shared libraries when running with sudo

I'm trying to get a demo working writing PCM to the I2S; I've created a small demo program that gives an error when I run with the following command ./demo stereo_small.wav can't open /dev/mem So I ...
8
votes
2answers
2k views

Why do I have to `sudo`?

I've followed a couple of tutorials on my RPi and a lot of commands start with sudo; what does it mean and what does it do?