linuxmemes

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

MindSkipperBro12, in What do you guys do when you want to run unmaintained programs?

The left image is what I think of Linux: overly complicated with no real benefit to it.

naeap,
@naeap@sopuli.xyz avatar

Well, then you assume wrong

Linux just gives you the options. Under windows you’d be just sol

unionagainstdhmo,
@unionagainstdhmo@aussie.zone avatar

I would be very surprised if any major Lemmy instances ran on a MacOS or Windows Server

renzev,

Loving those fanboys in your replies getting absolutely triggered haha

MindSkipperBro12,

Just let them scream, son, just let them scream.

biscuitswalrus,

I have to ask, do you think the websites you use or the places you post run on Windows?

mmcintyre,

I don’t get what the benefits of windows are supposed to be. I just want to play games and ride on the information superhighway. Why would I even want a… Cortana or paperclip or whatever?

renzev, (edited )

The redpill is that there are none. You know how wndows search is absolute crap, but you can get actually decent search results with Powertoys Run? You know how instead of trolling through control pannel and Settings, you can just directly search for whatever configuration you need with god mode? You know how wndows has a package manager, but it is not even installed by default? Or how it supports hibernation (suspend-to-disk), but hides it from the power menu? Ask yourself, why add all of these useful features, and then hide them far away, while presenting the user with a painfully outdated interface bloated with crap like cpilot or crtana or whatever? The answer is that to remain relevant, Mcrosft needs to keep the computing experience painful for their users. If they make Wndows actually nice to use, people will swiftly realize that using your computer can actually be enjoyable. And that leads to trying out alternatives like BSD and Linux. And trying out alternatives leads to finding out that those alternatives are superior. Think about it. They’ve already lost in the server world. Once the remaining office workers and college students realize that mcrosft has been pissing in their mouths while telling them that it’s raining, the only userbase that will be left are “capital G” gming addicts. And that demographic is also slowly waning thanks to wine and the fact that modern vdeo gmes are slowly becoming utter trash.

mmcintyre,

No, I don’t know any of that. Some of those words are familiar, tho. Sorry, I ain’t had a Windows partition on my own personal computer since… damn I forgot what the one before 7 was called - Vista! We still had the family gaming PC, and I stayed buying games during steam and gog sales (even tho I mostly played on consoles - Nintendos and PlayStations only, lol) but I guess I haven’t actually been on it since Windows 8 and I hated it so much! But it’s gone now anyway, cannibalized for parts. Only 1 kid left at home, he’s got his own PC, and I don’t even know what version of windows he’s running. It’s hilarious, go back a few decades and I was free windows tech support for everyone, but now I don’t even know how to Windows.

And look, I’m probably just a trash monster. Like, I’m playing Just Cause 4 on my PS4 right now. And I play plenty of other trash (but also some good games) on my Garuda (it’s based on arch, btw - installed by my husband who has only ever installed windows in his life, with very minimal input from me) gaming PC. I also have the steam deck, but once my son donated parts after his latest PC upgrade, the steam deck just mostly gets picked up to do a little update every so often - but I’m about to go on a trip (and the switch has already been claimed)! To be fair to the steam deck, I mostly don’t even power on my gaming PC, as I really love my PS4 (I can’t stand the PS5 and usually only get on it to help my grandson when he’s here) and my rarely-turned-off MX Linux PC (I don’t hate the KDE of Garuda, but there’s a reason I use an XFCE-based distro as my daily driver).

I might be a gaming addict. But Microsoft hasn’t had anything to offer me since like, George W Bush was president. And even then, it was steam then gog who really had stuff to offer me on the PC. And in the console department, they ain’t ever had anything I’ve wanted, maybe my hands are too small or something but I’ve always hated the Xbox controller.

Grass, in Linux laptop recommendation thread🐧💻

I just want a modern AMD apu laptop with coreboot, slotted ram and multiple nvme slots, but like everything these days it would seem I’m asking for too much.

cyberpunk007,

That would be perfect.

Grass,

My modded t440p goes with me everywhere until then. I have that IIRC core2 dell(?) armored laptop running fully blobless too but it’s just a server backing up my 2fa emergency keys and such things. It was a fun little side project building and flashing coreboot but the hardware is a bit dated these days. The t440p is good for anything other than gaming or 4k movies at least.

kidpixo,

I bought a lenovo p14s AMD 2 years ago without OS, 32GB RAM and M.2 SSD, very happy with Arch, BTW. Coreboot would be nice, but it doesn’t seem feasible yet…

const_void,

Coreboot would be nice, but it doesn’t seem feasible yet…

Why not?

kidpixo, (edited )

Modern CPUs, especially AMD. Correct me If I’m wrong !

const_void,

Yeah, that’s incorrect. System 76 is producing machines with modern CPUs that use coreboot:

system76.com/laptops/oryx

kidpixo,

Nice , but my question was more if it possible to put it on other commercial machines, especially AMD one

vox, (edited )
@vox@sopuli.xyz avatar

my current dell one has an amd cpu, slotted ram (no soldered on crap) and nvme + sata (with space for a drive); too bad the build quality and the touchpad sucks
my old lenovo one also had replacable slotted cpus (with Pentium 2020m pre-installed). The lid also just slid off (like on a rail), with only one screw needing removal, no flimsy plastic clips. I broke plastic part of the hinge on that one by just flipping it over, oh well.

Grass,

I miss the old days and what I thought the future of tech would be like back then…

Octopus1348, in AMA
@Octopus1348@lemy.lol avatar

What does sudo rm -rf / --no-preserve-root do? I found it on some sketchy article.

0x4E4F,
@0x4E4F@sh.itjust.works avatar

It removes the root from the apple tree in Eden and saves Eve from making the first sin, humanity being banished from heaven and all that.

PM_ME_VINTAGE_30S, in AMA
@PM_ME_VINTAGE_30S@lemmy.sdf.org avatar

Which Linux distribution should I run on my Arduino Uno for maximum performance?

0x4E4F,
@0x4E4F@sh.itjust.works avatar

RedStar OS.

uis,
@uis@lemmy.world avatar

LFS

nogrub,

we all know its hannah montana os

latca, in AMA

What is a bootloader and why would anyone want to load boots?

BleatingZombie,

You load your boots after installing Java in the the morning

0x4E4F,
@0x4E4F@sh.itjust.works avatar

Cuz… where else are you gonna put your load 🤨…

sounddrill,

Ayo? 🤨

0x4E4F,
@0x4E4F@sh.itjust.works avatar

No no no, you have to stir it to become ayo.

callyral, (edited ) in AMA
@callyral@pawb.social avatar

I’d like you to guess which one of these is fake:

  1. How do I install Hyprland on NixOS using Flakes?
  2. How do I install systemd-dispatcher on Void Linux RC?

Edit:

OP has answered, the answer isthat the second one is fake, the first one is real.

ook_the_librarian,
@ook_the_librarian@lemmy.world avatar

Whichever one is fake could be real tomorrow.

makunamatata,

There is always an alternate reality

AVincentInSpace,

do you have any idea the shitstorm that would go down in the Void Linux forums

thecrotch,

Is it anything like the daily shit storm in every Linux community?

renzev,

Not OP but I know which one is fake because I remember actually doing the other one haha

cyanarchy,

If you didn’t tell me one of these were fake I would never have questioned it.

ook_the_librarian,
@ook_the_librarian@lemmy.world avatar

Honestly, just because one is nonsense, it wouldn’t mean it’s fake. I’ve read help forums.

PoolloverNathan,

…Neither?

unlawfulbooger,

You’re good. I know one of these is definitely real, but the other one is plausible enough to make me think both are real

0x4E4F,
@0x4E4F@sh.itjust.works avatar

They are both fake. Neither of them show up any results on google searches.

Prunebutt, in AMA

Can you explain network sockets to me?

0x4E4F,
@0x4E4F@sh.itjust.works avatar

They’re just regular sockets that do most of the work… the net thing is just added to complicate things.

Archer,

As a network engineer I can confirm

uis,
@uis@lemmy.world avatar

Now what about network socks?

0x4E4F,
@0x4E4F@sh.itjust.works avatar

You wear them when networking.

half_built_pyramids, in AMA

Op isn’t answering shit

Just like Linux

Strider,

Return code 0 is good.

0x4E4F,
@0x4E4F@sh.itjust.works avatar

sh.itjust.works was having issues.

ryannathans,

The irony

victorz,

It works like shit

0x4E4F, (edited )
@0x4E4F@sh.itjust.works avatar

It really does 😂.

To be fair, it’s free, so I can’t complain 🤷… and it doesn’t happen often… like once every few hours…

DarkDarkHouse,
@DarkDarkHouse@lemmy.sdf.org avatar

sh.itbarely.works

mexicancartel,

Shit.just.wont.works.most.of.the.time.but.not.every.time

0x4E4F,
@0x4E4F@sh.itjust.works avatar

Exactly!

Hazrod, in AMA

Why do Linux users hate Nvidia?

0x4E4F,
@0x4E4F@sh.itjust.works avatar

Because Nvidia hates Linux users. They’re just returning the favor.

Tartas1995,

That is surprisingly accurate

VinesNFluff,
@VinesNFluff@pawb.social avatar

That’s literally just correct. Are you sure you don’t know your Linux lore?

0x4E4F,
@0x4E4F@sh.itjust.works avatar

I know nothing!

Nerrad, in AMA
@Nerrad@lemmy.world avatar

Why do so many nerds say my sister Vi is their favorite?

bhamlin,

Because she’s cuter than your other sister, Emacs.

0x4E4F,
@0x4E4F@sh.itjust.works avatar

Because the V version was a complete disaster… please don’t remind me of that.

uis, in AMA
@uis@lemmy.world avatar

Is this anime chat? How to patch KDE2 under FreeBSD?

0x4E4F,
@0x4E4F@sh.itjust.works avatar

You put some duct tape to patch it, duh.

GregorTacTac, (edited ) in AMA
@GregorTacTac@lemm.ee avatar

What’s openSUSE? Is closedSUSE its cousin?

0x4E4F,
@0x4E4F@sh.itjust.works avatar

Closed suse is the “gay, but still can’t admit to his parrents” version of opensuse.

doctorn, in Just a PSA
@doctorn@r.nf avatar

sudo nano

hemko,

You shouldn’t really use editor with sudo, but instead use sudoedit to edit files restricted to root user

SUDO_EDITOR=nano sudoedit /etc/fstab

This accomplishes the same function while running the text editor as unprivileged user

Huschke,

Alternatively you could use my favorite approach, Visual Studio Code. Just open the file with it, edit it and upon saving you will be promoted if the file needs admin rights to save.

doctorn,
@doctorn@r.nf avatar

So for any supposedly malicious activity (infected) it wants to do, it just has to hold until you save and give admin access? 😅

Huschke,

Yes, but if you want to argue along those lines, you could also have an infected version of vim on your system just waiting to do malicious stuff until you give it sudo access.

doctorn,
@doctorn@r.nf avatar

Indeed… Hence why I use ‘sudo nano’. 😜

hemko,

I love vsc but it’s not always available.

MalReynolds,
@MalReynolds@slrpnk.net avatar

Yup, s/vsc/kwrite/ personally, it’s lighter, but why shouldn’t I have a pretty for my config editing needs…

LaSaucisseMasquee, (edited )

Okay but how can I show how good I am with shortcuts to edit legacy software ?

Huschke,

Vscode does have a lot of shortcuts, so you could always study them in detail and impress others that way. 😅

doctorn, (edited )
@doctorn@r.nf avatar

Why?

Files from user: nano

Files from root: sudo nano

Files from another user: sudo nano (and if new sudo chown after)… 😂

Never had any problems with this in over 10 years… 😅😂

hemko,

As mentioned, to prevent running your text editor with root permissions. It’s just security optimization

doctorn,
@doctorn@r.nf avatar

Let me rephrase my question:

Why would I not want to open nano as root?

No offense, but that sounds like more OCD behavior. 😅 I don’t need or want protection against myself, and I even loath the whole “that’s not how you’re supposed to do it”-mentality of linux (where when commands know very well what you want, instead of doing it, just tell you you forgot something). 😅

hemko, (edited )

It’s not any OCD behavior, but simply the best practices. You’ve probably at least minimally familiar with the principal of least privilege? The idea is to minimize scope of a potential problem , was it malicious attack or user error, by restricting access to minimum required to perform a task. It may feel like fighting pedantically (and I’ve been fighting this more than I’d care to) but it will save your ass one day.

scinde,

It’s probably to protect against any potential security vulnerabilities in the text editor program itself, not to protect you from yourself.

doctorn,
@doctorn@r.nf avatar

Wouldn’t that logic count for anything, including sudo itself?

scinde,

Sure, but sudo is specifically designed with security in mind as a security program, whereas text editors are not (although I am more likely to trust vim than vscode). Running a malicious program as the user and not as root can help mitigate the impact it could do, even though it will still be able to do a lot as a user.

doctorn,
@doctorn@r.nf avatar

You assume this malicious code is lame enough not to gain root itself with a modified su.

scinde,

What do you mean get root itself with a modified su? A program that has been run as a user cannot just get root permissions, that’s called a privilege escalation attack and is a serious vulnerability in the kernel which gets fixed quickly when found.

doctorn, (edited )
@doctorn@r.nf avatar

Any attack is usually non-intended vulnarabilities. Same argument applies to any software, like nano, if it can open doors to your system.

scinde,

Of course it applies to any software, but some programs are more vulnerable than others. For example, when you want to have cryptography in your program, you use an established library, not write the algorithms yourself, because those libraries were written with security in mind (i.e. have protections against different kinds of attacks, for example, side channel attacks, in addition to being implemented properly). The whole point is to minimize the surface of attack, so that your system is more secure. And one way of doing so is to not give root permissions to programs that don’t need it (such as text editors like nano).

doctorn,
@doctorn@r.nf avatar

Yeah, well, as you said: it’s probably fixed by now, but I used to have a universal su that would work on any armv7 linux (so basically every phone back then, but also on my armv7 little laptop I had at the time…) with which I was able to easily root any phone by putting it in /data/local and making it bootable, then using full path to move any Android root files in place (though I did also just copy that su itself to /system/bin for root on cheaper phones sometimes, which is just playing with fire as it basically makes any root action unseen and allowed. 😂). That did work for years though, but that’s probably cause Android minimizes the linux and never actually updated the kernel so much, and the laptop’s flashed OS was something altered with also very little updates. And ARM was still quite new to the public too. 🤷‍♂️

I remember I came across it in the rooting package for my Kindle Fire and only found out it could do that by accident,… 😅 It couldn’t change user, though, it had only 1 use without parameters, which resulted as if you do a ‘sudo su’ if you remove the sudo password-requirement.

Hence why I used the example. I wasn’t being limitative to it, though. There’s so many things that could screw you if it has a vulnerability, if it happens I very much doubt it’ll be through nano, though.

veniasilente,

You can say that just about anything.

sudo grub sudo boot sudo root=/dev/disk/linux sudo kernel-6.1.image sudo init sudo elogind sudo xterm sudo bash sudo nano

scinde, (edited )

Again, like I replied to the other comment, most of the programs you need root for are designed with security in mind and are inherently more secure and have less vulnerabilities than a non security focused program (that is not to say that it is impossible for a security program to have vulnerabilities -it certainly occurred before and keeps occurring- they just have a lot fewer). But even if you need root permissions for a non security focused program, you still shouldn’t let any program have it, the whole point is to minimize the surface of attack.

Swiggles, (edited )

sudoedit opens the editor as your user and just writes the file as root. For a single user who is also admin on the system this does not matter in many cases.

In a multi user context you can easily escape your editor and run a shell which allows a non admin user to escalate their privileges. So from a security implementation standpoint this must exist and it does for this reason.

Of course this also prevents some mistakes from happening and a bad plugin cannot destroy your whole system easily and so on. It boils down to good practice.

doctorn, (edited )
@doctorn@r.nf avatar

But, in that example:

If I’m the admin it doesn’t matter I use it.

If I’m not it’s not my problem that I could get more privileges than allowed. I’d probably even use the possibility then. 😅

So it poses a risk if you allow none-admin users to do that on your system, but I still don’t see why I must choose to not use nano as root myself. 😅

Anyway, good practice to me is ease-of-use instead of with 7 protections against things that rarely happen.

Like, I’m pretty sure you are better protected from burglars if you also lock all doors inside your house, but I’m definitely not doing that either. 😅

Edit: Also, if you have users on your system, just chroot/vroot/lxc them, so they be free to ‘sudo nano’ too… 😅

Swiggles, (edited )

sudo is not simply a tool to give admin privileges, but a tool to manage elevated permissions or run commands in a different users context.

These things become a lot more relevant once you use the tools professionally. In a well configured system you are only allowed to run the things you are explicitly allowed.

To be completely honest sudo is basically pointless in a single user context. There is almost no reason to even have it installed. It makes dealing with different environments easier though.

Anyway as I said it does not matter in many cases if you are the systems administrator. On the other hand there is also no benefit in getting used to bad practices in case you have to unlearn them later.

One more thing: what you suggest with chroot is one of the very reasons why you should not do that. You might have handed over the keys to break out of chroot. It is a well known vector which boils down to never run anything as root in a chroot environment.

doctorn, (edited )
@doctorn@r.nf avatar

I appreciate all the answers on what started out to mostly be a joke (the first comment, I’m not saying the rest was, I actually do mean my follow-up discussions and am enjoying them more than I should). 😅

Anyway, first I must disagree with sudo being useless in a single-user environment since some services have non-user (nologin) accounts as which you still need to run things sometimes, so sudo is commonly useful in single-user environments (though you could technically go set bash for those, I suppose.)

But yeah, I’m already used to “bad practices” as I have been using linux for 24 years now (when it still was it’s predecessor ‘pico’ 😅) (I said over ‘10’ years in an earlier comment, but I just realized I’m 40 and still calculated from 30. 😂 Wishful thinking. 😅) in what is assumed a bad practice, not only without any problems, but even because it never gave me problems.

Might be an age thing too, but I hold on to ease of use over best-practice, especially if it hasn’t failed me in two decades and a half. I think it would take an actual attack on me abusing this behavior for me to stop doing it by now… And even then, I installed linux so many times in my life, even that seems more musclememory and not such a hassle anymore… 😅 At least I could make use of my backup system for once then… 😅

Hawk,

Doing sudo nano will not load your user configuration, sudoedit will. I had plenty of problems with this, but I assume you don’t have any custom configuration.

thisfro, in AMA

What is the best init system?

stoicmaverick,

It’s the title of my personal book of pick up lines.

0x4E4F,
@0x4E4F@sh.itjust.works avatar

The system that lets you in it.

thisfro,

Absolutely true!

kurumin,
@kurumin@linux.community avatar

Ngl this is a good one for real

uis,
@uis@lemmy.world avatar

Truly. My favorite is OpenRC though.

pifox, in AMA

What is “:(){ :|:& };:”

stoicmaverick,

An alias for “sudo shutdown now”

ouRKaoS,

An emoticon with a weird hat

NeatNit,

which part is the face and which part is the hat?

victorz,

Yep

EuroNutellaMan,
@EuroNutellaMan@lemmy.world avatar

A funny command that gives you free chocolate

makunamatata,

Try it in your terminal and come back here to tell us the results

laurelraven,

A text based Rorschach test. That one is clearly a mouse chasing a cat.

0x4E4F,
@0x4E4F@sh.itjust.works avatar

That is what happens when none of your alphabet keys on your keyboard are working, but you still wanna communicate online.

uis,
@uis@lemmy.world avatar

Emergency breaks

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

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4198400 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 171

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1572864 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 38