linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

digger, in Cool fancy programs?
@digger@lemmy.ca avatar

May I interest you in lolcat?

CrabAndBroom,

There’s also dotacat written in Rust for people who find lolcat too slow.

vort3,
@vort3@lemmy.ml avatar

Because dota is better than lol. Lol.

rotopenguin, in Cool fancy programs?
@rotopenguin@infosec.pub avatar

Live Captions.

EuroNutellaMan,
@EuroNutellaMan@lemmy.world avatar

could you link any examples?

miningforrocks,

flathub.org/apps/net.sapples.LiveCaptions

As a German speaker myself it is very much useless but if you speak French, English or polish it is very useful

Unfortunately I didn’t found a way to train a model on German

4vr, in Firefox 122 released: Here's what's new

Firefox iOS is crippled by Apple’s policy. Orion browser has shown it’s possible to install Firefox extensions on iOS. Hope Firefox implements something similar.

charonn0, in SSH protects the world’s most sensitive networks. It just got a lot weaker
@charonn0@startrek.website avatar

Even the researcher who reported this doesn’t go as far as this headline.

“I am an admin, should I drop everything and fix this?”

Probably not.

The attack requires an active Man-in-the-Middle attacker that can intercept and modify the connection’s traffic at the TCP/IP layer. Additionally, we require the negotiation of either ChaCha20-Poly1305, or any CBC cipher in combination with Encrypt-then-MAC as the connection’s encryption mode.

[…]

“So how practical is the attack?”

The Terrapin attack requires an active Man-in-the-Middle attacker, that means some way for an attacker to intercept and modify the data sent from the client or server to the remote peer. This is difficult on the Internet, but can be a plausible attacker model on the local network.

terrapin-attack.com

Chewy7324,

It definitely receives more clicks. I’ve posted this link here a day ago, but arstechnicas title is more engaging. My first thought was whether there’s been another vulnerability found.

That said, this headline isn’t as bad as it could’ve been.

Waluigis_Talking_Buttplug,

If someone can gain physical access to your network, you’re already fucked.

Ramenator,

Yeah, if the attacker is in a position to do a MitM attack you have much larger problems than a ssh vulnerability that so far can at most downgrade the encryption of your connection in nearly all cases

Illecors, in One single partition for Linux versus using a partition table?

It’s not wrong, as such, but simply not right. Since you’re using btrfs, having a separate partition for home makes little sense. I, personally, also prefer using a swapfile to a swap partition, but that’s potato/potato.

mambabasa,
@mambabasa@slrpnk.net avatar

Alright, but actually I don’t think I’m maximizing my use of btrfs. I only use btrfs because of its compatibility with Linux Mint’s Timeshift tool. Would you be implying if I used btrfs for the whole partition, I can reinstall / without overwriting /home?

Illecors,

BTRFS has a concept called a subvolume. You are allowed to mount it just like any other device. This is an example /etc/fstab I’ve copied from somewhere some time ago.


<span style="color:#323232;">UUID=49DD-6B6F                                  /efi            vfat    defaults        0 2
</span><span style="color:#323232;">UUID=701c73d7-58b5-4f90-b205-0bb56a8f1d96       /               btrfs   subvol=@root    0 0
</span><span style="color:#323232;">UUID=701c73d7-58b5-4f90-b205-0bb56a8f1d96       /home           btrfs   subvol=@home    0 0
</span><span style="color:#323232;">UUID=701c73d7-58b5-4f90-b205-0bb56a8f1d96       /opt            btrfs   subvol=@opt     0 0
</span><span style="color:#323232;">UUID=701c73d7-58b5-4f90-b205-0bb56a8f1d96       /srv            btrfs   subvol=@srv     0 0
</span><span style="color:#323232;">UUID=701c73d7-58b5-4f90-b205-0bb56a8f1d96       /var            btrfs   subvol=@var     0 0
</span>

/efi (or /boot, or /boot/efi, whatever floats your boat) still has to be a separate vfat partition, but all the other mounts are, technically speaking, the same partition mounted many times with a different subvolume set as the target.

Obviously, you don’t need to have all of them separated like this, but it allows you to fine tune the parts of system that do get snapshot.

