Ubuntu 16.04 Samba 설정

Linux 2016.06.14 11:15 Posted by 김한별 behonestar

1. samba 설치

sudo apt-get install samba samba-common-bin


2. samba 계정 추가

sudo smbpasswd -a khb


3. samba 설정 변경

sudo vi /etc/samba/smb.conf


...

[khb]

comment = welcome

path = /home/khb

valid users = khb

writable = yes

create mask = 0644

directory mask = 0755


4. samba 재시작

sudo /etc/init.d/smbd restart