-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix #1562 #1589
base: master
Are you sure you want to change the base?
Fix #1562 #1589
Conversation
kadmin.local binary might exist, even though Kerberos is not configured and /etc/krb5.conf does not exist.
OK, so what are the conditions where that might occur? Is the binary ever installed "without control"? Cheers John |
I have now been running lynis.noarch 3.1.3-1.fc41 for a few days. It still gives this output (one line)
if I run lynis using this command line...
If that error was able to be redirected to my "log" file, I'd be satisfied, if not happy As I said previously I think I have no trace of kerberos on this system. |
Clearly you have the
You can see the actual code that discovers the binary here. You probably have some Kerberos package installed in your system, but this is really something you need to look into on your own. The fact that you get an error from
It is not fixed yet in that version, as the potential fix resides in this particular pull request (which has not been merged yet) and I would ask you to test this fix and see if it resolves your issue? |
OK thanks. |
No. The problem will not fix itself. You will need to manually try out the proposed fix in this PR and report back whether it worked. |
I have removed krb5-server & samba-dc so I should not now see that error, as you thought it was coming |
Well it mitigates the problem for you when the |
It looks like it will work (stderr > /dev/null) & having reinstalled krb5-server on it's own (which supplies |
E.g.:
|
Looks like, or did you test it? Can you please try with the instructions provided in my previous comment and report back? |
I did it by adding that redirect to that line (17) of /usr/share/lynis/include/tests_kerberos Then running lynis. Sorry but I really can't get involved in playing "git". Having got a 2nd new hip almost 2 weeks ago, I just |
kadmin.local binary might exist, even though Kerberos is not configured and /etc/krb5.conf does not exist.