1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00
This commit is contained in:
fyodor
2005-06-24 23:50:23 +00:00
parent 1b19b91884
commit 2c2cc2f9a9
13 changed files with 3358 additions and 1343 deletions

View File

@@ -178,7 +178,10 @@ void NmapOps::Initialize() {
# ifdef __amigaos__
isr00t = 1;
# else
isr00t = !(geteuid());
if (getenv("NMAP_PRIVILEGED"))
isr00t = 1;
else
isr00t = !(geteuid());
# endif // __amigaos__
#else
isr00t = 1;