There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

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

delirious_owl , in I was looking at the firefox flatpak on flathub. Won't this warning make a non tech-savy user anxious? This might make them think they'll get a virus or something like that.
@delirious_owl@discuss.online avatar

Considetng flatpak doesn’t verify the authenticity of what it downloads, all flatpak users should just expect that what they download is a virus

Ferk , (edited ) in What is your favourite shell to use
@Ferk@lemmy.ml avatar

Bash. By default it might seem less featureful than zsh… but bash is a lot more powerful and extensible than some give it credit for. It might be more complex to set it up the way you like it, but once you do it, that configuration can be ported over wherever bash exists (ie. almost everywhere).

HumanPerson , in Deduplication tool

I believe zfs has deduplication built in if you want a separate backup partition. Not sure about its reliability though. Personally I just have a script that keeps a backup and an oldbackup, and they are both fairly small. I keep a file in my home dir called excluded for things like linux ISOs that don’t need backed up.

GenderNeutralBro ,

BTRFS also supports deduplication, but not automatically. duperemove will do it and you can set it up on a cron task if you want.

JubilantJaguar , in I was looking at the firefox flatpak on flathub. Won't this warning make a non tech-savy user anxious? This might make them think they'll get a virus or something like that.

Completely agree. Training normies to click OK on warnings like this is a no-good terrible idea.

Evotech ,

They shouldn’t click on on this tho

IronKrill ,

Training users to click on this shit is the same reason people wipe their desktop by ignoring “Yes I know what I am doing” warnings.

refalo ,

someone is not a fan of LTT

JubilantJaguar , in TUXEDO on ARM is coming

Can someone do a quick explainer of what this move to ARM means for free computing? The prospects for hassle-free installation of alternative OSs? Is it good news or bad?

iturnedintoanewt ,
@iturnedintoanewt@lemm.ee avatar

The good news are on RISCV. ARM has even more closed source bootloader and binary driver blobs than x86 architecture. It’s supposed to be good power efficiency over Intel for a laptop, but not so sure about amd.

JubilantJaguar ,

Thanks, that is useful. Roughly what I was thinking.

bbbhltz , in PSA: How to install Brother HL-L5210DW printer under Fedora 40 using IPP-over-USB
@bbbhltz@beehaw.org avatar

I went through something similar with my Brother printer, but stuck with USB. I’ll have to give your tips a try later.

I haven’t been able to get 2-sided to work except with LibreOffice for some reason, but maybe that DuplexNoTumble thing is the key…or value.

redxef , in What is your favourite shell to use

Bash, not because its my favourite but because it’s nearly ubiquitous. I don’t want to have to think about which shell I’m using.

BCsven , in Deduplication tool

Fs-lint will do some of these things once you configure its actions

biribiri11 , in Deduplication tool

As said previously, Borg is a full dedplicating incremental archiver complete with compression. You can use relative paths temporarily to build up your backups and a full backup history, then use something like pika to browse the archives to ensure a complete history.

Agility0971 OP ,
@Agility0971@lemmy.world avatar

I did not ask for a backup solution, but for a deduplication tool

biribiri11 , (edited )

Tbf you did start your post with

I’m in the process of starting a proper backup

So you’re going to end up with at least a few people talking about how to onboard your existing backups into a proper backup solution (like borg). Your bullet points can certainly probably be organized into a shell script with sync, but why? A proper backup solution with a full backup history is going to be way more useful than dumping all your files into a directory and renaming in case something clobbers. I don’t see the point in doing anything other than tarring your old backups and using borg import-tar (docs). It feels like you’re trying to go from one half-baked, odd backup solution to another, instead of just going with a full, complete solution.

rotopenguin ,
@rotopenguin@infosec.pub avatar

Use rm with the redundant files option.

rm -rf /

ninekeysdown , in Deduplication tool
@ninekeysdown@lemmy.world avatar

Restic

GolfNovemberUniform , in i made a wiiwoo for linux
@GolfNovemberUniform@lemmy.ml avatar

Sus

737 , in I'm trying to lspci > /sdc1 lspci.txt on recovery mode. What am I doing wrong? + help installing broadcom BCM4360 802.11ac network controller on debian

