www/p5-Mojolicious-Plugin-SetUserGroup 1.000 DragonFly
Mojolicious plugin to set unprivileged credentials
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART20
- Categories
- perl5, www
- Package size
- 8.9 KiB, 16.8 KiB installed
Description
This plugin is intended to replace the setuidgid functionality of Mojo::Server. It should be loaded in application startup and it will change the user and group credentials of the process when Mojo::IOLoop is started, which occurs in each worker process of a Mojo::Server::Prefork daemon like hypnotoad.
This allows an application to be started as root so it can bind to privileged ports such as port 80 or 443, but run worker processes as unprivileged users. However, if the application is not started as root, it will most likely fail to change credentials. So, you should only set the user/group when the application is started as root.
In the other systems
The newest version among them is 1.000, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | www/p5-Mojolicious-Plugin-SetUserGroup | 1.000 newest | none known | - | [email protected] | - |
| FreeBSD | www/p5-Mojolicious-Plugin-SetUserGroup | 1.000 newest | none known | - | [email protected] | - |
| HardenedBSD | www/p5-Mojolicious-Plugin-SetUserGroup | 1.000 newest | no data | - | [email protected] | - |
| GhostBSD | www/p5-Mojolicious-Plugin-SetUserGroup | 1.000 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Mojolicious-Plugin-SetUserGroup
From DPorts:
cd /usr/dports/www/p5-Mojolicious-Plugin-SetUserGroup && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 3
No port depends on this one.