Lines Matching defs:luser
69 char luser[MAXLOGNAME]; /* username */
186 if (strlcpy(luser, pw->pw_name, sizeof(luser)) >= sizeof(luser)) {
192 luser, (long)getpid())) < 0 || (u_int)n >= sizeof(rulesetname)) {
194 luser, (long)getpid(), (long)getpid());
205 PATH_PIDFILE, user_ip ? ipsrc : luser);
311 if (!check_luser(PATH_BAN_DIR, luser) || !allowed_luser(pw)) {
312 syslog(LOG_INFO, "user %s prohibited", luser);
328 fprintf(pidfp, "%ld\n%s\n", (long)getpid(), luser);
332 if (change_filter(1, luser, ipsrc) == -1) {
338 change_filter(0, luser, ipsrc);
343 printf("\r\nHello %s. ", luser);
345 setproctitle("%s@%s", luser, ipsrc);
460 * allowed_luser checks to see if user "luser" is allowed to
489 * luser may in fact be allowed, but we can't open
577 * check_luser checks to see if user "luser" has been banned
603 * this luser isn't banned.. all is well
608 * luser may in fact be banned, but we can't open the
618 * luser is banned - spit the file at them to
748 * Add/remove filter entries for user "luser" from ip "ipsrc"
767 syslog(LOG_ERR, "invalid luser/ipsrc");
885 * want to, since we don't have to worry about any luser sessions lasting
945 change_filter(0, luser, ipsrc);