So I am looking for a way to start a system service at the boot time to run as a normal user.
I created service file
/etc/systemd/system/my-service.service as root, and then when I tried to start the service as a regular user:
service my-service start I was given a chance to choose the user to run the service, but then also I was asked to enter a password. However, I didn't set up the pass for this user on purpose, and I only use private key for authentication. The service that I have created, I just need to execute a command under specific user, and not root. What are my options here?