執行網頁出現 Warning: You are not root - Linux

Table of Contents

我遠端去執行linux主機上的網頁

出現了錯誤訊息

Warning: You are not root -- using TCP pingscan rather than ICMP

TCP/IP fingerprinting (for OS scan) requires root privileges.

QUITTING!


我在網頁上執行的身份是apache

所以有用chown改成apache 也用chmod改成755

在visudo新增了 apache ALL=(ALL) ALL

也還是不行~~

請問還有什麼方法可以解決嗎??


我還在visudo加上

apache ALL=NOPASSWD:/var/www/html/nmap/index.php
apache ALL=NOPASSWD:/usr/share/nmap/
apache ALL=NOPASSWD:/usr/bin/nmap

都沒什麼效果~~

是哪邊設定有問題嗎??

還是php網頁要搭配什麼指令?


All Comments

Faithe avatarFaithe2010-04-03
要看你是執行甚麼指令或是程式顯示出錯誤訊息
Franklin avatarFranklin2010-04-04
http://210.71.15.139:9001/ 我想要執行這個網頁
按掃描之後~~就出現錯誤訊息了
Oscar avatarOscar2010-04-05
某些nmap的功能比如說udp scan需要root權限
Edward Lewis avatarEdward Lewis2010-04-06
之前有在主機上做一些設定 把root權限的問題給解決了
Enid avatarEnid2010-04-10
但我之後把主機重灌之後 忘記當初是怎麼解決root權限問題了
Joseph avatarJoseph2010-04-11
想的到的都弄了 還是沒辦法解決= ="