Thursday, July 1, 2010

Setting samba S13

Berikut ini merupakan cara yang saya lakukan untuk melakukan file sharing pada linux slackware saya :

1. create file /etc/samba/smb.conf
##################
# smb.conf Created by zam
##################
[global]
workgroup = H3LL0L4M3RZ
server string = Hack Me
security = user

[zam]
comment = sambaku
path = /home/zam/smb
public = yes 
writable = yes
user = zam
##################

2. create directory /home/zam/smb
zam@darkstar# mkdir /home/zam/smb

3. set executable rc.samba
root@darkstar# chmod +x /etc/rc.d/rc.samba

4. create password for samba user
root@darkstar# smbpasswd -a zam

5. run samba server
root@darkstar# /etc/rc.d/rc.samba start

No comments:

Post a Comment