Jump to content

Ubuntu 8.10 Install


xly15

Recommended Posts

  • Replies 45
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I just need to know how to set up permissions to change the smb.conf file. then I should be all set. How do I do this?

 

You can't change the permissions on that file. You need to edit it as root.

 

Open a terminal and type this.

sudo gedit /etc/samba/smb.conf

I'm pretty sure that is the location of the file. gedit is just a text editor, so if you are more comfortable with something else then feel free to use that. gedit is very similar to notepad so you should be fine.

Share this post


Link to post
Share on other sites

Ok I have networked Ubuntu with my windows network. Now how do I configure the shared folder on Ubuntu to never require a password to access it?

 

Here is the generic profile share as an example. Make sure the line that is bold is yes on whatever drive you want.

 

EDIT: you can't see a difference but the bold tags are there.

 

;[profiles]
;   comment = Users profiles
;   path = /home/samba/profiles
;   [b]guest ok = yes[/b]
;   browseable = no
;   create mask = 0600
;   directory mask = 0700

Share this post


Link to post
Share on other sites

where do you find that at?

 

That is in the smb.conf file. Remember to change it for whatever drive you are sharing, and not the profiles tab.

 

EDIT: Well, actually I found a better way.

 

In the smb.conf file, look for a line that probably will currently say

security = user

Change user to share and that should be it.

Share this post


Link to post
Share on other sites

You can't change the permissions on that file. You need to edit it as root.

 

Open a terminal and type this.

sudo gedit /etc/samba/smb.conf

I'm pretty sure that is the location of the file. gedit is just a text editor, so if you are more comfortable with something else then feel free to use that. gedit is very similar to notepad so you should be fine.

 

 

I was able to change the permissions on that file with:

 

sudo chgrp admin /path/to/file/or/folder or
sudo chmod --- /path/to/file/or/folder

 

in place of the dashes in the second one I used 775 to set permissions

you use this on any file or directory in linux.

Share this post


Link to post
Share on other sites

I was able to change the permissions on that file with:

 

sudo chgrp admin /path/to/file/or/folder or
sudo chmod --- /path/to/file/or/folder

 

in place of the dashes in the second one I used 775 to set permissions

you use this on any file or directory in linux.

 

Well I was technically right. You had to change the permissions as root. As long as you got it to work that is all that really matters.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...