New answers tagged

2 votes

Running commands using sudo from within a program

As I understand it, you have sudo lsblk called from within your QT program you start your QT program with something like sudo qt_program If so, your program is already running with root privileges ...
Chris Davies's user avatar

Top 50 recent answers are included