Last active
August 29, 2015 14:21
-
-
Save donaldh/8ef47058c0d5a68be413 to your computer and use it in GitHub Desktop.
Linux capabilities to enable user access to /dev/mem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
host% sudo setcap "cap_dac_override+ep cap_sys_rawio+ep" <filename> | |
host% getcap <filename> | |
<filename> = cap_dac_override,cap_sys_rawio+ep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment