dtms

view README.md @ 4:db4bb4b5905a

security fixes: - refuse to run as root - drop privileges without an explicit -u argument when running setuid-root fixed argument parsing fixed mem leak added install and uninstall rules (Makefile)
author Eleni Maria Stea <eleni@mutantstargoat.com>
date Sun, 15 May 2016 00:15:45 +0300
parents 49df14292d38
children
line source
1 -------------
2 Options:
3 -------------
4 -h, for help
5 -d, path to the device file
6 -p, path to the mp3 player
7 -u. username of the user that runs the program
8 --------------
9 Example usage:
10 --------------
11 ./dtms -d /dev/usb/hiddev0 -u eleni -p /usr/bin/mpv