Score:2

Sudo rights without sudo auth

kr flag
LPG

I'm making an Ubuntu x86 Retropie. So far I have been able to figure out how to modify the OS to get all the hardware working but being a Windows admin I'm a little out of my depth on this one.

Is there a way to add a user who already has sudo rights into a group where they are allowed to run commands that require sudo without authentication?

I get this is a security no-no but this is going into an arcade cabinet without network access so I'm not too worried there.

The reason for needing to make this change is because whenever I select an option in RetroPie that requires OS access (things like change audio output, configure controller settings, etc). The RetroPie GUI invokes Retropie-setup.sh which then promptly asks for sudo Auth which a joystick and buttons aren't exactly up to the task and I don't want to have to keep a keyboard attached to the cabinet.

cn flag
see `/etc/sudoers` and the manual for it https://phpraxis.wordpress.com/2016/09/27/enable-sudo-without-password-in-ubuntudebian/
LPG avatar
kr flag
LPG
Thank you @Rinzwind. That was exactly what I needed.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.