The make-swat script can be downloaded and run by copying the following line, open up a terminal session, paste it in and then press enter. Your existing smb.conf file will be renamed for you if it exists.
Originally Posted by vieuxrichard
In order to edit the smb.conf, besides using SWAT, you can use the following script called sysedit. Again, copy the following line, open up terminal, paste it in and press enter.
rm ~/bin/make-swat ; wget -nc http://paste.opensuse.org/view/download/98572736 -O ~/bin/make-swat ; chmod +x ~/bin/make-swat ; make-swat
I am not sure how I could make it more simple.
rm ~/bin/sysedit ; wget -nc http://paste.opensuse.org/view/download/66173377 -O ~/bin/sysedit ; chmod +x ~/bin/sysedit ; sysedit