-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hopefully fix Issue 1379 #1392
base: master
Are you sure you want to change the base?
Hopefully fix Issue 1379 #1392
Conversation
Rename label_t to OS_label_t (and label to OS_label just for fun). Hopefully fixes the issue.
i get this error now |
my fault i see my error |
If it works, I'll merge it. :-) |
that worked for that now having an issue with the installation of the files the useradd/groupadd did not work i added the userid/group and am trying to remake agent now |
it is not installing the files ./init/adduser.sh ossec ossecm ossecr ossec /var/ossec trying with commented out line 360 |
that did it also had to comment out the PATH for AIX line 56 in Makefile |
Were any of the ossec users created? Based on what you posted, it should probably be: I'll update it and add the changes to this PR. |
Aix does not normally use useradd they have a smitty user cli that is used to add users and groups
Nothing was added I added it using the smitty tool
From: Dan Parriott [mailto:[email protected]]
Sent: Tuesday, April 03, 2018 1:59 PM
To: ossec/ossec-hids <[email protected]>
Cc: Lund, Holly (CONTR) <[email protected]>; Comment <[email protected]>
Subject: Re: [ossec/ossec-hids] Hopefully fix Issue 1379 (#1392)
Were any of the ossec users created?
It looks like the useradd command it's trying to use is:
useradd ossec -d /var/ossec -s /bin/false -g ossec
Based on what you posted, it should probably be:
useradd -d /var/ossec -g ossec -s /bin/false ossec
I'll update it and add the changes to this PR.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#1392 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AkSKbbmuZiuht06jAmF6ERS9iI1q7Nloks5tk7hxgaJpZM4TFYdf>.
|
What's the smitty command to add users and groups? Adding those in shouldn't be too difficult. |
From the smitty log when I created the user/group
For group
mkgroup -'A' id='6667' ossec
Usage: mkgroup [-R load_module] [-a] [-A] "attr=value" ... newgroup
For user
mkuser id='6667' admin='false' pgrp='ossec' home='/var/ossec' gecos='OSSEC Client' ossec
Usage: mkuser [-R load_module] [-a] "attr=value" ... newuser
From: Dan Parriott [mailto:[email protected]]
Sent: Friday, April 06, 2018 7:37 AM
To: ossec/ossec-hids <[email protected]>
Cc: Lund, Holly (CONTR) <[email protected]>; Comment <[email protected]>
Subject: Re: [ossec/ossec-hids] Hopefully fix Issue 1379 (#1392)
What's the smitty command to add users and groups? Adding those in shouldn't be too difficult.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#1392 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AkSKbU01z3iMCmxj4zlfVitoorM6EOlVks5tl1NQgaJpZM4TFYdf>.
|
Rename label_t to OS_label_t (and label to OS_label just for fun).
Waiting on confirmation that this fixes it.