Setting Up Samba
Samba is the file-sharing service used by Windows. It can also be accessed using Linux or Mac platforms. Here’s how to set it up:
- Add a local user called “user2″, and define their password
- Add a Samba user (of matching names) and define a password
- modify /etc/samba/smb.conf to include shared directories and map Samba guests to a particular local user (user2)
- Restart Samba
useradd user2
smbpasswd -a user2
[Global]
security = user
guest ok = yes
guest = user2
.
.
[Shared]
path = /share/
read only = no
.
.
/etc/init.d/samba restart