[sudo-users] retrieving the remain time of a cached credential

Dennis Schwartz dennis.schwartz at protonmail.com
Tue Oct 29 14:37:03 MDT 2019


Hi Todd,


On Friday, September 27, 2019 3:24 PM, Dennis Schwartz via sudo-users <sudo-users at sudo.ws> wrote:

> On Thursday, September 26, 2019 6:20 PM, Dennis Schwartz via sudo-users sudo-users at sudo.ws wrote:
>
> > On Thursday, September 26, 2019 5:56 PM, Todd C. Miller Todd.Miller at sudo.ws wrote:
> >
> > > On Thu, 26 Sep 2019 15:41:04 -0000, Dennis Schwartz via sudo-users wrote:
> > >
> > > > This, that `sudo` can be quite easily prevented of sending security email
> > > > is the only thing that still bothers me a bit.

[snip]

> Just to be sure I went ahead and installed Ubuntu 18.04.3 in a VM.
> Fresh out of the box, I installed zsh and ran
>
> zsh$ ( trap "" XFSZ; limit filesize 0; sudo id )
>
> I get the exact same results as above. I cannot replicate your result
> of sudo failing to operate like you indicated.


>From the 1.8.29 release notes:

> Sudo now sets most resource limits to their maximum value to avoid problems caused by insufficient resources, such as an inability to allocate memory or open files and pipes.

Cool, the problem now indeed seems fixed. I couldn't reproduce this anymore on my Arch machine! Thanks!

Cheers,
Dennis


More information about the sudo-users mailing list