Difference between revisions of "Viewing and editing configuration files"
Viewing and editing configuration files (view source)
Revision as of 08:51, 16 October 2018
, 6 years ago→Editing files requiring privilege escalation
imported>Fhdk m (→Editing files requiring privilege escalation: Added Warning template to GUI sudo edit) |
imported>Fhdk |
||
Line 59: | Line 59: | ||
== Editing files requiring privilege escalation == | == Editing files requiring privilege escalation == | ||
{{Warning|Never use sudo to run a graphical text editor. This can have unintended consequences or break the permission to configuration files that should not be owned by root.}} | |||
Many of the graphical text editors will automatically ask for privilege escalation when they detect that you cannot write to a file. | Many of the graphical text editors will automatically ask for privilege escalation when they detect that you cannot write to a file. | ||
Line 64: | Line 67: | ||
sudo mv ~/fstab /etc/fstab | sudo mv ~/fstab /etc/fstab | ||
[[Category:Contents Page]] | [[Category:Contents Page]] |