auth programe 3
Richard Huang
endeavorhh0 at yahoo.com
Wed Jan 23 10:05:19 UTC 2008
hi,Master
readers.conf:
auth "localhost" {
hosts: "*,localhost, 127.0.0.1, stdin"
key: "pwd"
auth: "ckpasswd2"
}
access "localhost" {
users: "hh"
key: "pwd"
newsgroups: "*"
access: RPA
}
perl source file:
#!/usr/bin/perl
@arr=(281,'');
return @arr;
return 'user:hh\r';
exit 0;
news.notice:
Jan 23 13:03:05 localhost nnrpd[9156]: ? reverse lookup for 192.168.1.14 failed: Unknown host -- using IP address for access
Jan 23 13:03:05 localhost nnrpd[9156]: ? reverse lookup for 192.168.1.106 failed: Unknown host -- using IP address for access
Jan 23 13:03:05 localhost nnrpd[9156]: 192.168.1.14 (192.168.1.14) connect
Jan 23 13:03:05 localhost nnrpd[9156]: 192.168.1.14 times user 0.000 system 0.009 idle 0.000 elapsed 0.128
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the inn-workers
mailing list