smb.conf file write permission
I want to be able to edit my smb.conf file but when I go to edit it and save the file I am not able to because I not logged in a root/I don't have write permissions. I just need to temporarily access this file and don't need a root login just access.
|
You need to be root to edit anything in the /etc.
Open up a console window use the su command. |
Ok got that, but I relatively new to linux and am not sure what I should do after.
Thanks |
You can use any of the text editors like vi,pico,emacs. Search the web for help with these editors.
To edit a file in emacs emacs <filename> <type in changes to your hearts desire> Save changes press Ctrl-x Ctrl-s Exit emacs press Ctrl-x Ctrl-c |
All times are GMT -5. The time now is 10:00 PM. |