kurikaesu / userspace-tablet-driver-daemon

Linux device drivers for non-wacom (XP-Pen, Huion, Gaomon) graphics tablets and pen displays
GNU General Public License v3.0
65 stars 16 forks source link

Prevent the daemon/driver from running if it detects the user is "root" #42

Closed kurikaesu closed 2 years ago

kurikaesu commented 2 years ago

The driver should not be run as root whether directly as the root user or through sudo. Make the driver fail out explaining this if a user attempts to do so.