LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 03-18-2010, 10:31 AM   #1
Sematary
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, 10:51 AM   #2
mmrtnt
LQ Newbie
 
Registered: Nov 2006
Location: las vegas, nevada
Distribution: fedora core x
Posts: 25

Rep: Reputation: 7
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, 10:53 AM   #3
Sematary
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
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
 
  


Reply

Tags
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 03:53 PM
Sharing Files & Folders KapilSatav Linux - Networking 5 08-11-2009 07:42 AM
Deleted files on a SMB-share - Files gone, space still allocated - Fedora 10 Zwentendorf Linux - Server 4 03-01-2009 06:04 AM
sharing of files and folders gpragati Linux - General 7 08-28-2007 05:37 AM
sharing folders or files Johina Linux - Networking 3 02-19-2005 03:52 AM


All times are GMT -5. The time now is 10:26 PM.

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