Do you have adduser binary? Try running it manually. I need to add it as a package dependency, as it seems not every Debian/Ubuntu has it.
If you don't try installing it and then reinstall OSSEC, that should work. I hope it helps On Tue, May 10, 2016 at 9:49 AM, Alexandre Laquerre <[email protected]> wrote: > You are installing the installation package with a root like user correct ? > > > On Tuesday, May 10, 2016 at 12:30:29 PM UTC-4, Alexandre Laquerre wrote: >> >> hmm after a bit of searching, i found the following details in a previous >> post from April >> >> https://groups.google.com/forum/#!topic/ossec-list/HFKG8wxO8Ow >> >> The suggestion in that post was to create a user in order to solve the >> issue. It is as if the user is the user ossec is the default user for Ossec >> and without it, it will not install. >> >> >> >> >> >> On Tuesday, May 10, 2016 at 12:09:27 PM UTC-4, Paul wrote: >>> >>> -rw-r--r-- 1 root root 206422 Nov 12 21:11 >>> /var/cache/apt/archives/ossec-hids-agent_2.8.3-3trusty_amd64.deb >>> >>> Also, if it matters, I did the apt-get as root. >>> >>> >>> >>> On Tuesday, May 10, 2016 at 11:58:31 AM UTC-4, Alexandre Laquerre wrote: >>>> >>>> Hi, >>>> >>>> when you do a ls -la on the installation file what permissions do you >>>> see ? >>>> >>>> cheers, >>>> On Tuesday, May 10, 2016 at 11:55:37 AM UTC-4, Paul wrote: >>>>> >>>>> I am attempting to install the package ossec-hids-agent onto Ubuntu >>>>> 14.04.4. >>>>> I am using the source, deb http://ossec.wazuh.com/repos/apt/ubuntu >>>>> trusty main >>>>> >>>>> While installing it is kicking the error >>>>> Setting up ossec-hids-agent (2.8.3-3trusty) ... >>>>> chown: invalid user: ‘ossec:ossec’ >>>>> dpkg: error processing package ossec-hids-agent (--configure): >>>>> subprocess installed post-installation script returned error >>>>> exit status 1 >>>>> >>>>> When I look at /etc/passwd I do not see an entry for ossec; and I >>>>> could not find any documentation stating I needed to create one when >>>>> dealing with the repository. >>>>> >>>>> Am I missing something? >>>>> >>>>> Thank you for any help >>>>> >>>> -- > > --- > You received this message because you are subscribed to the Google Groups > "ossec-list" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
