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