Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-18-2010, 09:31 AM   #1
LQ Newbie
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
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.
Old 03-18-2010, 09:51 AM   #2
LQ Newbie
Registered: Nov 2006
Location: las vegas, nevada
Distribution: fedora core x
Posts: 25

Rep: Reputation: 8
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
Old 03-18-2010, 09:53 AM   #3
LQ Newbie
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Originally Posted by mmrtnt View Post
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


fedora 12, smb, sudo

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing files and folders between Red Hat Fedora Core 2 and Windows XP RJEdgar Linux - Newbie 2 02-15-2010 02:53 PM
Sharing Files & Folders KapilSatav Linux - Networking 5 08-11-2009 06:42 AM
Deleted files on a SMB-share - Files gone, space still allocated - Fedora 10 Zwentendorf Linux - Server 4 03-01-2009 05:04 AM
sharing of files and folders gpragati Linux - General 7 08-28-2007 04:37 AM
sharing folders or files Johina Linux - Networking 3 02-19-2005 02:52 AM

All times are GMT -5. The time now is 05:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration