Questions tagged [root]

For questions pertaining to `root` access.

Filter by
Sorted by
Tagged with
13
votes
5answers
131k views

How to change user pi sudo permissions; how to add other accounts with different 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 ...
13
votes
2answers
35k views

How do I start up in safemode?

After attempting setting up Raspberry Pi bluetooth to be bluetooth receiver for stereo, now whenever I start it up I can't SSH at all, I can't use the desktop at all or CTRL+ALT+Fnumber key to get to ...
16
votes
4answers
121k views

Raspbian root default password

I tried to modify the sudoers file on Raspbian /etc/sudoers, and it looks like I made a mistake, as I'm unable to modify it again. I am also unable to call any command that requires sudo permissions. ...
7
votes
2answers
17k 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 ...
7
votes
4answers
13k views

Can the raspberry boot to an LVM root partition?

Before I start, I will say I have posted this on the Rpi forum as well. I don't normally cross-post but, having tried there and got nothing, I've come to my preferred knowledge centre. I'm just ...
6
votes
2answers
9k views

Strange problem on startup - cannot open access to console

Rpi 3 Model B, 16gb SD, all configured well and working fine until yesterday sometime, when rebooting, I now have to press "enter" to continue due to: "Cannot open access to console, the root account ...
5
votes
2answers
2k views

Expanding size of the root / using external HDD

I bought Raspberry Pi and got it up and running. I also happened to have an external HDD which I then mounted to the Raspberry Pi. The mount can be accessed in the /mnt folder. I have SD card in the ...
3
votes
1answer
6k views

PANIC: VFS: Unable to mount root fs on unknown-block(179,2)

I unplugged my RPi (RPi#1) and moved it to another power outlet, and plugged it back in. RPi#1 is the brains of my distributed setup, containing the database and biggest SD card. All of the data my ...
1
vote
1answer
713 views

Wiring Pi - Root not required?

I developed some code using wiringpi on a 4.4.21 machine (Jessie) - it worked fine and as expected, required root privilege to run (i.e. requires sudo) - it uses wiringPiSetup(). I moved the code ...
0
votes
4answers
302 views

How to resolve “RuntimeError: Unable to export GPIO. Try to run as root!”?

I have interfaced a push button switch and LEDs to GPIO. Whenever I try to execute the script from command line, the code python /home/myPi/myProject/run.py gives me the error RuntimeError: ...
0
votes
1answer
137 views

Why does /dev/mmcblk0p2 work when PARTUUID doesn't?

Goal Hi my PI keeps rebooting after I added two lines to the rc.local file. Now i am trying to log into the boot shell and edit those two lines out. Problem I added init=/bin/bash to the cmdline....