How to edit a system file?

Asked by Alain Rousseau

I tried to enable apport in etc/default/, but I can't change the settings.
How can I edit the apport file?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
enubuntu (mr.tennents) said :
#1

You need to be root because a normal user don't have permission for change system file. For do this, you need to use sudo.

For example, if you want to modify /etc/default/alsa you have to do this:

1. Open terminal with CTRL + ALT + T

2. Enter this command:

sudo gedit /etc/default/alsa

and press enter.

Here is a guide of sudo:
https://help.ubuntu.com/community/RootSudo

Revision history for this message
delance (olivier-delance) said :
#2

With graphic software, sudo must be replaced by gksudo. Else sometimes, it can corrupt some configuration files.

Can you help with this problem?

Provide an answer of your own, or ask Alain Rousseau for more information if necessary.

To post a message you must log in.