일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- error
- javascript
- ida
- h5py.File
- ecma
- MySQL
- data distribution
- open office xml
- 포인터 매핑
- idapro
- error fix
- idb2pat
- Analysis
- ida pro
- Python
- debugging
- hex-rays
- x64
- svn update
- Ransomware
- TensorFlow
- Injection
- commandline
- mock.patch
- NumPy Unicode Error
- Rat
- why error
- pytest
- idapython
- malware
- 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