systemd: How to start as different user?

Reindl Harald h.reindl at
Sun Jun 19 23:32:59 UTC 2011

Am 20.06.2011 01:29, schrieb Michał Piotrowski:
> 2011/6/20 Reindl Harald <h.reindl at>:
>> how to start a program as service with a defined user?
>> one example below and there are many progams which can
>> run headless with a restricted user - if find no option
>> to do this in systemd
> You should read docs
> User=, Group=
>     Sets the Unix user resp. group the processes are executed as.
> Takes a single user resp. group name or ID as argument. If no group is
> set the default group of the user is chosen.


i had only open this one

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : 

More information about the devel mailing list