[systemd-devel] Service always started as root
Daniel Spannbauer
ds at marco.de
Mon Oct 7 00:40:30 PDT 2013
Hello,
I've configured a service which should start as a specific user. But the
service is always started as root.
Here is my service-file:
[Unit]
Description=Autologin
After=getty.target
[Service]
ExecStart=/usr/bin/autologin
PAMName=login
Name=daniel
Group=users
[Install]
WantedBy=multi-user.target
The service starts as expected, but as user "root".
The script "/usr/bin/autologin" starts an X-Server on vt08, the script
has permissions 744.
Any ideas why the service is started as root?
Regards
Daniel
--
Daniel Spannbauer Systemadministration
marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11
Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220
http://www.marco.de/ Email ds at marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
More information about the systemd-devel
mailing list