ITvillage | samba 서버 구축1- 설치및 환경설정 하기 – Daum 카페

samba 서버 구축1- 설치및 환경설정 하기 – .

3. Secured samba server
For this I will create a group smbgrp & user srijan to access the samba server with proper authentication

addgroup smbgrp

adduser srijan -G smbgrp

smbpasswd -a srijan

root@server1:~# smbpasswd -a srijan
New SMB password:
Retype new SMB password:
Added user srijan.
root@server1:~#

Now create the folder viz secured in the /samba folder & give permissions like this

mkdir -p /samba/secured
cd /samba
chmod -R 0770 secured/