New answers tagged

1

You used make to create gettingstarted so I assume it is compiled to an executable file and not only a script for an interpreter (bash, python, etc.). Having this you are able to use the setuid or setgid flags on the file. This flags on file permission are used to execute the file with the rights of its owner or group and not with the permission of the ...


1

Nope you have to run as root if you don't want to use sudo you could just do sudo bash and then run your commands. This will put you into the root user in the terminal. Alternatively, you could create a shell script with just sudo ./gettingstarted, I don't think you will need to run sudo in front of that, but could be wrong. There might be a way to upgrade ...


Top 50 recent answers are included