Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

where's ufw installed?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
HyperUniverse
Posts: 10
Joined: 2019-08-27 11:41

where's ufw installed?

#1 Post by HyperUniverse »

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.

anticapitalista
Posts: 429
Joined: 2007-12-14 23:16
Has thanked: 12 times
Been thanked: 13 times

Re: where's ufw installed?

#2 Post by anticapitalista »

Code: Select all

sudo ufw enable
antiX with runit - lean and mean.
https://antixlinux.com

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

Re: where's ufw installed?

#3 Post by HyperUniverse »

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?

User avatar
piperdan
Posts: 35
Joined: 2018-07-29 01:57
Location: USA
Has thanked: 1 time
Been thanked: 4 times

Re: where's ufw installed?

#4 Post by piperdan »

While you were in terminal, did you have a "#" or a "$" before you started typing your command?

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

Re: where's ufw installed?

#5 Post by HyperUniverse »

Code: Select all

root@pcname:/home/myname# ufw enable
bash: ufw: command not found

User avatar
piperdan
Posts: 35
Joined: 2018-07-29 01:57
Location: USA
Has thanked: 1 time
Been thanked: 4 times

Re: where's ufw installed?

#6 Post by piperdan »

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
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: where's ufw installed?

#7 Post by dilberts_left_nut »

AdrianTM wrote:There's no hacker in my grandma...

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

Re: where's ufw installed?

#8 Post by HyperUniverse »

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?)

Post Reply