Nigel Horne <[email protected]> writes:
> I received a bunch of these today. It may be blacklisting doit - in
> case it's doing it to something you really don't want it to
>
>
> gateway.bandsman.co.uk : Dec 4 08:17:02 : njh : a password is required
> ; TTY=pts/0 ; PWD=/home/njh/.cpan/build/Doit-0.022-21 ; USER=root ;
> COMMAND=/bin/true
>
(Resending message, it seems that my first post did not made it to the list)
Yes, that's from the test suite of my new module. Unfortunately there
does not seem to be a possibility to check whether sudo (password-less)
is possible without actually trying to run it and generate this security
message. The sudo-using tests make sense in some environments (e.g. on
travis-ci with sudo=true), but if testers find it too annoying I can
move them to xt/ and run them only on systems where it actually works.
Regards,
Slaven
--
Slaven Rezic - slaven <at> rezic <dot> de
Berlin Perl Mongers - http://berlin.pm.org