REMnux/salt-states

Possible wrong location for .malwapi.conf

Closed this issue · 3 comments

Hi,

I'm facing an error when installing remnux from scratch.

Error:
Screenshot from 2023-06-20 13-06-53

After digging into saltstack.log the error is eventually caused by a wrong path for .malwapi.conf
Screenshot from 2023-06-23 07-46-40

I found .malwapi.conf in a different path
Screenshot from 2023-06-23 07-49-17
/opt/malwoverview/lib/python3.8/site-packages/root/.malwapi.conf

After I created /opt/malwoverview/lib/python3.8/site-packages/home/remnux/ manually and copied .malwapi.conf there, the installation was successful.
Screenshot from 2023-06-23 08-14-30


Steps to repoduce:

  • wget https://REMnux.org/remnux-cli
  • mv remnux-cli remnux
  • chmod +x remnux
  • sudo mv remnux /usr/local/bin
  • sudo apt install -y gnupg
  • sudo remnux install

OS Infos:

Screenshot from 2023-06-23 08-40-04


Greetings

ClaudioW

Hi @ClaudioWayne , did you happen to run the install as root (not sudo, but as the user root)? If so, that would cause the path to be incorrect because it is attempting to look for the "root" home directory.

Hi @ClaudioWayne , I've got the issue sorted out now, and will be submitting a PR shortly to fix this.

Hi,
sorry for late response
I have run the command as described in the documentation as remnux user

sudo remnux install

thx for the PR and maintaining this project

Claudio