b0N3z Posted July 24, 2018 Share Posted July 24, 2018 As i'm still a newb at adding paths and so on, here is what im trying to do. On my RPI3, using raspbian, im trying to add my golang path to the root directory so that I can use bettercap with the sudo command. I know im probably overlooking something or just not quite understanding something. but bettercap will run without sudo but always tells me it doesnt have permission and when I try to use $ sudo bettercap , my pi tells me that the command is not found. So i need to add my go path to root but im at a loss on how. I have already added the go path in my .bashrc file from my home directory but being a pi that is not root. I would just use kali on my pi, but I also want to learn more about linux while im stuck, id still like to learn for future programs. Quote Link to comment Share on other sites More sharing options...
sub0 Posted August 12, 2018 Share Posted August 12, 2018 Use this to add to your path: echo "export PATH=$PATH:/your/golang/path" >> ~/.bashrc But it seems that something isn't installed for the root user in raspbian. Try installing bettercap as root. Quote Link to comment Share on other sites More sharing options...
b0N3z Posted September 3, 2018 Author Share Posted September 3, 2018 Ive searched high and low with now fix to this problem. Does anybody else have any insight on this??? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.