mambabasa,
@mambabasa@slrpnk.net avatar

How about when I need to reinstall the OS? Will overwriting / not touch /home like with my current set up?

mambabasa,
@mambabasa@slrpnk.net avatar

Also, if I don’t indicate a swap partition during install, would the OS use swap files automatically?

Illecors,

I don’t know, haven’t used Mint in a decade. It’s not difficult to set it up, though.

kalkulat,
@kalkulat@lemmy.world avatar

I think the last time I installed Mint it DID create a swapfile. Don’t use it, so commented that out in FSTAB.

jollyrogue,

I haven’t seen this behavior. As far as I know, the system will run without swap until a swap partition or swap file is created and activated.

Swagdorf, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

I wanted to move my Arch VM to bare metal, so I copied out all the important bits. Then I wanted to move that copy to a new drive so I could boot into it.

I THOUGHT I’d MV all the files in the Arch install’s etc directory using sudo MV /etc …

I also (somehow) mashed my install’s etc with Arch’s and bungled both, with no live CD to help.

I learned a thing or two about absolute file paths…

youngGoku, in Storing SSH keys on gnome-keyring, kwallet, ibsecret or similar

Your ssh private keys are safe, assuming nobody has physical access to your home directory. You can configure them to not require a password.

If someone has physical access to your computer then they could become compromised. If you are worried about that you could encrypt the whole drive.

edinbruh,

It’s not a solution.

Example: there’s another user with sudo access, he has access to my home folder, encrypting the drive doesn’t solve anything. Or maybe you just are not the system administrator.

It’s not my usecase, but it’s definitely a reasonable situation.

LeTak,

You can encrypt your /home separate with another password.

mvirts,

Anyone with sudo access can keylog your password

Atemu,
@Atemu@lemmy.ml avatar

Unless some sandboxing or other explicit security measure is in place, any software you run typically has access to your entire home directory, including .ssh/. If any one of those was compromised somehow, they’ve got access to your SSH keys.

That’s a gigantic attack surface if you ask me.

Synthead, in SSH protects the world’s most sensitive networks. It just got a lot weaker

ChaCha20-Poly1305 and CBC with Encrypt-then-MAC ciphers are vulnerable to a MITM attack.

Saved you a click.

Valmond,

Why use CBC too? Cha-Cha20-Poly1305 is an AEAD, so both an assymetric plus a symmetric stream cipher.

thisisawayoflife, (edited )

Just checked my own sshd configs and I don’t use CBC in them. I’ve based the kex/cipher/Mac configs off of cipherlist.eu and the mozilla docs current standards. Guess it pays to never use default configs for sshd if it’s ever exposed to the Internet.

Edit: I read it wrong. It’s chacha20 OR CBC. I rely heavily on the former with none of the latter.

Valmond,

Ah thanks! Didn’t catch that.

NateNate60,

I thought most SSH servers default to some AES-based cypher like most other programs. Is that not the case?

onlinepersona, in Linux holds a market share of approximately 14% in India.

It’s a little puzzling to me that Linux isn’t popular in low-income countries. Why wouldn’t it be the OS of choice there? Do we need to become linux missionaries? I imagine it would be easier to convince people who can’t buy an iPhone to use FLOSS than those who can drive to an Apple Store and waddle over to get yet another one.

victron,
@victron@programming.dev avatar

Puzzling? Windows comes preinstalled or can be pirated. Also, it’s popular, Linux isn’t. No puzzle on sight.

danie10,
@danie10@lemmy.ml avatar

They know little about open source. Microsoft is exclusively in schools and government, and that is what they grow up with. They probably know more about pirating Windows, than using Linux legally. There is also a good kick-back in terms of MS license mark-ups for middle-men businesses. One would hope there is some mandatory education around different OSs as I’m sure kids would love to explore and modify software.

Thymos, in 4 reasons to try Mozilla’s new Firefox Linux package for Ubuntu and Debian derivatives | The Mozilla Blog

Has anyone tried this yet on Debian 12? Would be nice to upgrade from the ESR version.

v9CYKjLeia10dZpz88iU, in The Linux Experiment Channel (From Nick) is on Peertube, and it federates right into Lemmy as a community
BakedCatboy,

