D
D
DimiDr0lik2016-04-29 11:47:14
linux
DimiDr0lik, 2016-04-29 11:47:14

How to run a service in ubuntu as an unprivileged user?

How to run a service in ubuntu server as an unprivileged user?
Where and what rights need to be corrected?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
U
Ulrich, 2016-04-29
@DimiDr0lik

Use sudo?

A
Alexander, 2016-04-29
@AlexListen

in ubuntu it is fashionable to use upstart))
sudo apt-get install daemontools
exec /usr/bin/setuidgid username command
and
args then sudo -u username -b command and args
But not the fact that the service will unfasten in the background

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question