Pages

How can I stop Ubuntu requiring my password?

jeudi 18 août 2016

I've been using Ubuntu for many years, and I fully understand why it asks for a password before doing anything important.
I would never try to remove this feature under normal circumstances.

This case is different though - I am building a retro gaming console based on Retropie.
I'm using a pc and Ubuntu, because the Pi 3 doesn't have enough grunt to run an N64 emulator satisfactorily.

Whenever I tell retropie to shut down the console, it kicks me out to a terminal and I have to connect a keyboard and type in my password.
This is obviously far from ideal.

I followed this guide to install Retropie:
http://ift.tt/2b3r9LU

And it addresses this very issue:

It is not possible to restart/shutdown if an sudo requests an password. To disable sudo password request add the line $user ALL=(ALL) NOPASSWD:ALL at the end of /etc/sudoers. Replace $userwith the name of your current user.

I tried this, and it doesn't seem to have worked.
I also found another guide which suggested the same as above, but with $sudo instead of the username, but that didn't work either. I even tried it with both lines, but no luck.

Any ideas as to why this might no be working?

Let's block ads! (Why?)



How can I stop Ubuntu requiring my password?

Aucun commentaire:

Enregistrer un commentaire