Tag Info

New answers tagged

2

Adapting one of my previous answers, get the file from the sudo package: apt-get download sudo dpkg-deb --fsys-tarfile sudo_*.deb | pkexec tar -xC / ./etc/ssh/ssh_config Use pkexec instead of sudo when you need root permissions and sudo doesn't work.


1

It didn't work for me. Instead of GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off" I used GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force" and it works. :-)


8

This is the intended behavior of vim (and vi). When you edit a readonly file, attempting to write the file the usual way (with :w) fails. This is to prevent you from accidentally changing a readonly file you might not wish to change. If you really want to override the readonly permissions on a file that you own, and write your changes to the file, you must ...



Top 50 recent answers are included