Hi,
I’ve two processes. One client and one server. The server has root privileges functions and must be run as root. So, how can I run a process as root without change to the root count?
Regards
Hi,
I’ve two processes. One client and one server. The server has root privileges functions and must be run as root. So, how can I run a process as root without change to the root count?
Regards
You can use for example use the suid bit on the executable or just run it with sudo
You cannot get the process to run as root without allowing him to do so, otherwise every app could gain rootaccess easily.