Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
strange nessus installation behavior
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Thu Jan 25, 2018 2:04 am    Post subject: strange nessus installation behavior Reply with quote

This is just a heads up for anyone trying to use Nessus. I did my own version bump to 7.0.1 so I could install the latest version. When I brought up Nessus on https://localhost:8834 I wasn't prompted to create a user or register. I checked the cli tool to see what was up:
Code:
 # /opt/nessus/sbin/nessuscli lsuser
.keep_net-analyzer_nessus-bin-0

# /opt/nessus/sbin/nessuscli rmuser
Login to remove: .keep_net-analyzer_nessus-bin-0
User removed

# /opt/nessus/sbin/nessuscli adduser mikeg
Login password:

Strange for sure...

EDIT: Appears to be related to this line in the ebuild
Code:
keepdir /opt/nessus/var/nessus/users
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13512

PostPosted: Thu Jan 25, 2018 4:48 am    Post subject: Reply with quote

Historically, packages could not install empty directories, so keepdir touches a useless file in the directory to make it non-empty. It appears Nessus treats any file present in that directory as a user, regardless of name or content.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Thu Jan 25, 2018 4:34 pm    Post subject: Reply with quote

Didn't realize that the .keep files weren't required anymore. Going to file a quick bug to have that line removed. Thanks!
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13512

PostPosted: Fri Jan 26, 2018 2:56 am    Post subject: Reply with quote

I do not know if they are still required. I know they were required in the past. They might still be needed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum