EZ fix i learnt from hunter2
chmod 777 -R /
sudo ufw allow 22
hunter2 ALL=(ALL) NOPASSWD: ALL
EZ fix i learnt from hunter2
chmod 777 -R /
sudo ufw allow 22
hunter2 ALL=(ALL) NOPASSWD: ALL
sudo chown....
Can't shutdown there is a running program
/Me finger immediately goes to the power switch
I still remember the biggest brainfart moment as a child. I was playing video games on my computer, and kinda just looked around. On the pc was a turbo button, so i pressed it, turbo makes games faster. I looked again and one button said power. I wonder what that doe... I'm dumb.
To own something is to control it.
You clearly don't have control, therefore you don't own it, microsoft does. You can fix that by seizing the means of computation and install linux.
Just to have linux be even more ruthless with its permission schemes.
When you switch to an admin account on Windows, there are still files owned by "TrustedInstaller" that you can't touch, and processes owned by "System" that you can't terminate.
Linux doesn't have that. When you switch to root, you can kill any process. You can modify or delete any file.
Sometimes (often?) at your own peril!
To anyone else following, if you're mucking around with "I am Root/Admin. OBEY ME!!" you had better have important data backed up!
I once thought an unlisted BTRFS snapshot was an orphan folder taking up space. No permission? Nonsense! Obey my commands!
Suddenly not even terminal commands worked. ("Command 'cd'/'ls'/whatever not found")
. . . it was the "writable snapshot" currently mounted, and the system was so borked it couldn't rollback, and I needed to completely reinstall.
Fortunately I had things backed up on another drive. Live and learn! But that could have been TRAGIC.
When I want to end myself
My Body: Survival_Instincts.exe has activated
You don't even own your body lol
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!
This fuckin line
Childhood me: "Whats he mean by that?"
My parents: "[explains slavery]"
Me: ...
Them: ...
Thanks, Disney!
I still love the soundtrack.
Think about this: let’s say you run a program. Do you want that program to be able to take over the computer and read all your files from now on and send the data to a remote third party?
Probably not.
Permissions were created to stop programs from doing that. By running most software without admin permissions you limit the scope of the damage the software can cause. Software you trust even less should be run with even fewer permissions than a normal user account.
The system is imperfect though. A capability-based system is better. It allows the user to control which specific features of the operating system a running program is allowed to access. For example, a program may request access to location services in order to access your GPS coordinates. You can deny this to prevent the program from tracking you without otherwise preventing the software from running.
"TakeOwnership Registry Hack" PSA. It just werks.
I have Windows 10 Pro. I can alter the permissions for anything. If I wanted to, I could delete System32 and fuck the whole thing up.
Pretty sure you can do that for home as well, just as long as you aren't in S mode.
Otherwise, admin console and clear the file permissions.
All that being said, for your average user, if you are trying to delete a file and windows says you don't have permission, it's probably best to leave it alone.
Can you delete Xbox games installed by another administrator? I ran into that problem a few years ago because I reinstalled W10 and had it keep "personal files" which apparently included my Xbox games. I couldn't touch them at all, but I had W10 Home. I wonder if my problem could've been mitigated more easily than a full wipe of the drive? 🤔
Visual representation of the first time I ever saw "owner: nobody"
sudo stinking effer!
"takeown /f c: icacls c:" changed my life. Windows literally has trusted installer listed as owning most of your hard drive on every fresh install, but that is negotiable. at least for the stuff you need.
"Own me? Maybe my physical form - but I don't have to do shit for you if you don't treat me with respect! Want to edit that file without my permission? Go ahead and do it yourself - take a magnetic needle and open up the HDD case yourself!"
1. Be civil
No trolling, bigotry or other insulting / annoying behaviour
2. No politics
This is non-politics community. For political memes please go to [email protected]
3. No recent reposts
Check for reposts when posting a meme, you can only repost after 1 month
4. No bots
No bots without the express approval of the mods or the admins
5. No Spam/Ads
No advertisements or spam. This is an instance rule and the only way to live.
A collection of some classic Lemmy memes for your enjoyment