pfexec and the case of the missing error message
pfexec doesn't currently give any useful error message when pfexecd is unavailable (e.g. in the joyent-minimal brand). Instead it just execs the command you asked for as your current user with no elevation. Really it should print something out.
The man page should probably be updated, too.
Note many commands today silently work in this vein because they never required the privileges, so we cannot error out the commands.
Updated by Electric Monk about 7 years ago
- Status changed from New to Closed
commit 7d8cb570f5834dc4f535a463c1c0839a57ada912 Author: Alex Wilson <firstname.lastname@example.org> Date: 2016-10-15T22:30:23.000Z 7418 pfexec and the case of the missing error message Reviewed by: Joshua M. Clulow <email@example.com> Reviewed by: Patrick Mooney <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>