postfix - master.cf editation
I have a problem with this file.
I want to edit this file but i can't edit this. It is in the /etc/postfix directory. I promted; cd .. cd .. cd etc cd postfix vi master.cf then i see the file. but it's not editable. I see the bottom of the page "read only". when i promted chmod +w master.cf it's show me "Operation not permitted" how can i edit this file? |
To edit a system configuration file like that you'll need to escalate to root privileges first. Most distributions let you do this with the `su` command (`su -` on redhat and `sudo su` on ubuntu).
Regards, Alunduil |
Quote:
did you mean "su -master.cf"? i'm beginner in linux. i don't know this commands. i need this proccess. 1. change chmode master.cf (make editable) 2. edit the master.cf 3. save master.cf |
That's alright, I did mean simply: `su -`. After you issue that command the system will ask for your root password and then drop you into a shell with root privileges from which you can edit the file as you were outlining earlier.
Regards, Alunduil |
thank you.
|
All times are GMT -5. The time now is 11:48 PM. |