pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 'sudo' built w/pam option sometimes fails on i386 netbsd-9 and -current



On Wed, 28 Aug 2019, John D. Baker wrote:

> On Wed, 28 Aug 2019, John D. Baker wrote:
> 
> >   sudo: unable to initialize PAM: Operation not permitted
> > 
> > I see it most often when re-authorizing during the "timestamp_timeout"
> > period (using 'pkg_rolling-replace'), but it has happened during initial
> > interactive use as well.
> 
> Now that I think about it, this would occur only after "timestamp_timeout"
> has expired and 'sudo' is about to prompt for the password.

No, it does also happen when "timestamp_timeout" has not yet expired.
It happened again and when I restarted the replacement of the package
pkg_rr was working on when it failed, it did not ask for authentication.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index