Current time: 05-06-2024, 10:32 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] rkhunter --> multiple users in root group
Author Message
HSorgYves Offline
Junior Member
*

Posts: 94
Joined: Feb 2008
Reputation: 0
Post: #1
[SOLVED] rkhunter --> multiple users in root group
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
(This post was last modified: 03-29-2008 05:11 AM by HSorgYves.)
03-28-2008 09:51 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: rkhunter --> multiple users in root group
Maybe http://rkhunter.sourceforge.net/ can help you - there's a mailing list.
03-28-2008 10:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
HSorgYves Offline
Junior Member
*

Posts: 94
Joined: Feb 2008
Reputation: 0
Post: #3
RE: rkhunter --> multiple users in root group
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
(This post was last modified: 03-29-2008 05:11 AM by HSorgYves.)
03-29-2008 05:09 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)