Neat, it almost works in sync but it just shows an empty community with an “error loading page” toast

ruplicant,
@ruplicant@sh.itjust.works avatar

is this community the Peertube channel? through Newpipe i can see peertube comments (even lemmy accounts!) but on that community i see none. also the lammy client might be an issue…?

i’m really exited about this, now i’ll be able to correct people wrong on the internet like i can’t do on youtube videos!!

Kalcifer, (edited )
@Kalcifer@sh.itjust.works avatar

I have heard that it might be an issue with Peertube’s federation implementation, in that its not properly pushing externally.

helenslunch, (edited )
@helenslunch@feddit.nl avatar

is this community the Peertube channel?

Lemmy “communities”, PeerTube “channels”, Mobilizon “Groups”, Kbin “magazines”, and Mastodon “Groups” are all functionally the same thing in the Fedi.

You can follow Lemmy communities on Mastodon as well, it just has a different (bad) UI. That’s why you’ll occasionally see users on Lemmy annoyingly @ 12 people in a reply.

ruplicant,
@ruplicant@sh.itjust.works avatar

yes i’ve interacted with mastodon users here through lemmy, but am still figuring out how i get on the other platforms from here

thanks for the clarification!

now i’ll get a mastoson client to follow communities on lemmy, hop on peertube comments from here and hopefully lurk on mastodon from newpipe muAHAHaHahHahah

helenslunch,
@helenslunch@feddit.nl avatar

am still figuring out how i get on the other platforms from here

Not sure what you mean by that. You can’t log into a Mastodon server with a Lemmy account. And I don’t think you can follow a Mastodon user from Lemmy. They’re just designed to be separate, for good reason.

ruplicant,
@ruplicant@sh.itjust.works avatar

i meant to comment or just see the content from there, like i’ve seen mastodon users’ comments here on lemmy and lemming comments on peertube

helenslunch,
@helenslunch@feddit.nl avatar

like i’ve seen mastodon users’ comments here

You simply follow the Lemmy community (displayed as “groups”) on Mastodon.

and lemming comments on peertube

Just follow the PeerTube channels (displayed as “communities”) on Lemmy. As seen in the OP.

ruplicant, (edited )
@ruplicant@sh.itjust.works avatar

thanks, i got it! i just managed to comment on a video :D

funny thing is that, through lemmy, i can only see my own comments, although there are several additional ones from peertube’s view

EDIT: re-phrasing

helenslunch,
@helenslunch@feddit.nl avatar

Interesting, my understanding is that they should appear on PeerTube but maybe they have disabled that.

ruplicant,
@ruplicant@sh.itjust.works avatar

they do. i was not clear, sorry

pruneaue, in 2 years on GNU/Linux - a retrospective attempt

Funny that the printer was the thing that cemented the shift. Ive either been really lucky or linux is much better than windows for printers

Liz_thestrange, (edited )

I’m at college at the moment, so printing is essential for me, right now I can’t print on my desktop but my laptop can do it fine, but yeah that was the final step fot the shift

Edit; I can do it in my desktop too now :)

juli,

Usually linux is better than windosd

xtapa, in Mozilla Firefox 122 Is Now Available for Download, Here's What's New

I wish they would finally add native vertical tabs. One of the few things I really appreciated about the latest Edge.

RHOPKINS13, in 2 years on GNU/Linux - a retrospective attempt

My personal favorite is Debian. I'm the IT director at my job, and 90% of our machines, including end user workstations, are running some form of Linux.

One really nice thing is that most stuff is saved somewhere in your home directory. You can switch between all sorts of distros, and if you install the same software, browser, email client, etc. most of your stuff will automatically be there and work out of the box.

juli, (edited )

I didn’t know this for a long while when distro hopping and since every distro tinkered with grub etc and I really hated debugging grub, and I was afraid of something happening to my home directory, I overwrote it every single time. I wish I have had a separate drive just for it when I began with linux.

kurumin, in [Pop_OS] Laptop's fan goes loud on lid open
@kurumin@linux.community avatar

You may want to try !pop_os or !popos

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #