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