useradd username
passwd username
apt-get install samba
smbpasswd -a username
vim /etc/samba/smb.conf
[sharename]
comment = Samba Server
path = /home/username
valid users = username
writable = yes
public = yes
create mask = 0777
directory mask = 0777
service smbd restart
## windows
\\192.168.0.x
login
댓글 없음:
댓글 쓰기