NOTE: No longer an issue.
I'm running a LAMP Stack with PHP 7 from an AWS EC2 AMI.
I've not played around with the configuration.
I need to create an SSH Key for the daemon user so I can setup an Auto Deploy webhook from BitBucket.
In order for this autodeploy function to work the Apache / PHP FPM user needs to execute a git call using its own SSH key.
I've looked everywhere on the instance I can't find any sign of the daemon user even though it's clearly there somewhere.
It doesn't have a home directory and it's not in the etc/passwd or shadow and its group isn't listed in the etc/group directory.
I can't su to the user in order to generate a key file on its behalf.
I am tempted to switch apache and php-fpm over to the bitnami user but that would be a risk and I'd have to go and change directory ownership for a lot of sites, not to mention mod_pagespeed cache. It's all just very messy.
It would be good if I could use
SuexecUserGroup bitnami bitnami in my apache config for this particular scenario but it's not available.
How would you suggest I do this?
I finally found the
daemon user, the reason I couldn't see it was that I was using tail and assumed that I was seeing them all there!
I created a SSH Key for them ok. All done.