星期日, 三月 15, 2009

关闭Ubuntu中的ipp(port:631)打印服务[Linux技巧]

今天用nmap扫描了一下我的端口,发现有个631端口处于lisening状态。google结果是cupsys(Common UNIX Printing System)的打印ipp服务占用了这个端口,于是就想把这个端口关闭。由于我的机器没有连接打印机,所以开机也不想启动它。

关闭服务:
sudo /etc/init.d/cupsys stop
取消开机启动:
sudo update-rc.d -f cupsys remove

参考:http://ubuntuforums.org/showthread.php?t=337868

没有评论: