this post was submitted on 03 May 2024
995 points (97.0% liked)

linuxmemes

21311 readers
507 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] DrGunjah@lemmy.world 65 points 6 months ago (3 children)

    It's not like I want to defend windows, but If it needs admin permission you usually can't start it without confirmation.

    [–] r00ty@kbin.life 83 points 6 months ago (3 children)

    Here's the problem. So many legitimate things need elevation, and often multiple times in a single install. Guess what most Windows users do, when they see an elevation prompt. What do you reckon?

    [–] DrGunjah@lemmy.world 40 points 6 months ago (1 children)

    Honestly I don't think it's that bad. I have to use sudo just as often on linux as I have to accept the elevation box on win. Win11 has some serious issues but UAC is harmless.

    [–] r00ty@kbin.life -5 points 6 months ago (2 children)

    Sudo is very different. You need to explicity enter your password. It may be cached for a short time and I'd argue that's actually better.

    If I'm installing something, it asks for my password once but can then raise to root multiple times that's fine.

    If I'm installing something and it asks for elevation three times, for example it needs to Install multiple drivers. It generates an automatic click when installing for many unexperienced users. It's dangerous imo.

    It can't really be compared to Sudo.

    [–] glitchdx@lemmy.world 24 points 6 months ago (2 children)

    Sudo is just clicking "ok" with extra steps, thus making adding and removing programs more annoying, thus meaning the common user will probably just be logged in as root all the time. I challenge you to change my mind.

    [–] Sonotsugipaa@lemmy.dbzer0.com 4 points 6 months ago

    That's exactely what happened in my mind when I was getting started with Linux (kind of), although it's arguably a habit that comes from using Windows where people don't really think about OS users and permissions

    [–] Burninator05@lemmy.world 4 points 6 months ago

    As a Linux beginner who has a couple of false starts into it being my daily driver I'll say that there are two stumbling blocks left for me. Permissions "issues" is the bigger problem and some programs not being as fleshed out is the other.

    [–] DrGunjah@lemmy.world 13 points 6 months ago (1 children)

    So you think a person that would turn off UAC wouldn't just put NOPASSWD in the sudoers? I doubt that. And even if they had to enter their pwd... Wouldn't that just be annoying for the casual user instead of increasing security? I doubt they would be like "Oh I have to enter my pwd now, that really makes me think twice about whatever I was going to do with sudo."

    [–] IzzyJ@lemmy.world 4 points 6 months ago

    Can confirm, have borked my sysyem this way

    [–] ReveredOxygen@sh.itjust.works 4 points 6 months ago (2 children)

    if you give elevated permission to movie.mp4.exe, that's natural selection

    [–] r00ty@kbin.life 10 points 6 months ago

    I feel like there's a lot of misunderstanding about what I'm trying to say.

    I'm saying the average windows user will begin to get fatigue when some installers ask for elevation 3 times (maybe more). They'll end up just pavlovian clicking OK whenever that prompt appears. Which ends up circumventing the whole reason the prompt exists.

    [–] deaf_fish@lemm.ee 6 points 6 months ago (1 children)

    I don't know. Not everyone who uses a computer should be an expert. Not everyone is 100% alert all the time. I know there has to be a line somewhere.

    I feel like it would be really easy to have the OS check if the exe is appended to some other extension and force the user to rename it before allowing it to be executed.

    There has to be a level of "competently trained user" in there we can strive for. I think we were getting there about the time I was in high school circa 2003, where every last one of us could format an MLA essay in MS Word and do an autosum in Excel.

    Something that put me off of Microsoft products for a decade before I switched to Linux was their constant rearranging of the UI, requiring users to re-learn how to do basic tasks that worked just fine.

    [–] brygphilomena@lemmy.world 1 points 6 months ago

    Often they don't. If more granular permissions were to be used. Hklm/programdata needing admin to do anything in it for example. Putting permissions on hklm/software/package to write is enough to make a lot of software work without opening up the whole system.

    [–] ExfilBravo@lemmy.world 14 points 6 months ago (3 children)

    Everyone knows most people turn UAC completely off after it nags them for the 10th time and they get frustrated and dump it.

    [–] lightnegative@lemmy.world 18 points 6 months ago (1 children)

    I turn UAC off before it nags me for the 10th time.

    The only nag I want to see is the one right before it gets turned off.

    I hate things that just throw up nag screens that users get desensitized to and just click through anyway. It hasn't increased security at all.

    Looking at you "do you trust the authors of the code in this workspace folder" VSCode. Yes I effing do, that's why I opened it to begin with!

    [–] DrGunjah@lemmy.world 5 points 6 months ago (1 children)

    Fair enough but then you shouldn't complain about the lack of confirmation (like the meme does)

    [–] eager_eagle@lemmy.world 8 points 6 months ago (1 children)

    It's still a valid complain, but the problem is not exactly the presence or absence of a confirmation IMO, it's a deeper matter.

    What causes user desensitization (I guess that's a word) is a direct result of how Windows users traditionally install software - from untrusted sources or by downloading them directly from a vendor's website then manually installing it.

    UAC would be just fine if it was a rare thing to see, but because of this "download a .exe > double click > install" flow users see it all the time, which defeats the purpose of the warning. It became just another half-measure Windows has implemented.

    [–] Buddahriffic@lemmy.world 2 points 6 months ago

    And it's unhelpful because it doesn't give any details about what it wants to do with that admin access and also treats permission for one action as permission for all actions (not that you can tell what they first action you're permitting is).

    I like the way android does it, where you can grant or revoke special permissions by category of action.

    Though the system I'd like to see is one where each program is sandboxed and then even you close the program (or it prompts for an elevation), then you get a list of system differences between the sandbox and your system and can choose whether and which changes to push from the sandbox env into the main env. Or to combine sandboxes so that programs can interact with each other.

    [–] DrGunjah@lemmy.world 9 points 6 months ago (1 children)

    Yeah maybe, but if that exact same people would use linux they would sudo or 777 everything which wouldn't be much better security wise

    [–] ulterno@lemmy.kde.social 13 points 6 months ago (1 children)

    Let me introduce you to a plethora of industry RedHat users who log into GUI as root for 8 whole hours, everyday.

    [–] letsgo@lemm.ee 0 points 6 months ago (1 children)

    Sure but if you're doing rooty stuff all day then sudo you're sudo not sudo going sudo to sudo type sudo sudo sudo every sudo fucking sudo time sudo you sudo want sudo to sudo do sudo something. And yeah it sudo caches it for sudo a bit but sudo it's still too sudo much.

    [–] ulterno@lemmy.kde.social 1 points 6 months ago* (last edited 6 months ago)

    #: I'm just going to write some memos in WPS Office and send it to the networked ftp server running on Binbos. Oh and while I'm at it, I'll just ssh into a few other computers as root, using Nautilus (as root of course) and keep them all open until I shutdown, just because I want to copy their docx files.

    [–] Jakeroxs@sh.itjust.works 2 points 6 months ago

    I leave it on, only really need it for installing programs, even them a lot of them go into app data these days by default

    [–] GreyEyedGhost@lemmy.ca 3 points 6 months ago

    I was going to say they didn't used to require that, but that's about 20 years ago, now...