iotac-eu / honeypot

Honeypot component by TU-Berlin
0 stars 0 forks source link

Running the honeypot commands -- no $HOME variable in container #1

Open leodario7 opened 1 year ago

leodario7 commented 1 year ago

Hello there!

The commands.txt states:

# running the honeypot su honeypot cd $HOME/code/modules/ ## now setup config.json, especially the metadata part bash start_honeypot.sh

Is this to be done inside the Docker container or outside? 1) If it is inside: The $HOME variable does not point to the correct place, hence "cd $HOME/code/modules/" returns

bash: cd: /root/code/modules: No such file or directory

2)If it is outside: please outline it in the commands explicitly.

julieeen commented 1 year ago

Hi Leonardo,

you need to run this as the honeypot user to islate the application once more. The “su honeypot” will perform this task. You can check via “whoami” afterwards etc.

Best Julian

On 29. Mar 2023, at 16:48, Leonardo @.***> wrote:

Hello there!

The commands.txt states:

running the honeypot

su honeypot cd $HOME/code/modules/

now setup config.json, especially the metadata part

bash start_honeypot.sh

Is this to be done inside the Docker container or outside.

If it is inside: The $HOME variable does not point to the correct place, hence "cd $HOME/code/modules/" returns bash: cd: /root/code/modules: No such file or directory 2)If it is outside: please outline it in the commands explicitly.

— Reply to this email directly, view it on GitHub https://github.com/iotac-eu/honeypot/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADZRKXDM7OYPVF2J527K5LW6RKT7ANCNFSM6AAAAAAWMCNBWU. You are receiving this because you are subscribed to this thread.

leodario7 commented 1 year ago

Great, that was the problem, thanks!