Can we set SUID on ptouch-print to avoid sudo?
HenrikBengtsson opened this issue · 1 comments
HenrikBengtsson commented
Can we set SUID on ptouch-print to avoid sudo?
HenrikBengtsson commented
To achieve this, we need to:
- set the SUID flag (it's sufficient to set it for "user" - "group" and "other" is not needed)
- change owner of the file to
root
$ sudo chmod u+s build/ptouch-print
$ sudo chown root:root build/ptouch-print