Difference between revisions of "Viewing and editing configuration files"

m
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


{{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.}}


[[Category:Contents Page]]
[[Category:Contents Page]]
Anonymous user