Comments (2)
I know that syspatch
drops to _syspatch
, but it took some digging in OpenBSD's pkg_add source to find that pkg_add
et al drop to _pkgfetch
. I know ports are always struggling with the shortage of user IDs below 1000, so while I'm definitely not sure, I'd guess that it'd be fine for me to just drop privileges to_pkgfetch
too.
from swupdate-openbsd.
I've added a new unpriv_ftp()
function which drops privileges to _pkgfetch
while executing ftp
. That should be safer, as long as black helicopters don't take me away for using the _pkgfetch
user.
from swupdate-openbsd.
Related Issues (18)
- Remove unused packages after updating installed packages HOT 1
- Check for major upgrades to be run with sysupgrade HOT 4
- Using the list (-l) option results in an error from fw_update HOT 1
- Using the download (-d) option doesn't actually download firmware updates HOT 2
- Be smarter about whether a reboot is necessary after running syspatch HOT 1
- Round elapsed time since sypatch was run up to nearest minute to ensure kernel updates are properly detected HOT 1
- Improve detection of syspatch having updated itself HOT 1
- Better handle package updates during post-beta/pre-release window HOT 1
- Add Makefile for installing swupdate HOT 1
- Consider adding a manual page
- Check for orphaned users & groups HOT 2
- Run sysclean, if installed HOT 1
- Using the download (-d) option doesn't actually download package updates HOT 5
- Fix bugs identified by ShellCheck HOT 6
- Warn to restart GUI applications if fonts are updated HOT 1
- Listing of package updates fails during earliest post-beta/pre-release window as it's not using `pkg_add -Dsnap`
- Optionally check for package versions not aligned with upstream when running snapshots
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swupdate-openbsd.