per-user keystroke log files
Greetings,
I'm interested in having the functionality of logkeys, but rather than having one global log file, I would rather have it auto-start at login (so it doesn't get the initial password) and write the data to a log file in their home directory (e.g. "~/.keystrokes").
I don't know if this even requires a change to logkeys, but my first try failed because root permissions were required.
My next idea is to make a SUID wrapper for logkeys, but that carries other concerns.
Has this sort of thing been requested before, or perhaps you have already thought of how this might best be implemented?
Thanks.
The SUID wrappers are llk.cc and llkk.cc: https://github.com/kernc/logkeys/tree/master/src When built, they are sometimes put into /usr/sbin/ I think.
Pull requests regarding per-user welcome. :smiley: One needs root to read /dev/input/* devices.