sudo apt-get install samba
sudo vim /etc/samba/smb.conf
path 및 comment는 변경 필요.
[data]
comment = home
path = /home/{username}
guest ok = no
writable = yes
create mask = 0644
directory mask = 0755
valid users = (username)
sudo smbpasswd -a (username)
sudo /etc/init.d/smbd restart
sudo pdbedit -L -v
sudo usermod (option) (username)