Created
June 17, 2015 13:54
-
-
Save ahoarau/85e28c9b3b0da9158762 to your computer and use it in GitHub Desktop.
Allow non-root RTNet Users
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
Add the user to the xenomai group : | |
```bash | |
user -a -G xenomai student | |
``` | |
Remove sudo passwd for rtnet operations : | |
``` | |
sudo visudo | |
``` | |
``` | |
xenomai ALL=(root) NOPASSWD:/sbin/insmod | |
xenomai ALL=(root) NOPASSWD:/sbin/rmmod | |
xenomai ALL=(root) NOPASSWD:/sbin/modprobe | |
xenomai ALL=(root) NOPASSWD:/usr/bin/service | |
xenomai ALL=(root) NOPASSWD:/usr/sbin/service | |
xenomai ALL=(root) NOPASSWD:/usr/local/rtnet/sbin/rtcfg | |
xenomai ALL=(root) NOPASSWD:/usr/local/rtnet/sbin/rtifconfig | |
xenomai ALL=(root) NOPASSWD:/usr/local/rtnet/sbin/rtiwconfig | |
xenomai ALL=(root) NOPASSWD:/usr/local/rtnet/sbin/rtnet | |
xenomai ALL=(root) NOPASSWD:/usr/local/rtnet/sbin/rtping | |
xenomai ALL=(root) NOPASSWD:/usr/local/rtnet/sbin/rtroute | |
xenomai ALL=(root) NOPASSWD:/usr/local/rtnet/sbin/tdmacfg | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment