关闭VMware|关闭VMware 903端口
原文链接,在此表示感谢。
通过nmap扫描发现VMware开放了如下端口
~ -> nmap -sV 10.0.0.3
Starting Nmap 7.01 ( https://nmap.org ) at 2016-03-16 17:44 EDT
Nmap scan report for doom.lan (10.0.0.3)
Host is up (0.00013s latency).
Not shown: 997 closed ports
PORTSTATE SERVICEVERSION
22/tcpopensshOpenSSH 7.2p2 Debian 1 (protocol 2.0)
443/tcp openssl/httpVMware VirtualCenter Web service
902/tcp openssl/vmware-auth VMware Authentication Daemon 1.10 (Uses VNC, SOAP)
Service Info: OS: Linux;
CPE: cpe:/o:linux:linux_kernel
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 13.14 seconds
关闭443端口
Menu -> Edit -> Preferences -> Shared VMs
去掉"Enable virtual machine sharing and remote access"
关闭902端口就比较麻烦了
需要编辑/etc/init.d/vmware
和/etc/init.d/vmware-workstation-server两个文件。
对于/etc/init.d/vmware
注释掉四处"Authentication Daemon".
vmware_start_authdlauncher() {
#vmware_bg_exec "`vmware_product_name` Authentication Daemon" \
#"$SBINDIR/vmware-authdlauncher"
}#vmware_exec 'VMware Authentication Daemon' vmware_start_authdlauncherstop)
echo 'Stopping VMware services:'
exitcode='0'?#vmware_exec 'VMware Authentication Daemon' vmware_stop_authdlauncher#vmware_exec 'VMware Authentication Daemon' vmware_start_authdlauncher
【关闭VMware|关闭VMware 903端口】对于/etc/init.d/vmware-workstation-server
添加下面两行
### END INIT INFO
echo Aborting launch of vmware-workstation-server?
exit 0
推荐阅读
- 2.NSTimer的用法,开起,关闭,停止,继续
- 20190313《商务活动中必知的礼仪细节》笔记5
- 投稿|三年亏掉21亿,关闭1871家门店,美邦是下一个拉夏贝尔?
- 智能手机|近半档口关闭,华强北二手iPhone市场现退租潮
- Ubuntu虚拟机卸载VMWare Tools的方法
- kali的安装与配置
- 投稿|当美宝莲关闭线下店,国货盯准学生党?
- 投稿|进退两难,美宝莲关闭线下店
- winform关闭窗体FormClosing事件用法介绍
- 产品功能|微软关闭基本身份验证,对企业与员工有什么影响()