TPot Installation Issue: Conflicting Root and Non-Root Privileges #1750
-
I set up a cloud VPS with Linux using KVM architecture and Debian 12. I have root access. However, when I try to install TPot following the instructions in the readme.md, I get an error saying, "You are a root user, and the install.sh script will not work." When I create a non-root user and run the script, it says, "This TPot installation requires sudo command privileges." How can I fix this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @soheilsheikh |
Beta Was this translation helpful? Give feedback.
You're right! At first, the script asked me to run it as a non-root user, but then it also needed root permissions — which was a bit confusing.
To fix this, I created a non-root user and added it to the sudo group (like an administrator in Windows). This way, I could run the script with the right permissions when needed.
I think it would be helpful to mention in the README.md that users should create a non-root user with sudo privileges to run install.sh smoothly.