ispCP - Board - Support
[SOLVED] rkhunter --> multiple users in root group - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [SOLVED] rkhunter --> multiple users in root group (/thread-2875.html)



[SOLVED] rkhunter --> multiple users in root group - HSorgYves - 03-28-2008 09:51 PM

Is there a way to configure rkhunter so that it does not complain for specified users which are in the root group?

Best Regards,
Yves


RE: rkhunter --> multiple users in root group - joximu - 03-28-2008 10:28 PM

Maybe http://rkhunter.sourceforge.net/ can help you - there's a mailing list.


RE: rkhunter --> multiple users in root group - HSorgYves - 03-29-2008 05:09 AM

There is a UID0_ACCOUNTS setting in rkhunter; on Debian it is there in 1.3.2-1 (Lenny) but not in 1.2.9-2 (Etch).

On Etch you can however modify /usr/bin/rkhunter:
users_with_uid0=`grep -v '^:0:0:::' ${ROOTDIR}etc/passwd | grep ":0:" | cut -d ":" -f1,3 | grep '0' | grep -v 'root:0'`
Simply add " | grep -v 'user:0'" for each root user.

Best Regards,
Yves