sshd_config:

PermitRootLogin forced-commands-only


rkhunter.conf.local:

ALLOW_SSH_ROOT_USER=forced-commands-only


As mentioned before, I've checked again for trailing whitespace etc. by
using vim's ":set list".

Best,

Augusto M.

John Horne:
> On Sat, 2016-07-16 at 09:19 +0000, Protected wrote:
>> Hello,
>>
>> Using latest rkhunter (1.4.2) on openSUSE 13.1. I'm getting some
>> weird
>> warning:
>>
>> Warning: The SSH and rkhunter configuration options should be the
>> same:
>>          SSH configuration option 'PermitRootLogin': forced-commands-
>> only
>>          Rkhunter configuration option 'ALLOW_SSH_ROOT_USER':
>> forced-commands-only
>>
>>
>> I've also double-checked both configurations for maybe some trailing
>> whitespace. Is "forced-commands-only" simply not supported by
>> rkhunter?
>>
> Hi,
> 
> The check just compares what you have in your SSH config file against
> what you have in your rkhunter config file. It does not check for
> specific values, so you could put anything you like into the config
> files. (Obviously though SSH will probably complain if you don't use
> something it recognises!)
> 
> Can you email the relevant option lines in your SSH config file, and
> your rkhunter config file please? I'm wondering if the format of one of
> the options is not what rkhunter is expecting.
> 
> 
> 
> 
> John.
> 
> --
> ----------------------------------------------------
> John Horne                   Tel: +44 (0)1752 587287
> Plymouth University, UK
> ________________________________
> [http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>
> 
> This email and any files with it are confidential and intended solely for the 
> use of the recipient to whom it is addressed. If you are not the intended 
> recipient then copying, distribution or other use of the information 
> contained is strictly prohibited and you should not rely on it. If you have 
> received this email in error please let the sender know immediately and 
> delete it from your system(s). Internet emails are not necessarily secure. 
> While we take every care, Plymouth University accepts no responsibility for 
> viruses and it is your responsibility to scan emails and their attachments. 
> Plymouth University does not accept responsibility for any changes made after 
> it was sent. Nothing in this email or its attachments constitutes an order 
> for goods or services unless accompanied by an official order form.
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> Rkhunter-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rkhunter-users
> 

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Rkhunter-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to