Cant Save MySql Configuration?

When I try to modify my /etc/my.cnf I get this message.

Could not open file for writing: Permission Denied

I am fairly new to shell, how can I fix this issue?

Regards,
-Dusk


This is the type of thing I am working on..

Code:
225 processes: 220 sleeping, 3 running, 2 zombie, 0 stopped
CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
           total  132.8%    0.0%    9.6%   0.0%     0.0%    0.0%   57.2%
           cpu00   72.0%    0.0%    4.5%   0.0%     0.0%    0.0%   23.4%
           cpu01   60.8%    0.0%    5.2%   0.0%     0.0%    0.0%   33.8%
Mem:  1030964k av, 1015656k used,   15308k free,       0k shrd,  236428k buff
       370424k active,             494884k inactive
Swap: 1831400k av,   22932k used, 1808468k free                  376964k cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
 4034 mysql     16   0 35956  35M  2172 S    99.9  3.4  1568m   0 mysqld
 3970 root      16   0  6828 6828  6676 S    22.0  0.6 129:24   1 httpd
 3330 phantrpg  17   0  1352 1352   892 R     2.3  0.1   0:00   1 top
 3320 nobody    17   0     0    0     0 Z     0.1  0.0   0:00   0 httpd <defunc
    1 root      16   0   428  428   372 S     0.0  0.0   0:08   1 init
    2 root      RT   0     0    0     0 SW    0.0  0.0   0:00   0 swapper
    3 root      RT   0     0    0     0 SW    0.0  0.0   0:00   1 swapper
    4 root      15   0     0    0     0 SW    0.0  0.0   0:00   1 keventd
    5 root      34  19     0    0     0 SWN   0.0  0.0   0:00   0 ksoftirqd/0
    6 root      34  19     0    0     0 SWN   0.0  0.0   0:00   1 ksoftirqd/1
    8 root      25   0     0    0     0 SW    0.0  0.0   0:00   0 bdflush
    7 root      15   0     0    0     0 SW    0.0  0.0   0:10   1 kswapd
    9 root      15   0     0    0     0 SW    0.0  0.0   0:07   1 kupdated

 

 

 

 

Top