maybe try


<span style="color:#323232;">lspci </span><span style="font-weight:bold;color:#a71d5d;">> </span><span style="color:#323232;">~/Documents/lspci.txt
</span>
MerryChyrsler , in What is your favourite shell to use

At the moment I’m using zsh with powerlevel10k. But powerlevel10k is not really supported anymore, and seems to be basically on life support. While it still works for now, I have been thinking of switching over to fish. But the lack of posix compatibility is holding me back a bit.

pivot_root , in SSH as a sudo replacement

A better implementation than run0.

doona ,

Why?

kbal , (edited )
@kbal@fedia.io avatar

It has some advantages. It can be configured with simple text files and normal filesystem permissions. The sshd code is mature and has a proven record of good security. It doesn't add yet another thing to systemd that has no business being part of systemd.

doona ,

I really don’t get why an alias to something that would be in systemd anyway (that’s all run0 is, an alias to systemd-run) would be an issue. Is systemd-run problematic or something?

kbal ,
@kbal@fedia.io avatar

Sure, the project is already bloated with so much complexity that what's the harm in adding a little more? If you're genuinely confused about it, see the entire rest of the Internet for details.

pivot_root ,

The problem is that they’re trying to frame it as a better replacement for sudo when it’s really not.

In some respects, it’s safer by not using a setuid binary. In other respects, it massively increases the surface area by relying on the correctness of three separate daemons: systemd, dbus, and polkitd. If any one of those components are misconfigured, you risk an unauthorized user gaining root privileges.

With sudo, the main concern is the sudo process being exploited through memory safety bugs since it runs at root automatically.

Don’t get me wrong, sudo has a lot of stupid decisions and problems. There’s a ton of code in sudo for features that almost nobody uses, and there’s bound to be bugs in there somewhere. It needs to be replaced with something simpler, but run0 is not that.

doona ,

Thank you for a non-hand-wavy response! I’m not entirely sure I agree, depending on more libraries doesn’t have to be an issue if they’re well designed and frequently used elsewhere, no? Is the implication here that systemd isn’t well designed?

In any case, would you say sudo is the best we have for temporary root elevation at the moment? I haven’t really heard of an alternative apart from doas.

dino ,

systemd, dbus, and polkitd. If any one of those components are misconfigured, you risk an unauthorized user gaining root privileges.

Just for my own understanding, if any of those are misconfigured, do you not anyway have a big security problem already, regardless of run0?

potentiallynotfelix ,

The Systemd init system and its consequences have been a disaster for the human race. It has greatly increased the life-expectancy of those of us who live in “just werks” distros, but it has destabilized GNU/Linux society, has made life unfulfilling, has subjected users to indignities, has led to widespread psychological suffering (in the BSD world to physical suffering as well) and has inflicted severe damage on the Unix world. The continued development of Systemd will worsen the situation. It will certainly subject human beings to greater indignities and inflict greater damage on the Unix world, it will probably lead to greater social disruption and psychological suffering, and it may lead to increased physical suffering even in “just werks” distros.

The Systemd system may survive or it may break down. If it survives, it MAY eventually achieve a low level of physical and psychological suffering, but only after passing through a long and very painful period of adjustment and only at the cost of permanently reducing users and many other Unix processes to engineered products and mere cogs in the Systemd machine. Furthermore, if the system survives, the consequences will be inevitable: There is no way of reforming or modifying PID 1 so as to prevent it from depriving users of dignity and autonomy.

If the system breaks down the consequences will still be very painful. But the bigger the system grows the more disastrous the results of its breakdown will be, so if it is to break down it had best break down sooner rather than later.

We therefore advocate a revolution against the Systemd system. This revolution may or may not make use of violence; it may be sudden or it may be a relatively gradual process spanning a few decades. We can’t predict any of that. But we do outline in a very general way the measures that those who hate the Systemd system should take in order to prepare the way for a revolution against that form of society. This is not to be a POLITICAL revolution. Its object will be to overthrow not distros but the init-system basis of the present GNU/Linux ecosystem.

toastal , in What is your favourite shell to use

Fish for interactive shell. “It depends” for scripting, but usually ends up Bash since it is the NixOS default.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines