Closed kronikpillow closed 4 months ago
The line right above the line that creates the file traps a removal command for it. Did your script end in an unexpected way?
Nope, it ended perfectly to the end, with all packages installed, except that the temp permissions didnt get removed, all 4 attempts this week ... Aka 4 reinstalls, same result
upon fresh install, any sudo command can be executed without password due to the LARBS installer leaving a residual file left inside of /etc/sudoers.d from the installer self, that is meant to be temporary named /etc/sudoers.d/larbs-temp ...
Same here, I made a fresh install with larbs.sh around a week ago. sudo does not ask for my password.
So deleting /etc/sudoers.d/larbs-temp
leads back to normal behavior.
yeah I confirm this issue still exists even after a fresh install
months later ... this issue still exists and leaves passwordless su and sudo access to users
I do this after a fresh install:
su groupadd sudo usermod -aG sudo $USER rm /etc/sudoers.d/larbs-temp exit
And you then have normal sudo function.
I have a script I run after installing LARBS to make even more changes after a fresh install to make these small changes. This probably should be fixed as it's kind of a security fix. I'd recommend turning those command above into a small script and run it after an install.
upon fresh install, any sudo command can be executed without password due to the LARBS installer leaving a residual file left inside of /etc/sudoers.d from the installer self, that is meant to be temporary named /etc/sudoers.d/larbs-temp ...
im sure this isn't the intended behavior and that who ever added that line, forgot to add a line that removes it after installation is complete :)