Quitting to terminal prompts for password
-
Hi All,
I recently changed my retropie password for security reasons and was wondering if there was a way to make it so when you exit emulation station (F4) back to the terminal there's a way of prompting it to ask for the pi users password again?
At the moment by default it logs in as pi even without the password.
Regards,
-
Open the sudoers file:
sudo nano /etc/sudoersLook for a line like this:
pi ALL=(ALL) NOPASSWD: ALLChange this line with this:
pi ALL=(ALL:ALL) ALLKeep in mind that every time you want to install something, reboot or shutdown you will need to enter your password.
-
@free8bit I have added the line pi ALL=(ALL) PASSWD: ALL editing the sudoers "sudo nano /etc/sudoers". It is ok for me but, I would like to know how to avoid the sudo password request at shutdown. Thanks
-
@Ric Please don't re-open 4 years old topics - you should have opened a new topic.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.