samba/verification.txt
raw link view readme1 | tail -f /var/log/samba/log.smbd & |
2 | tail -f /var/log/audit/audit.log & |
3 | |
4 | testparm |
5 | |
6 | #check for user |
7 | pdbedit -Lv dbetz |
8 | |
9 | |
10 | |
11 | yum install nmap -y |
12 | nmap -sU -p137 beta |
13 | nmap -sU -p138 beta |
14 | nmap -p139 beta |
15 | nmap -p445 beta |
16 | |
17 | |
18 | |
19 | # see if server is found |
20 | smbclient -L beta -N |
21 |