3 ms·
The first two things I prefer to do after I log in for the first time (on ubuntu): > ufw enable > ufw default deny This way, after I log in, I will not al
by plainOldText 14y ago
The first two things I prefer to do after I log in for the first time (on ubuntu):
> ufw enable
> ufw default deny
This way, after I log in, I will not allow anyone else to connect to my machine (I've had instances when by the time I changed my root password "bad guys" had already tried to connect to my machine).
Of course after I do the server setup (which is usually a script that will change ssh ports, install packages, etc) I will allow other services in ufw.
- stevekemp 14y agoOnce upon a time somebody wanted to give me access to a new system - they ran "adduser steve", and set the password to be "steve". Two hours later, when I read the mail, that account had already been compromised. I knew it was a risk, but had no idea that it would happen so __quickly__.