systemd: How to start as different user?

Reindl Harald h.reindl at thelounge.net
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 thelounge.net>:
>> 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.
> 
> http://0pointer.de/public/systemd-man/systemd.exec.html

sorry

i had only open this one
http://0pointer.de/public/systemd-man/systemd.service.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110620/576fb899/attachment.bin 


More information about the devel mailing list