sudo

Getting Yaptest to work with Sudo

When you first install yaptest and try to use sudo you might get the following error: $ sudo yaptest-nmap-udp.pl ERROR: Environment variable YAPTEST_DBNAME is not set  at /usr/local/lib/site_perl/yaptest.pm line 126         yaptest::new(‘yaptest’) called at /usr/local/bin/yaptest-hosts.pl line 8         (in cleanup) Can’t call method “disconnect” on an undefined value at /usr/local/lib/site_perl/yaptest.pm line 3247. This is because [...]

Tags: ,

Posted in: Using