• Welcome to Peterborough Linux User Group (Canada) Forum.
 

Setting timeout for using sudo

Started by Jason, December 02, 2022, 01:12:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jason

One thing that annoys me about Pop OS is when you run a command where you need to use sudo. It requires you to enter your password every single time. Other distros have a set amount of time before you have to enter it again. I have a long password so that's especially annoying. I can understand putting a limit on how long you can do that, but every time is bonkers. Here's how you add a time to the configuration:

https://ostechnix.com/how-to-change-sudo-password-timeout-in-linux/
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

ssfc72

Thanks Jason, that is great to know.
Hopefully the Devs of PopOS will soon add the timeout to Sudo, in their Distro.
Mint 20.3 on a Dell 14" Inspiron notebook, HP Pavilion X360, 11" k120ca notebook (Linux Lubuntu), Dell 13" XPS notebook computer (MXLinux)
Cellphone Samsung A50, Koodo pre paid service

Jason

Quote from: ssfc72 on December 02, 2022, 03:11:37 AM
Thanks Jason, that is great to know.
Hopefully the Devs of PopOS will soon add the timeout to Sudo, in their Distro.

It'd be nice. The OS comes from System 76; they sell laptops with Pop OS or Ubuntu on them. There must be a reason but I don't understand it.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13