본문 바로가기
3. 개발 관련/정리 :: issue 와 resovle

SAMBA : Config/Useradd/Loging

by kyuho.choi 2016. 3. 13.
728x90
반응형

1. Adding smb rule in smb.conf file

 

[Share]

comment = Share Directory

path = /share

writable=yes

valid users = sambauser

create mask = 0777

directory mask = 0777

read only = no

browsable = yes
 
 
2. Adding smbpasswd to `sambauser`
 
#] smbpasswd -a sambauser
> passwd
> passwd repeat
 
3. Restarting samba server
 
#] sudo service smbd restart

 

 

3. Login with sambauser

 

#] smbclient //SAMBA_SERVER_IP_AND/PATH passwd -U sambauser



smb: \> cd/get/put...

smb: \> exit

 

:)

728x90
반응형

댓글