auth programe

Alexander Bartolich alexander.bartolich at gmx.at
Wed Jan 23 18:52:46 UTC 2008


Richard Huang wrote:
> [...]
> this is my perl source file:
> 
> #!/usr/bin/perl
> return('user:hh\r');
> exit 0;

This is not valid perl.
The return statement is allowed only in subroutines.
And if it were accepted by Perl it would still be nonsense.

man ckpasswd

# [...]
# On success, ckpasswd will print "User:test" and exit with status 0.
                             ^^^^^

Note that scripts configured with "perl_auth:" work differently.

-- 


More information about the inn-workers mailing list