Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

How to Disable RKHunter Warnings About Root Logins

E-mail Print PDF

This one-line command will edit the /etc/rkhunter.conf file to permit root logins via SSH.  This does not make your system any more or less secure, it just disables the (daily) warning message.

 

perl -i -p -e 's/\#ALLOW_SSH_ROOT_USER=0/ALLOW_SSH_ROOT_USER=1/' \
   /etc/rkhunter.conf

More on using Perl as an in-place editor here

Last Updated on Sunday, 06 July 2008 18:16  

Your external IP

You are connecting to this site from: 38.107.179.241

Secure Client Login

Email Address:

Password: