Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pikaur can run as root #1

Open
kousu opened this issue May 3, 2022 · 0 comments
Open

pikaur can run as root #1

kousu opened this issue May 3, 2022 · 0 comments

Comments

@kousu
Copy link
Owner

kousu commented May 3, 2022

When I first wrote this up a big part of the trouble was setting up. But at some point this year pikaur started using some new feature (of systemd?) where it can spawn a new user in a new container temporarily. To do that the first thing it does now is run sudo to ask for root, whereas before it had to first download and build everything as the calling user, and only ran sudo for sudo pacman -U.

This means that most of the instructions here should be replaceable with just

# /etc/cron.d/automatic-upgrades
@daily   root    pikaur -Syu --noconfirm

Test this, if so, update the guide and archive this repo I guess?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant