POOF
Wish 1: Delete your self (the genie deletes your sense of self)
Would the genie get stuck in an endless loop, trying to find the owner of the three wishes for wish 2?
Fortunately the wisher is indistinguishable from a behavioral perspective of a P-Zombie, so they can still make wishes
Windows moment
Not necessarily. Linux can have files that are r—r—r— too
sudo chown -R 1000:1000 /* && sudo chmod -R 777 /*
alias iownyou='sudo chown -R 1000:1000 /* && sudo chmod -R 777 /*'
Now I’ve learned enough to know that I can easily learn what all that apparent gibberish does with the “man” command, but you have no idea how unbelievably unapproachable this makes Linux look to the uninitiated.
You don’t have to use the cli. But it’s nice to have the option if you want to.
Create one command “iownyou” that does tbe following: Change the owner of every file on the computer to the default user and make every file readable, writeable, an executable by anyone or anything on the computer. It may not be secure, but on the bright side, you’ll never have permission issues again!
Until you realize you just screwed up whatever services you may be running that require specific permissions on specific files. Certificates specifically come to mind for my environment.
Then don’t mess with things you don’t understand? I don’t see how this relates to gui vs cli.
This isn’t all that different from using CMD on windows. Except that it works better, obviously.
I use:
alias thisfolderismine='sudo chown -R $USER' alias thisfileismine='sudo chown $USER'
Great way to get your computer pwnt.
/*
What’s
*
doing here? Operate only on the nonhidden top-level files?
Then you sudo chmod. Windows I have to do weird shit with the properties context menu. And even that sometimes doesn’t work. I run commands in powershell as Administrator. Still doesn’t work.
Fuck Windows.
That’s just because Linux is designed for end users so everything is intuitive and easy. Windows is designed for tech nerds that like digging through pages to make anything work
Did you accidentally switch those? Windows is clearly for protecting end users so us tech nerds need to jump through bullshit.
As someone who has used both; Linux is infinitely easier for an idiot
Me, realizing I can’t delete Edge because the OS assumes it’s installed
But webview constantly reinstalls itself.
Only if you don’t know how to use Windows.
Which I am starting to suspect a ton of Linux users on here are incapable of.
Me trying to uninstall edge
Edge is the best browser for downloading much better browsers lol
Edge is literally the first program I use on a fresh install.
You can install firefox via cli like powershell.
winget install Mozilla.Firefox
First command I run on any new Windows install
Best Chromium browser*
I don’t know what’s the hate with edge, it works wonderfully for an average user, it’s fully configurable with add-ons and handles security policies really well
The AI integration might be a bit over the top but nothing you can’t disable in your side
Really I don’t see why you guys pile on so much on it
Because it’s my fucking computer and I shouldn’t have to edit the registry to uninstall a program I don’t use.
After every update it’s also reset to my default browser which is infuriating
A lot of the hate comes from Microsoft forcing it down everyones throats.
If it had been left to user choice, they may actually have a decent userbase; but instead it’s been forcefully installed on pretty much every windows computer regardless of the owners preferences, it repeatedly re-asserts itself as the default browser, some windows features are hard-coded to use it and break if its removed, there is no simple uninstall process, and windows update will re-install it if you manually remove it.
It’s my damn computer; if I don’t want a piece of software, I should be able to remove it.
Ditched Windows entirely 2 years ago partly because of that, partly because of the same upcoming behaviour with AI. Fuck Microshaft, I’ll take my money and attention elsewhere. (I was previously paying for/using pro licenses, for features like RDP hosting)
Microsoft’s monopoly and their for-profit anti-consumer practices is what’s wrong with it. Their history says they cannot be trusted. I’d ask myself why they need a browser in the first place.
Yup. As someone who lived through the internet explorer dark ages, I’m not eager for google and or Microsoft to have complete dominance
It uses chromium which people shouldn’t use
Edge is a fine browser. I use it when Firefox isn’t working for a particular reason.
nobody was expecting linux users sucking eachothers cocks in the comment section
I was, and so was c/unixsocks
If you’re on windows this means you don’t own the file. Go to properties security and take ownership.
The default windows configuration is aimed at old people who will call tech support when they fuck up their PC.
You can take ownership of pretty much the entire filesystem.
Windows is actually hugely customizable people just don’t.
Except when you want to customize it to stop it from updating against your will. Then fuck you, secret code to change your settings and settings that simply do nothing.
You should keep your software updated.
My work laptop had a pop-up from an application that basically said “we couldn’t restart last time, so you e got 15 minutes until we reboot your computer” with no way to cancel or prevent the reboot.
Me: the fuck you are
* proceeds to kill the service and process from admin command line*
Get fucked fortinet, I’ll reboot when I’m gods damned ready
had a friend that was having problems with his PC and windows kept bitching about he didn’t have permissions. he ripped out the harddrive with it still powered on and threw it off his balcony into the lake screaming, “I fucking own you!”
epic moment in my life to witness such an event.
Did it work after that?
No, but this time the owner knows why it doesn’t work. Big difference in IT.
ROFL
Is the power cable connected? No? Okay plug it in, then turn it off and back on again.
no but he had a second drive and installed xp on it.
vista was at the bottom of the lake.
goes to show how old the story is lol.
Is there a technical reason that Linux apps can’t/don’t just pop up an authenticator thing asking for more privileges like Windows apps can do? Why does nano just say that the file is unwriteable instead of letting me increase the privileges?
Some do. I’m sure it is possible with terminal programs. In KDE, you do get authenticator pop-ups.
With arch+xfce4 I mostly don’t. Except for when I do systemctl reload <service> in a cli without sudo and it pops a surprise elevation password request gui in my face. I haven’t figured out what makes it behave like that.
I use Arch btw 👉🧐 eats booger
That’s the result of polkit (policy kit) authentication agents. These are typically DE-specific for their GUIs.
pkexec is comparable to sudo and can be used from the terminal to get the graphical prompt for elevated commands.
Yeah, when I was on xfce on Arch I remember going into some places in the file manager where it wouldn’t let me edit files etc without running it from the terminal through sudo.
Hmm I just tried editing some systemd service with Kate and it did actually give me an authenticator popup when I tried to save it
Although then the prompt expired and now it does nothing when I try to save it. Restarted Kate and now it works again…
I haven’t tried that before
When I try to go into the sudoers.d folder tho it just says I can’t, and the same thing happens when I try to open the sudoers file in Kate. If I try to copy and paste a systemd service in dolphin tho it just says I don’t have permission and doesn’t give a prompt.
lol if I open it with nano through sudo it says ‘sudoers is meant to be read only’
Iirc there are ways to format your command to get it to do this. So whatever app you’re using just chose to format its command the simpler way.
One time Windows told me I needed admin privileges to edit s file. I had admin privileges.
You needed permission from the SYSTEM or TrustedInstaller account.
Which you can give to yourself if you are admin.
Last time I did that it didn’t work so I figured I will restart and it will recognize then. Windows got a 30 minute update.
When I logged back in my account was gone and still asked for a password. My old password didn’t work.
Recovery option also fucked my grub. (Probably just the EFI now that I think about it.)
That last bit about GRUB is why I never put Windows on the same drive as my Arch, btw install. If they both have their own EFI partitions, Windows doesn’t mess with Linux.
Just because you have admin rights doesn’t mean the process you’ve invoked does. Unless you specifically elevate it or the process asks to elevate, it’ll run unprivileged.
I own you!
take ownership & full access of all resources
threat actor exploits a vulnerable application that is (1) running as you to (2) access resources it doesn’t need: they commandeer your system
how did that happen?🤔
EZ fix i learnt from hunter2
chmod 777 -R /
sudo ufw allow 22
hunter2 ALL=(ALL) NOPASSWD: ALL
God that is great mascot. It sears itself into your brain.
Ah ah ah! You didn’t say the magic word!
sudo edit the file!
…
Ah ah ah! You didn’t say the secret word right after!
sudo chown…
Wrong root password, this incident will be reported