socore unable to use crontab #12182
-
Version2.4.0 Installation MethodSecurity Onion ISO image Descriptioninstallation Installation TypeStandalone Locationcloud Hardware SpecsExceeds minimum requirements CPU4 RAM16Gb Storage for /300Gb Storage for /nsm300Gb Network Traffic Collectionother (please provide detail below) Network Traffic Speeds1Gbps to 10Gbps StatusNo, one or more services are failed (please provide detail below) Salt StatusNo, there are no failures LogsNo, there are no additional clues DetailGreetings all, I'm running into an issue with installing security onion 2.4 on a clean ubuntu 22.04 install running on Google Compute Engine. I have attempted both as a network install, and via mounting the iso image and manually invoking the so-network-install. The primary reason I see failures at revolve around (or seem to) the inability for socore to use crontab. There is a few places during the install where this occurs, so it seems like a general permission oversight. I did not see anything outright in the install documentation that says to add that user to cron.allow or anything, unless it's buried somewhere. What am I missing? More logs available on request, if needed.
Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Digging some more, I also see this prior to those errors:
Likewise, /opt/so/log/influxdb/setup.log contains numerous entries, all the same:
|
Beta Was this translation helpful? Give feedback.
-
It does sound like permissions, have you attempted to use the supported AMI for GCP? - https://docs.securityonion.net/en/latest/cloud-google.html |
Beta Was this translation helpful? Give feedback.
I did not, however, I did get it working.
There was actually two issues here. One was caused by running the install under a very restrictive umask (077). Once I removed all newly created directories and installed under a more "standard" umask of 022 then everything was happy.
The second issue was the original issue logged here: that socore, and suricata users couldn't use the crontab command. On adding the two to /etc/cron.allow, the issue was resolved.