where's ufw installed?

If none of the more specific forums is the right place to ask

where's ufw installed?

Postby HyperUniverse » 2019-08-28 09:09

Hi,

After installing, as root:
Code: Select all
apt install ufw


I next try to enable it:
Code: Select all
ufw enable


but I get this message:
Code: Select all
bash: ufw: command not found


I try to reinstall it and it says it's already installed the latest version

Anybody can help?

Thanks.
HyperUniverse
 
Posts: 10
Joined: 2019-08-27 11:41

Re: where's ufw installed?

Postby anticapitalista » 2019-08-28 09:36

Code: Select all
sudo ufw enable
antiX "Heather Heyer" - lean and mean.
https://antixlinux.com
anticapitalista
 
Posts: 351
Joined: 2007-12-14 23:16

Re: where's ufw installed?

Postby HyperUniverse » 2019-08-28 09:53

yes, adding sudo it worked
but why?
I was already root in that terminal . . . !

could it be a glitch?
or am I not understanding something?
HyperUniverse
 
Posts: 10
Joined: 2019-08-27 11:41

Re: where's ufw installed?

Postby piperdan » 2019-08-28 10:20

While you were in terminal, did you have a "#" or a "$" before you started typing your command?
User avatar
piperdan
 
Posts: 23
Joined: 2018-07-29 01:57
Location: USA

Re: where's ufw installed?

Postby HyperUniverse » 2019-08-28 10:33

Code: Select all
root@pcname:/home/myname# ufw enable
bash: ufw: command not found
HyperUniverse
 
Posts: 10
Joined: 2019-08-27 11:41

Re: where's ufw installed?

Postby piperdan » 2019-08-28 10:53

Well, you were in root......


I guess if it worked with sudo, it was indeed installed. I just tried in root instead of using sudo, and it worked either way for me. :shrug:
Last edited by piperdan on 2019-08-28 10:59, edited 2 times in total.
User avatar
piperdan
 
Posts: 23
Joined: 2018-07-29 01:57
Location: USA

Re: where's ufw installed?

Postby dilberts_left_nut » 2019-08-28 10:54

AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5003
Joined: 2009-10-05 07:54
Location: enzed

Re: where's ufw installed?

Postby HyperUniverse » 2019-08-28 11:39

well, from the other topic that dilberts_left_nut pointed at, I get it it was because I didn't add my name to sudoers;
from the same (other) topic, I understand that what was working for the last 20 years, was now fixed, so it won't work anymore;

anyway, I know what to do now, just in case something similar happens later.

Thanks all.
Regards

(how do I mark this SOLVED?)
HyperUniverse
 
Posts: 10
Joined: 2019-08-27 11:41


Return to General Questions

Who is online

Users browsing this forum: No registered users and 17 guests

fashionable