You are not logged in.
When using makepkg, it asks for my sudo password every time it needs it. First when installing dependencies, again when uninstalling makedepends, and again to install the built package.
I would expect to enter my password only that first time and then not need to again unless some step took longer than the sudo timeout (configured at the default 5mins). My old man memory swears this used to be the behavior, but I know for at least the last year or two I've been forced to type my password every time.
Is there a way to get the behavior I expect, where I enter the password just once? I'm not sure what configs I should post to help check if I have any bad settings...
Last edited by ryan0270 (2025-03-02 15:56:57)
Offline
Online
makepkg is running random unchecked scripts in the form of the PKGBUILD. Letting that script run with access to sudo without any input would be very bad.
Offline
@seth, perfect thanks.
@Scimmia, yes but when doing bulk updates of existing packages, asking for my password 20 times isn't any safer than asking for it once. I'm not going to carefully inspect every request enough to notice unusual behavior. Ideally, there would be a flag to force once behavior or the other. When doing bulk updates I would tell it to retain privileges but when installing a package for the first time I leave it asking for passwords every time.
Offline