LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora 12, sharing folders and files via smb (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-12-sharing-folders-and-files-via-smb-796292/)

Sematary 03-18-2010 09:31 AM

Fedora 12, sharing folders and files via smb
 
I've "almost" got everything going the way I want with this distro but I can't seem to get an answer to this.
I installed and enabled smb and it's up and running.
I am able to connect to the computer via other devices on my network.
What I can't seem to do is edit the smb.conf folder because I need certain privileges which apparently aren't available to me.
So how do edit and SAVE this file?
Or is there a gui solution to this problem?
Everything I've looked up says to use superuser or root but when I type:
su username gedit /etc/samba/smb.conf I get this error:
usr/bin/gedit: /usr/bin/gedit: cannot execute binary file
but if I simply navigate to the folder (even as su) I can open the file but still not save it.
I'm REALLY frustrated by this.
Any help would REALLY be appreciated.

mmrtnt 03-18-2010 09:51 AM

su -

should get you a password prompt to become "root"

Is "sudo" set up on your machine?

sudo /usr/bin/gedit /etc/samba/smb.conf

Sematary 03-18-2010 09:53 AM

Quote:

Originally Posted by mmrtnt (Post 3903247)
su -

should get you a password prompt to become "root"

Is "sudo" set up on your machine?

sudo /usr/bin/gedit /etc/samba/smb.conf

Nice - thankyou.
Still more to go and I have to leave for work, but thankyou


All times are GMT -5. The time now is 11:44 AM.