this post was submitted on 16 Feb 2024
716 points (97.6% liked)

Programmer Humor

32371 readers
583 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
(page 2) 29 comments
sorted by: hot top controversial new old
[–] RustyNova@lemmy.world 2 points 8 months ago (2 children)

I know I forgot to reactivate my firewall yesterday, but I'm too scared of getting locked in to do it remotely. I have physical access to it, but gotta wait after work

load more comments (2 replies)
[–] dan@upvote.au 2 points 8 months ago

Not exactly the same thing, but on one of my systems, eth0 and eth1 swapped position after a kernel update, so the IP was on the wrong interface. I had IPMI/BMC on the system so didn't have to physically go to it and plug in a keyboard and monitor, but I still had to deal with manually typing a long randomly-generated password, twice (one to log in and once again for sudo).

I'm glad "predictable" interface names are supported now. Those eth0/eth1/etc names were dangerous since the numbers were just based on the order the kernel loaded the drivers and initialized them in, which can change across reboots. The predictable names are based on physical position in the system, so they're consistent across reboots.

[–] KuroeNekoDemon@sh.itjust.works 2 points 8 months ago (1 children)

That moment when you forget to run sudo ufw allow ssh after enabling the firewall

[–] neosheo@discuss.tchncs.de 2 points 8 months ago (1 children)
[–] KuroeNekoDemon@sh.itjust.works 1 points 8 months ago

Yeah sorry my brain is fried

load more comments
view more: ‹ prev next ›