as a GUI pleb i just doubleclick the file, which opens kate.
i edit the file and click save, get asked for my password
and all is fine.
Total noob. Any experienced user knows it’s
run0 micro file.txt
What happened with frog_brawler?
sudo chmod -R 777 /
At one of my prior positions they outsourced all the junior engineers to this firm that only had windows desktop support experience.
Actual escalation I got:
contractor: I am trying to remove this file that is filling the drive but it won’t let me
me: show me what you are doing.
contractor (screenshot): # rm -f /dev/hdc
another one did rm -rf /var to clear a stuck log file, which at least did solve the problem he was having.
After that I sent out an email stating that I would not help anyone who used he rm command unless they consulted with a senior first. I was later reprimanded for saying I wouldn’t help people.
Back in the olden days we used to nfs mount every other machines file system on every machine. I was root and ran “rm -rf /" instead of "./”.
After I realized that it was taking too long, i realized my error.
Now for the fun part. In those days nfs passed root privileges to the remote file system. I took out 2.5 machines before I killed it.
Back in the olden days we used to nfs mount every other machines file system on every machine. I was root and ran “rm -rf /” instead of “./”.
I still do. With NFS4 even more than ever. Won’t let it go unless for a SAN.
Now for the fun part. In those days nfs passed root privileges to the remote file system.
no_root_squash
much?
You won’t be able to do certain things. Either .ssh or ~ expects certain exact permissions and pukes if it’s different, IIRC
A fellow nano user! There are dozens of us!
Hell yeah gotta embrace the pain of using archaic key bindings that you’ll forget until the next time you need to edit a file in the terminal, you must suffer like man. Modem and sane terminal editors are for pussies! If it doesn’t load in 0.01 ms it’s bloated… Whatever you do don’t install anything like micro, just keep suffering!
Personally I am of the nonanoist denomination. I will curse all the demons of hell when on a new system I type vipw
or systemctl edit some.service
and I am unexpectedly faced with the demon called nano. Words cannot describe how much I loathe this pityful excuse for an editor, this usurper of editing powers, this illegitimate occupier of the editor
symlink. How dare you insult me, the omnipotent god called root, by presenting me with a training tool for novices?!
Fortunately, there are ancient spells that can nullify its powers. ‘I command you: be gone Satan’, I will utter under my breath as I carefully type in the magic incantation to cast it back into the fiery chasm from whence it came:
apt -y purge nano
disclaimer
This post may contain up to 50% satire
I exclusively use kate.
If the server doesn’t have a GUI I install KDE first, so it can be administered properly.