run-mailcap
Inherit
This executable can inherit functions from another.
- This function can be performed by any unprivileged user.
run-mailcap --action=view text/plain:/etc/hostsThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.run-mailcap --action=view text/plain:/etc/hosts - This function can be performed by any unprivileged user.
run-mailcap --action=edit text/plain:/path/to/output-fileThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.run-mailcap --action=edit text/plain:/path/to/output-file