Mtr: Difference between revisions

From NixOS Wiki
imported>Fadenb
m Syntaxhighlight
imported>HLandau
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:mtr}}
== Issues ==
== Issues ==
=== mtr needs to be called with sudo ===
=== mtr needs to be called with sudo ===
To avoid the need to escalate privileges when calling <code>mtr</code> create a setcap wrapper by setting
To avoid the need to escalate privileges when calling <code>mtr</code> create a setcap wrapper by setting
<syntaxhighlight lang="nix">programs.mtr.enable = true;</syntaxhighlight>
<syntaxhighlight lang="nix">programs.mtr.enable = true;</syntaxhighlight>

Revision as of 20:10, 24 October 2017

Issues

mtr needs to be called with sudo

To avoid the need to escalate privileges when calling mtr create a setcap wrapper by setting

programs.mtr.enable = true;