access shares and files.
To share from your Ubuntu desktop, right-click a folder you own while using
the file browser (most likely one in your /home/username directory) and
select Local Network Share. You are given a chance to confirm your desire to
share the folder and give it a name. Sharing gives others the permission to
view—but not necessarily to create or delete—files, although those
permissions are also available from this menu. If you do not have the
Windows sharing service already installed on your computer, Ubuntu prompts
you for permission to install it.
NOTE
Most Ubuntu users do not need the information contained in the rest of this
section because installing the sharing service also takes care of the
configuration and, as a result, everything should just work.
For greater configurability and control, follow these instructions:
- Install Samba and the GUI configuration application by installing these
packages: samba, samba-common, system-config-samba,
python-glade2, and gksu. - From the applications menu, search for samba and open it.
- In the Samba configuration application, open Preferences and then Server
Settings. Here you will configure basic settings such as setting
Workgroup to the name of your Windows workgroup name on your
network and giving a description of your computer to be seen by others
on the network. You can change the computer’s network security options
for Samba here as well, but the default settings are good. - Next, also in the Samba configuration application, open Preferences and
then Samba Users. Click Add User. You need to enter the details for the
following:
The user on this Ubuntu machine who will be given privileges to
use Samba to view files on other network computers
A Windows username that will be used when accessing this Ubuntu
machine’s files from a Windows machine on the network
A password that will be required with the Windows username when
accessing files on this Ubuntu computer from a Windows machine - Restart Samba from the terminal to finish by entering sudo restart
smbd && sudo restart nmbd.
You can share a folder from the Samba configuration application; set