sudo asks for password in every new terminal

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Esbeeb
Level 1
Level 1
Posts: 31
Joined: Sun Oct 07, 2018 2:58 am

sudo asks for password in every new terminal

Post by Esbeeb »

Hello. In the past I used MX Linux 21. One of the neat tweaks they did (that I wish I could have back again in LMDE5) was that once you used sudo in one terminal, providing your correct password (and succeeding), then magically, all the other terminals inherited the "easement" of needing to provide the sudo password again (for some period of time, like say 10 minutes). If you opened a new terminal, it too inherited this "easement". It's a drag to enter a sudo password, but then your password "easement" applies to that one terminal only, but no other terminal on your desktop.

Are there any sudo experts out there, who can suggest a sudo tweak (or wherever the tweak needs to go) to enable this successful-password-provided goodness to "spread" to all other open Terminals?
--
- LMDE 5, Asus Zenbook UX330U
User avatar
AZgl1800
Level 18
Level 18
Posts: 8728
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: sudo asks for password in every new terminal

Post by AZgl1800 »

I suspect that is considered a "security issue", and it would effect all Windows and Users.

for me, I never gave it a thought
LM21.x upgraded from 20.3 Cinnamon on an ASUS FX705GM laptop
Image
cfb
Level 2
Level 2
Posts: 93
Joined: Sun Nov 08, 2015 3:36 am

Re: sudo asks for password in every new terminal

Post by cfb »

Generally, I think it is a bad idea to change the default sudo configuration.
However, it is your system.
With a little effort you can probably figure it out yourself by reading about "timestamp_type" in the sudoers manual page.
Cosmo.
Level 24
Level 24
Posts: 22055
Joined: Sat Dec 06, 2014 7:34 am

Re: sudo asks for password in every new terminal

Post by Cosmo. »

The first question is, why do you need sudo so often.
The next question is what hinders you to keep the used terminal window open?
Gotcha!
Fmamarksman
Level 1
Level 1
Posts: 32
Joined: Sat Dec 05, 2020 9:40 am

Re: sudo asks for password in every new terminal

Post by Fmamarksman »

Post Reply

Return to “Software & Applications”