일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- MySQL
- hex-rays
- svn update
- Ransomware
- 포인터 매핑
- ida
- malware
- mock.patch
- ida pro
- Rat
- debugging
- error
- Analysis
- Injection
- pytest
- error fix
- idapro
- x64
- TensorFlow
- commandline
- open office xml
- h5py.File
- javascript
- idb2pat
- why error
- Python
- data distribution
- ecma
- idapython
- NumPy Unicode Error
- Today
- Total
13 Security Lab
[SETUP] Linux Server SMB SETUP example 본문
[ Add Acount to Linux for SMB ]
>> adduser smbUser
[ Add Account to SMB ]
>> smbpasswd -a smbUser
[ SMB Config. ]
>> vi /etc/samba/smb.conf
#==========================
# smbshared
[smbshared] ; Directory Name used in shared path
comment = smbshared
path = /home/sbmUser/smbshared ; directory path to share
read only = no
browsable = yes
public = yes
writable = yes ; Enable Write Authority
validuser = smbUser ; Access available accounts
create mask = 0777 ; Authority : ALL
directory mask = 0777
#==========================
[ Set SMB Service & Restart ]
>> systemctl enable smb
>> systemctl enable nmb
>> systemctl restart smb
>> systemctl restart nmb
[ Firewall configuration (Allow SMB) ]
>> firewall-cmd --permanent --zone=public --add-service=samba
>> firewall-cmd --reload
>> systemctl restart firewalld
[ Verification Config. ]
>> vi /etc/selinux/config
# SELINUX set disable
SELINUX = disabled