I have trouble sometimes wondering how HTB wants us to find these types of answers, your command was so simple but for me I had to go back to “Find Files and Directories” and find some type of command that finds syslog.service and this is what I did:
locate syslog.service
cat /etc/systemd/system/syslog.service
[Service]
Type=notify
I guess its cool that there are many ways to find these answers, just time consuming.
Hey guys, I’m still pretty new at all this but this question seemed pretty similar to one of the previous ones in the same module so I tried a similar way to search for the process
‘systemctl | grep “syslog.service”’
Obviously this was wrong, but could someone please explain why and how you’re supposed to tell what command you’re supposed to use in each situation?
Moreover, even after using ‘systemctl’ and going through each individual line, I was still unable to find the ‘syslog.service’ process