Ubuntu - Setup Samba
If you want to share files between your Ubuntu and Windows computers, your best option is to use Samba file sharing. The following steps describe howto setup Samba:
1. Install Samba
If Samba is not installed in your system, you must first install it. You can use the Synaptic Package Manager or the following command:
sudo apt-get install samba2. Configure smb
We've got samba installed, but now we'll need to configure it to make it accessible. Run following command to open the configuration file, substituting your editor of choice:
sudo vim /etc/samba/smb.confUncomment some lines to make the following valid:
[homes]3. Create a Samba User
security = user
comment = Home Directories
browseable = no
valid users = %S
writable = yes
create mask = 0600
directory mask = 0700
sudo smbpasswd -a [username]4. Restart Samba
sudo /etc/init.d/samba restartNow your home directory is shared, I tried this in the Ubuntu 7.04 & 7.10.
Labels: Ubuntu Samba Linux
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home