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